Пример #1
0
                        </button>
                    <?php 
}
?>
                    <?php 
if (rex_be_controller::getCurrentPageObject()->isPopup()) {
    ?>
                        <span class="navbar-brand"><img class="rex-js-svg rex-redaxo-logo" src="<?php 
    echo rex_url::assets('redaxo-logo.svg');
    ?>
" /></span>
                    <?php 
} else {
    ?>
                        <a class="navbar-brand" href="<?php 
    echo rex_url::backendController();
    ?>
"><img class="rex-js-svg rex-redaxo-logo" src="<?php 
    echo rex_url::assets('redaxo-logo.svg');
    ?>
" /></a>
                    <?php 
}
?>
                </div>
                <?php 
echo $this->meta_navigation;
?>
            </div>
        </nav>
Пример #2
0
        } else {
            rex_unset_session('safemode');
        }
    }
}
rex_be_controller::setPages($pages);
// ----- Prepare Core Pages
if (rex::getUser()) {
    rex_be_controller::appendLoggedInPages();
    rex_be_controller::setCurrentPage(trim(rex_request('page', 'string')));
}
rex_view::addJsFile(rex_url::assets('jquery.min.js'));
rex_view::addJsFile(rex_url::assets('jquery-ui.custom.min.js'));
rex_view::addJsFile(rex_url::assets('jquery-pjax.min.js'));
rex_view::addJsFile(rex_url::assets('standard.js'));
rex_view::addJsFile(rex_url::assets('sha1.js'));
rex_view::setJsProperty('backend', true);
rex_view::setJsProperty('accesskeys', rex::getProperty('use_accesskeys'));
// ----- INCLUDE ADDONS
include_once rex_path::core('packages.php');
// ----- Prepare AddOn Pages
if (rex::getUser()) {
    rex_be_controller::appendPackagePages();
}
$pages = rex_extension::registerPoint(new rex_extension_point('PAGES_PREPARED', rex_be_controller::getPages()));
rex_be_controller::setPages($pages);
// Set Startpage
if ($user = rex::getUser()) {
    // --- page pruefen und benoetigte rechte checken
    rex_be_controller::checkPage($user);
}