示例#1
0
文件: Block.php 项目: Vedariy/test
 public function __construct()
 {
     $this->_controller = 'cms_block';
     $this->_headerText = Mage::helper('cms')->__('Static Blocks');
     $this->_addButtonLabel = Mage::helper('cms')->__('Add New Block');
     parent::__construct();
 }
示例#2
0
文件: Block.php 项目: axovel/exqzt
 public function __construct()
 {
     parent::__construct();
     $this->_addButton('importcsv', array('label' => 'Import CSV', 'onclick' => 'setLocation(\'' . $this->getImportUrl() . '\')', 'class' => 'import'));
 }