Revision 61
Added by stefan about 19 years ago
index.php | ||
---|---|---|
31 | 31 |
$admin = new admin('Settings', 'settings_basic'); |
32 | 32 |
} |
33 | 33 |
|
34 |
// Create new database object |
|
35 |
$database = new database(); |
|
36 |
|
|
37 | 34 |
// Include the WB functions file |
38 | 35 |
require_once(WB_PATH.'/framework/functions.php'); |
39 | 36 |
|
... | ... | |
73 | 70 |
case 'footer': |
74 | 71 |
$template->set_var('FOOTER', $setting_value); |
75 | 72 |
break; |
73 |
// WYSIWYG style |
|
74 |
case 'wysiwyg_style': |
|
75 |
$template->set_var('WYSIWYG_STYLE', $setting_value); |
|
76 |
break; |
|
77 |
case 'rename_files_on_upload': |
|
78 |
$template->set_var('RENAME_FILES_ON_UPLOAD', $setting_value); |
|
79 |
break; |
|
76 | 80 |
} |
77 | 81 |
} |
78 | 82 |
|
... | ... | |
489 | 493 |
$template->set_var('DIR_O_E_CHECKED', 'checked'); |
490 | 494 |
} |
491 | 495 |
|
492 |
// Insert WYSIWYG style value into template |
|
493 |
$template->set_var('WYSIWYG_STYLE', $admin->strip_slashes_dummy(WYSIWYG_STYLE)); |
|
494 |
|
|
495 | 496 |
// Insert Server Email value into template |
496 | 497 |
$template->set_var('SERVER_EMAIL', SERVER_EMAIL); |
497 | 498 |
|
... | ... | |
533 | 534 |
'TEXT_PHP_ERROR_LEVEL' => $TEXT['PHP_ERROR_LEVEL'], |
534 | 535 |
'TEXT_PAGE_EXTENSION' => $TEXT['PAGE_EXTENSION'], |
535 | 536 |
'TEXT_PAGE_SPACER' => $TEXT['PAGE_SPACER'], |
537 |
'TEXT_RENAME_FILES_ON_UPLOAD' => $TEXT['RENAME_FILES_ON_UPLOAD'], |
|
536 | 538 |
'TEXT_SERVER_OPERATING_SYSTEM' => $TEXT['SERVER_OPERATING_SYSTEM'], |
537 | 539 |
'TEXT_LINUX_UNIX_BASED' => $TEXT['LINUX_UNIX_BASED'], |
538 | 540 |
'TEXT_WINDOWS' => $TEXT['WINDOWS'], |
Also available in: Unified diff