public function action_index() { $site = Helper_Game::getSite(); $this->template->content = View::factory("trophy/index"); $this->template->content->awards = Helper_Game::alphebetizeHonors($site->awards); $this->template->content->badges = Helper_Game::alphebetizeHonors($site->badges); $this->template->sidebar = Widget::factory()->add(Helper_Default::sidebar()); }
public function action_index() { $this->template->content = View::factory('admin/awards/index'); $this->template->content->set(array('awards' => Helper_Game::alphebetizeHonors($this->site->awards))); $this->template->sidebar = Widget::factory()->add(Helper_Default::admin_sidebar()); }