diff options
author | mistic100 <mistic@piwigo.org> | 2014-06-22 11:41:47 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-06-22 11:41:47 +0000 |
commit | b4b17975304e776518bb2f456f8000cef6bd60e9 (patch) | |
tree | b0538fc2463bb7a5e3ff6f6e32ad81a729e28018 /themes/default | |
parent | f77f3698fe1501ba0a3b94c3a2cfe4d728f2b45b (diff) |
feature 3095: add "comments_enable_website" param + GUI
git-svn-id: http://piwigo.org/svn/trunk@28764 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | themes/default/template/picture.tpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index f64e04856..2ee395c53 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -340,8 +340,10 @@ function setPrivacyLevel(id, level){ <p><label for="email">{'Email address'|@translate}{if $comment_add.EMAIL_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> <p><input type="text" name="email" id="email" value="{$comment_add.EMAIL}"></p> {/if} - <p><label for="website_url">{'Website'|@translate} :</label></p> - <p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p> + {if $comment_add.SHOW_WEBSITE} + <p><label for="website_url">{'Website'|@translate} :</label></p> + <p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p> + {/if} <p><label for="contentid">{'Comment'|@translate} ({'mandatory'|@translate}) :</label></p> <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p> <p><input type="hidden" name="key" value="{$comment_add.KEY}"> |