Revision 1402
Added by Luisehahne almost 14 years ago
class.admin.php | ||
---|---|---|
116 | 116 |
} |
117 | 117 |
|
118 | 118 |
$header_template->set_var( array( |
119 |
'SECTION_NAME' => $MENU[strtoupper($this->section_name)],
|
|
120 |
'BODY_TAGS' => $body_tags,
|
|
121 |
'WEBSITE_TITLE' => ($title['value']),
|
|
122 |
'TEXT_ADMINISTRATION' => $TEXT['ADMINISTRATION'],
|
|
123 |
'CURRENT_USER' => $MESSAGE['START']['CURRENT_USER'],
|
|
124 |
'DISPLAY_NAME' => $this->get_display_name(),
|
|
125 |
'CHARSET' => $charset,
|
|
126 |
'LANGUAGE' => strtolower(LANGUAGE),
|
|
127 |
'VERSION' => VERSION,
|
|
128 |
'REVISION' => REVISION,
|
|
129 |
'WB_URL' => WB_URL,
|
|
130 |
'ADMIN_URL' => ADMIN_URL,
|
|
131 |
'THEME_URL' => THEME_URL,
|
|
132 |
'TITLE_START' => $MENU['START'],
|
|
133 |
'TITLE_VIEW' => $MENU['VIEW'],
|
|
134 |
'TITLE_HELP' => $MENU['HELP'],
|
|
135 |
'TITLE_LOGOUT' => $MENU['LOGOUT'],
|
|
136 |
'URL_VIEW' => $view_url,
|
|
137 |
'URL_HELP' => 'http://www.websitebaker2.org/',
|
|
138 |
'BACKEND_MODULE_CSS' => $this->register_backend_modfiles('css'), // adds backend.css
|
|
139 |
'BACKEND_MODULE_JS' => $this->register_backend_modfiles('js') // adds backend.js
|
|
140 |
)
|
|
141 |
);
|
|
119 |
'SECTION_NAME' => $MENU[strtoupper($this->section_name)], |
|
120 |
'BODY_TAGS' => $body_tags, |
|
121 |
'WEBSITE_TITLE' => ($title['value']), |
|
122 |
'TEXT_ADMINISTRATION' => $TEXT['ADMINISTRATION'], |
|
123 |
'CURRENT_USER' => $MESSAGE['START']['CURRENT_USER'], |
|
124 |
'DISPLAY_NAME' => $this->get_display_name(), |
|
125 |
'CHARSET' => $charset, |
|
126 |
'LANGUAGE' => strtolower(LANGUAGE), |
|
127 |
'VERSION' => VERSION, |
|
128 |
'REVISION' => REVISION, |
|
129 |
'WB_URL' => WB_URL, |
|
130 |
'ADMIN_URL' => ADMIN_URL, |
|
131 |
'THEME_URL' => THEME_URL, |
|
132 |
'TITLE_START' => $MENU['START'], |
|
133 |
'TITLE_VIEW' => $MENU['VIEW'], |
|
134 |
'TITLE_HELP' => $MENU['HELP'], |
|
135 |
'TITLE_LOGOUT' => $MENU['LOGOUT'], |
|
136 |
'URL_VIEW' => $view_url, |
|
137 |
'URL_HELP' => 'http://www.websitebaker2.org/', |
|
138 |
'BACKEND_MODULE_CSS' => $this->register_backend_modfiles('css'), // adds backend.css |
|
139 |
'BACKEND_MODULE_JS' => $this->register_backend_modfiles('js') // adds backend.js |
|
140 |
) |
|
141 |
); |
|
142 | 142 |
|
143 | 143 |
// Create the menu |
144 | 144 |
$menu = array( |
... | ... | |
188 | 188 |
$footer_template->set_var(array( |
189 | 189 |
'BACKEND_BODY_MODULE_JS' => $this->register_backend_modfiles_body('js'), |
190 | 190 |
'WB_URL' => WB_URL, |
191 |
'WB_PATH' => WB_PATH, |
|
192 | 191 |
'ADMIN_URL' => ADMIN_URL, |
193 | 192 |
'THEME_URL' => THEME_URL, |
194 | 193 |
) ); |
Also available in: Unified diff
secure peparing and beginning fix admin/pages