Changeset 25018 for trunk/admin/configuration.php
- Timestamp:
- Oct 19, 2013, 7:43:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r23813 r25018 155 155 if ( !count($_POST['order_by']) ) 156 156 { 157 array_push($page['errors'], l10n('No order field selected'));157 $page['errors'][] = l10n('No order field selected'); 158 158 } 159 159 else … … 180 180 else 181 181 { 182 array_push($page['errors'], l10n('No order field selected'));182 $page['errors'][] = l10n('No order field selected'); 183 183 } 184 184 } … … 208 208 or $_POST['nb_comment_page'] > 50) 209 209 { 210 array_push($page['errors'], l10n('The number of comments a page must be between 5 and 50 included.'));210 $page['errors'][] = l10n('The number of comments a page must be between 5 and 50 included.'); 211 211 } 212 212 foreach( $comments_checkboxes as $checkbox) … … 226 226 or $_POST['nb_categories_page'] < 4) 227 227 { 228 array_push($page['errors'], l10n('The number of albums a page must be above 4.'));228 $page['errors'][] = l10n('The number of albums a page must be above 4.'); 229 229 } 230 230 foreach( $display_checkboxes as $checkbox) … … 269 269 } 270 270 } 271 array_push($page['infos'], l10n('Information data registered in database'));271 $page['infos'][] = l10n('Information data registered in database'); 272 272 } 273 273 … … 283 283 clear_derivative_cache(); 284 284 285 array_push( 286 $page['infos'], 287 l10n('Your configuration settings are saved') 288 ); 285 $page['infos'][] = l10n('Your configuration settings are saved'); 289 286 } 290 287 … … 325 322 if (order_by_is_local()) 326 323 { 327 array_push($page['warnings'], l10n('You have specified <i>$conf[\'order_by\']</i> in your local configuration file, this parameter in deprecated, please remove it or rename it into <i>$conf[\'order_by_custom\']</i> !'));324 $page['warnings'][] = l10n('You have specified <i>$conf[\'order_by\']</i> in your local configuration file, this parameter in deprecated, please remove it or rename it into <i>$conf[\'order_by_custom\']</i> !'); 328 325 } 329 326 … … 401 398 // Reload user 402 399 $edit_user = build_user($conf['guest_id'], false); 403 array_push($page['infos'], l10n('Information data registered in database'));400 $page['infos'][] = l10n('Information data registered in database'); 404 401 } 405 402 $page['errors'] = array_merge($page['errors'], $errors);
Note: See TracChangeset
for help on using the changeset viewer.