Use css colors instead of setting row_on/off

This commit is contained in:
Miles Lott 2004-02-22 15:44:01 +00:00
parent bbbd26dc4b
commit 332edea855
2 changed files with 29 additions and 29 deletions

View File

@ -1,7 +1,7 @@
<!-- BEGIN header -->
<form method="POST" action="{action_url}">
<table border="0" align="center">
<tr bgcolor="{th_bg}">
<tr class="th">
<td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>
</tr>
<tr bgcolor="{th_err}">
@ -9,18 +9,18 @@
</tr>
<!-- END header -->
<!-- BEGIN body -->
<tr bgcolor="{th_bg}">
<tr class="th">
<td colspan="2">&nbsp;<b>{lang_Addressbook}/{lang_Contact_Settings}</b></font></td>
</tr>
<!--
<tr bgcolor="{row_on}">
<tr class="row_on">
<td>{lang_Contact_application}:</td>
<td><input name="newsettings[contact_application]" value="{value_contact_application}"></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td align="center" colspan="2">{lang_WARNING!!_LDAP_is_valid_only_if_you_are_NOT_using_contacts_for_accounts_storage!}</td>
</tr> -->
<tr bgcolor="{row_off}">
<tr class="row_off">
<td>{lang_Select_where_you_want_to_store}/{lang_retrieve_contacts}.</td>
<td>
<select name="newsettings[contact_repository]">
@ -29,25 +29,25 @@
</select>
</td>
</tr>
<tr bgcolor="{row_on}">
<tr class="row_on">
<td>{lang_LDAP_host_for_contacts}:</td>
<td><input name="newsettings[ldap_contact_host]" value="{value_ldap_contact_host}"></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td>{lang_LDAP_context_for_contacts}:</td>
<td><input name="newsettings[ldap_contact_context]" value="{value_ldap_contact_context}" size="40"></td>
</tr>
<tr bgcolor="{row_on}">
<tr class="row_on">
<td>{lang_LDAP_root_dn_for_contacts}:</td>
<td><input name="newsettings[ldap_contact_dn]" value="{value_ldap_contact_dn}" size="40"></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td>{lang_LDAP_root_pw_for_contacts}:</td>
<td><input name="newsettings[ldap_contact_pw]" type="password" value=""></td>
</tr>
<!-- END body -->
<!-- BEGIN footer -->
<tr bgcolor="{th_bg}">
<tr class="th">
<td colspan="2">
&nbsp;
</td>

View File

