From 95f133d26953df3256509d2ae02be477a93de9c9 Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Wed, 3 Apr 2013 18:17:06 +0100 Subject: Tidy up "firewall_schedule_edit,php" XHTML Add CDATA section to SCRIPT tags Close BR and INPUT tags Tidy up HTML tags to lower case Tidy up HTML boolean operators Spelling mistake --- usr/local/www/firewall_schedule_edit.php | 90 ++++++++++++++++---------------- 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/firewall_schedule_edit.php b/usr/local/www/firewall_schedule_edit.php index a9d0b67..7e50f56 100644 --- a/usr/local/www/firewall_schedule_edit.php +++ b/usr/local/www/firewall_schedule_edit.php @@ -209,7 +209,7 @@ include("head.inc"); /* using some of the $pfSenseHead function calls */ $jscriptstr = << - +//"; + td.innerHTML=""; tr.appendChild(td); td = d.createElement("td"); - td.innerHTML=""; + td.innerHTML=""; tr.appendChild(td); td = d.createElement("td"); - td.innerHTML=""; + td.innerHTML=""; tr.appendChild(td); td = d.createElement("td"); @@ -629,7 +629,7 @@ function insertElements(tempFriendlyTime, starttimehour, starttimemin, stoptimeh tr.appendChild(td); td = d.createElement("td"); - td.innerHTML=""; + td.innerHTML=""; tr.appendChild(td); tbody.appendChild(tr); @@ -751,7 +751,7 @@ function removeRow(el) { } } } - +//]]> EOD; ?> @@ -781,7 +781,7 @@ EOD;

-
+
@@ -790,15 +790,15 @@ EOD; -
+
- - + @@ -820,7 +820,7 @@ EOD; $monthcounter++; } } ?> -

+

-
" z-index:-1000; style="position:relative; display:"> - - - - - - - - - - - - +
" style=" position:relative; display:"> +
+ + + + + + + + + + + "; } if ($firstdayofmonth == $positioncounter){?> - "; + echo ""; } if ($positioncounter ==7){ @@ -886,7 +886,7 @@ EOD; } }//end while loop?> -
+ "; } elseif ($firstdayprinted == TRUE && $daycounter <= $numberofdays){?> - + "; } else { - echo "
+
- +
@@ -939,7 +939,7 @@ EOD; for ($i=0; $i<24; $i++) { if ($i==23) - $selected = "SELECTED"; + $selected = "selected=\"selected\""; else $selected = ""; @@ -954,17 +954,17 @@ EOD; - +   -

+
-
+
@@ -973,8 +973,8 @@ EOD;   - " class="formbtn" onclick="javascript:processEntries();">    - " class="formbtn" onclick="javascript:clearCalendar(); clearTime(); clearDescr();"> + " class="formbtn" onclick="javascript:processEntries();" />    + " class="formbtn" onclick="javascript:clearCalendar(); clearTime(); clearDescr();" /> @@ -991,10 +991,10 @@ EOD; - - - - + + + + - +
- + - + - + /images/icons/icon_e.gif' /> @@ -1136,7 +1136,7 @@ EOD; /images/icons/icon_x.gif' /> - +
@@ -1164,4 +1164,4 @@ EOD; - \ No newline at end of file + -- cgit v1.1