source: extensions/mypolls/templates/plugin_comment_list.tpl @ 20508

Last change on this file since 20508 was 3397, checked in by grum, 15 years ago

Add plugin MyPolls - this release is not published in PEM (functionnal but not tested yet...)

  • Property svn:executable set to *
File size: 716 bytes
Line 
1{* used by public&admin interface *}
2
3{if isset($comment_list_rows) and count($comment_list_rows)}
4  <ul class=compact>
5    {foreach from=$comment_list_rows key=name item=comment_list_row}
6      <li class="TableRow">
7        {if $comment_list_row.display_delete == 'yes'}
8          <a style='cursor:pointer;float:right;'
9            onclick='poll_delete_comment("{$comment_list_row.ID}", {$comment_list_row.PAGE});'>
10            {'mypolls_delete_comment'|@translate}
11          </a>
12        {/if}
13        [{$comment_list_row.DATE}]&nbsp;<i>{$comment_list_row.USERNAME}</i>
14        <p>{$comment_list_row.COMMENT}</p>
15        <hr/>
16      </li>
17    {/foreach}
18  </ul>
19{/if}
20
21{if $datas.PAGES!=""}
22  {$datas.PAGES}
23{/if}
Note: See TracBrowser for help on using the repository browser.