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