1
0

Removed unnecessary assignment of constants to smarty variables. D'oh.

This commit is contained in:
Matthias Mees
2011-12-01 10:13:26 +01:00
parent 4cb2714995
commit 1743a7a18f
5 changed files with 12 additions and 25 deletions

View File

@ -1,5 +1,3 @@
{assign var="plinktext" value=$CONST.TWOK11_PLINK_TEXT}
{assign var="plinktitle" value=$CONST.TWOK11_PLINK_TITLE}
{foreach from=$comments item=comment name="comments"}
<article id="c{$comment.id}" class="serendipity_comment{if $entry.author == $comment.author} serendipity_comment_author_self{/if} {cycle values="odd,even"} {if $comment.depth > 8}commentlevel-9{else}commentlevel-{$comment.depth}{/if}">
<h4>{if $comment.url}<a href="{$comment.url}">{/if}{$comment.author|@default:$CONST.ANONYMOUS}{if $comment.url}</a>{/if} {$CONST.ON} <time datetime="{$comment.timestamp|@serendipity_smarty_html5time}" pubdate>{$comment.timestamp|@formatTime:$template_option.date_format}</time>:</h4>
@ -13,7 +11,7 @@
</div>
<footer>
<a class="comment_source_trace" href="#c{$comment.id}" title="{$plinktitle}">{$plinktext}</a>
<a class="comment_source_trace" href="#c{$comment.id}" title="{$CONST.TWOK11_PLINK_TITLE}">{$CONST.TWOK11_PLINK_TEXT}</a>
{if $entry.is_entry_owner}
| <a class="comment_source_ownerlink" href="{$comment.link_delete}" title="{$CONST.COMMENT_DELETE_CONFIRM|@sprintf:$comment.id:$comment.author}">{$CONST.DELETE}</a>
{/if}