public function __construct() { parent::__construct(); if ($this->getRequest()->getControllerModule() === Mage::helper('autobuypromotions')->getControllerModule()) { $this->_headerText = Mage::helper('salesrule')->__('Auto Buy Price Rules'); } }
public function __construct() { $this->_addButton('import', array('label' => Mage::helper('coupon')->__('Import Coupons'), 'onclick' => 'setLocation(\'' . $this->getUrl('*/*/import') . '\')', 'class' => 'import')); parent::__construct(); }