Changeset 9544 for trunk/admin/configuration.php
- Timestamp:
- Mar 5, 2011, 5:14:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r8728 r9544 110 110 case 'main' : 111 111 { 112 if (empty($_POST['gallery_locked']) and $conf['gallery_locked']) 113 { 114 $tpl_var = & $template->get_template_vars('header_msgs'); 115 $msg_key = array_search(l10n('The gallery is locked for maintenance. Please, come back later.'), $tpl_var); 116 unset($tpl_var[$msg_key]); 117 } 118 elseif (!empty($_POST['gallery_locked']) and !$conf['gallery_locked']) 119 { 120 $template->append('header_msgs', l10n('The gallery is locked for maintenance. Please, come back later.')); 121 } 112 122 foreach( $main_checkboxes as $checkbox) 113 123 {
Note: See TracChangeset
for help on using the changeset viewer.