aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/useradd.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 16:58:10 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 16:58:10 +0000
commitc10f7d3cf0aa68d2325199ba787702e125907c11 (patch)
treeae1b1a58936f6b177b27708b7eda46cbfa2fdf87 /views/default/forms/useradd.php
parente036de6ceab5f57b0f502b8400ab05e32e96562b (diff)
downloadelgg-c10f7d3cf0aa68d2325199ba787702e125907c11.tar.gz
elgg-c10f7d3cf0aa68d2325199ba787702e125907c11.tar.bz2
Refs #2032 core forms use divs
git-svn-id: http://code.elgg.org/elgg/trunk@8164 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/forms/useradd.php')
-rw-r--r--views/default/forms/useradd.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/views/default/forms/useradd.php b/views/default/forms/useradd.php
index 9032da73e..9926bb437 100644
--- a/views/default/forms/useradd.php
+++ b/views/default/forms/useradd.php
@@ -13,19 +13,19 @@ if ((elgg_get_logged_in_user_entity()->isAdmin()) && ($vars['show_admin'])) {
$admin_option = true;
}
-$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>";
+$form_body = "<div><label>" . elgg_echo('name') . "</label><br />" . elgg_view('input/text' , array('internalname' => 'name')) . "</div>";
+$form_body .= "<div><label>" . elgg_echo('username') . "</label><br />" . elgg_view('input/text' , array('internalname' => 'username')) . "</div>";
+$form_body .= "<div><label>" . elgg_echo('email') . "</label><br />" . elgg_view('input/text' , array('internalname' => 'email')) . "</div>";
+$form_body .= "<div><label>" . elgg_echo('password') . "</label><br />" . elgg_view('input/password' , array('internalname' => 'password')) . "</div>";
+$form_body .= "<div><label>" . elgg_echo('passwordagain') . "</label><br />" . elgg_view('input/password' , array('internalname' => 'password2')) . "</div>";
+$form_body .= "<div>";
if ($admin_option) {
$form_body .= elgg_view('input/checkboxes', array('internalname' => "admin", 'options' => array(elgg_echo('admin_option'))));
- $form_body .= '</p><p>';
+ $form_body .= '</div><div>';
}
-$form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "</p>";
+$form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "</div>";
?>
<div class="elgg-module elgg-module-inline">