Modified to remove most hidden vars, now using app_session

This commit is contained in:
Miles Lott 2001-07-08 13:59:26 +00:00
parent 4ded93b5fb
commit c4b724eeeb
4 changed files with 36 additions and 80 deletions

View File

@ -11,12 +11,6 @@
</form> </form>
<form action="{cancel_url}" method="post"> <form action="{cancel_url}" method="post">
<td> <td>
<input type="hidden" name="ab_id" value="{ab_id}">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="query" value="{query}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="Cancel" value="{lang_cancel}"> <input type="submit" name="Cancel" value="{lang_cancel}">
</td> </td>
</form> </form>

View File

@ -1,11 +1,8 @@
<!-- BEGIN edit --> <!-- BEGIN edit -->
<input type="hidden" name="ab_id" value="{ab_id}"> <input type="hidden" name="entry[ab_id]" value="{ab_id}">
<input type="hidden" name="sort" value="{sort}"> <input type="hidden" name="entry[tid]" value="{tid}">
<input type="hidden" name="order" value="{order}"> <input type="hidden" name="entry[referer]" value="{referer}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="query" value="{query}">
<input type="hidden" name="start" value="{start}">
<table border="0" cellPadding="1" cellSpacing="1" width="95%"> <table border="0" cellPadding="1" cellSpacing="1" width="95%">
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -15,21 +12,11 @@
</TD> </TD>
<td align="left" width="7%"> <td align="left" width="7%">
{cancel_link} {cancel_link}
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="query" value="{query}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="cancel" value="{lang_cancel}"></form> <input type="submit" name="cancel" value="{lang_cancel}"></form>
</td> </td>
<td align="right"> <td align="right">
{delete_link} {delete_link}
<input type="hidden" name="ab_id" value="{ab_id}"> <input type="hidden" name="entry[ab_id]" value="{ab_id}">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="query" value="{query}">
<input type="hidden" name="start" value="{start}">
{delete_button} {delete_button}
</form> </form>
</td> </td>

View File

