[ Index ] |
|
Code source de Serendipity 1.2 |
1 {foreach from=$comments item=comment name="comments"} 2 <a id="c{$comment.id}"></a> 3 <div id="serendipity_comment_{$comment.id}" class="serendipity_comment serendipity_comment_author_{$comment.author|@makeFilename} {if $entry.author == $comment.author}serendipity_comment_author_self{/if} {cycle values="comment_oddbox, comment_evenbox"}" style="padding-left: {$comment.depth*20}px"> 4 <div class="serendipity_commentBody"> 5 {if $comment.body == 'COMMENT_DELETED'} 6 {$CONST.COMMENT_IS_DELETED} 7 {else} 8 {$comment.body} 9 {/if} 10 </div> 11 <div class="serendipity_comment_source"> 12 <a class="comment_source_trace" href="#c{$comment.id}">#{$comment.trace}</a> 13 <span class="comment_source_author"> 14 {if $comment.email} 15 <a href="mailto:{$comment.email}">{$comment.author|@default:$CONST.ANONYMOUS}</a> 16 {else} 17 {$comment.author|@default:$CONST.ANONYMOUS} 18 {/if} 19 </span> 20 {if $comment.url} 21 (<a class="comment_source_url" href="{$comment.url}" title="{$comment.url|@escape}">{$CONST.HOMEPAGE}</a>) 22 {/if} 23 {$CONST.ON} 24 <span class="comment_source_date">{$comment.timestamp|@formatTime:$CONST.DATE_FORMAT_SHORT}</span> 25 26 {if $entry.is_entry_owner} 27 (<a class="comment_source_ownerlink" href="{$comment.link_delete}" onclick="return confirm('{$CONST.COMMENT_DELETE_CONFIRM|@sprintf:$comment.id:$comment.author}');">{$CONST.DELETE}</a>) 28 {/if} 29 {if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'} 30 (<a class="comment_reply" href="#serendipity_CommentForm" id="serendipity_reply_{$comment.id}" onclick="document.getElementById('serendipity_replyTo').value='{$comment.id}'; {$comment_onchange}">{$CONST.REPLY}</a>) 31 <div id="serendipity_replyform_{$comment.id}"></div> 32 {/if} 33 </div> 34 </div> 35 {foreachelse} 36 <div class="serendipity_center nocomments">{$CONST.NO_COMMENTS}</div> 37 {/foreach}
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 |
![]() |