@ -2,13 +2,13 @@
<br>
<form method="POST" action="{action_url}">
<table border="0" align="center" cellspacing="1" cellpadding="1" width="98%">
<tr bgcolor="{th_bg}">
<tr class="th">
<td colspan="6" align="center"><font color="#000000" face="">{lang_fields}:</font></td>
</tr>
<tr bgcolor="{row_on}">
<tr class="row_on">
<td colspan="6"><font color="#000000" face="">{lang_personal}:</font></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td><input type="checkbox" name="prefs[fn]"{fn_checked}>{fn}</option></td>
<td><input type="checkbox" name="prefs[n_given]"{n_given_checked}>{n_given}</option></td>
<td><input type="checkbox" name="prefs[n_family]"{n_family_checked}>{n_family}</option></td>
@ -16,7 +16,7 @@
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td><input type="checkbox" name="prefs[n_prefix]"{n_prefix_checked}>{n_prefix}</option></td>
<td><input type="checkbox" name="prefs[n_suffix]"{n_suffix_checked}>{n_suffix}</option></td>
<td><input type="checkbox" name="prefs[bday]"{bday_checked}>{bday}</option></td>
@ -27,10 +27,10 @@
<tr>
<td>&nbsp;</td>
</tr>
<tr bgcolor="{row_on}">
<tr class="row_on">
<td colspan="6"><font color="#000000" face="">{lang_business}:</font></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td><input type="checkbox" name="prefs[org_name]"{org_name_checked}>{org_name}</option></td>
<td><input type="checkbox" name="prefs[org_unit]"{org_unit_checked}>{org_unit}</option></td>
<td><input type="checkbox" name="prefs[title]"{title_checked}>{title}</option></td>
@ -38,7 +38,7 @@
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td><input type="checkbox" name="prefs[adr_one_street]"{adr_one_street_checked}>{adr_one_street}</option></td>
<td><input type="checkbox" name="prefs[address2]"{address2_checked}>{address2}</option></td>
<td><input type="checkbox" name="prefs[address3]"{address3_checked}>{address3}</option></td>
@ -46,7 +46,7 @@
<td><input type="checkbox" name="prefs[adr_one_region]"{adr_one_region_checked}>{adr_one_region}</option></td>
<td><input type="checkbox" name="prefs[adr_one_postalcode]"{adr_one_postalcode_checked}>{adr_one_postalcode}</option></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td><input type="checkbox" name="prefs[adr_one_countryname]"{adr_one_countryname_checked}>{adr_one_countryname}</option></td>
<td><input type="checkbox" name="prefs[adr_two_type]"{adr_one_type_checked}>{adr_one_type}</option></td>
<td><input type="checkbox" name="prefs[tel_work]"{tel_work_checked}>{tel_work}</option></td>
@ -56,10 +56,10 @@
<tr>
<td>&nbsp;</td>
</tr>
<tr bgcolor="{row_on}">
<tr class="row_on">
<td colspan="6"><font color="#000000" face="">{lang_home}:</font></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td><input type="checkbox" name="prefs[adr_two_street]"{adr_two_street_checked}>{adr_two_street}</option></td>
<td><input type="checkbox" name="prefs[adr_two_locality]"{adr_two_locality_checked}>{adr_two_locality}</option></td>
<td><input type="checkbox" name="prefs[adr_two_region]"{adr_two_region_checked}>{adr_two_region}</option></td>
@ -67,7 +67,7 @@
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td><input type="checkbox" name="prefs[adr_two_countryname]"{adr_two_countryname_checked}>{adr_two_countryname}</option></td>
<td><input type="checkbox" name="prefs[adr_two_type]"{adr_two_type_checked}>{adr_two_type}</option></td>
<td><input type="checkbox" name="prefs[tel_home]"{tel_home_checked}>{tel_home}</option></td>
@ -77,10 +77,10 @@
<tr>
<td>&nbsp;</td>
</tr>
<tr bgcolor="{row_on}">
<tr class="row_on">
<td colspan="6"><font color="#000000" face="">{lang_phones}:</font></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td><input type="checkbox" name="prefs[tel_voice]"{tel_voice_checked}>{tel_voice}</option></td>
<td><input type="checkbox" name="prefs[tel_fax]"{tel_fax_checked}>{tel_fax}</option></td>
<td><input type="checkbox" name="prefs[tel_msg]"{tel_msg_checked}>{tel_msg}</option></td>
@ -88,7 +88,7 @@
<td><input type="checkbox" name="prefs[tel_pager]"{tel_pager_checked}>{tel_pager}</option></td>
<td><input type="checkbox" name="prefs[tel_bbs]"{tel_bbs_checked}>{tel_bbs}</option></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td><input type="checkbox" name="prefs[tel_modem]"{tel_modem_checked}>{tel_modem}</option></td>
<td><input type="checkbox" name="prefs[tel_car]"{tel_car_checked}>{tel_car}</option></td>
<td><input type="checkbox" name="prefs[tel_isdn]"{tel_isdn_checked}>{tel_isdn}</option></td>
@ -99,10 +99,10 @@
<tr>
<td>&nbsp;</td>
</tr>
<tr bgcolor="{row_on}">
<tr class="row_on">
<td colspan="6"><font color="#000000" face="">{lang_other}:</font></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td><input type="checkbox" name="prefs[geo]"{geo_checked}>{geo}</option></td>
<td><input type="checkbox" name="prefs[url]"{url_checked}>{url}</option></td>
<td><input type="checkbox" name="prefs[tz]"{tz_checked}>{tz}</option></td>
@ -114,10 +114,10 @@
<tr>
<td>&nbsp;</td>
</tr>
<tr bgcolor="{th_bg}">
<tr class="th">
<td colspan="6" align="center"><font color="#000000" face="">{lang_otherprefs}:</font></td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td>{lang_default_filter}</td>
<td>{filter_select}</td>
<td colspan="3">
@ -125,7 +125,7 @@
{lang_showbirthday}
</td>
</tr>
<tr bgcolor="{row_off}">
<tr class="row_off">
<td>{lang_defaultcat}</td>
<td>{cat_select}</td>
<td colspan="3">