diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-23 23:24:40 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-23 23:24:40 +0000 |
commit | 417333356a9293ce0b927d5dd08a4820658bd915 (patch) | |
tree | d9c6c705eb14337ac9c4dfa78c391967a6e6910f /views/default/forms/useradd.php | |
parent | c78063361a3d46aecc7c8e6747937ac2360bd003 (diff) | |
download | elgg-417333356a9293ce0b927d5dd08a4820658bd915.tar.gz elgg-417333356a9293ce0b927d5dd08a4820658bd915.tar.bz2 |
updated more of the admin backend to use new CSS/HTML
git-svn-id: http://code.elgg.org/elgg/trunk@7920 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/forms/useradd.php')
-rw-r--r-- | views/default/forms/useradd.php | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/views/default/forms/useradd.php b/views/default/forms/useradd.php index 7c1969f1b..8ed0fc2cc 100644 --- a/views/default/forms/useradd.php +++ b/views/default/forms/useradd.php @@ -11,21 +11,31 @@ if ((get_loggedin_user()->isAdmin()) && ($vars['show_admin'])) { $admin_option = true; } -$form_body = "<p><label>" . elgg_echo('name') . "<br />" . elgg_view('input/text' , array('internalname' => 'name')) . "</label></p>"; -$form_body .= "<p><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text' , array('internalname' => 'username')) . "</label></p>"; -$form_body .= "<p><label>" . elgg_echo('email') . "<br />" . elgg_view('input/text' , array('internalname' => 'email')) . "</label></p>"; -$form_body .= "<p><label>" . elgg_echo('password') . "<br />" . elgg_view('input/password' , array('internalname' => 'password')) . "</label></p>"; -$form_body .= "<p><label>" . elgg_echo('passwordagain') . "<br />" . elgg_view('input/password' , array('internalname' => 'password2')) . "</label></p>"; +$form_body = "<p><label>" . elgg_echo('name') . "</label><br />" . elgg_view('input/text' , array('internalname' => 'name')) . "</p>"; +$form_body .= "<p><label>" . elgg_echo('username') . "</label><br />" . elgg_view('input/text' , array('internalname' => 'username')) . "</p>"; +$form_body .= "<p><label>" . elgg_echo('email') . "</label><br />" . elgg_view('input/text' , array('internalname' => 'email')) . "</p>"; +$form_body .= "<p><label>" . elgg_echo('password') . "</label><br />" . elgg_view('input/password' , array('internalname' => 'password')) . "</p>"; +$form_body .= "<p><label>" . elgg_echo('passwordagain') . "</label><br />" . elgg_view('input/password' , array('internalname' => 'password2')) . "</p>"; $form_body .= "<p>"; if ($admin_option) { $form_body .= elgg_view('input/checkboxes', array('internalname' => "admin", 'options' => array(elgg_echo('admin_option')))); + $form_body .= '</p><p>'; } $form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "</p>"; ?> -<div class="admin_settings add-user"> - <h3><?php echo elgg_echo('adduser'); ?></h3> - <?php echo elgg_view('input/form', array('action' => "action/useradd", 'body' => $form_body)) ?> +<div class="elgg-module elgg-inline-module"> + <div class="elgg-head"> + <h3><?php echo elgg_echo('adduser'); ?></h3> + </div> + <div class="elgg-body"> + <?php + echo elgg_view('input/form', array( + 'action' => "action/useradd", + 'body' => $form_body, + )); + ?> + </div> </div>
\ No newline at end of file |