Ejemplo n.º 1
0
 public function init()
 {
     parent::init();
     $this->_password = Model_Config::getConfig('adminpass');
     $this->view->action = $this->_getParam('action', 'index');
     $this->_helper->layout()->setLayout('admin');
     $this->view->menu_menu = '';
     $this->view->menu_page = '';
     $this->view->menu_gallery = '';
     $this->view->menu_blogentry = '';
     $this->view->menu_medialib = '';
     $this->view->menu_config = '';
     $this->view->action = $this->_getParam('action');
     if ($this->view->action != 'login') {
         $this->checkLogin();
     }
 }
Ejemplo n.º 2
0
 public function init()
 {
     parent::init();
     $this->view->showvideo = false;
 }