Changeset 13001 for trunk/admin/configuration.php
- Timestamp:
- Jan 31, 2012, 1:33:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r12922 r13001 47 47 48 48 $main_checkboxes = array( 49 'gallery_locked',50 49 'allow_user_registration', 51 50 'obligatory_user_mail_address', … … 173 172 } 174 173 175 if (empty($_POST['gallery_locked']) and $conf['gallery_locked'])176 {177 $tpl_var = & $template->get_template_vars('header_msgs');178 $msg_key = array_search(l10n('The gallery is locked for maintenance. Please, come back later.'), $tpl_var);179 unset($tpl_var[$msg_key]);180 }181 elseif (!empty($_POST['gallery_locked']) and !$conf['gallery_locked'])182 {183 $template->append('header_msgs', l10n('The gallery is locked for maintenance. Please, come back later.'));184 }185 174 foreach( $main_checkboxes as $checkbox) 186 175 {
Note: See TracChangeset
for help on using the changeset viewer.