Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 146 lines (134 sloc) 7.703 kb
da9748f9 » Matthias Mees
2011-07-27 Initial version.
1 {serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
2 {foreach from=$entries item="dategroup"}
3 {foreach from=$dategroup.entries item="entry"}
476b71c4 »
2012-01-20 Some additional just-in-case float clearing classes.
4 <article id="post_{$entry.id}" class="clearfix serendipity_entry{if $dategroup.is_sticky} sticky{/if}">
5 <header class="clearfix">
cea12adf » Matthias Mees
2011-08-20 Some additional headline to fix document outline.
6 <h2><a href="{$entry.link}">{$entry.title}</a></h2>
997bd481 »
2012-04-10 Removed trailing spaces.
7
cdb49a09 »
2012-09-30 Extra span to make it easy to hide author via CSS.
8 <span class="serendipity_byline"><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>
da9748f9 » Matthias Mees
2011-07-27 Initial version.
9 </header>
10
7603c4a2 » Matthias Mees
2011-09-15 More print styles for all those people determined to print the web.
11 <div class="clearfix content serendipity_entry_body">
0b49d8dd »
2012-01-27 Got rid of (X)HTML syntax for self-closing tags.
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}
da9748f9 » Matthias Mees
2011-07-27 Initial version.
13 {$entry.body}
14 {if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
15 <a class="read_more" href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a>
16 {/if}
17 </div>
18 {if $entry.is_extended}
34fad1c2 »
2012-07-23 Added some clearfix classes here and there.
19 <div id="extended" class="clearfix content">
da9748f9 » Matthias Mees
2011-07-27 Initial version.
20 {$entry.extended}
21 </div>
22 {/if}
23
476b71c4 »
2012-01-20 Some additional just-in-case float clearing classes.
24 <footer class="clearfix">
da9748f9 » Matthias Mees
2011-07-27 Initial version.
25 {if $entry.categories}
6a31b917 » Matthias Mees
2011-09-11 Added invisible category label for a11y.
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}
da9748f9 » Matthias Mees
2011-07-27 Initial version.
27 {/if}
4ff7cb48 »
2012-06-08 Full Disqus plugin support, thanks to @gbrockhaus.
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}
339e45c4 » Matthias Mees
2011-11-18 Do not display redundant link seperator.
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>
da9748f9 » Matthias Mees
2011-07-27 Initial version.
34 {/if}
4ff7cb48 »
2012-06-08 Full Disqus plugin support, thanks to @gbrockhaus.
35 {/if}
84f5ab6a »
2011-12-30 Added basic support for tweet this/identica this/short url (Smarty ve…
36 {if $entry.url_tweetthis}
e54bf750 »
2011-12-30 Added proper link text plus title attributes for twitter/identica/sho…
37 | <a href="{$entry.url_tweetthis}" title="{$CONST.TWOK11_TWEET_THIS}">Twitter</a>
84f5ab6a »
2011-12-30 Added basic support for tweet this/identica this/short url (Smarty ve…
38 {/if}
39 {if $entry.url_dentthis}
e54bf750 »
2011-12-30 Added proper link text plus title attributes for twitter/identica/sho…
40 | <a href="{$entry.url_dentthis}" title="{$CONST.TWOK11_DENT_THIS}">Identica</a>
84f5ab6a »
2011-12-30 Added basic support for tweet this/identica this/short url (Smarty ve…
41 {/if}
42 {if $entry.url_shorturl}
3a4f8145 »
2011-12-30 Extended js function to block non-clickable links to short urls.
43 | <a href="{$entry.url_shorturl}" title="{$CONST.TWOK11_SHORT_URL_HINT}" class="short-url">{$CONST.TWOK11_SHORT_URL}</a>
84f5ab6a »
2011-12-30 Added basic support for tweet this/identica this/short url (Smarty ve…
44 {/if}
da9748f9 » Matthias Mees
2011-07-27 Initial version.
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
83d73389 »
2012-06-05 Added classes for better disqus plugin support.
78 <section id="trackbacks" class="serendipity_comments serendipity_section_trackbacks">
da9748f9 » Matthias Mees
2011-07-27 Initial version.
79 <h3>{$CONST.TRACKBACKS}</h3>
80
27498398 » Matthias Mees
2011-09-07 jQuery substitute for trackback URL alert box.
81 <div id="trackback_url"><a rel="nofollow" href="{$entry.link_trackback}" title="{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape}">{$CONST.TRACKBACK_SPECIFIC}</a></div>
997bd481 »
2012-04-10 Removed trailing spaces.
82
da9748f9 » Matthias Mees
2011-07-27 Initial version.
83 {serendipity_printTrackbacks entry=$entry.id}
84 </section>
85
83d73389 »
2012-06-05 Added classes for better disqus plugin support.
86 <section id="comments" class="serendipity_comments serendipity_section_comments">
da9748f9 » Matthias Mees
2011-07-27 Initial version.
87 <h3>{$CONST.COMMENTS}</h3>
997bd481 »
2012-04-10 Removed trailing spaces.
88
5c7224ae » Matthias Mees
2011-08-21 Edited classes and display for comment management.
89 <p class="manage_comments">{$CONST.DISPLAY_COMMENTS_AS}
da9748f9 » Matthias Mees
2011-07-27 Initial version.
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}
5c7224ae » Matthias Mees
2011-08-21 Edited classes and display for comment management.
99 <p class="manage_comments">
da9748f9 » Matthias Mees
2011-07-27 Initial version.
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}
5c7224ae » Matthias Mees
2011-08-21 Edited classes and display for comment management.
105 </p>
da9748f9 » Matthias Mees
2011-07-27 Initial version.
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}
587fa034 » Matthias Mees
2011-09-04 Added nocontent class.
130 <p class="nocontent">{$CONST.NO_ENTRIES_TO_PRINT}</p>
da9748f9 » Matthias Mees
2011-07-27 Initial version.
131 {/if}
132 {/foreach}
cea12adf » Matthias Mees
2011-08-20 Some additional headline to fix document outline.
133 {if $footer_info or $footer_prev_page or $footer_next_page}
c549130e » Matthias Mees
2011-12-16 Removed most of the hardcoded role attributes (to be replaced by Acce…
134 <nav class="serendipity_pagination">
aaab7a53 » Matthias Mees
2011-12-01 Removed unnecessary assignment of constants to smarty variables. D'oh.
135 <h2 class="visuallyhidden">{$CONST.TWOK11_PAG_TITLE}</h2>
997bd481 »
2012-04-10 Removed trailing spaces.
136
da9748f9 » Matthias Mees
2011-07-27 Initial version.
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>
cea12adf » Matthias Mees
2011-08-20 Some additional headline to fix document outline.
145 {/if}
da9748f9 » Matthias Mees
2011-07-27 Initial version.
146 {serendipity_hookPlugin hook="entries_footer"}
Something went wrong with that request. Please try again.