protected function _construct() { parent::_construct(); $this->_addButton('back', array('label' => Mage::helper('aoe_profiler')->__('Back'), 'onclick' => 'setLocation(\'' . $this->getBackUrl() . '\')', 'class' => 'back'), -1); if ($this->getStack()->getId()) { $this->_addButton('delete', array('label' => Mage::helper('aoe_profiler')->__('Delete'), 'class' => 'delete', 'onclick' => 'deleteConfirm(\'' . Mage::helper('aoe_profiler')->__('Are you sure you want to do this?') . '\', \'' . $this->getDeleteUrl() . '\')')); } }
/** * Block construction */ protected function _construct() { parent::_construct(); $this->_headerText = $this->helper('Mage_Cms_Helper_Data')->__('Media Storage'); $this->_removeButton('back')->_removeButton('edit'); $this->_addButton('newfolder', array('class' => 'save', 'label' => $this->helper('Mage_Cms_Helper_Data')->__('Create Folder...'), 'type' => 'button', 'onclick' => 'MediabrowserInstance.newFolder();')); $this->_addButton('delete_folder', array('class' => 'delete no-display', 'label' => $this->helper('Mage_Cms_Helper_Data')->__('Delete Folder'), 'type' => 'button', 'onclick' => 'MediabrowserInstance.deleteFolder();', 'id' => 'button_delete_folder')); $this->_addButton('delete_files', array('class' => 'delete no-display', 'label' => $this->helper('Mage_Cms_Helper_Data')->__('Delete File'), 'type' => 'button', 'onclick' => 'MediabrowserInstance.deleteFiles();', 'id' => 'button_delete_files')); $this->_addButton('insert_files', array('class' => 'save no-display', 'label' => $this->helper('Mage_Cms_Helper_Data')->__('Insert File'), 'type' => 'button', 'onclick' => 'MediabrowserInstance.insert();', 'id' => 'button_insert_files')); }
/** * Add control buttons * */ protected function _construct() { parent::_construct(); $this->_txn = Mage::registry('current_transaction'); if (!$this->_txn) { return; } $backUrl = $this->_txn->getOrderUrl() ? $this->_txn->getOrderUrl() : $this->getUrl('*/*/'); $this->_addButton('back', array('label' => Mage::helper('Mage_Sales_Helper_Data')->__('Back'), 'onclick' => "setLocation('{$backUrl}')", 'class' => 'back')); if (Mage::getSingleton('Mage_Core_Model_Authorization')->isAllowed('Mage_Sales::transactions_fetch') && $this->_txn->getOrderPaymentObject()->getMethodInstance()->canFetchTransactionInfo()) { $fetchUrl = $this->getUrl('*/*/fetch', array('_current' => true)); $this->_addButton('fetch', array('label' => Mage::helper('Mage_Sales_Helper_Data')->__('Fetch'), 'onclick' => "setLocation('{$fetchUrl}')", 'class' => 'button')); } }
/** * @return void */ protected function _construct() { $this->_headerText = Mage::helper('limesoda_environmentconfiguration')->__('Environment Configuration'); parent::_construct(); }
protected function _construct() { parent::_construct(); $this->setTemplate('mana/admin/page.phtml'); }
/** * Constructor * * @return void */ protected function _construct() { $this->_headerText = Mage::helper('aoe_scheduler')->__('Scheduler Timeline'); $this->loadSchedules(); parent::_construct(); }
public function _construct() { $this->setTemplate('shift4/shift4salesreport/index.phtml'); $this->_currencySymbol = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol(); parent::_construct(); }
public function _construct() { $this->setTemplate('systeminfo/phpinfo.phtml'); parent::_construct(); }
/** * Constructor. * * @return void */ protected function _construct() { $this->_headerText = $this->__('Manage Attribute Mapping'); $this->_controller = 'adminhtml_map_attribute'; parent::_construct(); }
/** * Constructor * * @return void */ protected function _construct() { $this->_headerText = $this->__('Scheduler Timeline'); $this->loadSchedules(); parent::_construct(); }
protected function _construct() { parent::_construct(); $this->setTemplate('Aoe/Layout/widget/container.phtml'); }
/** * Construct. * * @return void */ protected function _construct() { $this->_controller = 'adminhtml_map_attribute'; parent::_construct(); }
/** * Prepare title. * * @return void */ protected function _construct() { $this->_headerText = $this->__('Initializer Status'); $this->_controller = 'adminhtml_initializer'; parent::_construct(); }