_title($this->__('Customers'))->_title($this->__('Online Customers')); if($this->getRequest()->getParam('ajax')) { $this->_forward('grid'); return; } $this->loadLayout(); $this->_setActiveMenu('customer/online'); $this->_addContent($this->getLayout()->createBlock('adminhtml/customer_online', 'customers')); $this->_addBreadcrumb(Mage::helper('customer')->__('Customers'), Mage::helper('customer')->__('Customers')); $this->_addBreadcrumb(Mage::helper('customer')->__('Online Customers'), Mage::helper('customer')->__('Online Customers')); $this->renderLayout(); } protected function _isAllowed() { return Mage::getSingleton('admin/session')->isAllowed('customer/online'); } }