Exemplo n.º 1
0
 protected function _addJsCss()
 {
     parent::_addJsCss();
     if (isAdmin()) {
         $this->_oTemplate->addJs('shepherd/shepherd.min.js');
         $this->_oTemplate->addCss(array('homepage.css', BX_DIRECTORY_PATH_PLUGINS_PUBLIC . 'shepherd/css/|shepherd-theme-' . $this->_sTourTheme . '.css'));
     }
 }
Exemplo n.º 2
0
 protected function _addJsCss()
 {
     parent::_addJsCss();
     $this->_oModule->_oTemplate->addCss(array(BX_DIRECTORY_PATH_PLUGINS_PUBLIC . 'photo-swipe/|photoswipe.css', BX_DIRECTORY_PATH_PLUGINS_PUBLIC . 'photo-swipe/default-skin/|default-skin.css'));
     $this->_oModule->_oTemplate->addJs(array('media_view.js', 'history.js', 'photo-swipe/photoswipe.min.js', 'photo-swipe/photoswipe-ui-default.min.js'));
 }