[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/templates/kubrick/ -> comments.tpl (source)

   1  {foreach from=$comments item=comment name="comments"}
   2      <a id="c{$comment.id}"></a>
   3      <li class="{if $smarty.foreach.comments.iteration is odd}graybox{/if}" style="margin-left: {$comment.depth*20}px">
   4          <cite>{if $comment.url}
   5                  <a href="{$comment.url}" target="_blank">{$comment.author|@default:$CONST.ANONYMOUS}</a>
   6              {else}
   7                  {$comment.author|@default:$CONST.ANONYMOUS}
   8              {/if}</cite> {$CONST.SAYS}:<br />
   9          <div class="commentmetadata" id="serendipity_comment_{$comment.id}">
  10              <a href="#c{$comment.id}" title="{$CONST.LINK_TO_COMMENT|sprintf:$comment.trace}">#{$comment.trace}</a>
  11              {$comment.timestamp|@formatTime:$CONST.DATE_FORMAT_SHORT}
  12              {if $entry.is_entry_owner}
  13                  (<a href="{$comment.link_delete}" onclick="return confirm('{$CONST.COMMENT_DELETE_CONFIRM|@sprintf:$comment.id:$comment.author}');">{$CONST.DELETE}</a>)
  14              {/if}
  15              {if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'}
  16                  (<a href="#serendipity_CommentForm" id="serendipity_reply_{$comment.id}" onclick="document.getElementById('serendipity_replyTo').value='{$comment.id}'; {$comment_onchange}">{$CONST.REPLY}</a>)
  17                  <div id="serendipity_replyform_{$comment.id}"></div>
  18              {/if}
  19          </div>
  20          {if $comment.body == 'COMMENT_DELETED'}
  21          <p>{$CONST.COMMENT_IS_DELETED}</p>
  22          {else}
  23          <p>{$comment.body}</p>
  24          {/if}
  25      </li>
  26  {foreachelse}
  27      <p class="nocomments">{$CONST.NO_COMMENTS}</p>
  28  {/foreach}


Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics