function smarty_function_pageHeader($params, &$smarty) { global $berta; return $berta->security->userLoggedIn ? BertaEditor::getTopPanelHTML('site') : ''; }
<?php define('AUTH_AUTHREQUIRED', true); define('BERTA_ENVIRONMENT', 'engine'); include 'inc.page.php'; $loggedIn = $berta->security->userLoggedIn; include_once $ENGINE_ROOT . '_classes/class.bertaeditor.php'; $allSections = BertaContent::getSections(); $topPanelHTML = BertaEditor::getTopPanelHTML('sections'); $int_version = BertaEditor::$options['int_version']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo $berta->settings->get('texts', 'pageTitle'); ?> / <?php echo I18n::_('Sections'); ?> </title> <link rel="SHORTCUT ICON" href="favicon.ico"/> <link rel="stylesheet" href="<?php echo $ENGINE_ABS_ROOT; ?> css/backend.min.css?<?php echo $int_version; ?> " type="text/css" charset="utf-8" /> <link rel="stylesheet" href="<?php
define('AUTH_AUTHREQUIRED', true); define('BERTA_ENVIRONMENT', 'engine'); include 'inc.page.php'; $loggedIn = $berta->security->userLoggedIn; if ($loggedIn) { include_once $ENGINE_ROOT . '_classes/class.bertaeditor.php'; } else { header("Location: ./login.php"); exit; } $mode = !empty($_GET['mode']) ? $_GET['mode'] : 'settings'; include $ENGINE_ROOT . 'inc.settings.php'; $berta->settings = new Settings($settingsDefinition); $menuSeparator = $berta->settings->get('menu', 'separator'); $topPanelHTML = BertaEditor::getTopPanelHTML($mode); $int_version = BertaEditor::$options['int_version']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo $berta->settings->get('texts', 'pageTitle'); ?> / settings</title> <link rel="SHORTCUT ICON" href="favicon.ico"/> <link rel="stylesheet" href="<?php echo $ENGINE_ABS_ROOT; ?> css/backend.min.css?<?php
<?php define('AUTH_AUTHREQUIRED', true); define('BERTA_ENVIRONMENT', 'engine'); include 'inc.page.php'; if ($options['HOSTING_PROFILE']) { header('location:' . $options['HOSTING_PROFILE']); exit; } $loggedIn = $berta->security->userLoggedIn; include_once $ENGINE_ROOT . '_classes/class.bertaeditor.php'; $allSections = BertaContent::getSections(); $topPanelHTML = BertaEditor::getTopPanelHTML('profile'); $int_version = BertaEditor::$options['int_version']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo $berta->settings->get('texts', 'pageTitle'); ?> / <?php echo I18n::_('Profile'); ?> </title> <link rel="SHORTCUT ICON" href="favicon.ico"/> <link rel="stylesheet" href="<?php echo $ENGINE_ABS_ROOT; ?> css/backend.min.css?<?php
<?php define('AUTH_AUTHREQUIRED', true); define('BERTA_ENVIRONMENT', 'engine'); include 'inc.page.php'; $loggedIn = $berta->security->userLoggedIn; include_once $ENGINE_ROOT . '_classes/class.bertaeditor.php'; $allSections = BertaContent::getSections(); $topPanelHTML = BertaEditor::getTopPanelHTML('seo'); $int_version = BertaEditor::$options['int_version']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo $berta->settings->get('texts', 'pageTitle'); ?> / <?php echo I18n::_('seo'); ?> </title> <link rel="SHORTCUT ICON" href="favicon.ico"/> <link rel="stylesheet" href="<?php echo $ENGINE_ABS_ROOT; ?> css/backend.min.css?<?php echo $int_version; ?> " type="text/css" charset="utf-8" /> <link rel="stylesheet" href="<?php
<?php define('AUTH_AUTHREQUIRED', true); define('BERTA_ENVIRONMENT', 'engine'); include 'inc.page.php'; $loggedIn = $berta->security->userLoggedIn; include_once $ENGINE_ROOT . '_classes/class.bertaeditor.php'; if ($options['MULTISITE_DISABLED']) { header("Location: ./"); exit; } $allSites = BertaContent::getSites(); $topPanelHTML = BertaEditor::getTopPanelHTML('multisite'); $int_version = BertaEditor::$options['int_version']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo $berta->settings->get('texts', 'pageTitle'); ?> / <?php echo I18n::_('Multisite'); ?> </title> <link rel="SHORTCUT ICON" href="favicon.ico"/> <link rel="stylesheet" href="<?php echo $ENGINE_ABS_ROOT; ?> css/backend.min.css?<?php