summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph_settings.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2013-09-26 12:41:27 +0100
committerColin Fleming <cj_fleming@sky.com>2013-09-26 12:41:27 +0100
commit75f4bdbd31ee8472becf8002bef266184f79292c (patch)
treeebf551700ad66694f165c7141d1b4de4b12a437a /usr/local/www/status_rrd_graph_settings.php
parent9c43a910afe77d425d73073d5ed14878b32d9dd1 (diff)
downloadpfsense-75f4bdbd31ee8472becf8002bef266184f79292c.zip
pfsense-75f4bdbd31ee8472becf8002bef266184f79292c.tar.gz
Update "status_rrd_graph_settings.php" XHTML
Close INPUT tags Update HTML Boolean operators Update TABLE tag with summary statement
Diffstat (limited to 'usr/local/www/status_rrd_graph_settings.php')
-rwxr-xr-xusr/local/www/status_rrd_graph_settings.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/local/www/status_rrd_graph_settings.php b/usr/local/www/status_rrd_graph_settings.php
index 6a30cc4..032c41a 100755
--- a/usr/local/www/status_rrd_graph_settings.php
+++ b/usr/local/www/status_rrd_graph_settings.php
@@ -120,7 +120,7 @@ include("head.inc");
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<form action="status_rrd_graph_settings.php" method="post" name="iform" id="iform">
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="rrd graph settings">
<tr>
<td>
<?php
@@ -167,11 +167,11 @@ include("head.inc");
<tr>
<td>
<div id="mainarea">
- <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="6">
+ <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="6" summary="main area">
<tr>
<td width="22%" valign="top" class="vtable"><?=gettext("RRD Graphs");?></td>
<td width="78%" class="vtable">
- <input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable']) echo "checked" ?> onClick="enable_change(false)">
+ <input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable']) echo "checked=\"checked\"" ?> onclick="enable_change(false)" />
<b><?=gettext("Enables the RRD graphing backend.");?></b>
</td>
</tr>
@@ -182,7 +182,7 @@ include("head.inc");
<?php
foreach ($categories as $category => $categoryd) {
echo "<option value=\"$category\"";
- if ($category == $pconfig['category']) echo " selected";
+ if ($category == $pconfig['category']) echo " selected=\"selected\"";
echo ">" . htmlspecialchars($categoryd) . "</option>\n";
}
?>
@@ -197,7 +197,7 @@ include("head.inc");
<?php
foreach ($styles as $style => $styled) {
echo "<option value=\"$style\"";
- if ($style == $pconfig['style']) echo " selected";
+ if ($style == $pconfig['style']) echo " selected=\"selected\"";
echo ">" . htmlspecialchars($styled) . "</option>\n";
}
?>
@@ -212,7 +212,7 @@ include("head.inc");
<?php
foreach ($periods as $period => $periodd) {
echo "<option value=\"$period\"";
- if ($period == $pconfig['period']) echo " selected";
+ if ($period == $pconfig['period']) echo " selected=\"selected\"";
echo ">" . htmlspecialchars($periodd) . "</option>\n";
}
?>
@@ -223,18 +223,18 @@ include("head.inc");
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" onclick="enable_change(true)">
+ <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" onclick="enable_change(true)" />
</td>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input name="ResetRRD" type="submit" class="formbtn" value="<?=gettext("Reset RRD Data");?>" onclick="return confirm('<?=gettext('Do you really want to reset the RRD graphs? This will erase all graph data.');?>')">
+ <input name="ResetRRD" type="submit" class="formbtn" value="<?=gettext("Reset RRD Data");?>" onclick="return confirm('<?=gettext('Do you really want to reset the RRD graphs? This will erase all graph data.');?>')" />
</td>
</tr>
<tr>
<td width="22%" height="53" valign="top">&nbsp;</td>
- <td width="78%"><strong><span class="red"><?=gettext("Note:");?></span></strong><br>
+ <td width="78%"><strong><span class="red"><?=gettext("Note:");?></span></strong><br/>
<?=gettext("Graphs will not be allowed to be recreated within a 1 minute interval, please " .
"take this into account after changing the style.");?>
</td>
OpenPOWER on IntegriCloud