From e2ecdb543fdf4ac0adf7097c979e74950c39165e Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 15 Dec 2010 02:15:39 +0000 Subject: moved account forms into forms directory git-svn-id: http://code.elgg.org/elgg/trunk@7623 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/forms/useradd.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 views/default/forms/useradd.php (limited to 'views/default/forms/useradd.php') diff --git a/views/default/forms/useradd.php b/views/default/forms/useradd.php new file mode 100644 index 000000000..7c1969f1b --- /dev/null +++ b/views/default/forms/useradd.php @@ -0,0 +1,31 @@ +isAdmin()) && ($vars['show_admin'])) { + $admin_option = true; +} + +$form_body = "

"; +$form_body .= "

"; +$form_body .= "

"; +$form_body .= "

"; +$form_body .= "

"; +$form_body .= "

"; + +if ($admin_option) { + $form_body .= elgg_view('input/checkboxes', array('internalname' => "admin", 'options' => array(elgg_echo('admin_option')))); +} + +$form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "

"; +?> + +
+

+ "action/useradd", 'body' => $form_body)) ?> +
\ No newline at end of file -- cgit v1.2.3