*/ class Mage_Adminhtml_Block_Newsletter_Template extends Mage_Adminhtml_Block_Template { public function __construct() { parent::__construct(); $this->setTemplate('newsletter/template/list.phtml'); } protected function _prepareLayout() { $this->setChild('grid', $this->getLayout()->createBlock('adminhtml/newsletter_template_grid', 'newsletter.template.grid')); return parent::_prepareLayout(); } public function getCreateUrl() { return $this->getUrl('*/*/new'); } public function getHeaderText() { return Mage::helper('newsletter')->__('Newsletter Templates'); } }