aboutsummaryrefslogtreecommitdiffstats
path: root/admin/configuration.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2004-12-20 23:54:59 +0000
committerplegall <plg@piwigo.org>2004-12-20 23:54:59 +0000
commit6409647e1c9e9d13913c9d4b3d882511dc51f52d (patch)
tree9dbc8276db16c6ed8f0415a380f4ddafa20a8e6a /admin/configuration.php
parent82cb16095cd271ba780345cd3a17af7f91e9f45d (diff)
- new feature : lock temporary your gallery for maintenance
- $user keys for guest user are initialized with default values of $conf git-svn-id: http://piwigo.org/svn/trunk@653 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/configuration.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index 5893099f8..37335f8ed 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -166,6 +166,8 @@ switch ($page['section'])
$history_no = ($conf['log']=='false')?'checked="checked"':'';
$notif_yes = ($conf['mail_notification']=='true')?'checked="checked"':'';
$notif_no = ($conf['mail_notification']=='false')?'checked="checked"':'';
+ $lock_yes = ($conf['gallery_locked']=='true')?'checked="checked"':'';
+ $lock_no = ($conf['gallery_locked']=='false')?'checked="checked"':'';
$template->assign_block_vars(
'general',
@@ -179,13 +181,17 @@ switch ($page['section'])
'L_CONF_HISTORY_INFO'=>$lang['conf_log_info'],
'L_CONF_NOTIFICATION'=>$lang['conf_notification'],
'L_CONF_NOTIFICATION_INFO'=>$lang['conf_notification_info'],
+ 'L_CONF_GALLERY_LOCKED'=>$lang['conf_gallery_locked'],
+ 'L_CONF_GALLERY_LOCKED_INFO'=>$lang['conf_gallery_locked_info'],
'ADMIN_MAIL'=>$conf['mail_webmaster'],
'THUMBNAIL_PREFIX'=>$conf['prefix_thumbnail'],
'HISTORY_YES'=>$history_yes,
'HISTORY_NO'=>$history_no,
'NOTIFICATION_YES'=>$notif_yes,
- 'NOTIFICATION_NO'=>$notif_no
+ 'NOTIFICATION_NO'=>$notif_no,
+ 'GALLERY_LOCKED_YES'=>$lock_yes,
+ 'GALLERY_LOCKED_NO'=>$lock_no,
));
break;
}