Example #1
0
 public function after($response)
 {
     $response = parent::after($response);
     $this->post($this->template->content->tplname(), 'admin');
     $this->template->set_global('menu', View_Smarty::forge("admin/parts/menu", []));
     $this->template->set_global('top', View_Smarty::forge("admin/parts/top", ['user' => $this->get_user()]));
     $this->template->set_global('header', View_Smarty::forge("admin/parts/header", []));
     $this->template->set_global('footer', View_Smarty::forge("admin/parts/footer", []));
     Model_Db_Operationlog::write('admin', Model_Db_Admin::by_session(), $this->request->action);
     return $response;
 }
Example #2
0
 public function after($response)
 {
     $response = parent::after($response);
     $this->post($this->template->content->tplname());
     return $response;
 }