function __construct($aParams)
 {
     parent::__construct(isset($aParams['page']) ? $aParams['page'] : '');
     $this->aParams = $aParams;
     $this->sSubpageUrl = $this->aParams['url'] . '&nav_page=';
     bx_import('BxDolModule');
     $this->oModule = BxDolModule::getInstance('bx_developer');
     $this->oModule->_oTemplate->addStudioCss(array('navigation.css'));
 }
Beispiel #2
0
 function __construct($aParams)
 {
     parent::__construct(isset($aParams['page']) ? $aParams['page'] : '');
     $this->aParams = $aParams;
     $this->sSubpageUrl = $this->aParams['url'] . '&nav_page=';
     $this->oModule = BxDolModule::getInstance('bx_developer');
     $this->aGridObjects = array('menus' => $this->oModule->_oConfig->getObject('grid_nav_menus'), 'sets' => $this->oModule->_oConfig->getObject('grid_nav_sets'), 'items' => $this->oModule->_oConfig->getObject('grid_nav_items'));
     $this->oModule->_oTemplate->addStudioCss(array('navigation.css'));
 }
Beispiel #3
0
<?php

/**
 * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
 * CC-BY License - http://creativecommons.org/licenses/by/3.0/
 *
 * @defgroup    DolphinEndAdmin Dolphin Studio End Admin Pages
 * @ingroup     DolphinStudio
 * @{
 */
require_once './../inc/header.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'design.inc.php';
bx_import('BxDolLanguages');
bx_require_authentication(true);
$sPage = bx_get('page');
$sPage = $sPage !== false ? bx_process_input($sPage) : '';
bx_import('BxTemplStudioNavigation');
$oPage = new BxTemplStudioNavigation($sPage);
bx_import('BxDolStudioTemplate');
$oTemplate = BxDolStudioTemplate::getInstance();
$oTemplate->setPageNameIndex($oPage->getPageIndex());
$oTemplate->setPageHeader($oPage->getPageHeader());
$oTemplate->setPageContent('page_caption_code', $oPage->getPageCaption());
$oTemplate->setPageContent('page_attributes', $oPage->getPageAttributes());
$oTemplate->setPageContent('page_menu_code', $oPage->getPageMenu());
$oTemplate->setPageContent('page_main_code', $oPage->getPageCode());
$oTemplate->addCss($oPage->getPageCss());
$oTemplate->addJs($oPage->getPageJs());
$oTemplate->getPageCode();
/** @} */