aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/register.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-05-22 13:49:39 +0000
committermistic100 <mistic@piwigo.org>2011-05-22 13:49:39 +0000
commitf4d8fa5805505df3d3dbda0fda0fdda4a92cc008 (patch)
tree742ef52383dbde30e196e9c07009f49ba1aaa0c2 /themes/default/template/register.tpl
parentdaa0bdd09e41c17ca7abce451e9111ff038b1d1a (diff)
bug:2307 Adjust registration form based on email requirement
git-svn-id: http://piwigo.org/svn/trunk@10992 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 b173061cf..624081e6a 100644
--- a/themes/default/template/register.tpl
+++ b/themes/default/template/register.tpl
@@ -47,10 +47,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>