/**
  * Block constructor
  */
 public function __construct()
 {
     $this->_controller = 'sitemap';
     $this->_headerText = Mage::helper('sitemap')->__('Google Sitemap');
     $this->_addButtonLabel = Mage::helper('sitemap')->__('Add Sitemap');
     parent::__construct();
 }
 public function __construct()
 {
     $this->_controller = 'adminhtml_transactionalemail_mandrill';
     $this->_blockGroup = 'monkey';
     $this->_headerText = Mage::helper('monkey')->__('Verified Email Addresses');
     parent::__construct();
 }
 /**
  * Block constructor
  */
 public function __construct()
 {
     $this->_controller = 'system_variable';
     $this->_headerText = Mage::helper('adminhtml')->__('Custom Variables');
     parent::__construct();
     $this->_updateButton('add', 'label', Mage::helper('adminhtml')->__('Add New Variable'));
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayConfigurationCategory');
     $this->_blockGroup = 'M2ePro';
     $this->_controller = 'adminhtml_ebay_configuration_category';
     // ---------------------------------------
     // Set header text
     // ---------------------------------------
     $this->_headerText = '';
     // ---------------------------------------
     // Set buttons actions
     // ---------------------------------------
     $this->removeButton('back');
     $this->removeButton('reset');
     $this->removeButton('delete');
     $this->removeButton('save');
     $this->removeButton('edit');
     $this->removeButton('add');
     // ---------------------------------------
     // Set template
     // ---------------------------------------
     $this->setTemplate('M2ePro/widget/grid/container/only_content.phtml');
     // ---------------------------------------
 }
Example #5
0
 public function __construct()
 {
     $this->_controller = 'report_shopcart_customer';
     $this->_headerText = Mage::helper('reports')->__('Customers');
     parent::__construct();
     $this->_removeButton('add');
 }
Example #6
0
 public function __construct()
 {
     $this->_controller = 'system_convert_gui';
     $this->_headerText = Mage::helper('adminhtml')->__('Profiles');
     $this->_addButtonLabel = Mage::helper('adminhtml')->__('Add New Profile');
     parent::__construct();
 }
Example #7
0
 public function __construct()
 {
     $this->_controller = 'catalog_search';
     $this->_headerText = Mage::helper('catalog')->__('Search');
     $this->_addButtonLabel = Mage::helper('catalog')->__('Add New Search Term');
     parent::__construct();
 }
Example #8
0
 public function __construct()
 {
     $this->_addButtonLabel = Mage::helper('review')->__('Add New Review');
     parent::__construct();
     $this->_controller = 'review';
     // lookup customer, if id is specified
     $customerId = $this->getRequest()->getParam('customerId', false);
     $customerName = '';
     if ($customerId) {
         $customer = Mage::getModel('customer/customer')->load($customerId);
         $customerName = $customer->getFirstname() . ' ' . $customer->getLastname();
         $customerName = $this->escapeHtml($customerName);
     }
     if (Mage::registry('usePendingFilter') === true) {
         if ($customerName) {
             $this->_headerText = Mage::helper('review')->__('Pending Reviews of Customer `%s`', $customerName);
         } else {
             $this->_headerText = Mage::helper('review')->__('Pending Reviews');
         }
         $this->_removeButton('add');
     } else {
         if ($customerName) {
             $this->_headerText = Mage::helper('review')->__('All Reviews of Customer `%s`', $customerName);
         } else {
             $this->_headerText = Mage::helper('review')->__('All Reviews');
         }
     }
 }
Example #9
0
 public function __construct()
 {
     $this->_controller = 'cms_block';
     $this->_headerText = Mage::helper('Mage_Cms_Helper_Data')->__('Static Blocks');
     $this->_addButtonLabel = Mage::helper('Mage_Cms_Helper_Data')->__('Add New Block');
     parent::__construct();
 }
Example #10
0
 public function __construct()
 {
     $this->_controller = 'permissions_role';
     $this->_headerText = Mage::helper('adminhtml')->__('Roles');
     $this->_addButtonLabel = Mage::helper('adminhtml')->__('Add New Role');
     parent::__construct();
 }
Example #11
0
 public function __construct()
 {
     $this->_controller = 'customer';
     $this->_headerText = Mage::helper('Mage_Customer_Helper_Data')->__('Manage Customers');
     $this->_addButtonLabel = Mage::helper('Mage_Customer_Helper_Data')->__('Add New Customer');
     parent::__construct();
 }
Example #12
0
 public function __construct()
 {
     $this->_controller = 'sales_creditmemo';
     $this->_headerText = Mage::helper('Mage_Sales_Helper_Data')->__('Credit Memos');
     parent::__construct();
     $this->_removeButton('add');
 }
