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