예제 #1
0
파일: Head.php 프로젝트: booklein/bookle
 /**
  * Initialize template
  *
  */
 protected function _construct()
 {
     parent::_construct();
     if (Mage::helper('ves_tempcp/theme')->isVenusTheme()) {
         $this->setTemplate('venustheme/tempcp/head.phtml');
     }
 }
예제 #2
0
 protected function _construct()
 {
     parent::_construct();
     $ves_theme = Mage::helper('themesettings/theme');
     $package_name = Mage::getSingleton('core/design_package')->getPackageName();
     $theme = Mage::getSingleton('core/design_package')->getTheme('template');
     $this->_isVenusTheme = $ves_theme->isVenusTheme($package_name, $theme);
 }