Example #13
0
 /**
  * Initialize Grid Container
  *
  */
 public function __construct()
 {
     $this->_controller = 'report_search';
     $this->_headerText = Mage::helper('Mage_Reports_Helper_Data')->__('Search Terms');
     parent::__construct();
     $this->_removeButton('add');
 }
Example #14
0
 public function __construct()
 {
     $this->_controller = 'checkout_agreement';
     $this->_headerText = Mage::helper('checkout')->__('Manage Terms and Conditions');
     $this->_addButtonLabel = Mage::helper('checkout')->__('Add New Condition');
     parent::__construct();
 }
 public function __construct()
 {
     $this->_controller = 'adminhtml_rate_earn';
     $this->_blockGroup = 'points';
     $this->_headerText = Mage::helper('points')->__('Earning Points');
     parent::__construct();
 }
Example #16
0
 protected function _construct()
 {
     $this->_controller = 'promo_quote';
     $this->_headerText = Mage::helper('Mage_SalesRule_Helper_Data')->__('Shopping Cart Price Rules');
     $this->_addButtonLabel = Mage::helper('Mage_SalesRule_Helper_Data')->__('Add New Rule');
     parent::_construct();
 }
Example #17
0
 public function __construct()
 {
     $this->_controller = 'adminhtml_page';
     $this->_blockGroup = 'searchlandingpage';
     $this->_headerText = Mage::helper('searchlandingpage')->__('Landing Pages');
     parent::__construct();
 }
 public function __construct()
 {
     $this->_controller = 'adminhtml_registries';
     $this->_blockGroup = 'webengage_coup';
     $this->_headerText = Mage::helper('webengage_coup')->__('Webengage coup');
     parent::__construct();
 }
Example #19
0
 public function __construct()
 {
     $this->_controller = 'report_product_ordered';
     $this->_headerText = Mage::helper('reports')->__('Bestsellers');
     parent::__construct();
     $this->_removeButton('add');
 }
Example #20
0
 protected function _construct()
 {
     $this->_controller = 'report_shopcart_product';
     $this->_headerText = Mage::helper('Mage_Reports_Helper_Data')->__('Products in carts');
     parent::_construct();
     $this->_removeButton('add');
 }
 public function __construct()
 {
     $this->_controller = 'catalog_product_attribute';
     $this->_headerText = AO::helper('catalog')->__('Manage Attributes');
     $this->_addButtonLabel = AO::helper('catalog')->__('Add New Attribute');
     parent::__construct();
 }
 public function __construct()
 {
     $this->_controller = 'api_user';
     $this->_headerText = Mage::helper('adminhtml')->__('Users');
     $this->_addButtonLabel = Mage::helper('adminhtml')->__('Add New User');
     parent::__construct();
 }
Example #23
0
 public function __construct()
 {
     $this->_controller = 'promo_quote';
     $this->_headerText = Mage::helper('salesrule')->__('Shopping Cart Price Rules');
     $this->_addButtonLabel = Mage::helper('salesrule')->__('Add New Rule');
     parent::__construct();
 }
Example #24
0
 protected function _prepareLayout()
 {
     if (!$this->getRequest()->isXmlHttpRequest()) {
         $this->getLayout()->getBlock('head')->addItem('skin_css', 'sagepaysuite/css/sagePaySuite.css');
     }
     return parent::_prepareLayout();
 }
Example #25
0
 /**
  * Modify header & button labels
  *
  */
 public function __construct()
 {
     $this->_controller = 'customer_group';
     $this->_headerText = Mage::helper('customer')->__('Customer Groups');
     $this->_addButtonLabel = Mage::helper('customer')->__('Add New Customer Group');
     parent::__construct();
 }
Example #26
0
 public function __construct()
 {
     $this->_controller = 'api_role';
     $this->_headerText = Mage::helper('Mage_Adminhtml_Helper_Data')->__('Roles');
     $this->_addButtonLabel = Mage::helper('Mage_Adminhtml_Helper_Data')->__('Add New Role');
     parent::__construct();
 }
Example #27
0
 public function __construct()
 {
     $this->_controller = 'sales_invoice';
     $this->_headerText = Mage::helper('sales')->__('Invoices');
     parent::__construct();
     $this->_removeButton('add');
 }
Example #28
0
 public function __construct()
 {
     $this->_controller = 'tag_tag';
     $this->_headerText = Mage::helper('tag')->__('Manage Tags');
     $this->_addButtonLabel = Mage::helper('tag')->__('Add New Tag');
     parent::__construct();
 }
 public function __construct()
 {
     $this->_controller = 'report_review_product';
     $this->_headerText = Mage::helper('reports')->__('Products Reviews');
     parent::__construct();
     $this->_removeButton('add');
 }
Example #30
0
 public function __construct()
 {
     $this->_controller = 'adminhtml_student';
     $this->_blockGroup = 'matword_students';
     $this->_headerText = $this->__('Student');
     parent::__construct();
 }