aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/comments.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/admin/comments.tpl')
-rw-r--r--template/yoga/admin/comments.tpl38
1 files changed, 20 insertions, 18 deletions
diff --git a/template/yoga/admin/comments.tpl b/template/yoga/admin/comments.tpl
index 4a4b5fef4..84b1677c6 100644
--- a/template/yoga/admin/comments.tpl
+++ b/template/yoga/admin/comments.tpl
@@ -1,31 +1,33 @@
-<!-- DEV TAG: not smarty migrated -->
-<!-- $Id$ -->
+{* $Id$ *}
<div class="titrePage">
- <h2>{lang:waiting} {TABSHEET_TITLE}</h2>
- {TABSHEET}
+ <h2>{'waiting'|@translate} {$TABSHEET_TITLE}</h2>
+ {$TABSHEET}
</div>
-<h3>{lang:User comments validation}</h3>
+<h3>{'User comments validation'|@translate}</h3>
-<form method="post" action="{F_ACTION}">
- <!-- BEGIN comment -->
+{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>
+ <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>
<ul class="actions">
- <li><label><input type="radio" name="action-{comment.ID}" value="reject" />{lang:Reject}</label></li>
- <li><label><input type="radio" name="action-{comment.ID}" value="validate" />{lang:Validate}</label></li>
+ <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>
</div>
- <!-- END comment -->
+ {/foreach}
<p class="bottomButtons">
- <input type="hidden" name="list" value="{LIST}" />
- <input class="submit" type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
- <input class="submit" type="submit" name="validate-all" value="{lang:Validate All}" {TAG_INPUT_ENABLED}/>
- <input class="submit" type="submit" name="reject-all" value="{lang:Reject All}" {TAG_INPUT_ENABLED}/>
- <input class="submit" type="reset" value="{lang:Reset}" />
+ <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} \ No newline at end of file