[ Index ] |
|
Code source de Serendipity 1.2 |
1 <!-- ENTRIES START --> 2 {serendipity_hookPlugin hook="entries_header" addData="$entry_id"} 3 {foreach from=$entries item="dategroup"} 4 {foreach from=$dategroup.entries item="entry"} 5 6 <div class="serendipity_Entry_Date"> 7 {if $dategroup.is_sticky} 8 <h3 class="serendipity_date">{$CONST.STICKY_POSTINGS}</h3> 9 {else} 10 <h3 class="serendipity_date">{$dategroup.date|@formatTime:DATE_FORMAT_ENTRY}</h3> 11 {/if} 12 </div> 13 <div class="serendipity_entry serendipity_entry_author_{$entry.author|@makeFilename} {if $entry.is_entry_owner}serendipity_entry_author_self{/if} "> 14 15 <div class='serendipity_entryFooter'> 16 {if $entry.categories} 17 <span class="serendipity_entryIcon"> 18 {foreach from=$entry.categories item="entry_category"} 19 {if $entry_category.category_icon} 20 <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> 21 {/if} 22 {/foreach} 23 </span> 24 {/if} 25 {if $is_single_entry} 26 {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> 27 {if $entry.categories} 28 {$CONST.IN} {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} 29 {/if} 30 <br /> 31 {else}<a href="{$entry.link}">{$entry.title|@default:$entry.body|truncate:40:" ..."}</a> {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> 32 {if $entry.categories} 33 {$CONST.IN} {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} 34 {/if} 35 {if $dategroup.is_sticky} 36 {$CONST.ON} 37 {else} 38 {$CONST.AT} 39 {/if} {if $dategroup.is_sticky}{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}{else} {$entry.timestamp|@formatTime:'%H:%M'}{/if}<br /> 40 {/if} 41 {if $entry.is_entry_owner and not $is_preview} 42 <br /><a href="{$entry.link_edit}">{$CONST.EDIT_ENTRY}</a> 43 {/if} 44 {if $entry.has_comments} 45 {if $use_popups} 46 <br /><a href="{$entry.link_popup_comments}" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;">{$entry.label_comments} ({$entry.comments})</a> 47 {else} 48 <br /><a href="{$entry.link}#comments">{$entry.label_comments} ({$entry.comments})</a> 49 {/if} 50 {/if} 51 52 {if $entry.has_trackbacks} 53 {if $use_popups} 54 <br /><a href="{$entry.link_popup_trackbacks}" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;">{$entry.label_trackbacks} ({$entry.trackbacks})</a><br /> 55 {else} 56 <br /><a href="{$entry.link}#trackbacks">{$entry.label_trackbacks} ({$entry.trackbacks})</a><br /> 57 {/if} 58 {/if} 59 {$entry.add_footer} 60 </div> 61 62 <h4 class="serendipity_title"><a href="{$entry.link}">{$entry.title|@default:$entry.body|truncate:200:" ..."}</a></h4> 63 <div class="serendipity_entry_body"> 64 {$entry.body} 65 {if $entry.has_extended and not $is_single_entry and not $entry.is_extended} 66 <span class="continue_reading"><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a></span></div> 67 {/if} 68 69 {if $entry.is_extended} 70 <div class="serendipity_entry_extended"><a id="extended"></a>{$entry.extended}</div> 71 {/if} 72 73 </div> 74 75 <!-- 76 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 77 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" 78 xmlns:dc="http://purl.org/dc/elements/1.1/"> 79 <rdf:Description 80 rdf:about="{$entry.link_rdf}" 81 trackback:ping="{$entry.link_trackback}" 82 dc:title="{$entry.title_rdf|@default:$entry.title}" 83 dc:identifier="{$entry.rdf_ident}" /> 84 </rdf:RDF> 85 --> 86 {$entry.plugin_display_dat} 87 88 {if $is_single_entry and not $use_popups and not $is_preview} 89 {if $CONST.DATA_UNSUBSCRIBED} 90 <br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_UNSUBSCRIBED|@sprintf:$CONST.UNSUBSCRIBE_OK}</div><br /> 91 {/if} 92 93 {if $CONST.DATA_TRACKBACK_DELETED} 94 <br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_TRACKBACK_DELETED|@sprintf:$CONST.TRACKBACK_DELETED}</div><br /> 95 {/if} 96 97 {if $CONST.DATA_TRACKBACK_APPROVED} 98 <br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_TRACKBACK_APPROVED|@sprintf:$CONST.TRACKBACK_APPROVED}</div><br /> 99 {/if} 100 101 {if $CONST.DATA_COMMENT_DELETED} 102 <br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_COMMENT_DELETED|@sprintf:$CONST.COMMENT_DELETED}</div><br /> 103 {/if} 104 105 {if $CONST.DATA_COMMENT_APPROVED} 106 <br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_COMMENT_APPROVED|@sprintf:$CONST.COMMENT_APPROVED}</div><br /> 107 {/if} 108 109 <div class="serendipity_comments serendipity_section_trackbacks"> 110 <br /> 111 <a id="trackbacks"></a> 112 <div class="serendipity_commentsTitle">{$CONST.TRACKBACKS}</div> 113 <div class="serendipity_center"> 114 <a rel="nofollow" style="font-weight: normal" href="{$entry.link_trackback}" onclick="alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:html}'); return false;" title="{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape}">{$CONST.TRACKBACK_SPECIFIC}</a> 115 </div> 116 <br /> 117 {serendipity_printTrackbacks entry=$entry.id} 118 </div> 119 {/if} 120 121 {if $is_single_entry and not $is_preview} 122 <div class="serendipity_comments serendipity_section_comments"> 123 <br /> 124 <a id="comments"></a> 125 <div class="serendipity_commentsTitle">{$CONST.COMMENTS}</div> 126 <div class="serendipity_center">{$CONST.DISPLAY_COMMENTS_AS} 127 {if $entry.viewmode eq $CONST.VIEWMODE_LINEAR} 128 ({$CONST.COMMENTS_VIEWMODE_LINEAR} | <a rel="nofollow" href="{$entry.link_viewmode_threaded}#comments">{$CONST.COMMENTS_VIEWMODE_THREADED}</a>) 129 {else} 130 (<a rel="nofollow" href="{$entry.link_viewmode_linear}#comments">{$CONST.COMMENTS_VIEWMODE_LINEAR}</a> | {$CONST.COMMENTS_VIEWMODE_THREADED}) 131 {/if} 132 </div> 133 <br /> 134 {serendipity_printComments entry=$entry.id mode=$entry.viewmode} 135 136 {if $entry.is_entry_owner} 137 {if $entry.allow_comments} 138 <div class="serendipity_center">(<a href="{$entry.link_deny_comments}">{$CONST.COMMENTS_DISABLE}</a>)</div> 139 {else} 140 <div class="serendipity_center">(<a href="{$entry.link_allow_comments}">{$CONST.COMMENTS_ENABLE}</a>)</div> 141 {/if} 142 {/if} 143 <a id="feedback"></a> 144 145 {foreach from=$comments_messagestack item="message"} 146 <div class="serendipity_center serendipity_msg_important">{$message}</div> 147 {/foreach} 148 149 {if $is_comment_added} 150 151 <br /> 152 <div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}</div> 153 154 {elseif $is_comment_moderate} 155 156 <br /> 157 <div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}<br />{$CONST.THIS_COMMENT_NEEDS_REVIEW}</div> 158 159 {elseif not $entry.allow_comments} 160 161 <br /> 162 <div class="serendipity_center serendipity_msg_important">{$CONST.COMMENTS_CLOSED}</div> 163 164 {else} 165 166 <br /> 167 <div class="serendipity_section_commentform"> 168 <div class="serendipity_commentsTitle">{$CONST.ADD_COMMENT}</div> 169 {$COMMENTFORM} 170 </div> 171 172 {/if} 173 </div> 174 {/if} 175 176 {$entry.backend_preview} 177 {/foreach} 178 </div> 179 {foreachelse} 180 {if not $plugin_clean_page} 181 <h3 class="serendipity_date">{$CONST.ADMIN_FRONTPAGE}</h3> 182 <div class="serendipity_overview_noentries">{$CONST.NO_ENTRIES_TO_PRINT}</div> 183 {/if} 184 {/foreach} 185 186 <div class='serendipity_pageFooter' style="text-align: center"> 187 {if $footer_info} 188 {if $footer_prev_page} 189 <a href="{$footer_prev_page}">« {$CONST.PREVIOUS_PAGE}</a>   190 {else} 191 <span class="grey">« {$CONST.PREVIOUS_PAGE}</span>   192 {/if} 193 {else} 194 {/if} 195 196 {if $footer_info} 197 ({$footer_info}) 198 {/if} 199 200 {if $footer_info} 201 {if $footer_next_page} 202   <a href="{$footer_next_page}">{$CONST.NEXT_PAGE} »</a> 203 {else} 204   <span class="grey">{$CONST.NEXT_PAGE} »</span> 205 {/if} 206 {else} 207 {/if} 208 209 <br />{if not $startpage}<a href="{$serendipityBaseURL}">{$CONST.ADMIN_FRONTPAGE}</a>{/if}{if not $footer_info} - <a href="#topofpage">{$CONST.TOP_LEVEL}</a>{/if} 210 {serendipity_hookPlugin hook="entries_footer"} 211 </div> 212 <!-- ENTRIES END -->
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |