Revision: 6505 http://ipcop.svn.sourceforge.net/ipcop/?rev=6505&view=rev Author: eoberlander Date: 2012-03-23 18:08:23 +0000 (Fri, 23 Mar 2012) Log Message: ----------- Fix some HTML validation errors, and alter Legend table to IPCop style.
Modified Paths: -------------- ipcop/trunk/html/cgi-bin/urlfilter.cgi Modified: ipcop/trunk/html/cgi-bin/urlfilter.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/urlfilter.cgi 2012-03-21 21:17:37 UTC (rev 6504) +++ ipcop/trunk/html/cgi-bin/urlfilter.cgi 2012-03-23 18:08:23 UTC (rev 6505) @@ -1720,9 +1720,9 @@ <td width='2%' align='center'>$Lang::tr{'friday short'}</td> <td width='2%' align='center'>$Lang::tr{'saturday short'}</td> <td width='1%'> </td> - <td width='7%' colspan=3>$Lang::tr{'from'}</td> + <td width='7%' colspan='3'>$Lang::tr{'from'}</td> <td width='1%'> </td> - <td width='7%' colspan=3>$Lang::tr{'to'}</td> + <td width='7%' colspan='3'>$Lang::tr{'to'}</td> <td> </td> </tr> <tr> @@ -1816,13 +1816,13 @@ </tr> </table> -<br> +<br /> <table width='100%'> <tr> <td width='5%'>$Lang::tr{'source'}</td> <td width='1%'> </td> - <td width='5%'>$Lang::tr{'destination'} <img src='/blob.gif' alt='*'><img src='/blob.gif' alt='*'></td> + <td width='5%'>$Lang::tr{'destination'} <img src='/blob.gif' alt='*' /><img src='/blob.gif' alt='*' /></td> <td width='1%'> </td> <td width='5%'>$Lang::tr{'access'}</td> <td> </td> @@ -1898,7 +1898,7 @@ <td> </td> </tr> <tr> - <td>$Lang::tr{'remark'} <img src='/blob.gif' alt='*'></td> + <td>$Lang::tr{'remark'} <img src='/blob.gif' alt='*' /></td> <td> </td> <td> </td> <td> </td> @@ -2025,11 +2025,11 @@ if ($temp[14] eq 'block') { $led = 'led-red.gif'; - $ldesc = 'block access'; + $ldesc = $Lang::tr{'block'}; } else { $led = 'led-green.gif'; - $ldesc = 'allow access'; + $ldesc = $Lang::tr{'allow'}; } undef $time; @@ -2086,10 +2086,10 @@ print <<END <td align='center'>$temp[0]</td> - <td align='center' nowrap>$time</td> + <td align='center' nowrap='nowrap'>$time</td> <td align='center'>$temp[12]</td> <td align='center'>$temp[13]</td> - <td align='center'><image src='/images/$led' alt='$ldesc' /></td> + <td align='center'><img src='/images/$led' alt='$ldesc' /></td> <td align='center'> <form method='post' name='frma$id' action='$ENV{'SCRIPT_NAME'}'> @@ -2160,21 +2160,21 @@ <table> <tr> - <td class='boldbase'> <b>$Lang::tr{'legend'}:</b></td> - <td> <img src='/images/led-green.gif' alt='allow access' /></td> - <td class='base'>$Lang::tr{'allow'}</td> - <td> <img src='/images/led-red.gif' alt='block access' /></td> - <td class='base'>$Lang::tr{'block'}</td> - <td> <img src='/images/on.gif' alt='$Lang::tr{'click to disable'}' /></td> - <td class='base'>$Lang::tr{'click to disable'}</td> - <td> <img src='/images/off.gif' alt='$Lang::tr{'click to enable'}' /></td> - <td class='base'>$Lang::tr{'click to enable'}</td> - <td> <img src='/images/edit.gif' alt='$Lang::tr{'edit'}' /></td> - <td class='base'>$Lang::tr{'edit'}</td> - <td> <img src='/images/copy.gif' alt='$Lang::tr{'copy rule'}' /></td> - <td class='base'>$Lang::tr{'copy rule'}</td> - <td> <img src='/images/delete.gif' alt='$Lang::tr{'remove'}' /></td> - <td class='base'>$Lang::tr{'remove'}</td> + <td class='boldbase'> $Lang::tr{'legend'}:</td> + <td align='right'> <img src='/images/led-green.gif' alt='$Lang::tr{'allow'}' /></td> + <td class='base' align='left'>$Lang::tr{'allow'}</td> + <td align='right'> <img src='/images/led-red.gif' alt='$Lang::tr{'block'}' /></td> + <td class='base' align='left'>$Lang::tr{'block'}</td> + <td align='right'> <img src='/images/on.gif' alt='$Lang::tr{'click to disable'}' /></td> + <td class='base' align='left'>$Lang::tr{'click to disable'}</td> + <td align='right'> <img src='/images/off.gif' alt='$Lang::tr{'click to enable'}' /></td> + <td class='base' align='left'>$Lang::tr{'click to enable'}</td> + <td align='right'> <img src='/images/edit.gif' alt='$Lang::tr{'edit'}' /></td> + <td class='base' align='left'>$Lang::tr{'edit'}</td> + <td align='right'> <img src='/images/copy.gif' alt='$Lang::tr{'copy rule'}' /></td> + <td class='base' align='left'>$Lang::tr{'copy rule'}</td> + <td align='right'> <img src='/images/delete.gif' alt='$Lang::tr{'remove'}' /></td> + <td class='base' align='left'>$Lang::tr{'remove'}</td> </tr> </table> END @@ -2274,7 +2274,6 @@ <td class='base'><input type='checkbox' name='ENABLEQUOTA' $checked{'ENABLEQUOTA'}{'on'} /></td> </tr> </table> -<p> <table width='100%'> <!-- no blank fields visible, at present... @@ -2600,7 +2599,7 @@ <td><input type='submit' name='ACTION' value='$Lang::tr{'urlfilter install blacklist'}' /></td> </tr> <tr> - <td class='base' colspan='4'><br>$Lang::tr{'urlfilter install information'}</td> + <td class='base' colspan='4'><br />$Lang::tr{'urlfilter install information'}</td> </tr> </table> <hr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn