protected function _beforeToHtml() { $script = "\n <script>\n function hide_feedattr(){\n \n var display = \$('base_attr').value ? '' : 'none';\n \n \$('transform').up('tr').setStyle({'display': display})\n }\n hide_feedattr();\n \n Event.observe(\$('base_attr'),'change', hide_feedattr)\n </script>\n "; $this->addTab('general', array('label' => Mage::helper('amfeed')->__('General'), 'content' => $this->getLayout()->createBlock('amfeed/adminhtml_field_edit_tab_general')->toHtml() . $script)); $this->addTab('mapping', array('label' => Mage::helper('amfeed')->__('Mapping'), 'content' => $this->getLayout()->createBlock('amfeed/adminhtml_field_edit_tab_mapping')->toHtml())); return parent::_beforeToHtml(); }
protected function _construct() { parent::_construct(); $this->setId('page_tabs'); $this->setDestElementId('edit_form'); $this->setTitle(Mage::helper('Mage_Cms_Helper_Data')->__('Page Information')); }
protected function _beforeToHtml() { $this->addTab('selling', array('label' => Mage::helper('M2ePro')->__('Selling Settings'), 'title' => Mage::helper('M2ePro')->__('Selling Settings'), 'content' => $this->getLayout()->createBlock('M2ePro/adminhtml_common_amazon_listing_add_tabs_selling')->toHtml())); $this->addTab('search', array('label' => Mage::helper('M2ePro')->__('Search Settings'), 'title' => Mage::helper('M2ePro')->__('Search Settings'), 'content' => $this->getLayout()->createBlock('M2ePro/adminhtml_common_amazon_listing_add_tabs_search')->toHtml())); $this->setActiveTab($this->getRequest()->getParam('tab', 'selling')); return parent::_beforeToHtml(); }
protected function _beforeToHtml() { $this->addTab('form_information', array('label' => Mage::helper('webforms')->__('Information'), 'title' => Mage::helper('webforms')->__('Information'), 'content' => $this->getLayout()->createBlock('webforms/adminhtml_fields_edit_tab_information')->toHtml())); $this->addTab('form_design', array('label' => Mage::helper('webforms')->__('Design'), 'title' => Mage::helper('webforms')->__('Design'), 'content' => $this->getLayout()->createBlock('webforms/adminhtml_fields_edit_tab_design')->toHtml())); Mage::dispatchEvent('webforms_adminhtml_fields_edit_tabs_before_to_html', array('tabs' => $this)); return parent::_beforeToHtml(); }
public function __construct() { parent::__construct(); #$this->setTemplate('widget/tabs.phtml'); $this->setId('system_config_dwstree'); $this->setDestElementId('system_config_form'); }
/** * Constructor * Setting view parameters, destination element DomId and title */ public function __construct() { parent::__construct(); $this->setId('mobile_app_tabs'); $this->setDestElementId('edit_form'); $this->setTitle($this->__('Manage Mobile App')); }
protected function _beforeToHtml() { /* if (Mage::registry('current_customer')->getId()) { $this->addTab('view', array( 'label' => Mage::helper('customer')->__('Customer View'), 'content' => $this->getLayout()->createBlock('adminhtml/customer_edit_tab_view')->toHtml(), 'active' => true )); } */ $this->addTab('account', array('label' => Mage::helper('customer')->__('Account Information'), 'content' => $this->getLayout()->createBlock('adminhtml/customer_edit_tab_account')->initForm()->toHtml(), 'active' => Mage::registry('current_customer')->getId() ? false : true)); $this->addTab('addresses', array('label' => Mage::helper('customer')->__('Addresses'), 'content' => $this->getLayout()->createBlock('adminhtml/customer_edit_tab_addresses')->initForm()->toHtml())); // load: Orders, Shopping Cart, Wishlist, Product Reviews, Product Tags - with ajax if (Mage::registry('current_customer')->getId()) { if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/view')) { $this->addTab('orders', array('label' => Mage::helper('customer')->__('Orders'), 'class' => 'ajax', 'url' => $this->getUrl('*/*/orders', array('_current' => true)))); } $this->addTab('cart', array('label' => Mage::helper('customer')->__('Shopping Cart'), 'class' => 'ajax', 'url' => $this->getUrl('*/*/carts', array('_current' => true)))); $this->addTab('wishlist', array('label' => Mage::helper('customer')->__('Wishlist'), 'class' => 'ajax', 'url' => $this->getUrl('*/*/wishlist', array('_current' => true)))); if (Mage::getSingleton('admin/session')->isAllowed('newsletter/subscriber')) { $this->addTab('newsletter', array('label' => Mage::helper('customer')->__('Newsletter'), 'content' => $this->getLayout()->createBlock('adminhtml/customer_edit_tab_newsletter')->initForm()->toHtml())); } if (Mage::getSingleton('admin/session')->isAllowed('catalog/reviews_ratings')) { $this->addTab('reviews', array('label' => Mage::helper('customer')->__('Product Reviews'), 'class' => 'ajax', 'url' => $this->getUrl('*/*/productReviews', array('_current' => true)))); } if (Mage::getSingleton('admin/session')->isAllowed('catalog/tag')) { $this->addTab('tags', array('label' => Mage::helper('customer')->__('Product Tags'), 'class' => 'ajax', 'url' => $this->getUrl('*/*/productTags', array('_current' => true)))); } } $this->_updateActiveTab(); Varien_Profiler::stop('customer/tabs'); return parent::_beforeToHtml(); }
protected function _beforeToHtml() { $this->addTab('general', array('label' => Mage::helper('popup')->__('General'), 'title' => Mage::helper('popup')->__('General'), 'content' => $this->getLayout()->createBlock('popup/adminhtml_popup_edit_tab_general')->toHtml())); $this->addTab('content', array('label' => Mage::helper('popup')->__('Content'), 'title' => Mage::helper('popup')->__('Content'), 'content' => $this->getLayout()->createBlock('popup/adminhtml_popup_edit_tab_content')->toHtml())); $this->addTab('mss', array('label' => Mage::helper('popup')->__('Market Segmentation Suite'), 'title' => Mage::helper('popup')->__('Market Segmentation Suite'), 'content' => $this->getLayout()->createBlock('popup/adminhtml_popup_edit_tab_mss')->toHtml())); return parent::_beforeToHtml(); }
/** * Internal constructor * */ protected function _construct() { parent::_construct(); $this->setId('widget_instace_tabs'); $this->setDestElementId('edit_form'); $this->setTitle(Mage::helper('Mage_Widget_Helper_Data')->__('Widget Instance')); }
protected function _beforeToHtml() { $helper = $this->_getHelper(); $this->addTab('options_tab', array('label' => $helper->__('Product Options'), 'title' => $helper->__('Product Options'), 'content' => $this->getLayout()->createBlock('mageworx/customoptions_options_edit_tab_options', 'admin.product.options')->toHtml(), 'active' => true)); $this->addTab('product_tab', array('label' => $helper->__('Products'), 'title' => $helper->__('Products'), 'content' => $this->getLayout()->createBlock('mageworx/customoptions_options_edit_tab_product')->toHtml())); return parent::_beforeToHtml(); }
public function __construct() { parent::__construct(); $this->setId('promo_catalog_edit_tabs'); $this->setDestElementId('edit_form'); $this->setTitle(Mage::helper('catalogrule')->__('Catalog Price Rule')); }
protected function _beforeToHtml() { $this->addTab('settings_section', array('label' => Mage::helper('sharkslideshow')->__('Slide Settings'), 'title' => Mage::helper('sharkslideshow')->__('Slide Settings'), 'content' => $this->getLayout()->createBlock('sharkslideshow/adminhtml_sharkrevslider_edit_tab_settings')->toHtml())); $this->addTab('image_section', array('label' => Mage::helper('sharkslideshow')->__('Main Image Settings'), 'title' => Mage::helper('sharkslideshow')->__('Main Image Settings'), 'content' => $this->getLayout()->createBlock('sharkslideshow/adminhtml_sharkrevslider_edit_tab_image')->toHtml())); $this->addTab('content_section', array('label' => Mage::helper('sharkslideshow')->__('Content And Captions'), 'title' => Mage::helper('sharkslideshow')->__('Content And Captions'), 'content' => $this->getLayout()->createBlock('sharkslideshow/adminhtml_sharkrevslider_edit_tab_content')->toHtml())); return parent::_beforeToHtml(); }
protected function _beforeToHtml() { $this->addTab('form_section', array('label' => Mage::helper('affiliateplus')->__('Transaction Information'), 'title' => Mage::helper('affiliateplus')->__('Transaction Information'), 'content' => $this->getLayout()->createBlock('affiliateplus/adminhtml_transaction_edit_tab_form')->toHtml())); //event to add more tab Mage::dispatchEvent('affiliateplus_adminhtml_add_transaction_tab', array('form' => $this)); return parent::_beforeToHtml(); }
protected function _beforeToHtml() { $model = Mage::registry('entity_attribute'); $this->addTab('main', array('label' => Mage::helper('catalog')->__('Properties'), 'title' => Mage::helper('catalog')->__('Properties'), 'content' => $this->getLayout()->createBlock('customerattribute/adminhtml_edit_tab_main')->toHtml(), 'active' => true)); $this->addTab('labels', array('label' => Mage::helper('catalog')->__('Manage Label / Options'), 'title' => Mage::helper('catalog')->__('Manage Label / Options'), 'content' => $this->getLayout()->createBlock('customerattribute/adminhtml_edit_tab_options')->toHtml())); return parent::_beforeToHtml(); }
public function __construct() { parent::__construct(); $this->setId('easytabs_tabs'); $this->setDestElementId('edit_form'); $this->setTitle(Mage::helper('easytabs')->__('Tab Information')); }
protected function _beforeToHtml() { $this->addTab('main_section', array('label' => Mage::helper('enterprise_targetrule')->__('Rule Information'), 'content' => $this->getLayout()->createBlock('enterprise_targetrule/adminhtml_targetrule_edit_tab_main')->toHtml(), 'active' => true)); $this->addTab('conditions_section', array('label' => Mage::helper('enterprise_targetrule')->__('Products to Match'), 'content' => $this->getLayout()->createBlock('enterprise_targetrule/adminhtml_targetrule_edit_tab_conditions')->toHtml())); $this->addTab('targeted_products', array('label' => Mage::helper('enterprise_targetrule')->__('Products to Display'), 'content' => $this->getLayout()->createBlock('enterprise_targetrule/adminhtml_targetrule_edit_tab_actions')->toHtml())); return parent::_beforeToHtml(); }
public function __construct() { parent::__construct(); $this->setId('process_tabs'); $this->setDestElementId('edit_form'); $this->setTitle(Mage::helper('index')->__('Index')); }
/** * Construct */ public function __construct() { parent::__construct(); $this->setId('logs_view_tabs'); $this->setDestElementId('logs_view'); $this->setTitle(Mage::helper('ratepaypayment')->__('Logs Information View')); }
protected function _construct() { parent::_construct(); $this->setId('attributes_update_tabs'); $this->setDestElementId('attributes_edit_form'); $this->setTitle(Mage::helper('catalog')->__('Products Information')); }
/** * Initialize tab * */ public function __construct() { parent::__construct(); $this->setId('billing_agreement_view_tabs'); $this->setDestElementId('billing_agreement_view'); $this->setTitle($this->__('Billing Agreement View')); }
/** * Preparing global layout * * @return Mage_Core_Block_Abstract */ protected function _prepareLayout() { if (Mage::getSingleton('adminhtml/session')->getNewApplication()) { $this->addTab('set', array('label' => $this->__('Settings'), 'content' => $this->getLayout()->createBlock('xmlconnect/adminhtml_mobile_edit_tab_settings')->toHtml(), 'active' => true)); } return parent::_prepareLayout(); }
/** * Set tabs * * @return Mage_Connect_Block_Adminhtml_Extension_Custom_Edit_Tabs */ protected function _beforeToHtml() { // $this->addTab('package', array( // 'label' => Mage::helper('connect')->__('Package Info'), // 'content' => $this->_getTabHtml('package'), // 'active' => true, // )); // // $this->addTab('release', array( // 'label' => Mage::helper('connect')->__('Release Info'), // 'content' => $this->_getTabHtml('release'), // )); // // $this->addTab('maintainers', array( // 'label' => Mage::helper('connect')->__('Authors'), // 'content' => $this->_getTabHtml('authors'), // )); // // $this->addTab('depends', array( // 'label' => Mage::helper('connect')->__('Dependencies'), // 'content' => $this->_getTabHtml('depends'), // )); // // $this->addTab('contents', array( // 'label' => Mage::helper('connect')->__('Contents'), // 'content' => $this->_getTabHtml('contents'), // )); // // $this->addTab('load', array( // 'label' => Mage::helper('connect')->__('Load local Package'), // 'class' => 'ajax', // 'url' => $this->getUrl('*/*/loadtab', array('_current' => true)), // )); return parent::_beforeToHtml(); }
public function __construct() { parent::__construct(); $this->setId('sales_order_view_tabs'); $this->setDestElementId('sales_order_view'); $this->setTitle(Mage::helper('sales')->__('Order View')); }
public function __construct() { parent::__construct(); $this->setId('support_tabs'); $this->setDestElementId('edit_form'); $this->setTitle(Mage::helper('tmcore')->__('Support Ticket')); }
protected function _beforeToHtml() { $this->addTab('tab1_BulkUpdateAllProductPrices', array('label' => Mage::helper('BulkUpdateAllProductPricesHelper1')->__('Bulk Update All Product Prices'), 'title' => Mage::helper('BulkUpdateAllProductPricesHelper1')->__('Bulk Update All Product Prices'), 'content' => $this->getLayout()->createBlock("BulkUpdateAllProductPricesBlock1/BlockForFormBulkUpdateAllProductPrices")->toHtml(), 'active' => true)); $about = "<fieldset class='box' style='clear: both;'><table>\n\t\t<tr><td>\n\t\t<a title='SaveTheMage Magento Extensions' href='http://www.savethemage.com/'>\n\t\t<img alt='SaveTheMage Magento Extensions' src='http://www.savethemage.com/skin/frontend/default/magik_aura/images/savethemage-logo-icon.png'>\n\t\t</a>\n\t\t</td></tr>\n\t\t<tr><td><a href='mailto:support@savethemage.com'>Email Us</a></td></tr>\n\t\t</table></fieldset>"; $this->addTab('tab2_about', array('label' => Mage::helper('BulkUpdateAllProductPricesHelper1')->__('About'), 'title' => Mage::helper('BulkUpdateAllProductPricesHelper1')->__('About'), 'content' => $about, 'active' => false)); return parent::_beforeToHtml(); }
public function __construct() { parent::__construct(); $this->setId('form_tabs'); $this->setDestElementId('edit_form'); $this->setData('title', Mage::helper('open_gallery')->__('Category Information')); }
/** * Initialize tabs and define tabs block settings */ public function __construct() { parent::__construct(); $this->setId('page_tabs'); $this->setDestElementId('edit_form'); $this->setTitle(Mage::helper('slider')->__('Slider Item Info')); }
/** * Initialize Department edit page tabs * */ public function __construct() { parent::__construct(); $this->setId('category_info_tabs'); $this->setDestElementId('edit_form'); $this->setTitle(Mage::helper('zeon_jobs')->__('Department Information')); }
/** * Initialize edit tabs * */ public function __construct() { parent::__construct(); $this->setId('customer_attribute_tabs'); $this->setDestElementId('edit_form'); $this->setTitle(Mage::helper('enterprise_customer')->__('Attribute Information')); }
public function __construct() { parent::__construct(); $this->setId('page_tabs'); $this->setDestElementId('edit_form'); $this->setTitle(Mage::helper('enterprise_cms')->__('Revision Information')); }