Changeset 13004 for trunk/admin/configuration.php
- Timestamp:
- Jan 31, 2012, 4:19:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r13001 r13004 53 53 'email_admin_on_new_user', 54 54 'allow_user_customization', 55 'log', 56 'history_admin', 57 'history_guest', 55 58 ); 56 59 … … 58 61 'original_resize', 59 62 ); 60 61 $history_checkboxes = array(62 'log',63 'history_admin',64 'history_guest'65 );66 63 67 64 $comments_checkboxes = array( … … 208 205 break; 209 206 } 210 case 'history' :211 {212 foreach( $history_checkboxes as $checkbox)213 {214 $_POST[$checkbox] = empty($_POST[$checkbox])?'false':'true';215 }216 break;217 }218 207 case 'comments' : 219 208 { … … 296 285 $tabsheet->add('sizes', l10n('Photo Sizes'), $conf_link.'sizes'); 297 286 $tabsheet->add('display', l10n('Display'), $conf_link.'display'); 298 $tabsheet->add('history', l10n('History'), $conf_link.'history');299 287 $tabsheet->add('comments', l10n('Comments'), $conf_link.'comments'); 300 288 $tabsheet->add('default', l10n('Guest Settings'), $conf_link.'default'); … … 388 376 break; 389 377 } 390 case 'history' :391 {392 //Necessary for merge_block_vars393 foreach ($history_checkboxes as $checkbox)394 {395 $template->append(396 'history',397 array(398 $checkbox => $conf[$checkbox]399 ),400 true401 );402 }403 break;404 }405 378 case 'comments' : 406 379 {
Note: See TracChangeset
for help on using the changeset viewer.