@ -8,32 +8,32 @@
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font color="{row_text}" face="" size="-1">{lang_prefix}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_prefix}:</font></td>
<td colspan="3"> <td colspan="3">
<font size="-1"><input size="10" name="prefix" value="{prefix}"></font> <font size="-1"><input size="10" name="entry[prefix]" value="{prefix}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font color="{row_text}" face="" size="-1">{lang_firstname}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_firstname}:</font></td>
<td> <td>
<font size="-1"><input name="firstname" value="{firstname}"></font> <font size="-1"><input name="entry[firstname]" value="{firstname}"></font>
</td> </td>
<td><font color="{row_text}" face="" size="-1">{lang_middle}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_middle}:</font></td>
<td> <td>
<font size="-1"><input name="middle" value="{middle}"></font> <font size="-1"><input name="entry[middle]" value="{middle}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font color="{row_text}" face="" size="-1">{lang_lastname}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_lastname}:</font></td>
<td colspan="3"> <td colspan="3">
<font size="-1"><input name="lastname" value="{lastname}"></font> <font size="-1"><input name="entry[lastname]" value="{lastname}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font color="{row_text}" face="" size="-1">{lang_suffix}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_suffix}:</font></td>
<td colspan="3"> <td colspan="3">
<font size="-1"><input size="10" name="suffix" value="{suffix}"></font> <font size="-1"><input size="10" name="entry[suffix]" value="{suffix}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
@ -50,7 +50,7 @@
<font color="{row_text}" face="" size="-1">{lang_title}:</font> <font color="{row_text}" face="" size="-1">{lang_title}:</font>
</td> </td>
<td colspan="3"> <td colspan="3">
<font size="-1"><input name="title" value="{title}"></font> <font size="-1"><input name="entry[title]" value="{title}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
@ -59,11 +59,11 @@
<font color="{row_text}" face="" size="-1">{lang_company}:</font> <font color="{row_text}" face="" size="-1">{lang_company}:</font>
</td> </td>
<td> <td>
<font size="-1"><input size="30" name="company" value="{company}"></font> <font size="-1"><input size="30" name="entry[company]" value="{company}"></font>
</td> </td>
<td colspan="2"> <td colspan="2">
<font color="{row_text}" face="" size="-1">{lang_url}:</font> <font color="{row_text}" face="" size="-1">{lang_url}:</font>
<input size="30" name="url" value="{url}"> <input size="30" name="entry[url]" value="{url}">
</td> </td>
</tr> </tr>
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
@ -72,7 +72,7 @@
<font color="{row_text}" face="" size="-1">{lang_email}: <font color="{row_text}" face="" size="-1">{lang_email}:
</td> </td>
<td> <td>
<font size="-1"><input size="30" name="email" value="{email}"></font> <font size="-1"><input size="30" name="entry[email]" value="{email}"></font>
</td> </td>
<td colspan="2"> <td colspan="2">
<font color="{row_text}" face="" size="-1">{lang_email_type}:</font> <font color="{row_text}" face="" size="-1">{lang_email_type}:</font>
@ -85,45 +85,45 @@
<font color="{row_text}" face="" size="-1">{lang_department}:</font> <font color="{row_text}" face="" size="-1">{lang_department}:</font>
</td> </td>
<td colspan="3"> <td colspan="3">
<font size="-1"><input name="department" value="{department}"></font> <font size="-1"><input name="entry[department]" value="{department}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font face="" size="-1">{lang_bstreet}:</font></td> <td><font face="" size="-1">{lang_bstreet}:</font></td>
<td colspan="3"> <td colspan="3">
<font size="-1"><input size="30" name="bstreet" value="{bstreet}"></font> <font size="-1"><input size="30" name="entry[bstreet]" value="{bstreet}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font face="" size="-1">{lang_address2}:</font></td> <td><font face="" size="-1">{lang_address2}:</font></td>
<td colspan="3"> <td colspan="3">
<font size="-1"><input size="30" name="address2" value="{address2}"></font> <font size="-1"><input size="30" name="entry[address2]" value="{address2}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font face="" size="-1">{lang_address3}:</font></td> <td><font face="" size="-1">{lang_address3}:</font></td>
<td colspan="3"> <td colspan="3">
<font size="-1"><input size="30" name="address3" value="{address3}"></font> <font size="-1"><input size="30" name="entry[address3]" value="{address3}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font face="" size="-1">{lang_bcity}:</font></td> <td><font face="" size="-1">{lang_bcity}:</font></td>
<td> <td>
<font size="-1"><input size="30" name="bcity" value="{bcity}"></font> <font size="-1"><input size="30" name="entry[bcity]" value="{bcity}"></font>
</td> </td>
<td colspan="2"><font color="{row_text}" face="" size="-1">{lang_bstate}:</font> <td colspan="2"><font color="{row_text}" face="" size="-1">{lang_bstate}:</font>
<font size="-1"><input name="bstate" value="{bstate}"></font> <font size="-1"><input name="entry[bstate]" value="{bstate}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font face="" size="-1">{lang_bzip}:</font></td> <td><font face="" size="-1">{lang_bzip}:</font></td>
<td colspan="3"> <td colspan="3">
<font size="-1"><input size="10" name="bzip" value="{bzip}"></font> <font size="-1"><input size="10" name="entry[bzip]" value="{bzip}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
@ -147,44 +147,44 @@
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font color="{row_text}" face="" size="-1">{lang_wphone}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_wphone}:</font></td>
<td> <td>
<font size="-1"><input name="wphone" value="{wphone}"></font>{pref_work} <font size="-1"><input name="entry[wphone]" value="{wphone}"></font>{pref_work}
</td> </td>
<td><font color="{row_text}" face="" size="-1">{lang_fax}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_fax}:</font></td>
<td> <td>
<font size="-1"><input name="fax" value="{fax}"></font>{pref_fax} <font size="-1"><input name="entry[fax]" value="{fax}"></font>{pref_fax}
</td> </td>
</tr> </tr>
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font color="{row_text}" face="" size="-1">{lang_pager}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_pager}:</font></td>
<td> <td>
<font size="-1"><input name="pager" value="{pager}"></font>{pref_pager} <font size="-1"><input name="entry[pager]" value="{pager}"></font>{pref_pager}
</td> </td>
<td><font color="{row_text}" face="" size="-1">{lang_mphone}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_mphone}:</font></td>
<td> <td>
<font size="-1"><input name="mphone" value="{mphone}"></font>{pref_cell} <font size="-1"><input name="entry[mphone]" value="{mphone}"></font>{pref_cell}
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font color="{row_text}" face="" size="-1">{lang_msgphone}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_msgphone}:</font></td>
<td> <td>
<font size="-1"><input name="msgphone" value="{msgphone}"></font>{pref_msg} <font size="-1"><input name="entry[msgphone]" value="{msgphone}"></font>{pref_msg}
</td> </td>
<td><font color="{row_text}" face="" size="-1">{lang_isdnphone}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_isdnphone}:</font></td>
<td> <td>
<font size="-1"><input name="isdnphone" value="{isdnphone}"></font>{pref_isdn} <font size="-1"><input name="entry[isdnphone]" value="{isdnphone}"></font>{pref_isdn}
</td> </td>
</tr> </tr>
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font color="{row_text}" face="" size="-1">{lang_carphone}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_carphone}:</font></td>
<td> <td>
<font size="-1"><input name="carphone" value="{carphone}"></font>{pref_car} <font size="-1"><input name="entry[carphone]" value="{carphone}"></font>{pref_car}
</td> </td>
<td><font color="{row_text}" face="" size="-1">{lang_vidphone}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_vidphone}:</font></td>
<td> <td>
<font size="-1"><input name="vidphone" value="{vidphone}"></font>{pref_video} <font size="-1"><input name="entry[vidphone]" value="{vidphone}"></font>{pref_video}
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
@ -205,7 +205,7 @@
<td> <td>
<font color="{row_text}" face="" size="-1">{lang_hemail}:</font> <font color="{row_text}" face="" size="-1">{lang_hemail}:</font>
</td> </td>
<td><font size="-1"><input size="30" name="hemail" value="{hemail}"></font></td> <td><font size="-1"><input size="30" name="entry[hemail]" value="{hemail}"></font></td>
<td colspan="2"><font color="{row_text}" face="" size="-1">{lang_hemail_type}:</font> <td colspan="2"><font color="{row_text}" face="" size="-1">{lang_hemail_type}:</font>
<font size="-1">{hemail_type}</font> <font size="-1">{hemail_type}</font>
</td> </td>
@ -213,24 +213,24 @@
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font face="" size="-1">{lang_hstreet}:</font></td> <td><font face="" size="-1">{lang_hstreet}:</font></td>
<td colspan="3"><font size="-1"><input size="30" name="hstreet" value="{hstreet}"></font></td> <td colspan="3"><font size="-1"><input size="30" name="entry[hstreet]" value="{hstreet}"></font></td>
</tr> </tr>
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font face="" size="-1">{lang_hcity}:</font></td> <td><font face="" size="-1">{lang_hcity}:</font></td>
<td> <td>
<font size="-1"><input size="30" name="hcity" value="{hcity}"></font> <font size="-1"><input size="30" name="entry[hcity]" value="{hcity}"></font>
</td> </td>
<td><font color="{row_text}" face="" size="-1">{lang_hstate}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_hstate}:</font></td>
<td> <td>
<font size="-1"><input name="hstate" value="{hstate}"></font> <font size="-1"><input name="entry[hstate]" value="{hstate}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font face="" size="-1">{lang_hzip}:</font></td> <td><font face="" size="-1">{lang_hzip}:</font></td>
<td colspan="3"> <td colspan="3">
<font size="-1"><input size="10" name="hzip" value="{hzip}"></font> <font size="-1"><input size="10" name="entry[hzip]" value="{hzip}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
@ -251,10 +251,10 @@
<td>&nbsp;</td> <td>&nbsp;</td>
<td><font color="{row_text}" face="" size="-1">{lang_hphone}:</font></td> <td><font color="{row_text}" face="" size="-1">{lang_hphone}:</font></td>
<td> <td>
<font size="-1"><input name="hphone" value="{hphone}"></font>{pref_home} <font size="-1"><input name="entry[hphone]" value="{hphone}"></font>{pref_home}
</td> </td>
<td colspan="2"><font color="{row_text}" face="" size="-1">{lang_ophone}:</font> <td colspan="2"><font color="{row_text}" face="" size="-1">{lang_ophone}:</font>
<font size="-1"><input name="ophone" value="{ophone}"></font> <font size="-1"><input name="entry[ophone]" value="{ophone}"></font>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">
@ -264,7 +264,7 @@
<tr bgcolor="{row_on}"> <tr bgcolor="{row_on}">
<td><font size="-1">{lang_private}:</font></td> <td><font size="-1">{lang_private}:</font></td>
<td colspan="4"> <td colspan="4">
<input type="checkbox" name="access" value="True"{access_check}> <input type="checkbox" name="entry[access]" value="True"{access_check}>
</td> </td>
</tr> </tr>
<tr bgcolor="{row_off}"> <tr bgcolor="{row_off}">

