Project

General

Profile

« Previous | Next » 

Revision 1731

Added by Dietmar about 12 years ago

+ add Page extended to settings,
! to show experten mode in page settings
! shows some more settings like icon dir

View differences:

save.php
154 154
}
155 155

  
156 156
$allow_tags_in_fields = array('website_header', 'website_footer','website_signature');
157
$allow_empty_values = array('website_header','website_footer','sec_anchor','pages_directory','page_spacer','website_signature');
157
$allow_empty_values = array('website_header','website_footer','sec_anchor','pages_directory','page_spacer','website_signature,page_icon_dir');
158 158
$disallow_in_fields = array('pages_directory', 'media_directory','wb_version');
159 159

  
160 160
// Query current settings in the db, then loop through them and update the db with the new value
......
256 256
if($database->is_error()) {
257 257
	$admin->print_error($database->get_error, $js_back );
258 258
} else {
259
	$admin->print_success($MESSAGE['SETTINGS']['SAVED'], $js_back );
259
	$admin->print_success($MESSAGE['SETTINGS_SAVED'], $js_back );
260 260
}
261 261
$admin->print_footer();

Also available in: Unified diff