Moved Add account item to same page location as other manager screens

This commit is contained in:
shrykedude 2003-11-05 10:35:53 +00:00
parent a24f0e0f48
commit b9f26e9216
2 changed files with 7 additions and 11 deletions

View File

@ -260,7 +260,8 @@
if (! $GLOBALS['phpgw']->acl->check('account_access',4,'admin'))
{
$p->set_var('url_add','<a href="'.$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.add_user').'">' . lang('Add') . '</a>');
$p->set_var('new_action',$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.add_user'));
$p->set_var('input_add','<input type="submit" value="' . lang('Add') . '">');
}
if (! $GLOBALS['phpgw']->acl->check('account_access',2,'admin'))

View File

@ -1,15 +1,5 @@
<!-- BEGIN list -->
<p>
<div align="center">
<table border="0" width="70%">
<tr>
<td align="right">
{url_add}
</td>
</tr>
</table>
</div>
<br>
<div align="center">
<table border="0" width="70%">
<tr>
@ -39,6 +29,11 @@
<div align="center">
<table border="0" width="70%">
<tr>
<td align="left">
<form method="POST" action="{new_action}">
{input_add}
</form>
</td>
<td align="right">
<form method="POST" action="{accounts_url}">
{input_search}