예제 #1
0
 /**
  * Add theme buttons
  *
  * @param Mage_DesignEditor_Block_Adminhtml_Theme $themeBlock
  * @return Mage_DesignEditor_Block_Adminhtml_Theme_Selector_List_Abstract
  */
 protected function _addThemeButtons($themeBlock)
 {
     parent::_addThemeButtons($themeBlock);
     $this->_addDemoButtonHtml($themeBlock)->_addAssignButtonHtml($themeBlock);
     if ($this->_getServiceModel()->isCustomizationsExist()) {
         $this->_addEditButtonHtml($themeBlock);
     }
     return $this;
 }
예제 #2
0
 /**
  * Add theme buttons
  *
  * @param Mage_DesignEditor_Block_Adminhtml_Theme $themeBlock
  * @return Mage_DesignEditor_Block_Adminhtml_Theme_Selector_List_Assigned
  */
 protected function _addThemeButtons($themeBlock)
 {
     parent::_addThemeButtons($themeBlock);
     $this->_addPreviewButtonHtml($themeBlock)->_addAssignButtonHtml($themeBlock)->_addEditButtonHtml($themeBlock);
     return $this;
 }