aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/users/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin/users/add.php')
-rw-r--r--views/default/admin/users/add.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/default/admin/users/add.php b/views/default/admin/users/add.php
index 83cad6106..6d22b9c29 100644
--- a/views/default/admin/users/add.php
+++ b/views/default/admin/users/add.php
@@ -3,4 +3,7 @@
* Display an add user form.
*/
-echo elgg_view('forms/useradd', array('show_admin'=>true)); \ No newline at end of file
+$title = elgg_echo('adduser');
+$body = elgg_view_form('useradd', array(), array('show_admin' => true));
+
+echo elgg_view_module('inline', $title, $body); \ No newline at end of file