Piwigo.org

You are not logged in. (Register / Login)

Announcement

Post a reply

Write your message and submit

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

flop25
2011-05-20 10:46:41

hello
thx for your suggestion : please post on the bugtracker, http://piwigo.org/bugs, if you want to see this integrated one day
best regards

mrjoel
2011-05-19 21:08:01

The registration page should change the email field indications depending on whether the configuration is set to require email addresses or not.

Suggested diff after a quick look is:

--- themes/default/template/register.orig.tpl   2011-05-19 19:10:40.000000000 +0000
+++ themes/default/template/register.tpl        2011-05-19 19:13:35.000000000 +0000
@@ -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>

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013