*/ class Mage_Adminhtml_Media_EditorController extends Mage_Adminhtml_Controller_Action { public function indexAction() { $this->loadLayout(); $this->_addContent( $this->getLayout()->createBlock('adminhtml/media_editor') ); $this->renderLayout(); } protected function _isAllowed() { return Mage::getSingleton('admin/session')->isAllowed('media'); } }