summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormckenzierobotics.org <mckenzierobotics.org@zapp.tigertech.net>2011-09-22 20:34:41 -0700
committermckenzierobotics.org <mckenzierobotics.org@zapp.tigertech.net>2011-09-22 20:34:41 -0700
commit98f65a9b001382720d16b34c18256c20410a627c (patch)
tree34a1d35797c4c9be78a75a5a19e64239e1e1923f
parentfef0de218e9485ea3db394f3e173b3c64a0463a8 (diff)
whitespace fix
-rw-r--r--src/controllers/Users.class.php22
1 files 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);
}