protected function _beforeToHtml() { $url = $this->getUrl('*/adminhtml_wizard_' . $this->getNick()); $buttonBlock = $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array('label' => 'Proceed', 'onclick' => 'setLocation(\'' . $url . '\');')); $this->setChild('continue_button', $buttonBlock); $this->setTemplate('M2ePro/wizard/' . $this->getNick() . '/presentation.phtml'); //------------------------------ return parent::_beforeToHtml(); }
protected function _beforeToHtml() { // Initialization block // --------------------------------------- $this->setId('wizard' . $this->getNick() . $this->getStep()); // --------------------------------------- $this->setTemplate('M2ePro/wizard/migrationToV6/container.phtml'); // --------------------------------------- return parent::_beforeToHtml(); }
protected function _beforeToHtml() { // Initialization block //------------------------------ $this->setId('wizard' . $this->getNick() . 'Installation'); // Set header text //------------------------------ $this->_headerText = Mage::helper('M2ePro')->__($this->getHeaderTextHtml()); $this->removeButtons(); $this->appendButtons(); $this->setTemplate('widget/form/container.phtml'); return parent::_beforeToHtml(); }
protected function _beforeToHtml() { // Initialization block //------------------------------ $this->setId('wizard' . $this->getNick() . 'Welcome'); //------------------------------ // Buttons //------------------------------ $this->prepareButtons(); $url = $this->getUrl('*/*/skip'); $this->_addButton('skip', array('label' => Mage::helper('M2ePro')->__('Skip Wizard'), 'onclick' => 'WizardHandlerObj.skip(\'' . $url . '\')', 'class' => 'skip')); //------------------------------ $this->setTemplate('widget/form/container.phtml'); //------------------------------ return parent::_beforeToHtml(); }
protected function _beforeToHtml() { // Initialization block //------------------------------ $this->setId('wizard' . $this->getNick() . 'Congratulation'); //------------------------------ // Set header text //------------------------------ $this->_headerText = Mage::helper('M2ePro')->__('Congratulations!'); //------------------------------ // Buttons //------------------------------ $this->prepareButtons(); //------------------------------ $this->setTemplate('widget/form/container.phtml'); //------------------------------ return parent::_beforeToHtml(); }
protected function _beforeToHtml() { // Initialization block // --------------------------------------- $this->setId($this->getWizardBlockId()); // Set header text // --------------------------------------- $this->_headerText = Mage::helper('M2ePro')->__($this->getHeaderTextHtml()); // Buttons // --------------------------------------- $this->removeButtons(); if ($this->isNeedSkipButton()) { $url = $this->getUrl('*/*/skip'); $this->_addButton('skip', array('label' => Mage::helper('M2ePro')->__('Skip Wizard'), 'onclick' => 'WizardHandlerObj.skip(\'' . $url . '\')', 'class' => 'skip')); } $this->setTemplate('widget/form/container.phtml'); return parent::_beforeToHtml(); }
protected function _beforeToHtml() { $this->setTemplate('M2ePro/wizard/' . $this->getNick() . '/notification.phtml'); //------------------------------ return parent::_beforeToHtml(); }