Cleaned up the templates

This commit is contained in:
jengo 2001-02-12 18:16:09 +00:00
parent 71e21b9377
commit 4602e18fe1
3 changed files with 11 additions and 10 deletions

View File

@ -26,6 +26,7 @@
global $phpgw,$phpgw_info;
$t = new Template($phpgw->common->get_tpl_dir("admin"));
$t->set_unknowns('remove');
$t->set_file(array("form" => "account_form.tpl"));
$account = CreateObject('phpgwapi.accounts',$_account_id);
@ -127,7 +128,7 @@
$t->set_var("permissions_list",$appRightsOutput);
$t->pparse('out','form');
echo $t->finish($t->parse('out','form'));
}
// stores the userdata
@ -518,8 +519,8 @@
}
if (!$includedSomething) $t->set_var('gui_hooks','');
$t->set_var("lang_button",lang('Save'));
$t->pparse('out','form');
$t->set_var('lang_button',lang('Save'));
echo $t->finish($t->parse('out','form'));
account_close();
$phpgw->common->phpgw_footer();

View File

@ -3,7 +3,7 @@
<form method="POST" action="{form_action}">
<center>
<table border=0 width=65%>
<table border=0 width=85%>
<tr bgcolor="{th_bg}">
<td colspan="4">&nbsp;</td>
</tr>
@ -33,7 +33,7 @@
<tr bgcolor="{tr_color2}">
<td>{lang_groups}</td>
<td>{groups_select}</td>
<td>{groups_select}&nbsp;</td>
<td colspan=2>&nbsp;</td>
</tr>

View File

@ -3,7 +3,7 @@
<form method="POST" action="{form_action}">
<center>
<table border=0 width=65%>
<table border=0 width=85%>
<tr bgcolor="{th_bg}">
<td colspan="4">&nbsp;</td>
</tr>
@ -33,7 +33,7 @@
<tr bgcolor="{tr_color2}">
<td>{lang_groups}</td>
<td>{groups_select}</td>
<td>{groups_select}&nbsp;</td>
<td colspan=2>&nbsp;</td>
</tr>