aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-06-21 13:39:25 +0000
committermistic100 <mistic@piwigo.org>2012-06-21 13:39:25 +0000
commit5ae74aac0427a7b5368b5694c6aeb588a698d674 (patch)
treed482a84919c028471f3de4f13848ac51cadcaf6d /themes/default/template
parentb2149f3c10f6dea603fee68070cd0cca9e761355 (diff)
on comment_list add link to exit from comment edition
git-svn-id: http://piwigo.org/svn/trunk@15924 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template')
-rw-r--r--themes/default/template/comment_list.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl
index cb3052d11..59618cde2 100644
--- a/themes/default/template/comment_list.tpl
+++ b/themes/default/template/comment_list.tpl
@@ -25,6 +25,11 @@
{if isset($comment.U_DELETE)}
<a href="{$comment.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
{'Delete'|@translate}
+ </a>{if isset($comment.U_VALIDATE) or isset($comment.U_EDIT) or isset($comment.U_CANCEL)} | {/if}
+ {/if}
+ {if isset($comment.U_CANCEL)}
+ <a href="{$comment.U_CANCEL}">
+ {'Cancel'|@translate}
</a>{if isset($comment.U_VALIDATE) or isset($comment.U_EDIT)} | {/if}
{/if}
{if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}