From 7e33b84e770ddab61ef1d5c67061cd41c189f20e Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sun, 23 Sep 2012 09:34:30 +0000 Subject: feature 2754: Add "Email" field for user comments + mandatory "Author" git-svn-id: http://piwigo.org/svn/trunk@18164 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/comment_list.tpl | 3 ++- themes/default/template/picture.tpl | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'themes') diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl index ec27111ef..daa1b835c 100644 --- a/themes/default/template/comment_list.tpl +++ b/themes/default/template/comment_list.tpl @@ -54,7 +54,8 @@ {/if} - {if $comment.WEBSITE_URL}{$comment.AUTHOR}{else}{$comment.AUTHOR}{/if} + {if $comment.WEBSITE_URL}{$comment.AUTHOR}{else}{$comment.AUTHOR}{/if} + {if $comment.EMAIL}- {$comment.EMAIL}{/if} - {$comment.DATE} {if isset($comment.IN_EDIT)} diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 616be3d5c..7e4c95dce 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -348,12 +348,16 @@ function togglePrivacyLevelBox()

{'Add a comment'|@translate}

{if $comment_add.SHOW_AUTHOR} -

+

{/if} -

-

-

+ {if $comment_add.SHOW_EMAIL} +

+

+ {/if} +

+

+

-- cgit v1.2.3