diff options
author | patdenice <patdenice@piwigo.org> | 2010-03-24 23:24:01 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-03-24 23:24:01 +0000 |
commit | f9b339cf796e1b78e2a3416f594897c0b808c156 (patch) | |
tree | 8db694d7e84410212fd72a63d3312baad0e286dc /admin | |
parent | 7682ed5e13e88d01cc0e05b083d49b6d8552a2b3 (diff) |
Feature 1533: admincan activate/deactivate user customization.
git-svn-id: http://piwigo.org/svn/trunk@5328 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/configuration.php | 1 | ||||
-rw-r--r-- | admin/themes/default/template/configuration.tpl | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/admin/configuration.php b/admin/configuration.php index 9ec7ed805..436661803 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -51,6 +51,7 @@ $main_checkboxes = array( 'rate', 'rate_anonymous', 'email_admin_on_new_user', + 'allow_user_customization', ); $history_checkboxes = array( diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl index c31374148..d0cb9b4bd 100644 --- a/admin/themes/default/template/configuration.tpl +++ b/admin/themes/default/template/configuration.tpl @@ -69,6 +69,13 @@ <li> <label> + <span class="property">{'Allow user customization'|@translate}</span> + <input type="checkbox" name="allow_user_customization" {if ($main.allow_user_customization)}checked="checked"{/if}> + </label> + </li> + + <li> + <label> <span class="property">{'Mail address is obligatory for all users'|@translate}</span> <input type="checkbox" name="obligatory_user_mail_address" {if ($main.obligatory_user_mail_address)}checked="checked"{/if}> </label> |