Fix up the background for non-CSS browsers, and fix up the news archive search

forms.
This commit is contained in:
Jeff Teunissen 2002-04-09 20:38:00 +00:00
parent 286d224a22
commit 31f4ddb415
2 changed files with 11 additions and 11 deletions

View file

@ -62,11 +62,11 @@
?><TD align="center"><?
tableHeader("100%", featureBgColor);
?>
<TR vAlign="middle">
<TD align="center">
<TR width="100%" vAlign="middle">
<TD class="inside" align="center">
<STRONG>Month:</STRONG>
</TD>
<TD align="center">
<TD class="inside" align="center">
<SELECT name="month">
<?
for ( $i = 1 ; $i < 13 ; $i++ ) {
@ -75,10 +75,10 @@
?>
</SELECT>
</TD>
<TD align="center">
<TD class="inside" align="center">
<STRONG>Year:</STRONG>
</TD>
<TD align="center">
<TD class="inside" align="center">
<SELECT name="year">
<?
if ($year == "")
@ -90,8 +90,8 @@
</SELECT>
</TD>
</TR>
<TR vAlign="middle">
<TD align="center" colSpan="4">
<TR width="100%" vAlign="middle">
<TD class="inside" align="center" colSpan="4">
<INPUT type="submit" value="Search">
</TD>
</TR>
@ -112,17 +112,17 @@
tableHeader("100%", featureBgColor);
?>
<TR vAlign="middle">
<TD align="center">
<TD class="inside" align="center">
<STRONG>String:</STRONG>
</TD>
<TD align="center">
<TD class="inside" align="center">
<?
printf ("<INPUT name=\"string\" type=\"text\" size=\"25\" value=\"%s\">", $string);
?>
</TD>
</TR>
<TR vAlign="middle">
<TD align="center" colSpan="2">
<TD class="inside" align="center" colSpan="2">
<INPUT TYPE="submit" VALUE="Search">
</TD>
</TR>

View file

@ -34,7 +34,7 @@
*/
function tableBoxHeader ($bgColor, $borderColor)
{
echo '<TABLE width="100%" border="0" cellPadding="2" class="featureBox">';
echo '<TABLE width="100%" border="0" cellPadding="2" bgColor="' . $bgColor . '" class="featureBox">';
}
/*