From b9f26e9216782587c00d53032b2378a9050472ba Mon Sep 17 00:00:00 2001 From: shrykedude Date: Wed, 5 Nov 2003 10:35:53 +0000 Subject: [PATCH] Moved Add account item to same page location as other manager screens --- admin/inc/class.uiaccounts.inc.php | 3 ++- admin/templates/default/accounts.tpl | 15 +++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/admin/inc/class.uiaccounts.inc.php b/admin/inc/class.uiaccounts.inc.php index 15a4279b22..85ada21b83 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -260,7 +260,8 @@ if (! $GLOBALS['phpgw']->acl->check('account_access',4,'admin')) { - $p->set_var('url_add','' . lang('Add') . ''); + $p->set_var('new_action',$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.add_user')); + $p->set_var('input_add',''); } if (! $GLOBALS['phpgw']->acl->check('account_access',2,'admin')) diff --git a/admin/templates/default/accounts.tpl b/admin/templates/default/accounts.tpl index cb7e7a0384..57546d67fb 100644 --- a/admin/templates/default/accounts.tpl +++ b/admin/templates/default/accounts.tpl @@ -1,15 +1,5 @@

-

- - - - -
- {url_add} -
-
-
@@ -39,6 +29,11 @@
+
+
+ {input_add} +
+
{input_search}