public function getMainButtonsHtml() { $html = parent::getMainButtonsHtml(); //get the parent class buttons $addButton = $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array('label' => Mage::helper('adminhtml')->__('Back'), 'onclick' => "setLocation('" . $this->getUrl('*/adminhtml_footerrow/index') . "')", 'class' => 'back'))->toHtml(); return $addButton . $html; }
public function getMainButtonsHtml() { $hlr = Mage::helper('amrma'); $html = parent::getMainButtonsHtml(); if ($hlr->canCreateRma($this->getOrder()->getEntityId())) { $html .= $this->getChildHtml('add_button'); } return $html; }
public function getMainButtonsHtml() { $html = parent::getMainButtonsHtml(); $model = $this->getModel(); if ($model) { $js = array(); $js[] = "\n function runRuleTesting(btn, id, email){\n var r=confirm('Email will be sent to ' + email + ', are you sure?!')\n if (r==true)\n {\n btn.setAttribute('disabled', true);\n new Ajax.Request('" . Mage::helper("adminhtml")->getUrl('*/*/testRule') . " ', {\n parameters: {\n quote_id: id,\n rule_id: " . $model->getId() . "\n },\n onSuccess: function(response) {\n btn.removeAttribute('disabled');\n }\n });\n }\n }\n "; $html .= '<script> ' . implode('', $js) . ' </script>'; } return $html; }
public function getMainButtonsHtml() { return $this->getAddCustomMotorsRecordButtonHtml() . $this->getSaveFilterButtonHtml() . parent::getMainButtonsHtml(); }
public function getMainButtonsHtml() { return parent::getMainButtonsHtml(); }
public function getMainButtonsHtml() { $buttons = parent::getMainButtonsHtml(); $buttons .= $this->getAddSlideButtonHtml(); return $buttons; }
/** * Retrieve the main buttons html * * @return string */ public function getMainButtonsHtml() { return parent::getMainButtonsHtml() . $this->getChildHtml('add_button'); }
public function getMainButtonsHtml() { /* @var $pageHelper Mana_Admin_Helper_Page */ $pageHelper = Mage::helper('mana_admin/page'); return $pageHelper->getActionHtml($this) . parent::getMainButtonsHtml(); }
public function getMainButtonsHtml() { return parent::getMainButtonsHtml() . $this->getChildHtml('send_server_info_button') . $this->getChildHtml('check_updates_button'); }
public function getMainButtonsHtml() { $html = parent::getMainButtonsHtml(); $html .= $this->getChildHtml('hide_button'); return $html; }
public function getMainButtonsHtml() { $html = parent::getMainButtonsHtml(); $html = $this->getTemplatesSelectHtml() . $this->getImportButtonHtml() . $html; return $html; }
public function getMainButtonsHtml() { $html = parent::getMainButtonsHtml(); $addButton = $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array('label' => Mage::helper('productquestions')->__('Add New'), 'onclick' => 'newPopup()', 'class' => 'scalable add'))->toHtml(); return $addButton . $html; }
/** * Includes the custom check updates button in the main grid button area. * * @return string */ public function getMainButtonsHtml() { return $this->getChildHtml('check_updates_button') . parent::getMainButtonsHtml(); }
public function getMainButtonsHtml() { $html = parent::getMainButtonsHtml(); $html = $this->getChildHtml('archive_button') . $html; return $html; }
public function getMainButtonsHtml() { return $this->getSynchronizeButtonHtml() . parent::getMainButtonsHtml(); }
public function getMainButtonsHtml() { $html = parent::getMainButtonsHtml(); $html .= $this->getAddfilterButtonHtml(); return $html; }
public function getMainButtonsHtml() { $html = parent::getMainButtonsHtml(); $html .= $this->getChildHtml('new_dRule'); return $html; }
public function getMainButtonsHtml() { return $this->getClearSelectionsButtonHtml() . parent::getMainButtonsHtml(); }
public function getMainButtonsHtml() { return $this->getRefreshButtonHtml() . parent::getMainButtonsHtml(); }
public function getMainButtonsHtml() { return parent::getMainButtonsHtml() . $this->getChildHtml('web_to_print_source_button'); }
public function getMainButtonsHtml() { $html = $this->getChildHtml('update_stock'); $html .= parent::getMainButtonsHtml(); return $html; }
public function getMainButtonsHtml() { $html = parent::getMainButtonsHtml(); $html .= $this->getButtonHtml(Mage::helper('catalog')->__('Create Empty'), 'superProduct.createEmptyProduct()', 'add'); if ($product = $this->_getProduct()->getId()) { } $html .= $this->getButtonHtml(Mage::helper('catalog')->__('Create From Configurable'), 'superProduct.createNewProduct()', 'add'); return $html; }
public function getMainButtonsHtml() { $url = $this->getUrl('*/adminhtml_ebay_template_general/edit', array('id' => $this->getRequest()->getParam('general_template_id'), 'tab' => 'specific')); $buttonBlock = $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array('id' => 'change_motors_specifics_attribute', 'label' => Mage::helper('M2ePro')->__('Change Compatibility Attribute'), 'onclick' => 'window.open(\'' . $url . '\', \'_blank\')', 'class' => 'button_link')); return $buttonBlock->toHtml() . parent::getMainButtonsHtml(); }