Revision 1908
Added by Dietmar over 11 years ago
class.admin.php | ||
---|---|---|
4 | 4 |
* @category backend |
5 | 5 |
* @package framework |
6 | 6 |
* @author Ryan Djurovich (2004-2009), WebsiteBaker Project |
7 |
* @copyright 2009-2012, WebsiteBaker Org. e.V.
|
|
8 |
* @link http://www.websitebaker2.org/
|
|
7 |
* @copyright 2009-2013, WebsiteBaker Org. e.V.
|
|
8 |
* @link http://www.websitebaker.org/
|
|
9 | 9 |
* @license http://www.gnu.org/licenses/gpl.html |
10 | 10 |
* @platform WebsiteBaker 2.8.x |
11 | 11 |
* @requirements PHP 5.2.2 and higher |
12 | 12 |
* @version $Id$ |
13 |
* @filesource $HeadURL$
|
|
13 |
* @filesource $HeadURL$
|
|
14 | 14 |
* @lastmodified $Date$ |
15 | 15 |
* |
16 | 16 |
*/ |
... | ... | |
202 | 202 |
'LOGIN_LINK' => $_SERVER['SCRIPT_NAME'], |
203 | 203 |
'LOGIN_ICON' => 'login', |
204 | 204 |
'START_ICON' => 'blank', |
205 |
'URL_HELP' => 'http://www.websitebaker2.org'.$HelpUrl,
|
|
205 |
'URL_HELP' => 'http://www.websitebaker.org'.$HelpUrl, |
|
206 | 206 |
'BACKEND_MODULE_CSS' => $this->register_backend_modfiles('css'), // adds backend.css |
207 | 207 |
'BACKEND_MODULE_JS' => $this->register_backend_modfiles('js') // adds backend.js |
208 | 208 |
) |
... | ... | |
294 | 294 |
// Print the admin footer |
295 | 295 |
function print_footer($activateJsAdmin = false) { |
296 | 296 |
global $database,$starttime,$iPhpDeclaredClasses; |
297 |
$oTrans = Translate::getInstance(); |
|
298 |
$oTrans->disableAddon(); |
|
297 | 299 |
// include the required file for Javascript admin |
298 | 300 |
if($activateJsAdmin == true) { |
299 | 301 |
if(file_exists(WB_PATH.'/modules/jsadmin/jsadmin_backend_include.php')){ |
Also available in: Unified diff
! class.admin.php corrected url_help,
add Translat::disableAddon() in methode print_footer
! frontend.functions.php page_content() set $sSectionIdPrefix to the right format
! functions.php change get_parent_titles from menu_title to filename