protected function _addContent(Mage_Core_Block_Abstract $block) { if ($this->getRequest()->isGet() && !$this->getRequest()->isPost() && !$this->getRequest()->isXmlHttpRequest()) { if ($this->isContentLocked()) { return $this; } } return parent::_addContent($block); }
protected function _addContent(Mage_Core_Block_Abstract $block) { if ($this->getRequest()->isGet() && !$this->getRequest()->isPost() && !$this->getRequest()->isXmlHttpRequest() && Mage::getModel('M2ePro/License_Model')->isLock()) { return $this; } $blockGeneral = $this->getLayout()->createBlock('M2ePro/adminhtml_general'); $this->getLayout()->getBlock('content')->append($blockGeneral); return parent::_addContent($block); }
protected function _addContent(Mage_Core_Block_Abstract $block) { if ($this->getRequest()->isGet() && !$this->getRequest()->isPost() && !$this->getRequest()->isXmlHttpRequest() && Mage::helper('M2ePro/Module')->isLockedByServer()) { return $this; } $blockGeneral = $this->getLayout()->createBlock('M2ePro/adminhtml_general'); $this->getLayout()->getBlock('content')->append($blockGeneral); $this->addWizardUpgradeNotification(); return parent::_addContent($block); }