View File

@ -5,11 +5,6 @@
<br>{searchreturn} <br>{searchreturn}
<form action="{cats_url}" method="POST"> <form action="{cats_url}" method="POST">
{cats}{cats_link} {cats}{cats_link}
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="query" value="{query}">
<input type="hidden" name="start" value="{start}">
<noscript><input type="submit" name="cats" value="{lang_cats}"></noscript> <noscript><input type="submit" name="cats" value="{lang_cats}"></noscript>
</form> </form>
{search_filter} {search_filter}
@ -67,46 +62,26 @@
<tr bgcolor="{th_bg}"> <tr bgcolor="{th_bg}">
<form action="{add_url}" method="post"> <form action="{add_url}" method="post">
<td width="16%"> <td width="16%">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="Add" value="{lang_add}"> <input type="submit" name="Add" value="{lang_add}">
</td> </td>
</form> </form>
<form action="{vcard_url}" method="post"> <form action="{vcard_url}" method="post">
<td width="16%"> <td width="16%">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="AddVcard" value="{lang_addvcard}"> <input type="submit" name="AddVcard" value="{lang_addvcard}">
</td> </td>
</form> </form>
<form action="{import_url}" method="post"> <form action="{import_url}" method="post">
<td width="16%"> <td width="16%">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="Import" value="{lang_import}"> <input type="submit" name="Import" value="{lang_import}">
</td> </td>
</form> </form>
<form action="{import_alt_url}" method="post"> <form action="{import_alt_url}" method="post">
<td width="16%"> <td width="16%">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="Import" value="{lang_import_alt}"> <input type="submit" name="Import" value="{lang_import_alt}">
</td> </td>
</form> </form>
<form action="{export_url}" method="post"> <form action="{export_url}" method="post">
<td width="16%"> <td width="16%">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="Export" value="{lang_export}"> <input type="submit" name="Export" value="{lang_export}">
</td> </td>
</form> </form>