getIsAuthenticated()) { $this->_redirect('*/*/auth'); } else if( $this->getRequest()->getParam('logout') && Mage::helper('bmbleb/Account')->getIsAuthenticated() ) { $this->_redirect('bmbleb/logout/logout'); return; } elseif($this->getRequest()->getParam('harvest')) { $this->_redirect('*/*/index'); } elseif($this->getRequest()->getParam('killharvest')) { Springbot_Boss::halt(); $this->_redirect('*/*/status'); } elseif ($problems = Mage::helper('bmbleb/PluginStatus')->getPluginProblems()) { $this->_redirect('*/adminhtml_problems/index'); } } public function indexAction() { $this->loadLayout(); $this->_setActiveMenu('springbot_bmbleb'); $this->renderLayout(); $this->_redirect('*/*/status'); return; } public function connectedtospringbotAction() { $this->_init(); $this->loadLayout(); $this->_setActiveMenu('springbot_bmbleb'); $this->renderLayout(); return; } public function loginAction() { $this->_init(); $this->loadLayout(); $this->_setActiveMenu('springbot_bmbleb'); $this->renderLayout(); return; } public function authAction() { $this->loadLayout(); $this->_setActiveMenu('springbot_bmbleb'); $this->renderLayout(); return; } public function statusAction() { $this->_init(); $this->loadLayout(); $this->_setActiveMenu('springbot_bmbleb'); $this->renderLayout(); return; } }