aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-05-22 13:51:26 +0000
committermistic100 <mistic@piwigo.org>2011-05-22 13:51:26 +0000
commit50ba423278fa047dac9988e6cc435c29765ab841 (patch)
tree35bbc662f9b407215b62d6c0effda456ce82c4db /themes
parent2d261313d455743cd31ed2b829d111a2489cd427 (diff)
bug:2307 merge r10992 from trunk - Adjust registration form based on email requirement
git-svn-id: http://piwigo.org/svn/branches/2.2@10993 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r--themes/default/template/register.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/default/template/register.tpl b/themes/default/template/register.tpl
index b827c3aa0..bff667180 100644
--- a/themes/default/template/register.tpl
+++ b/themes/default/template/register.tpl
@@ -46,10 +46,12 @@
</li>
<li>
<span class="property">
- <label for="mail_address">{'Email address'|@translate}</label>
+ <label for="mail_address">{if not ($main.obligatory_user_mail_address)}* {/if}{'Email address'|@translate}</label>
</span>
<input type="text" name="mail_address" id="mail_address" value="{$F_EMAIL}" >
+ {if ($main.obligatory_user_mail_address)}
({'useful when password forgotten'|@translate})
+ {/if}
</li>
</ul>