*/ class Mage_Adminhtml_Block_Backup_Dialogs extends Mage_Adminhtml_Block_Template { /** * Block's template * * @var string */ protected $_template = 'backup/dialogs.phtml'; /** * Include backup.js file in page before rendering * * @see Mage_Core_Block_Abstract::_prepareLayout() */ protected function _prepareLayout() { $this->getLayout()->getBlock('head')->addJs('mage/adminhtml/backup.js'); parent::_prepareLayout(); } }