|
@@ -11,6 +11,8 @@ define('BX_PAGE_COLUMN_DUAL', 3); ///< page, with 2 columns
|
|
|
|
|
|
|
|
class BxDolStudioTemplate extends BxDolTemplate implements iBxDolSingleton
|
|
class BxDolStudioTemplate extends BxDolTemplate implements iBxDolSingleton
|
|
|
{
|
|
{
|
|
|
|
|
+ protected $_sFolderModuleIcons;
|
|
|
|
|
+
|
|
|
protected function __construct()
|
|
protected function __construct()
|
|
|
{
|
|
{
|
|
|
if (isset($GLOBALS['bxDolClasses'][get_class($this)]))
|
|
if (isset($GLOBALS['bxDolClasses'][get_class($this)]))
|
|
@@ -43,6 +45,8 @@ class BxDolStudioTemplate extends BxDolTemplate implements iBxDolSingleton
|
|
|
if(is_array($this->_sCode))
|
|
if(is_array($this->_sCode))
|
|
|
list($this->_sCode, $this->_iMix) = $this->_sCode;
|
|
list($this->_sCode, $this->_iMix) = $this->_sCode;
|
|
|
|
|
|
|
|
|
|
+ $this->_sFolderModuleIcons = 'images/modules/';
|
|
|
|
|
+
|
|
|
$this->addLocation('studio', $this->_sRootPath, $this->_sRootUrl);
|
|
$this->addLocation('studio', $this->_sRootPath, $this->_sRootUrl);
|
|
|
$this->addLocationJs('system_admin_js', $this->_sRootPath . 'js/' , $this->_sRootUrl . 'js/');
|
|
$this->addLocationJs('system_admin_js', $this->_sRootPath . 'js/' , $this->_sRootUrl . 'js/');
|
|
|
}
|
|
}
|
|
@@ -132,6 +136,11 @@ class BxDolStudioTemplate extends BxDolTemplate implements iBxDolSingleton
|
|
|
return $this->processInjection($this->getPageNameIndex(), $sKey, $sRet);
|
|
return $this->processInjection($this->getPageNameIndex(), $sKey, $sRet);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ function getModuleIconUrl($sName, $sCheckIn = BX_DOL_TEMPLATE_CHECK_IN_BOTH)
|
|
|
|
|
+ {
|
|
|
|
|
+ return $this->_getAbsoluteLocation('url', $this->_sFolderModuleIcons, $sName, $sCheckIn);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
function setPageBreadcrumb($aItems)
|
|
function setPageBreadcrumb($aItems)
|
|
|
{
|
|
{
|
|
|
$this->aPage['breadcrumb'] = $aItems;
|
|
$this->aPage['breadcrumb'] = $aItems;
|