Ignore:
Timestamp:
Dec 21, 2004, 12:54:59 AM (19 years ago)
Author:
plg
Message:
  • new feature : lock temporary your gallery for maintenance
  • $user keys for guest user are initialized with default values of $conf
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r651 r653  
    167167    $notif_yes = ($conf['mail_notification']=='true')?'checked="checked"':'';
    168168    $notif_no = ($conf['mail_notification']=='false')?'checked="checked"':'';
     169    $lock_yes = ($conf['gallery_locked']=='true')?'checked="checked"':'';
     170    $lock_no = ($conf['gallery_locked']=='false')?'checked="checked"':'';
    169171   
    170172    $template->assign_block_vars(
     
    180182        'L_CONF_NOTIFICATION'=>$lang['conf_notification'],
    181183        'L_CONF_NOTIFICATION_INFO'=>$lang['conf_notification_info'],
     184        'L_CONF_GALLERY_LOCKED'=>$lang['conf_gallery_locked'],
     185        'L_CONF_GALLERY_LOCKED_INFO'=>$lang['conf_gallery_locked_info'],
    182186         
    183187        'ADMIN_MAIL'=>$conf['mail_webmaster'],
     
    186190        'HISTORY_NO'=>$history_no,
    187191        'NOTIFICATION_YES'=>$notif_yes,
    188         'NOTIFICATION_NO'=>$notif_no
     192        'NOTIFICATION_NO'=>$notif_no,
     193        'GALLERY_LOCKED_YES'=>$lock_yes,
     194        'GALLERY_LOCKED_NO'=>$lock_no,
    189195        ));
    190196    break;
Note: See TracChangeset for help on using the changeset viewer.