Esempio n. 1
0
 *
 * @defgroup    TridentEndAdmin Trident Studio End Admin Pages
 * @ingroup     TridentStudio
 * @{
 */
require_once './../inc/header.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'design.inc.php';
require_once BX_DOL_DIR_STUDIO_INC . 'utils.inc.php';
bx_import('BxDolLanguages');
bx_require_authentication(true);
$sName = bx_get('name');
if ($sName === false) {
    $sName = bx_get('mod_value');
}
$sName = $sName !== false ? bx_process_input($sName) : '';
$sPage = bx_get('page');
$sPage = $sPage !== false ? bx_process_input($sPage) : '';
bx_import('BxDolStudioModule');
$oPage = BxDolStudioModule::getObjectInstance($sName, $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();
/** @} */
 public function getUrl($mixedId)
 {
     bx_import('BxDolStudioModule');
     return BxDolStudioModule::getObjectInstance($mixedId)->getRssHelpUrl();
 }