aboutsummaryrefslogtreecommitdiffstats
path: root/admin/configuration.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/configuration.php')
-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;
}