aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-11-12 11:51:45 +0000
committermistic100 <mistic@piwigo.org>2011-11-12 11:51:45 +0000
commitaeddc4f9938d250907da2e8a432b9ae97f78b421 (patch)
tree4c1ca9f83039c7388b0342b82e776df40ab104bc /themes/default
parentebd35f045a173fe830a418257322a962c68997d6 (diff)
merge r12610 from trunk bug:2503 in register.php bad template var for 'obligatory_user_mail_address'
git-svn-id: http://piwigo.org/svn/branches/2.3@12611 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/template/register.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/template/register.tpl b/themes/default/template/register.tpl
index 624081e6a..4530ad5bf 100644
--- a/themes/default/template/register.tpl
+++ b/themes/default/template/register.tpl
@@ -47,10 +47,10 @@
</li>
<li>
<span class="property">
- <label for="mail_address">{if not ($main.obligatory_user_mail_address)}* {/if}{'Email address'|@translate}</label>
+ <label for="mail_address">{if $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)}
+ {if not $obligatory_user_mail_address}
({'useful when password forgotten'|@translate})
{/if}
</li>