diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-07 21:46:26 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-07 21:46:26 -0700 |
commit | 3a0413901fb4422fb34d786ba935dc63486bd187 (patch) | |
tree | d2cd6d507b25f287076aa6fc055907b0b6f1f23e | |
parent | 62ad5c26854bc53566e5941c0a410789b891545f (diff) |
Forgot to save these before the last commit
-rw-r--r-- | modules/gallery/config/identity.php | 2 | ||||
-rw-r--r-- | modules/gallery/controllers/admin_users.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/config/identity.php b/modules/gallery/config/identity.php index 72d1b589..0479d08b 100644 --- a/modules/gallery/config/identity.php +++ b/modules/gallery/config/identity.php @@ -32,6 +32,6 @@ */ $config["default"] = array ( "driver" => "gallery", - "allow_updates" => false, + "allow_updates" => true, "params" => array(), ); diff --git a/modules/gallery/controllers/admin_users.php b/modules/gallery/controllers/admin_users.php index 6c72440a..9b7c81f1 100644 --- a/modules/gallery/controllers/admin_users.php +++ b/modules/gallery/controllers/admin_users.php @@ -21,6 +21,7 @@ class Admin_Users_Controller extends Admin_Controller { public function index() { $view = new Admin_View("admin.html"); $view->content = new View("admin_users.html"); + $view->content->writable = user::is_writable(); $view->content->users = user::users(array("orderby" => array("name" => "ASC"))); $view->content->groups = group::groups(array("orderby" => array("name" => "ASC"))); print $view; |