From 5c2af694ded96faba0e74a3c2d2d548faa6ebb9f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 28 Sep 2011 20:43:34 -0700 Subject: Move the contact info to above the plugin-configurable area on the individual user page. --- src/views/pages/users/individual.html.php | 24 +++++++----------------- 1 file 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(); -- cgit v1.2.3-2-g168b