formatting

This commit is contained in:
bettina 2001-05-14 21:55:12 +00:00
parent bb1634be16
commit ed1da95900
6 changed files with 402 additions and 393 deletions

View File

@ -42,12 +42,12 @@
}
else
{
$hidden_vars = "<input type=\"hidden\" name=\"sort\" value=\"$sort\">\n"
. "<input type=\"hidden\" name=\"order\" value=\"$order\">\n"
. "<input type=\"hidden\" name=\"query\" value=\"$query\">\n"
. "<input type=\"hidden\" name=\"start\" value=\"$start\">\n"
. "<input type=\"hidden\" name=\"filter\" value=\"$filter\">\n"
. "<input type=\"hidden\" name=\"cat_id\" value=\"$cat_id\">\n";
$hidden_vars = '<input type="hidden" name="sort" value="' . $sort . '">' . "\n"
. '<input type="hidden" name="order" value="' . $order . '">' . "\n"
. '<input type="hidden" name="query" value="' . $query . '">' . "\n"
. '<input type="hidden" name="start" value="' . $start . '">' . "\n"
. '<input type="hidden" name="filter" value="' . $filter . '">' . "\n"
. '<input type="hidden" name="cat_id" value="' . $cat_id . '">' . "\n";
$t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
$t->set_file(array('category_delete' => 'delete_cat.tpl'));

View File

@ -28,12 +28,12 @@
$c = CreateObject('phpgwapi.categories');
$c->app_name = 'phpgw';
$hidden_vars = "<input type=\"hidden\" name=\"sort\" value=\"$sort\">\n"
. "<input type=\"hidden\" name=\"order\" value=\"$order\">\n"
. "<input type=\"hidden\" name=\"query\" value=\"$query\">\n"
. "<input type=\"hidden\" name=\"start\" value=\"$start\">\n"
. "<input type=\"hidden\" name=\"filter\" value=\"$filter\">\n"
. "<input type=\"hidden\" name=\"cat_id\" value=\"$cat_id\">\n";
$hidden_vars = '<input type="hidden" name="sort" value="' . $sort . '">' . "\n"
. '<input type="hidden" name="order" value="' . $order . '">' . "\n"
. '<input type="hidden" name="query" value="' . $query . '">' . "\n"
. '<input type="hidden" name="start" value="' . $start . '">' . "\n"
. '<input type="hidden" name="filter" value="' . $filter . '">' . "\n"
. '<input type="hidden" name="cat_id" value="' . $cat_id . '">' . "\n";
if ($submit)
{

View File

@ -1,13 +1,15 @@
<!-- $Id$ -->
<!-- BEGIN form -->
<center>
<table border="0" width="80%" cellspacing="2" cellpadding="2">
<tr>
<center>
<table border="0" width="80%" cellspacing="2" cellpadding="2">
<tr>
<td colspan="1" align="center" bgcolor="#c9c9c9"><b>{title_categories}<b/></td>
</tr>
</table>
{message}
<table border="0" width="80%" cellspacing="2" cellpadding="2">
</tr>
</table>
{message}
<table border="0" width="80%" cellspacing="2" cellpadding="2">
<form name="form" action="{actionurl}" method="POST">
<tr>
<td>{lang_main}</td>
@ -28,6 +30,7 @@
</table>
<!-- BEGIN add -->
<table width="50%" border="0" cellspacing="2" cellpadding="2">
<tr valign="bottom">
<td height="50" align="center">
@ -41,11 +44,12 @@
<input type="submit" name="done" value="{lang_done}"></form></td>
</tr>
</table>
</form>
</center>
<!-- END add -->
<!-- BEGIN edit -->
<table width="50%" border="0" cellspacing="2" cellpadding="2">
<tr valign="bottom">
<td height="50" align="center">
@ -62,5 +66,7 @@
</tr>
</table>
</center>
<!-- END edit -->
<!-- END form -->

View File

@ -1,4 +1,7 @@
<!-- $Id$ -->
<!-- BEGIN form -->
<center>
<table border="0" with="65%" cellpadding="2" cellspacing="2">
<form method="POST" action="{action_url}">

View File

@ -1,11 +1,12 @@
<!-- $Id$ -->
<center>
<table border="0" cellspacing="2" cellpadding="2">
<center>
<table border="0" cellspacing="2" cellpadding="2">
<tr>
<td colspan="4" align="center" bgcolor="#c9c9c9"><b>{title_categories}<b/></td>
</tr>
<tr>
<td colspan="4" align="left">
</tr>
<tr>
<td colspan="4" align="left">
<table border="0" width="100%">
<tr>
{left}
@ -35,19 +36,19 @@
<td>{descr}</td>
<td align="center"><a href="{edit}">{lang_edit_entry}</a></td>
<td align="center"><a href="{delete}">{lang_delete_entry}</td>
</tr>
</tr>
<!-- END cat_list -->
<!-- BEGINN add -->
<tr valign="bottom">
<tr valign="bottom">
<td>
<form method="POST" action="{add_action}">
<input type="submit" name="add" value="{lang_add}"></form>
</td>
</tr>
<tr valign="bottom">
<tr valign="bottom">
<td>
<form method="POST" action="{doneurl}">
<input type="submit" name="done" value="{lang_done}"></form>
@ -56,6 +57,5 @@
<!-- END add -->
</table>
</center>
</table>
</center>