public function __construct() { parent::__construct(); $this->setTemplate('forms/tabs/constructor/type/date.phtml'); }
protected function _prepareLayout() { $this->setChild('add_select_row_button', $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array('label' => $this->_helper()->__('Add New'), 'class' => 'add add-select-row', 'id' => 'add_select_row_button_{{field_id}}'))); $this->setChild('delete_select_row_button', $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array('label' => $this->_helper()->__('Delete'), 'class' => 'delete delete-select-row'))); return parent::_prepareLayout(); }