/** * The index action. * * @access public * @return void */ public function action_index() { $data = array(); list($data['list'], $data['pagination']) = \Site_Model::get_pagenation_list('content_page'); $this->set_title_and_breadcrumbs(term('content.page', 'site.management'), array('admin/content' => term('site.content', 'site.management'))); $this->template->subtitle = \View::forge('_parts/subtitle_edit', array('uri' => 'admin/content/page/create')); $this->template->content = \View::forge('content/page/list', $data); }
/** * The index action. * * @access public * @return void */ public function action_index() { $data = array(); list($data['list'], $data['pagination']) = \Site_Model::get_pagenation_list('member'); $this->template->layout = 'wide'; $this->set_title_and_breadcrumbs(term('member.view', 'site.management')); $this->template->content = \View::forge('member/list', $data); }
/** * The index action. * * @access public * @return void */ public function action_index() { $is_draft = \Input::get('is_draft', 0); $is_published = \Util_toolkit::reverse_bool($is_draft, true); $data = array(); $data['is_draft'] = $is_draft; list($data['list'], $data['pagination']) = \Site_Model::get_pagenation_list('news', array('related' => 'news_category')); $this->template->layout = 'wide'; $this->set_title_and_breadcrumbs(term('news.view', 'site.management')); $this->template->subtitle = \View::forge('news/_parts/list_subtitle'); $this->template->content = \View::forge('news/list', $data); }