summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-14 21:39:56 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-14 21:39:56 +0000
commitb7487e384d47b4ca444844c972be83c77ad4ea74 (patch)
tree51123982e7761051d6a4cabb8832e797a7fd5cb5
parent4b4e9e8e45465012805854dd322431f87f2b09c7 (diff)
convert single quotes to double quotes for consistency.
-rw-r--r--core/controllers/admin.php14
1 files changed, 7 insertions, 7 deletions
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;
}
}