aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/comments.tpl
blob: 63e3b3baaefd4e96d909c3d337399c76ddf93aa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{* $Id: /piwigo/trunk/admin/template/goto/comments.tpl 7025 2009-03-09T19:41:45.898712Z nikrou  $ *}
<div class="titrePage">
  <h2>{'waiting'|@translate} {$TABSHEET_TITLE}</h2>
</div>

<h3>{'User comments validation'|@translate}</h3>

{if !empty($comments) }
<form method="post" action="{$F_ACTION}">
  
  {foreach from=$comments item=comment}
  <div class="comment">
    <a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}"></a>
    <p class="commentHeader"><strong>{$comment.AUTHOR}</strong> - <em>{$comment.DATE}</em></p>
    <blockquote>{$comment.CONTENT}</blockquote>
  </div>
    <ul class="actions">
      <li><label><input type="radio" name="action-{$comment.ID}" value="reject">{'Reject'|@translate}</label></li>
      <li><label><input type="radio" name="action-{$comment.ID}" value="validate">{'Validate'|@translate}</label></li>
    </ul>
  {/foreach}

  <p class="bottomButtons">
    <input type="hidden" name="list" value="{$LIST}">
    <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}>
    <input class="submit" type="submit" name="validate-all" value="{'Validate All'|@translate}" {$TAG_INPUT_ENABLED}>
    <input class="submit" type="submit" name="reject-all" value="{'Reject All'|@translate}" {$TAG_INPUT_ENABLED}>
    <input class="submit" type="reset" value="{'Reset'|@translate}">
  </p>

</form>
{/if}