*/ class Mage_Adminhtml_SalesController extends Mage_Adminhtml_Controller_Action { /** * Additional initialization * */ protected function _construct() { $this->setUsedModuleName('Mage_Sales'); } public function indexAction() { $this->loadLayout(); $this->_setActiveMenu('sales'); $block = $this->getLayout()->createBlock('adminhtml/sales', 'sales'); $this->_addContent($block); $this->_addBreadcrumb($this->__('Sales'), $this->__('Sales')); $this->_addBreadcrumb($this->__('Orders'), $this->__('Orders')); $this->renderLayout(); } protected function _isAllowed() { return Mage::getSingleton('admin/session')->isAllowed('sales'); } }