Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 147 lines (134 sloc) 7.759 kb
da9748f Initial version.
Matthias Mees authored
1 {serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
2 {foreach from=$entries item="dategroup"}
3 {foreach from=$dategroup.entries item="entry"}
476b71c Matthias Mees Some additional just-in-case float clearing classes.
authored
4 <article id="post_{$entry.id}" class="clearfix serendipity_entry{if $dategroup.is_sticky} sticky{/if}">
5 <header class="clearfix">
cea12ad Some additional headline to fix document outline.
Matthias Mees authored
6 <h2><a href="{$entry.link}">{$entry.title}</a></h2>
997bd48 Matthias Mees Removed trailing spaces.
authored
7
6ed7073 Matthias Mees Added block_level class to save some CSS performance pennies.
authored
8 <span class="serendipity_byline block_level"><span class="single_user">{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} </span><time datetime="{$entry.timestamp|@serendipity_html5time}" pubdate>{$entry.timestamp|@formatTime:$template_option.date_format}</time>{if $entry.is_entry_owner and not $is_preview} | <a href="{$entry.link_edit}">{$CONST.EDIT_ENTRY}</a>{/if}</span>
da9748f Initial version.
Matthias Mees authored
9 </header>
10
7603c4a More print styles for all those people determined to print the web.
Matthias Mees authored
11 <div class="clearfix content serendipity_entry_body">
0b49d8d Matthias Mees Got rid of (X)HTML syntax for self-closing tags.
authored
12 {if $entry.categories}{foreach from=$entry.categories item="entry_category"}{if $entry_category.category_icon}<a href="{$entry_category.category_link}"><img class="serendipity_entryIcon" title="{$entry_category.category_name|@escape}{$entry_category.category_description|@emptyPrefix}" alt="{$entry_category.category_name|@escape}" src="{$entry_category.category_icon}"></a>{/if}{/foreach}{/if}
da9748f Initial version.
Matthias Mees authored
13 {$entry.body}
14 {if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
6ed7073 Matthias Mees Added block_level class to save some CSS performance pennies.
authored
15 <a class="read_more block_level" href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a>
da9748f Initial version.
Matthias Mees authored
16 {/if}
17 </div>
18 {if $entry.is_extended}
34fad1c Matthias Mees Added some clearfix classes here and there.
authored
19 <div id="extended" class="clearfix content">
da9748f Initial version.
Matthias Mees authored
20 {$entry.extended}
21 </div>
22 {/if}
23
476b71c Matthias Mees Some additional just-in-case float clearing classes.
authored
24 <footer class="clearfix">
da9748f Initial version.
Matthias Mees authored
25 {if $entry.categories}
6a31b91 Added invisible category label for a11y.
Matthias Mees authored
26 <span class="visuallyhidden">{$CONST.CATEGORIES}: </span>{foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}
da9748f Initial version.
Matthias Mees authored
27 {/if}
4ff7cb4 Matthias Mees Full Disqus plugin support, thanks to @gbrockhaus.
authored
28 {if $entry.categories and ($entry.has_comments or $entry.has_disqus)} | {/if}
29 {if ($entry.has_comments or $entry.has_disqus)}
30 {if $entry.has_disqus }
31 {$entry.comments}{if $entry.has_trackbacks}, <a href="{$entry.link}#trackbacks">{$entry.trackbacks} {$entry.label_trackbacks}</a>{/if}
32 {else}
339e45c Do not display redundant link seperator.
Matthias Mees authored
33 <a href="{$entry.link}#comments" title="{$entry.comments} {$entry.label_comments}{if $entry.has_trackbacks}, {$entry.trackbacks} {$entry.label_trackbacks}{/if}">{$entry.comments} {$entry.label_comments}</a>
da9748f Initial version.
Matthias Mees authored
34 {/if}
4ff7cb4 Matthias Mees Full Disqus plugin support, thanks to @gbrockhaus.
authored
35 {/if}
84f5ab6 Matthias Mees Added basic support for tweet this/identica this/short url (Smarty versi...
authored
36 {if $entry.url_tweetthis}
e54bf75 Matthias Mees Added proper link text plus title attributes for twitter/identica/short ...
authored
37 | <a href="{$entry.url_tweetthis}" title="{$CONST.TWOK11_TWEET_THIS}">Twitter</a>
84f5ab6 Matthias Mees Added basic support for tweet this/identica this/short url (Smarty versi...
authored
38 {/if}
39 {if $entry.url_dentthis}
e54bf75 Matthias Mees Added proper link text plus title attributes for twitter/identica/short ...
authored
40 | <a href="{$entry.url_dentthis}" title="{$CONST.TWOK11_DENT_THIS}">Identica</a>
84f5ab6 Matthias Mees Added basic support for tweet this/identica this/short url (Smarty versi...
authored
41 {/if}
42 {if $entry.url_shorturl}
3a4f814 Matthias Mees Extended js function to block non-clickable links to short urls.
authored
43 | <a href="{$entry.url_shorturl}" title="{$CONST.TWOK11_SHORT_URL_HINT}" class="short-url">{$CONST.TWOK11_SHORT_URL}</a>
84f5ab6 Matthias Mees Added basic support for tweet this/identica this/short url (Smarty versi...
authored
44 {/if}
da9748f Initial version.
Matthias Mees authored
45 {$entry.add_footer}
46 {$entry.plugin_display_dat}
47 </footer>
48
49 <!--
50 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
51 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
52 xmlns:dc="http://purl.org/dc/elements/1.1/">
53 <rdf:Description
54 rdf:about="{$entry.link_rdf}"
55 trackback:ping="{$entry.link_trackback}"
56 dc:title="{$entry.title_rdf|@default:$entry.title}"
57 dc:identifier="{$entry.rdf_ident}" />
58 </rdf:RDF>
59 -->
60
61 {if $is_single_entry and not $is_preview}
62 {if $CONST.DATA_UNSUBSCRIBED}
63 <p class="serendipity_msg_notice">{$CONST.DATA_UNSUBSCRIBED|@sprintf:$CONST.UNSUBSCRIBE_OK}</p>
64 {/if}
65 {if $CONST.DATA_TRACKBACK_DELETED}
66 <p class="serendipity_msg_notice">{$CONST.DATA_TRACKBACK_DELETED|@sprintf:$CONST.TRACKBACK_DELETED}</p>
67 {/if}
68 {if $CONST.DATA_TRACKBACK_APPROVED}
69 <p class="serendipity_msg_notice">{$CONST.DATA_TRACKBACK_APPROVED|@sprintf:$CONST.TRACKBACK_APPROVED}</p>
70 {/if}
71 {if $CONST.DATA_COMMENT_DELETED}
72 <p class="serendipity_msg_notice">{$CONST.DATA_COMMENT_DELETED|@sprintf:$CONST.COMMENT_DELETED}</p>
73 {/if}
74 {if $CONST.DATA_COMMENT_APPROVED}
75 <p class="serendipity_msg_notice">{$CONST.DATA_COMMENT_APPROVED|@sprintf:$CONST.COMMENT_APPROVED}</p>
76 {/if}
77
83d7338 Matthias Mees Added classes for better disqus plugin support.
authored
78 <section id="trackbacks" class="serendipity_comments serendipity_section_trackbacks">
da9748f Initial version.
Matthias Mees authored
79 <h3>{$CONST.TRACKBACKS}</h3>
80
6ed7073 Matthias Mees Added block_level class to save some CSS performance pennies.
authored
81 <div id="trackback_url" class="block_level"><a rel="nofollow" href="{$entry.link_trackback}" title="{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape}">{$CONST.TRACKBACK_SPECIFIC}</a></div>
997bd48 Matthias Mees Removed trailing spaces.
authored
82
da9748f Initial version.
Matthias Mees authored
83 {serendipity_printTrackbacks entry=$entry.id}
84 </section>
85
83d7338 Matthias Mees Added classes for better disqus plugin support.
authored
86 <section id="comments" class="serendipity_comments serendipity_section_comments">
da9748f Initial version.
Matthias Mees authored
87 <h3>{$CONST.COMMENTS}</h3>
997bd48 Matthias Mees Removed trailing spaces.
authored
88
5c7224a Edited classes and display for comment management.
Matthias Mees authored
89 <p class="manage_comments">{$CONST.DISPLAY_COMMENTS_AS}
da9748f Initial version.
Matthias Mees authored
90 {if $entry.viewmode eq $CONST.VIEWMODE_LINEAR}
91 {$CONST.COMMENTS_VIEWMODE_LINEAR} | <a href="{$entry.link_viewmode_threaded}#comments" rel="nofollow">{$CONST.COMMENTS_VIEWMODE_THREADED}</a>
92 {else}
93 <a rel="nofollow" href="{$entry.link_viewmode_linear}#comments">{$CONST.COMMENTS_VIEWMODE_LINEAR}</a> | {$CONST.COMMENTS_VIEWMODE_THREADED}
94 {/if}
95 </p>
96
97 {serendipity_printComments entry=$entry.id mode=$entry.viewmode}
98 {if $entry.is_entry_owner}
5c7224a Edited classes and display for comment management.
Matthias Mees authored
99 <p class="manage_comments">
da9748f Initial version.
Matthias Mees authored
100 {if $entry.allow_comments}
101 <a href="{$entry.link_deny_comments}">{$CONST.COMMENTS_DISABLE}</a>
102 {else}
103 <a href="{$entry.link_allow_comments}">{$CONST.COMMENTS_ENABLE}</a>
104 {/if}
5c7224a Edited classes and display for comment management.
Matthias Mees authored
105 </p>
da9748f Initial version.
Matthias Mees authored
106 {/if}
107 </section>
108 <a id="feedback"></a>
109 {foreach from=$comments_messagestack item="message"}
110 <p class="serendipity_msg_important">{$message}</p>
111 {/foreach}
112 {if $is_comment_added}
113 <p class="serendipity_msg_notice">{$CONST.COMMENT_ADDED}</p>
114 {elseif $is_comment_moderate}
115 <p class="serendipity_msg_notice">{$CONST.COMMENT_ADDED}: {$CONST.THIS_COMMENT_NEEDS_REVIEW}</p>
116 {elseif not $entry.allow_comments}
117 <p class="serendipity_msg_important">{$CONST.COMMENTS_CLOSED}</p>
118 {else}
119 <section id="respond" class="serendipity_section_commentform">
120 <h3>{$CONST.ADD_COMMENT}</h3>
121 {$COMMENTFORM}
122 </section>
123 {/if}
124 {/if}
125 {$entry.backend_preview}
126 </article>
127 {/foreach}
128 {foreachelse}
129 {if not $plugin_clean_page}
587fa03 Added nocontent class.
Matthias Mees authored
130 <p class="nocontent">{$CONST.NO_ENTRIES_TO_PRINT}</p>
da9748f Initial version.
Matthias Mees authored
131 {/if}
132 {/foreach}
cea12ad Some additional headline to fix document outline.
Matthias Mees authored
133 {if $footer_info or $footer_prev_page or $footer_next_page}
6ed7073 Matthias Mees Added block_level class to save some CSS performance pennies.
authored
134 <nav class="serendipity_pagination block_level">
aaab7a5 Removed unnecessary assignment of constants to smarty variables. D'oh.
Matthias Mees authored
135 <h2 class="visuallyhidden">{$CONST.TWOK11_PAG_TITLE}</h2>
997bd48 Matthias Mees Removed trailing spaces.
authored
136
da9748f Initial version.
Matthias Mees authored
137 <ul class="clearfix">
138 {if $footer_info}
139 <li class="info"><span>{$footer_info}</span></li>
140 {/if}
141 <li class="prev">{if $footer_prev_page}<a href="{$footer_prev_page}">{/if}{if $footer_prev_page}&larr; {$CONST.PREVIOUS_PAGE}{else}&nbsp;{/if}{if $footer_prev_page}</a>{/if}</li>
142 <li class="next">{if $footer_next_page}<a href="{$footer_next_page}">{/if}{if $footer_next_page}{$CONST.NEXT_PAGE} &rarr;{else}&nbsp;{/if}{if $footer_next_page}</a>{/if}</li>
143 </ul>
144 </nav>
cea12ad Some additional headline to fix document outline.
Matthias Mees authored
145 {/if}
da9748f Initial version.
Matthias Mees authored
146 {serendipity_hookPlugin hook="entries_footer"}
Something went wrong with that request. Please try again.