summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_gre_edit.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2013-04-16 13:34:11 +0100
committerColin Fleming <cj_fleming@sky.com>2013-04-16 13:34:11 +0100
commitf8b4193358c0c4929e57312e3d80d860e78eec96 (patch)
tree29e4d1c4082acee5f3e817326b4836e0612d3a9e /usr/local/www/interfaces_gre_edit.php
parentb794b21412adf696a6a69f0ce0560204d4b7f713 (diff)
downloadpfsense-f8b4193358c0c4929e57312e3d80d860e78eec96.zip
pfsense-f8b4193358c0c4929e57312e3d80d860e78eec96.tar.gz
Tidy up "interfaces_gre_edit.php" XHMTL
Update HTML Boolean operators Close BR and INPUT tags
Diffstat (limited to 'usr/local/www/interfaces_gre_edit.php')
-rw-r--r--usr/local/www/interfaces_gre_edit.php40
1 files changed, 20 insertions, 20 deletions
diff --git a/usr/local/www/interfaces_gre_edit.php b/usr/local/www/interfaces_gre_edit.php
index 839a606..9715552 100644
--- a/usr/local/www/interfaces_gre_edit.php
+++ b/usr/local/www/interfaces_gre_edit.php
@@ -134,7 +134,7 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<form action="interfaces_gre_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="interfaces gre edit">
<tr>
<td colspan="2" valign="top" class="listtopic"><?=gettext("GRE configuration");?></td>
</tr>
@@ -150,7 +150,7 @@ include("head.inc");
foreach ($portlist as $ifn => $ifinfo) {
echo "<option value=\"{$ifn}\"";
if ($ifn == $pconfig['if'])
- echo "selected";
+ echo " selected=\"selected\"";
echo ">{$ifinfo}</option>";
}
?>
@@ -161,27 +161,27 @@ include("head.inc");
<tr>
<td valign="top" class="vncellreq"><?=gettext("GRE remote address");?></td>
<td class="vtable">
- <input name="remote-addr" type="text" class="formfld unknown" id="remote-addr" size="16" value="<?=htmlspecialchars($pconfig['remote-addr']);?>">
- <br>
+ <input name="remote-addr" type="text" class="formfld unknown" id="remote-addr" size="16" value="<?=htmlspecialchars($pconfig['remote-addr']);?>" />
+ <br/>
<span class="vexpl"><?=gettext("Peer address where encapsulated GRE packets will be sent ");?></span></td>
</tr>
<tr>
<td valign="top" class="vncellreq"><?=gettext("GRE tunnel local address ");?></td>
<td class="vtable">
- <input name="tunnel-local-addr" type="text" class="formfld unknown" id="tunnel-local-addr" size="16" value="<?=htmlspecialchars($pconfig['tunnel-local-addr']);?>">
- <br>
+ <input name="tunnel-local-addr" type="text" class="formfld unknown" id="tunnel-local-addr" size="16" value="<?=htmlspecialchars($pconfig['tunnel-local-addr']);?>" />
+ <br/>
<span class="vexpl"><?=gettext("Local GRE tunnel endpoint");?></span></td>
</tr>
<tr>
<td valign="top" class="vncellreq"><?=gettext("GRE tunnel remote address ");?></td>
<td class="vtable">
- <input name="tunnel-remote-addr" type="text" class="formfld unknown" id="tunnel-remote-addr" size="16" value="<?=htmlspecialchars($pconfig['tunnel-remote-addr']);?>">
+ <input name="tunnel-remote-addr" type="text" class="formfld unknown" id="tunnel-remote-addr" size="16" value="<?=htmlspecialchars($pconfig['tunnel-remote-addr']);?>" />
<select name="tunnel-remote-net" class="formselect" id="tunnel-remote-net">
<?php
for ($i = 128; $i > 0; $i--) {
- echo "<option value=\"{$i}\" ";
+ echo "<option value=\"{$i}\"";
if ($i == $pconfig['tunnel-remote-net'])
- echo "selected";
+ echo " selected=\"selected\"";
echo ">" . $i . "</option>";
}
?>
@@ -192,15 +192,15 @@ include("head.inc");
<tr>
<td valign="top" class="vncell"><?=gettext("Mobile tunnel");?></td>
<td class="vtable">
- <input name="link0" type="checkbox" id="link0" <?if ($pconfig['link0']) echo "checked";?>>
- <br>
+ <input name="link0" type="checkbox" id="link0" <?if ($pconfig['link0']) echo "checked=\"checked\"";?> />
+ <br/>
<span class="vexpl"><?=gettext("Specify which encapsulation method the tunnel should use. ");?></span></td>
</tr>
<tr>
<td valign="top" class="vncell"><?=gettext("Route search type");?></td>
<td class="vtable">
- <input name="link1" type="checkbox" id="link1" <?if ($pconfig['link1']) echo "checked";?>>
- <br>
+ <input name="link1" type="checkbox" id="link1" <?if ($pconfig['link1']) echo "checked=\"checked\"";?> />
+ <br/>
<span class="vexpl">
<?=gettext("For correct operation, the GRE device needs a route to the destination".
" that is less specific than the one over the tunnel. (Basically, there".
@@ -211,24 +211,24 @@ include("head.inc");
<tr>
<td valign="top" class="vncell"><?=gettext("WCCP version");?></td>
<td class="vtable">
- <input name="link2" type="checkbox" id="link2" <?if ($pconfig['link2']) echo "checked";?>>
- <br>
+ <input name="link2" type="checkbox" id="link2" <?if ($pconfig['link2']) echo "checked=\"checked\"";?> />
+ <br/>
<span class="vexpl"><?=gettext("Specify which WCCP encapsulation(version 1 or 2) method the tunnel should use");?></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 unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
- <br> <span class="vexpl"><?=gettext("You may enter a description here".
+ <input name="descr" type="text" class="formfld unknown" 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 type="hidden" name="greif" value="<?=htmlspecialchars($pconfig['greif']); ?>">
- <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>"> <input type="button" value="<?=gettext("Cancel");?>" onclick="history.back()">
+ <input type="hidden" name="greif" value="<?=htmlspecialchars($pconfig['greif']); ?>" />
+ <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" /> <input type="button" value="<?=gettext("Cancel");?>" onclick="history.back()" />
<?php if (isset($id) && $a_gres[$id]): ?>
- <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>">
+ <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>" />
<?php endif; ?>
</td>
</tr>
OpenPOWER on IntegriCloud