bundled-libs
deployment
docs
htmlarea
include
lang
plugins
sql
templates
2k11
blue
bulletproof
carl_contest
competition
contest
default
default-php
default-rtl
default-xml
idea
kubrick
UTF-8
images
comments.tpl
config.inc.php
entries.tpl
index.tpl
info.txt
lang_cs.inc.php
lang_cz.inc.php
lang_de.inc.php
lang_en.inc.php
lang_ko.inc.php
preview.png
preview_fullsize.jpg
sidebar.tpl
style.css
trackbacks.tpl
moz-modern
mt-clean
mt-georgiablue
mt-gettysburg
mt-plainjane
mt-rusty
mt-trendy
mt3-chalkboard
mt3-gettysburg
mt3-independence
mt3-squash
newspaper
wp
HOWTO
jquery.js
templates_c
tests
uploads
.gitignore
README.markdown
checksums.inc.php
comment.php
composer.json
composer.phar
exit.php
index.php
rss.php
serendipity.css.php
serendipity_admin.php
serendipity_admin_image_selector.php
serendipity_config.inc.php
serendipity_xmlrpc.php
wfwcomment.php
29 lines
1.5 KiB
Smarty
29 lines
1.5 KiB
Smarty
{foreach from=$comments item=comment name="comments"}
|
|
<a id="c{$comment.id}"></a>
|
|
<li class="{if $smarty.foreach.comments.iteration is odd}graybox{/if}" style="margin-left: {$comment.depth*20}px">
|
|
<cite>{if $comment.url}
|
|
<a href="{$comment.url}" target="_blank">{$comment.author|@default:$CONST.ANONYMOUS}</a>
|
|
{else}
|
|
{$comment.author|@default:$CONST.ANONYMOUS}
|
|
{/if}</cite> {$CONST.SAYS}:<br />
|
|
<div class="commentmetadata" id="serendipity_comment_{$comment.id}">
|
|
<a href="#c{$comment.id}" title="{$CONST.LINK_TO_COMMENT|sprintf:$comment.trace}">#{$comment.trace}</a>
|
|
{$comment.timestamp|@formatTime:$CONST.DATE_FORMAT_SHORT}
|
|
{if $entry.is_entry_owner}
|
|
(<a href="{$comment.link_delete}" onclick="return confirm('{$CONST.COMMENT_DELETE_CONFIRM|@sprintf:$comment.id:$comment.author}');">{$CONST.DELETE}</a>)
|
|
{/if}
|
|
{if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'}
|
|
(<a href="#serendipity_CommentForm" id="serendipity_reply_{$comment.id}" onclick="document.getElementById('serendipity_replyTo').value='{$comment.id}'; {$comment_onchange}">{$CONST.REPLY}</a>)
|
|
<div id="serendipity_replyform_{$comment.id}"></div>
|
|
{/if}
|
|
</div>
|
|
{if $comment.body == 'COMMENT_DELETED'}
|
|
<p>{$CONST.COMMENT_IS_DELETED}</p>
|
|
{else}
|
|
<p>{$comment.body}</p>
|
|
{/if}
|
|
</li>
|
|
{foreachelse}
|
|
<p class="nocomments">{$CONST.NO_COMMENTS}</p>
|
|
{/foreach}
|