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} - | -
+ + |