summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2011-09-28 20:43:34 -0700
committerLuke Shumaker <lukeshu@sbcglobal.net>2011-09-28 20:43:34 -0700
commit5c2af694ded96faba0e74a3c2d2d548faa6ebb9f (patch)
tree977cdbb9fa019c0fb241411d7fef160cf6dd9d6b
parentff75fd84aca136360d05e4980a98718b9c4484b0 (diff)
Move the contact info to above the plugin-configurable area on the
individual user page.
-rw-r--r--src/views/pages/users/individual.html.php24
1 files changed, 7 insertions, 17 deletions
diff --git a/src/views/pages/users/individual.html.php b/src/views/pages/users/individual.html.php
index 8079616..f1c4efd 100644
--- a/src/views/pages/users/individual.html.php
+++ b/src/views/pages/users/individual.html.php
@@ -92,23 +92,6 @@ if ($user->canEdit()) $t->inputNewPassword('auth_password','Reset Password');
////////////////////////////////////////////////////////////////////////////////
$t->closeFieldset();
-/*
-$t->openFieldset("Information");
-inputText($user, 'firstname','First Name','');
-inputText($user, 'lastname','Last Name','');
-inputText($user, 'hsclass','Highschool Class of',
- 'Please put the full year (ex: 2012)');
-$t->closeFieldset();
-*/
-
-foreach ($VARS['config_options'] as $groupname=>$options) {
- $t->openFieldset($groupname);
- foreach ($options as $option) {
- inputField($user, $option);
- }
- $t->closeFieldset();
-}
-
$t->openFieldset("Contact");
// TODO: I should make this a setting for admins to set.
$hints = array('email'=>
@@ -133,6 +116,13 @@ $t->inputP("When I recieve a message, notify me using the following methods:");
inputArray($user, 'use', $use_arr);
$t->closeFieldSet();
+foreach ($VARS['config_options'] as $groupname=>$options) {
+ $t->openFieldset($groupname);
+ foreach ($options as $option) {
+ inputField($user, $option);
+ }
+ $t->closeFieldset();
+}
$t->openFieldSet('Groups');
$group_arr = array();