示例#1
0
 public function action_admin()
 {
     $view = new View('kwalbum/browse/index');
     Model_Kwalbum_Item::append_where('hide_level', 5);
     $view->items = Model_Kwalbum_Item::get_thumbnails($this->page_number, $this->in_edit_mode);
     $this->template->content = $view;
     $this->template->title = 'browsing admin permissioned';
 }