protected function _prepareLayout() { $this->css->addFile('developers.css'); // --------------------------------------- $tab = array('label' => $this->__('About Module / Magento'), 'title' => $this->__('About Module / Magento'), 'content' => $this->createBlock('Developers\\Tabs\\AboutModule')->toHtml()); $this->addTab(self::TAB_ID_INSTALLATION_DETAILS, $tab); // --------------------------------------- // --------------------------------------- $tab = array('label' => $this->__('System Requirements'), 'title' => $this->__('System Requirements'), 'content' => $this->createBlock('Developers\\Tabs\\SystemRequirements')->toHtml()); $this->addTab(self::TAB_ID_SYSTEM_REQUIREMENTS, $tab); // --------------------------------------- // --------------------------------------- $tab = array('label' => $this->__('Cron Job Details / Status'), 'title' => $this->__('Cron Job Details / Status'), 'content' => $this->createBlock('Developers\\Tabs\\CronJobDetails', '', ['data' => ['is_support_mode' => true]])->toHtml()); $this->addTab(self::TAB_ID_CRON_JOB_INFO, $tab); // --------------------------------------- // --------------------------------------- $tab = array('label' => $this->__('Synchronization Log'), 'title' => $this->__('Synchronization Log'), 'content' => $this->createBlock('Developers\\Tabs\\SynchronizationLog')->toHtml()); $this->addTab(self::TAB_ID_SYNCHRONIZATION_LOG, $tab); // --------------------------------------- // --------------------------------------- $tab = array('label' => $this->__('Magmi Import Tool Plugin'), 'title' => $this->__('Magmi Plugin'), 'content' => $this->createBlock('Developers\\Tabs\\MagmiPlugin')->toHtml()); $this->addTab(self::TAB_ID_MAGMI_PLUGIN, $tab); // --------------------------------------- // --------------------------------------- $tab = array('label' => $this->__('Direct Database Changes'), 'title' => $this->__('Direct Database Changes'), 'content' => $this->createBlock('Developers\\Tabs\\DirectDatabaseChanges')->toHtml()); $this->addTab(self::TAB_ID_DIRECT_DATABASE_CHANGES, $tab); // --------------------------------------- // --------------------------------------- $tab = array('label' => $this->__('Performance Notes'), 'title' => $this->__('Performance Notes'), 'content' => $this->createBlock('Developers\\Tabs\\PerformanceNotes')->toHtml()); $this->addTab(self::TAB_ID_PERFORMANCE_NOTES, $tab); // --------------------------------------- return parent::_prepareLayout(); }
protected function _prepareLayout() { $this->addTab('list_rules', ['label' => __('List Rules'), 'title' => __('List Rules'), 'content' => $this->createBlock('Amazon\\Template\\Synchronization\\Edit\\Tabs\\ListRules')->toHtml()]); $this->addTab('revise_rules', ['label' => __('Revise Rules'), 'title' => __('Revise Rules'), 'content' => $this->createBlock('Amazon\\Template\\Synchronization\\Edit\\Tabs\\ReviseRules')->toHtml()]); $this->addTab('relist_rules', ['label' => __('Relist Rules'), 'title' => __('Relist Rules'), 'content' => $this->createBlock('Amazon\\Template\\Synchronization\\Edit\\Tabs\\RelistRules')->toHtml()]); $this->addTab('stop_rules', ['label' => __('Stop Rules'), 'title' => __('Stop Rules'), 'content' => $this->createBlock('Amazon\\Template\\Synchronization\\Edit\\Tabs\\StopRules')->toHtml()]); $this->setActiveTab($this->getRequest()->getParam('tab', 'list')); return parent::_prepareLayout(); }
protected function _prepareLayout() { $this->css->addFile('settings.css'); // --------------------------------------- $tab = array('label' => $this->__('Interface'), 'title' => $this->__('Interface'), 'content' => $this->createBlock('Settings\\Tabs\\InterfaceTab')->toHtml()); $this->addTab(self::TAB_ID_INTERFACE, $tab); // --------------------------------------- // --------------------------------------- $tab = array('label' => $this->__('Magento Inventory'), 'title' => $this->__('Magento Inventory'), 'content' => $this->createBlock('Settings\\Tabs\\MagentoInventory')->toHtml()); $this->addTab(self::TAB_ID_MAGENTO_INVENTORY, $tab); // --------------------------------------- // --------------------------------------- $tab = array('label' => $this->__('Logs Clearing'), 'title' => $this->__('Logs Clearing'), 'content' => $this->createBlock('Settings\\Tabs\\LogsClearing')->toHtml()); $this->addTab(self::TAB_ID_LOGS_CLEARING, $tab); // --------------------------------------- // --------------------------------------- $tab = array('label' => $this->__('License'), 'title' => $this->__('License'), 'content' => $this->createBlock('Settings\\Tabs\\License')->toHtml()); $this->addTab(self::TAB_ID_LICENSE, $tab); // --------------------------------------- $this->setActiveTab($this->getData('active_tab')); return parent::_prepareLayout(); }