mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
Cleaned up the templates
This commit is contained in:
parent
71e21b9377
commit
4602e18fe1
@ -23,10 +23,11 @@
|
|||||||
// creates the html for the user data
|
// creates the html for the user data
|
||||||
function createPageBody($_account_id)
|
function createPageBody($_account_id)
|
||||||
{
|
{
|
||||||
global $phpgw,$phpgw_info;
|
global $phpgw,$phpgw_info;
|
||||||
|
|
||||||
$t = new Template($phpgw->common->get_tpl_dir("admin"));
|
$t = new Template($phpgw->common->get_tpl_dir("admin"));
|
||||||
$t->set_file(array("form" => "account_form.tpl"));
|
$t->set_unknowns('remove');
|
||||||
|
$t->set_file(array("form" => "account_form.tpl"));
|
||||||
|
|
||||||
$account = CreateObject('phpgwapi.accounts',$_account_id);
|
$account = CreateObject('phpgwapi.accounts',$_account_id);
|
||||||
$userData = $account->read_repository();
|
$userData = $account->read_repository();
|
||||||
@ -45,7 +46,7 @@
|
|||||||
$t->set_var("lang_lastname",lang("Last Name"));
|
$t->set_var("lang_lastname",lang("Last Name"));
|
||||||
$t->set_var("lang_groups",lang("Groups"));
|
$t->set_var("lang_groups",lang("Groups"));
|
||||||
$t->set_var("lang_firstname",lang("First Name"));
|
$t->set_var("lang_firstname",lang("First Name"));
|
||||||
$t->set_var("lang_button",lang('Save'));
|
$t->set_var("lang_button",lang('Save'));
|
||||||
|
|
||||||
$t->set_var("n_loginid_value",$userData["account_lid"]);
|
$t->set_var("n_loginid_value",$userData["account_lid"]);
|
||||||
$t->set_var("n_passwd_value",$n_passwd);
|
$t->set_var("n_passwd_value",$n_passwd);
|
||||||
@ -127,7 +128,7 @@
|
|||||||
|
|
||||||
$t->set_var("permissions_list",$appRightsOutput);
|
$t->set_var("permissions_list",$appRightsOutput);
|
||||||
|
|
||||||
$t->pparse('out','form');
|
echo $t->finish($t->parse('out','form'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// stores the userdata
|
// stores the userdata
|
||||||
@ -518,8 +519,8 @@
|
|||||||
}
|
}
|
||||||
if (!$includedSomething) $t->set_var('gui_hooks','');
|
if (!$includedSomething) $t->set_var('gui_hooks','');
|
||||||
|
|
||||||
$t->set_var("lang_button",lang('Save'));
|
$t->set_var('lang_button',lang('Save'));
|
||||||
$t->pparse('out','form');
|
echo $t->finish($t->parse('out','form'));
|
||||||
|
|
||||||
account_close();
|
account_close();
|
||||||
$phpgw->common->phpgw_footer();
|
$phpgw->common->phpgw_footer();
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<form method="POST" action="{form_action}">
|
<form method="POST" action="{form_action}">
|
||||||
<center>
|
<center>
|
||||||
<table border=0 width=65%>
|
<table border=0 width=85%>
|
||||||
<tr bgcolor="{th_bg}">
|
<tr bgcolor="{th_bg}">
|
||||||
<td colspan="4"> </td>
|
<td colspan="4"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<tr bgcolor="{tr_color2}">
|
<tr bgcolor="{tr_color2}">
|
||||||
<td>{lang_groups}</td>
|
<td>{lang_groups}</td>
|
||||||
<td>{groups_select}</td>
|
<td>{groups_select} </td>
|
||||||
<td colspan=2> </td>
|
<td colspan=2> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<form method="POST" action="{form_action}">
|
<form method="POST" action="{form_action}">
|
||||||
<center>
|
<center>
|
||||||
<table border=0 width=65%>
|
<table border=0 width=85%>
|
||||||
<tr bgcolor="{th_bg}">
|
<tr bgcolor="{th_bg}">
|
||||||
<td colspan="4"> </td>
|
<td colspan="4"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<tr bgcolor="{tr_color2}">
|
<tr bgcolor="{tr_color2}">
|
||||||
<td>{lang_groups}</td>
|
<td>{lang_groups}</td>
|
||||||
<td>{groups_select}</td>
|
<td>{groups_select} </td>
|
||||||
<td colspan=2> </td>
|
<td colspan=2> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user