mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Now using same tpl as new/edit
This commit is contained in:
parent
af032a9377
commit
a133e9b4ee
@ -61,3 +61,13 @@
|
||||
<td colspan="4" align="right"><input type="submit" name="submit" value="{lang_button}"></td>
|
||||
</tr>
|
||||
<!-- END form_buttons_ -->
|
||||
|
||||
<!-- BEGIN form_logininfo -->
|
||||
<tr bgcolor="{tr_color1}">
|
||||
<td>{lang_lastlogin}</td>
|
||||
<td>{account_lastlogin}</td>
|
||||
|
||||
<td>{lang_lastloginfrom}</td>
|
||||
<td>{account_lastloginfrom}</td>
|
||||
</tr>
|
||||
<!-- END form_logininfo -->
|
||||
|
@ -31,12 +31,11 @@
|
||||
Header('Location: ' . $phpgw->link('/admin/accounts.php'));
|
||||
}
|
||||
|
||||
$t = new Template($phpgw->common->get_tpl_dir('admin'));
|
||||
$t = new Template(PHPGW_APP_TPL);
|
||||
$t->set_unknowns('remove');
|
||||
$t->set_file(array(
|
||||
'form' => 'account_form.tpl',
|
||||
'form_logininfo' => 'account_form_logininfo.tpl'
|
||||
));
|
||||
$t->set_file(array('account' => 'account_form.tpl'));
|
||||
$t->set_block('account','form','form');
|
||||
$t->set_block('account','form_logininfo','form_logininfo');
|
||||
|
||||
$t->set_var('th_bg',$phpgw_info['theme']['th_bg']);
|
||||
$t->set_var('tr_color1',$phpgw_info['theme']['row_on']);
|
||||
|
Loading…
Reference in New Issue
Block a user