Revision 106
Added by stefan about 19 years ago
class.admin.php | ||
---|---|---|
38 | 38 |
|
39 | 39 |
require_once(WB_PATH.'/framework/class.wb.php'); |
40 | 40 |
|
41 |
//require_once(WB_PATH.'/framework/initialize.php'); |
|
42 |
|
|
43 | 41 |
// Include PHPLIB template class |
44 | 42 |
require_once(WB_PATH."/include/phplib/template.inc"); |
45 | 43 |
|
... | ... | |
94 | 92 |
'SECTION_NAME' => $MENU[strtoupper($this->section_name)], |
95 | 93 |
'INTERFACE_DIR' => ADMIN_URL.'/interface', |
96 | 94 |
'BODY_TAGS' => $body_tags, |
97 |
'WEBSITE_TITLE' => $this->strip_slashes_dummy($title['value']),
|
|
95 |
'WEBSITE_TITLE' => ($title['value']), |
|
98 | 96 |
'TEXT_ADMINISTRATION' => $TEXT['ADMINISTRATION'], |
99 | 97 |
'VERSION' => VERSION |
100 | 98 |
) |
Also available in: Unified diff
Renamed compatibility.php to frontend.functions.php.
Moved frontend functions from class frontend to frontend.functions.php.
Removed instances of strip_slashes_dummy. Replaced $this by $wb in a couple of places.
Created file initialize.php, where all initializations now take place (moved from class wb constructor).