/** * Main Grid view for Transactional Email Templates * Overwritten to show Bronto Templates * * @return null */ public function indexAction() { if (!Mage::helper('bronto_email')->isEnabledForAny()) { return parent::indexAction(); } $this->_title($this->__('System'))->_title($this->__('Transactional Emails')); Mage::getSingleton('adminhtml/session')->setPostRedirect('*/*/'); if ($this->getRequest()->getQuery('ajax')) { $this->_forward('brontoGrid'); return false; } $this->loadLayout(); $this->_setActiveMenu('system/email_template'); $this->_addBreadcrumb(Mage::helper('adminhtml')->__('Bronto Transactional Emails'), Mage::helper('adminhtml')->__('Bronto Transactional Emails')); $this->_addContent($this->getLayout()->createBlock('bronto_email/adminhtml_system_email_template', 'template')); $this->renderLayout(); return $this; }