| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup Decorous Decorous template
- * @ingroup UnaModules
- *
- * @{
- */
- define('BX_DECOROUS_STUDIO_TEMPL_TYPE_STYLES', 'styles');
- class BxDecorousStudioPage extends BxTemplStudioDesign
- {
- function __construct($sModule, $mixedPageName, $sPage = "")
- {
- parent::__construct($sModule, $mixedPageName, $sPage);
- $this->aMenuItems[BX_DECOROUS_STUDIO_TEMPL_TYPE_STYLES] = ['title' => '_bx_decorous_lmi_cpt_styles', 'icon' => 'paint-brush'];
- unset($this->aMenuItems[BX_DOL_STUDIO_TEMPL_TYPE_LOGO]);
- }
- protected function getSettings($mixedCategory = '', $sMix = '')
- {
- return parent::getSettings('bx_decorous_system', $sMix);
- }
- protected function getStyles($mixedCategory = '', $sMix = '')
- {
- $sPrefix = $this->sModule;
- if(empty($mixedCategory))
- $mixedCategory = [
- $sPrefix . '_styles_general',
- $sPrefix . '_styles_header',
- $sPrefix . '_styles_footer',
- $sPrefix . '_styles_body',
- $sPrefix . '_styles_cover',
- $sPrefix . '_styles_block',
- $sPrefix . '_styles_card',
- $sPrefix . '_styles_popup',
- $sPrefix . '_styles_menu_main',
- $sPrefix . '_styles_menu_account',
- $sPrefix . '_styles_menu_add',
- $sPrefix . '_styles_menu_page',
- $sPrefix . '_styles_menu_slide',
- $sPrefix . '_styles_form',
- $sPrefix . '_styles_large_button',
- $sPrefix . '_styles_small_button',
- $sPrefix . '_styles_font',
- $sPrefix . '_styles_custom',
- $sPrefix . '_viewport_tablet',
- $sPrefix . '_viewport_mobile'
- ];
- return parent::getStyles($mixedCategory, $sMix);
- }
- }
- /** @} */
|