From b7487e384d47b4ca444844c972be83c77ad4ea74 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 14 Dec 2008 21:39:56 +0000 Subject: convert single quotes to double quotes for consistency. --- core/controllers/admin.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'core/controllers') diff --git a/core/controllers/admin.php b/core/controllers/admin.php index 6625de37..44848028 100644 --- a/core/controllers/admin.php +++ b/core/controllers/admin.php @@ -19,10 +19,10 @@ */ class Admin_Controller extends Controller { public $template = null; - + public function __construct() { if (!(user::active()->admin)) { - throw new Exception("Unauthorized", 401); + throw new Exception("Unauthorized", 401); } // For now, in order not to duplicate js and css, keep the regular ("item") // theme in addition to admin theme. @@ -35,17 +35,17 @@ class Admin_Controller extends Controller { $this->template->item_theme = $item_theme; parent::__construct(); } - + public function dashboard() { $this->template->subpage = "dashboard.html"; print $this->template; } - + public function list_users() { - $this->template->set_global('users', ORM::factory("user")->find_all()); - + $this->template->set_global("users", ORM::factory("user")->find_all()); + $this->template->subpage = "list_users.html"; - print $this->template; + print $this->template; } } -- cgit v1.2.3