/** * Displays the default "profile" page */ public function index() { // Cacheable Controller $this->is_cachable = TRUE; $this->template->header->this_page = 'profile'; $this->template->content = new View('profile_browse'); $this->template->content->users = User_Model::get_public_users(); $this->template->header->header_block = $this->themes->header_block(); }
/** * Displays the default "profile" page */ public function index() { // Cacheable Controller $this->is_cachable = TRUE; $this->template->header->this_page = 'profile'; $this->template->content = new View('profile/main'); $this->template->content->users = User_Model::get_public_users(); $this->template->header->page_title .= Kohana::lang('ui_main.browse_profiles') . Kohana::config('settings.title_delimiter'); }