public function _prepareLayout()
 {
     parent::_construct();
     if (!$this->getTemplate()) {
         $this->setTemplate('bronto/verify/permissionchecker/button.phtml');
     }
     return $this;
 }
示例#2
0
 protected function _construct()
 {
     parent::_construct();
     $template = $this->setTemplate('shopgo/aramex_shipping/system/config/button.phtml');
     if (Mage::registry('aramex_suppliers_data') && Mage::registry('aramex_suppliers_data')->getId()) {
         $template->setData('id', Mage::registry('aramex_suppliers_data')->getId());
     }
 }
示例#3
0
 /**
  * Define params and variables
  *
  * @return void
  */
 public function _construct()
 {
     parent::_construct();
     $carrierModel = Mage::getSingleton('usa/shipping_carrier_dhl_international');
     $this->setInch($this->jsQuoteEscape($carrierModel->getCode('unit_of_dimension_cut', 'I')));
     $this->setCm($this->jsQuoteEscape($carrierModel->getCode('unit_of_dimension_cut', 'C')));
     $this->setHeight($this->jsQuoteEscape($carrierModel->getCode('dimensions', 'height')));
     $this->setDepth($this->jsQuoteEscape($carrierModel->getCode('dimensions', 'depth')));
     $this->setWidth($this->jsQuoteEscape($carrierModel->getCode('dimensions', 'width')));
     $kgWeight = 70;
     $this->setDivideOrderWeightNoteKg($this->jsQuoteEscape($this->__('Allows breaking total order weight into smaller pieces if it exeeds %s %s to ensure accurate calculation of shipping charges.', $kgWeight, 'kg')));
     $weight = round(Mage::helper('usa')->convertMeasureWeight($kgWeight, Zend_Measure_Weight::KILOGRAM, Zend_Measure_Weight::POUND), 3);
     $this->setDivideOrderWeightNoteLbp($this->jsQuoteEscape($this->__('Allows breaking total order weight into smaller pieces if it exeeds %s %s to ensure accurate calculation of shipping charges.', $weight, 'pounds')));
     $this->setTemplate('usa/dhl/unitofmeasure.phtml');
 }
示例#4
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('conversionpro/system/config/import.phtml');
 }
示例#5
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('autocompleteplus/system/config/button.phtml');
 }
示例#6
0
 /**
  * Set template
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('sc_cmsblockmanagement/system/config/exportbutton.phtml');
 }
示例#7
0
 /**
  * @inheritdoc
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('nostotagging/system/config/currency/formats.phtml');
 }
示例#8
0
 /**
  * _construct
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('merchandiser/config/button.phtml');
 }
示例#9
0
 protected function _construct()
 {
     $this->setTemplate('modulodepago2/system/config/medios.phtml');
     return parent::_construct();
 }
示例#10
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('username/system/config/generate.phtml');
 }
示例#11
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('mehulchaudhari/feedsgenerator/system/config/form/field/button.phtml');
 }
 /**
  * Construct the block and set the corresponding template.
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('dpd/system/config/availability.phtml');
 }
示例#13
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('openstream/geoip/system/config/synchronize.phtml');
 }
示例#14
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('db1/anymarket/system/config/form/field/button_check_configuration.phtml');
 }
示例#15
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate(self::TEMPLATE_PATH);
 }
示例#16
0
文件: Button.php 项目: axovel/exqzt
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('mpadvancecommission/system/config/button.phtml');
 }
示例#17
0
 /**
  * Set template
  */
 protected function _construct()
 {
     $this->setTemplate('enterprise/logging/system/config/actions.phtml');
     return parent::_construct();
 }
示例#18
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('braspress/system/config/validation.phtml');
 }
示例#19
0
 protected function _construct()
 {
     parent::_construct();
     $this->_affiliateConfigRoot = Mage::getConfig()->getNode(null, $this->getScope(), $this->getScopeCode());
     $this->_affiliateConfigData = Mage::getModel('adminhtml/config_data')->setSection($this->getRequest()->getParam('section', ''))->setWebsite($this->getRequest()->getParam('website', ''))->setStore($this->getRequest()->getParam('store', ''))->load();
 }
示例#20
0
 /**
  * Set phtml template
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $template = $this->setTemplate('shopgo/shipping_core/system/config/dwa_button.phtml');
 }
 protected function _construct()
 {
     parent::_construct();
     $template = $this->setTemplate('shopgo/skynet_shipping/system/config/verify_account_button.phtml');
 }
示例#22
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('amasty/amfpccrawler/system/config/buttonGenerate.phtml');
 }
示例#23
0
 protected function _construct()
 {
     parent::_construct();
     //return;
     // $this->setTemplate('atwix/system/config/button.phtml');
 }
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('touchretail/system/config/button.phtml');
 }
示例#25
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('ratepay/system/config/profilerequest.phtml');
 }
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('magemonkey/system/config/resetlocal360.phtml');
 }
示例#27
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('system/config/system/storage/media/synchronize.phtml');
 }
示例#28
0
 protected function _construct()
 {
     parent::_construct();
     $this->_helper = Mage::helper('eems_display');
     $this->_feed = Mage::getModel('eems_display/file_feed');
 }
示例#29
0
文件: Verify.php 项目: ext/magento
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('billmate/system/config/verify.phtml');
 }
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('responsiveimages/system/config/button.phtml');
 }