From 98f65a9b001382720d16b34c18256c20410a627c Mon Sep 17 00:00:00 2001 From: "mckenzierobotics.org" Date: Thu, 22 Sep 2011 20:34:41 -0700 Subject: whitespace fix --- src/controllers/Users.class.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/controllers/Users.class.php b/src/controllers/Users.class.php index ed6f739..fbce874 100644 --- a/src/controllers/Users.class.php +++ b/src/controllers/Users.class.php @@ -9,9 +9,9 @@ Router::register('users/*' , 'Users', 'individual'); class Users extends Controller { public static $illegal_names = array('', 'new', 'index'); - + // Index Views /////////////////////////////////////////////// - + public function index($routed, $remainder) { return $this->index_dir($routed, $remainder); } @@ -48,9 +48,9 @@ class Users extends Controller { } $this->show_index($routed, $remainder); } - + // Other Views /////////////////////////////////////////////// - + /** * Handle GETing the new user form. * @@ -172,7 +172,7 @@ class Users extends Controller { } } } - + /** * This will parse POST (really, PUT) data to update a single user */ @@ -230,23 +230,23 @@ class Users extends Controller { // Change groups /////////////////////////////////////////////// $this->confArray($user, 'groups'); - + return $vars; } - + private function confArray($user, $key) { if (isset($_POST[$key]) && is_array($_POST[$key])) { $user->setConfArray($key, $_POST[$key]); } } - + private function confText($user, $name) { if (isset($_POST["user_$name"])) { $user->setConf($name, $_POST["user_$name"]); } } - - + + /** * This will parse POST (really, PUT) data to update multiple users. */ @@ -345,7 +345,7 @@ class Users extends Controller { break; } } - + function attrib($key, $name) { return array('key'=>$key, 'name'=>$name); } -- cgit v1.2.3