summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_wol_edit.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2014-04-18 23:29:15 +0100
committerColin Fleming <cj_fleming@sky.com>2014-04-18 23:29:15 +0100
commitcdb782b7dae61092db1a41f5b92706591db9f05c (patch)
tree3878ea2e6a5707feddfbf9dc6eb6dd4867b5f7ea /usr/local/www/services_wol_edit.php
parent928dc66a4341eeb7d84d79d7a331462107863170 (diff)
downloadpfsense-cdb782b7dae61092db1a41f5b92706591db9f05c.zip
pfsense-cdb782b7dae61092db1a41f5b92706591db9f05c.tar.gz
Tidy up "services_wol" XHTML
Add SUMMARY to tables Update HTML Boolean operators Close INPUT and IMG tags and add ALT to IMG tags Deprecate ampersand in anchor tags Move NOWRAP into class statement Remove empty EM tag
Diffstat (limited to 'usr/local/www/services_wol_edit.php')
-rw-r--r--usr/local/www/services_wol_edit.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/local/www/services_wol_edit.php b/usr/local/www/services_wol_edit.php
index 28f6e96..3a12f1e 100644
--- a/usr/local/www/services_wol_edit.php
+++ b/usr/local/www/services_wol_edit.php
@@ -119,7 +119,7 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<form action="services_wol_edit.php" method="post" name="iform" id="iform">
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
+ <table width="100%" border="0" cellpadding="6" cellspacing="0" summary="wol edit">
<tr>
<td colspan="2" valign="top" class="listtopic"><?=gettext("Edit WOL entry");?></td>
</tr>
@@ -130,7 +130,7 @@ include("head.inc");
<?php
$interfaces = get_configured_interface_with_descr();
foreach ($interfaces as $iface => $ifacename): ?>
- <option value="<?=$iface;?>" <?php if (!link_interface_to_bridge($iface) && $iface == $pconfig['interface']) echo "selected"; ?>>
+ <option value="<?=$iface;?>" <?php if (!link_interface_to_bridge($iface) && $iface == $pconfig['interface']) echo "selected=\"selected\""; ?>>
<?=htmlspecialchars($ifacename);?>
</option>
<?php endforeach; ?>
@@ -140,24 +140,24 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("MAC address");?></td>
<td width="78%" class="vtable">
- <input name="mac" type="text" class="formfld" id="mac" size="20" value="<?=htmlspecialchars($pconfig['mac']);?>">
+ <input name="mac" type="text" class="formfld" id="mac" size="20" value="<?=htmlspecialchars($pconfig['mac']);?>" />
<br />
<span class="vexpl"><?=gettext("Enter a MAC address in the following format: ".
- "xx:xx:xx:xx:xx:xx");?><em></em></span></td>
+ "xx:xx:xx:xx:xx:xx");?></span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Description");?></td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>" />
<br /> <span class="vexpl"><?=gettext("You may enter a description here".
" for your reference (not parsed).");?></span></td>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>"> <input class="formbtn" type="button" value="<?=gettext("Cancel");?>" onclick="history.back()">
+ <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" /> <input class="formbtn" type="button" value="<?=gettext("Cancel");?>" onclick="history.back()" />
<?php if (isset($id) && $a_wol[$id]): ?>
- <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>">
+ <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>" />
<?php endif; ?>
</td>
</tr>
OpenPOWER on IntegriCloud