From f4245bbc1115b18aaa568d7b92e5d55c95fc470c Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Tue, 9 Apr 2013 14:39:03 +0100 Subject: [PATCH] Tidy up "firewall_rules.php" XHTML Close INPUT, BR and IMG tags and add ALT to IMG tags Deprecate the ampersand in ANCHOR tags Move NOWRAP to class statement Add missing closing FONT Add missing opening and closing TR tags Add CDATA sections to SCRIPT tags --- usr/local/www/firewall_rules.php | 143 ++++++++++++++++--------------- 1 file changed, 73 insertions(+), 70 deletions(-) diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php index 60bc031b56..355c71f195 100755 --- a/usr/local/www/firewall_rules.php +++ b/usr/local/www/firewall_rules.php @@ -301,23 +301,22 @@ include("head.inc");
- +

You must apply the changes in order for them to take effect."), "apply" , gettext("Apply changes") , "firewall_rules.php?if={$_REQUEST['if']}&dragdroporder=true&{$dragtable}"); + print_info_box_np_undo(gettext("The firewall rule configuration has been changed.
You must apply the changes in order for them to take effect."), "apply" , gettext("Apply changes") , "firewall_rules.php?if={$_REQUEST['if']}&dragdroporder=true&{$dragtable}"); } else { - print_info_box_np(gettext("The firewall rule configuration has been changed.
You must apply the changes in order for them to take effect.")); + print_info_box_np(gettext("The firewall rule configuration has been changed.
You must apply the changes in order for them to take effect.")); } ?> -
+

- Loading, please wait... + loader Loading, please wait...

 

- " border="0"> - " onclick="return confirm('')"> + " border="0" alt="delete" /> + " onclick="return confirm('')" /> - " width="17" height="17" border="0"> + " width="17" height="17" border="0" alt="add" /> @@ -402,7 +401,7 @@ if($_REQUEST['undodrag']) { ?>   - + pass   *   - + - - + + - +
">" width="17" height="17" border="0">" alt="move" />" width="17" height="17" border="0" alt="edit" />
" width="17" height="17" border="0">" width="17" height="17" border="0" alt="add" />
@@ -434,7 +433,7 @@ if($_REQUEST['undodrag']) {   - +   * @@ -445,15 +444,15 @@ if($_REQUEST['undodrag']) { *   - + - - + + - +
">" width="17" height="17" border="0">" alt="edit" />" width="17" height="17" border="0" alt="edit" />
" width="17" height="17" border="0">" width="17" height="17" border="0" alt="add" />
@@ -462,7 +461,7 @@ if($_REQUEST['undodrag']) {   - + block   * @@ -473,21 +472,21 @@ if($_REQUEST['undodrag']) { * * - + - - + + - +
">" width="17" height="17" border="0">" alt="move" />" width="17" height="17" border="0" alt=" edit" />
" width="17" height="17" border="0">" width="17" height="17" border="0" alt="add" />
- + "; + $advanced_set = "\"avanced\""; else $advanced_set = ""; ?> - + @@ -522,14 +521,14 @@ if($_REQUEST['undodrag']) { $textss = $textse = ""; } ?> - "> + " alt="icon" /> -
+
icon "; + $sched_content .= $dayFriendly . "; " . $timeFriendly . "
"; } } $sched_caption_escaped = str_replace("'", "\'", $schedule['descr']); @@ -685,13 +684,13 @@ if($_REQUEST['undodrag']) { } } ?> - + - + - + - + - + - + - + - + {$desc}"; + echo "{$desc}"; $desc = $filterent['defaultqueue']; - echo "/{$desc}"; + echo "/{$desc}"; } else if (isset($filterent['defaultqueue'])) { $desc = $filterent['defaultqueue']; - echo "{$desc}"; + echo "{$desc}"; } else echo gettext("none"); ?> - -   - + + icon  + - +   - + - - + + - - + +
" onMouseOver="fr_insline(, true)" onMouseOut="fr_insline(, false)">" width="17" height="17" border="0">" onmouseover="fr_insline(, true)" onmouseout="fr_insline(, false)" />" width="17" height="17" border="0" alt="edit" />
" onclick="return confirm('Do you really want to delete this rule?')">" width="17" height="17" border="0">" onclick="return confirm('Do you really want to delete this rule?')" alt="delete" />" width="17" height="17" border="0" alt="add" />
- + + @@ -786,8 +786,9 @@ if($_REQUEST['undodrag']) {


- " border="0" width="17" height="17" align="absmiddle"> + " border="0" width="17" height="17" align="middle" alt="add" /> + @@ -809,17 +810,17 @@ if($_REQUEST['undodrag']) { + " border="0" alt="move" />" onmouseover="fr_insline(, true)" onmouseout="fr_insline(, false)" /> - +
- " border="0">" onMouseOver="fr_insline(, true)" onMouseOut="fr_insline(, false)">
- " border="0"> - " onclick="return confirm('')"> + " border="0" alt="delete" /> + " onclick="return confirm('')" /> " width="17" height="17" border="0">" width="17" height="17" border="0" alt="add" />
@@ -827,37 +828,37 @@ if($_REQUEST['undodrag']) { - + - + - + - + - - + + - - + + - - + + - - + +
pass block reject log
pass disabled  block disabled  reject disabled  log disabled
 

-
+

- +