Be more strict on shaper checking and what is written to config. Clean up whitespace while here.

This commit is contained in:
Ermal Lui 2009-11-03 17:12:29 +00:00
parent 154deb0278
commit f5881023b3
2 changed files with 1339 additions and 1130 deletions

File diff suppressed because it is too large Load Diff

View File

@ -375,7 +375,7 @@ if ($queue || $altq || $newqueue) {
$output .= "<tr><td valign=\"top\" class=\"vncellreq\"><br>";
$output .= "Enable/Disable";
$output .= "</td><td class=\"vncellreq\">";
$output .= " <input type=\"checkbox\" id=\"enabled\" name=\"enabled\"";
$output .= " <input type=\"checkbox\" id=\"enabled\" name=\"enabled\" value=\"enabled\"";
if ($queue)
if ($queue->GetEnabled())
$output .= " CHECKED";