Revision: 2801
http://ipcop.svn.sourceforge.net/ipcop/?rev=2801&view=rev
Author: owes
Date: 2009-05-05 20:12:48 +0000 (Tue, 05 May 2009)
Log Message:
-----------
Fix several html validation errors.
Add link to online manual, we'll sure need to give the admin some assistance
here.
Modified Paths:
--------------
ipcop/trunk/html/cgi-bin/fwrules.cgi
Modified: ipcop/trunk/html/cgi-bin/fwrules.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/fwrules.cgi 2009-05-05 20:02:53 UTC (rev
2800)
+++ ipcop/trunk/html/cgi-bin/fwrules.cgi 2009-05-05 20:12:48 UTC (rev
2801)
@@ -470,7 +470,7 @@
print <<END;
<table>
<tr>
- <td class='boldbase'> <b>$Lang::tr{'legend'}:</b></td>
+ <td class='boldbase'> $Lang::tr{'legend'}:</td>
<td align='right'> <img src='/images/logging.gif'
alt='$Lang::tr{'logging'} $Lang::tr{'click to disable'}' /></td>
<td class='base' align='left'>$Lang::tr{'logging'} $Lang::tr{'click to
disable'}</td>
<td align='right'> <img src='/images/loggingoff.gif'
alt='$Lang::tr{'logging'} $Lang::tr{'click to enable'}' /></td>
@@ -562,35 +562,35 @@
</td>
</tr>
<tr>
- <td width='1%' class='boldbase' align='center'><b>#</b></td>
- <td width='4%' class='boldbase' align='center'><b>$Lang::tr{'net br
iface'}</b></td>
- <td width='$widthAdr%' class='boldbase'
align='center'><b>$Lang::tr{'source'}</b></td>
+ <td width='1%' class='boldbase' align='center'>#</td>
+ <td width='4%' class='boldbase' align='center'>$Lang::tr{'net br
iface'}</td>
+ <td width='$widthAdr%' class='boldbase'
align='center'>$Lang::tr{'source'}</td>
END
if($type eq 'PORTFW') {
print <<END;
- <td width='2%' class='boldbase' align='center'><b></b> </td>
- <td width='$widthAdr%' class='boldbase'
align='center'><b>$Lang::tr{'pfw ipcop destination'}</b></td>
+ <td width='2%' class='boldbase' align='center'> </td>
+ <td width='$widthAdr%' class='boldbase'
align='center'>$Lang::tr{'pfw ipcop destination'}</td>
END
}
print <<END;
- <td width='2%' class='boldbase'
align='center'><b>$Lang::tr{'log'}:</b></td>
- <td width='2%' class='boldbase' align='center'><b></b> </td>
+ <td width='2%' class='boldbase' align='center'>$Lang::tr{'log'}:</td>
+ <td width='2%' class='boldbase' align='center'> </td>
END
if (($type ne 'INPUT' && $type ne 'EXTERNAL'))
{
print <<END;
- <td width='5%' class='boldbase' align='center'><b>$Lang::tr{'net br
iface'}</b></td>
+ <td width='5%' class='boldbase' align='center'>$Lang::tr{'net br
iface'}</td>
END
}
print <<END;
- <td width='$widthAdr%' class='boldbase'
align='center'><b>$dst_text</b></td>
- <td width='$widthRemark%' class='boldbase'
align='center'><b>$Lang::tr{'remark'}</b></td>
+ <td width='$widthAdr%' class='boldbase' align='center'>$dst_text</td>
+ <td width='$widthRemark%' class='boldbase'
align='center'>$Lang::tr{'remark'}</td>
END
- my $actionTitle = "<b>$Lang::tr{'action'}</b>";
+ my $actionTitle = "$Lang::tr{'action'}";
$actionTitle = '' if ($printMode ne 'all');
print <<END;
@@ -915,7 +915,7 @@
print "<tr bgcolor='${Header::table2colour}'>\n";
}
}
- my $options = "<b>$Lang::tr{'adv options'} :</b> ";
+ my $options = "$Lang::tr{'adv options'} : ";
if ($rule->{'MATCH_STRING_ON'} eq 'on') {
if ($rule->{'INV_MATCH_STRING'} eq 'on') {
$options .=
@@ -987,7 +987,7 @@
print <<END;
<td colspan='2' class='boldbase'></td>
<td colspan='13' class='boldbase' align='left'>
- <b>$Lang::tr{'rule active'}:</b>
+ $Lang::tr{'rule active'}:
$dayText
$startHour:$startMinute
@@ -1961,13 +1961,13 @@
</form>
</td>
<td align='left' width='90%'></td>
+ <td width='5%' align='right'>
+ <a href='${General::adminmanualurl}/firewall.html#section-fwrules'
target='_blank'><img src='/images/web-support.png' alt='$Lang::tr{'online help
en'}' title='$Lang::tr{'online help en'}' /></a>
+ </td>
</tr>
</table>
-</form>
END
- &printHiddenFormParams('addNewRule');
- print "</form>";
&Header::closebox();
}
@@ -2070,9 +2070,7 @@
<form method='post' action='$ENV{'SCRIPT_NAME'}'>
<table width='100%'>
<tr>
- <td class='base' >
- <b>$Lang::tr{'source'}</b>
- </td>
+ <td class='boldbase'>$Lang::tr{'source'}</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='5' border='0'>
@@ -2446,9 +2444,7 @@
print <<END;
<table width='100%'>
<tr>
- <td class='base' >
- <b>$Lang::tr{'pfw ipcop destination'}</b>
- </td>
+ <td class='boldbase'>$Lang::tr{'pfw ipcop destination'}</td>
</tr>
</table>
@@ -2625,8 +2621,7 @@
print <<END;
<table width='100%'>
<tr>
- <td class='base' >
- <b>$destination_text</b>
+ <td class='boldbase' >$destination_text
</td>
</tr>
</table>
@@ -3127,7 +3122,7 @@
print <<END;
<table width='100%' cellpadding='0' cellspacing='5' border='0'>
<tr>
- <td class='base' ><b>$Lang::tr{'additional'}</b></td>
+ <td class='boldbase' >$Lang::tr{'additional'}</td>
</tr>
</table>
@@ -3205,7 +3200,7 @@
</tr>
<tr>
<td width='4%' class='base' ></td>
- <td class='base' ><b>$Lang::tr{'adv options'}</b></td>
+ <td class='boldbase' >$Lang::tr{'adv options'}</td>
</tr>
<tr>
<td width='4%' class='base' ></td>
@@ -3305,7 +3300,7 @@
<td bgcolor='#000000' colspan='2'><img src='/images/null.gif'
width='1' height='2' border='0' alt='--------' /></td>
</tr>
<tr>
- <td class='base' ><b>$Lang::tr{'add timeframe'}</b></td>
+ <td class='boldbase' >$Lang::tr{'add timeframe'}</td>
</tr>
</table>
@@ -3974,9 +3969,9 @@
<table width='100%' cellpadding='0' cellspacing='5' border='0'>
<tr>
<td colspan='2' class='base'>
- <font class='boldbase'><b>$Lang::tr{'source'}:</b></font>
+ <font class='boldbase'>$Lang::tr{'source'}:</font>
</td>
- <td class='base' ><b></b></td>
+ <td class='boldbase' > </td>
</tr>
<tr>
<td width='2%' class='base' ></td>
@@ -4024,7 +4019,7 @@
</tr>
<tr>
<td colspan='3' class='base'>
- <font class='boldbase'><b>$Lang::tr{'pfw ipcop
destination'}:</b></font>
+ <font class='boldbase'>$Lang::tr{'pfw ipcop destination'}:</font>
</td>
</tr>
<tr>
@@ -4032,14 +4027,14 @@
<td class='base' >
<font class='boldbase'>$Lang::tr{'alias ip'}:</font>
</td>
- <td class='base' ><b>$cgiparams{'PORTFW_EXT_ADR'}</b></td>
+ <td class='boldbase' >$cgiparams{'PORTFW_EXT_ADR'}</td>
</tr>
<tr>
<td class='base' ></td>
<td class='base' >
<font class='boldbase'>$Lang::tr{'service'}:</font>
</td>
- <td class='base' ><b>$ext_service</b></td>
+ <td class='boldbase'>$ext_service</td>
</tr>
END
@@ -4050,10 +4045,8 @@
<td colspan='3' class='base'> </td>
</tr>
<tr>
- <td colspan='2' class='base'>
- <font class='boldbase'><b>$destination_text: </b></font>
- </td>
- <td class='base' ><b>$ruleTypeTxt</b></td>
+ <td colspan='2' class='boldbase'>$destination_text: </td>
+ <td class='boldbase'>$ruleTypeTxt</td>
</tr>
END
if ($cgiparams{'RULETYPE'} eq 'FORWARD' || $cgiparams{'RULETYPE'} eq
'DMZHOLES' || $cgiparams{'RULETYPE'} eq 'PORTFW') {
@@ -4123,7 +4116,7 @@
<td class='base' >
<font class='boldbase'>$Lang::tr{'service'}:</font>
</td>
- <td class='base' ><b>$dst_service</b></td>
+ <td class='boldbase'>$dst_service</td>
</tr>
END
}
@@ -4156,7 +4149,7 @@
<td colspan='2' class='base'>
<font class='boldbase'>$Lang::tr{'rule action'}:</font>
</td>
- <td class='base' ><b>$ruleAction</b></td>
+ <td class='boldbase'>$ruleAction</td>
</tr>
<tr>
<td colspan='2' class='base'>
@@ -4178,7 +4171,7 @@
<td colspan='2' class='base'>
<font class='boldbase'>$Lang::tr{'remark title'}: </font>
</td>
- <td class='base' ><b>$cgiparams{'REMARK'}</b></td>
+ <td class='boldbase'>$cgiparams{'REMARK'}</td>
</tr>
<tr>
<td colspan='2' class='base'>
@@ -4258,28 +4251,20 @@
</tr>
<tr>
<td class='base'></td>
- <td class='base'>
- <font class='boldbase'>$Lang::tr{'days'}:</font>
- </td>
- <td class='base' >
- <b>
- $dayText
- </b>
- </td>
+ <td class='boldbase'>$Lang::tr{'days'}:</td>
+ <td class='boldbase'>$dayText</td>
</tr>
<tr>
<td class='base'></td>
<td class='base'>
<font class='boldbase'>$Lang::tr{'daytime'}:</font>
</td>
- <td class='base' >
- <b>
- $startHour:$startMinute
-
- $Lang::tr{'days to'}
-
- $endHour:$endMinute
- </b>
+ <td class='boldbase'>
+ $startHour:$startMinute
+
+ $Lang::tr{'days to'}
+
+ $endHour:$endMinute
</td>
</tr>
<tr>
@@ -4331,18 +4316,14 @@
<td colspan='2' class='base'>
<font class='boldbase'>Match limit:</font>
</td>
- <td class='base' >
- <b>$limitFor</b>
- </td>
+ <td class='boldbase'>$limitFor</td>
</tr>
<tr>
<td class='base'></td>
<td class='base'>
<font class='boldbase'>$limitOption</font>
</td>
- <td class='base' >
- <b>$limitValue</b>
- </td>
+ <td class='boldbase'>$limitValue</td>
</tr>
END
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn