From f9b339cf796e1b78e2a3416f594897c0b808c156 Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 24 Mar 2010 23:24:01 +0000 Subject: Feature 1533: admincan activate/deactivate user customization. git-svn-id: http://piwigo.org/svn/trunk@5328 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/configuration.php | 1 + admin/themes/default/template/configuration.tpl | 7 ++ install/config.sql | 1 + install/db/89-database.php | 44 ++++++++++++ language/en_UK/admin.lang.php | 1 + language/fr_FR/common.lang.php | 1 + profile.php | 90 +++++++++++++------------ themes/default/template/profile_content.tpl | 2 + 8 files changed, 105 insertions(+), 42 deletions(-) create mode 100644 install/db/89-database.php 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 @@ -67,6 +67,13 @@ +
  • + +
  • +
  • +{/if}

    -- cgit v1.2.3