protected function getSettings() { $oTemplate = BxDolStudioTemplate::getInstance(); bx_import('BxTemplStudioSettings'); $oPage = new BxTemplStudioSettings(BX_DOL_STUDIO_STG_TYPE_DEFAULT, BX_DOL_STUDIO_STG_CATEGORY_LANGUAGES); $aTmplVars = array('js_object' => $this->getPageJsObject(), 'bx_repeat:blocks' => $oPage->getPageCode(), 'bx_if:show_new_key_popup' => array('condition' => false, 'content' => array())); return $oTemplate->parseHtmlByName('polyglot.html', $aTmplVars); }
protected function getSettings() { $oTemplate = BxDolStudioTemplate::getInstance(); bx_import('BxTemplStudioSettings'); $oPage = new BxTemplStudioSettings($this->sModule); $aTmplVars = array('bx_repeat:blocks' => $oPage->getPageCode()); return $oTemplate->parseHtmlByName('module.html', $aTmplVars); }
protected function getSettings() { $oPage = new BxTemplStudioSettings(BX_DOL_STUDIO_STG_TYPE_SYSTEM, BX_DOL_STUDIO_STG_CATEGORY_TEMPLATES); $aTmplVars = array('js_object' => $this->getPageJsObject(), 'bx_repeat:blocks' => $oPage->getPageCode()); return BxDolStudioTemplate::getInstance()->parseHtmlByName('designer.html', $aTmplVars); }
protected function getSettings() { $oPage = new BxTemplStudioSettings(BX_DOL_STUDIO_STG_TYPE_DEFAULT, BX_DOL_STUDIO_STG_CATEGORY_LANGUAGES); return BxDolStudioTemplate::getInstance()->parseHtmlByName('polyglot.html', array('content' => $oPage->getPageCode())); }
<?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('BxTemplStudioSettings'); $oPage = new BxTemplStudioSettings($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(); /** @} */
protected function getSettings() { $oPage = new BxTemplStudioSettings($this->sTemplate); return BxDolStudioTemplate::getInstance()->parseHtmlByName('design.html', array('content' => $oPage->getPageCode())); }
protected function getSettings() { $oPage = new BxTemplStudioSettings($this->sTemplate); $aTmplVars = array('bx_repeat:blocks' => $oPage->getPageCode()); return BxDolStudioTemplate::getInstance()->parseHtmlByName('design.html', $aTmplVars); }