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;
=gettext("NOTE: This schedule is in use so the name may not be modified!");?>
-
+
=gettext("The name of the alias may only consist of the characters a-z, A-Z and 0-9");?>
@@ -790,15 +790,15 @@ EOD;
=gettext("Description");?> |
-
+ |
=gettext("You may enter a description here for your reference (not parsed).");?>
|
-
-
+
=gettext("Month");?> |
@@ -820,7 +820,7 @@ EOD;
$monthcounter++;
}
} ?>
-
+
- " z-index:-1000; style="position:relative; display:">
-
- |
-
-
- =gettext("Mon");?> |
- =gettext("Tue");?> |
- =gettext("Wed");?> |
- =gettext("Thu");?> |
- =gettext("Fri");?> |
- =gettext("Sat");?> |
- =gettext("Sun");?> |
-
+ " style=" position:relative; display:">
+
+ |
+
+
+ =gettext("Mon");?> |
+ =gettext("Tue");?> |
+ =gettext("Wed");?> |
+ =gettext("Thu");?> |
+ =gettext("Fri");?> |
+ =gettext("Sat");?> |
+ =gettext("Sun");?> |
+
";
}
if ($firstdayofmonth == $positioncounter){?>
-
+ |
";
}
elseif ($firstdayprinted == TRUE && $daycounter <= $numberofdays){?>
- |
+ |
";
}
else
{
- echo " | | ";
+ echo " | ";
}
if ($positioncounter ==7){
@@ -886,7 +886,7 @@ EOD;
}
}//end while loop?>
-
+
| =gettext("Time");?> |
-
+
=gettext("Start Time");?> | | =gettext("Stop Time");?> |
@@ -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;
-
+
=gettext("Min");?>
-
+
=gettext("Select the time range for the day(s) selected on the Month(s) above. A full day is 0:00-23:59.")?>
|
=gettext("Time Range Description")?> |
-
+ |
=gettext("You may enter a description here for your reference (not parsed).")?>
@@ -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;
@@ -1164,4 +1164,4 @@ EOD;