convert single quotes to double quotes for consistency.

This commit is contained in:
Bharat Mediratta
2008-12-14 21:39:56 +00:00
parent 4b4e9e8e45
commit b7487e384d
+7 -7
View File
@@ -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;
}
}