summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_dump_states.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-09-17 10:32:23 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-09-17 10:32:23 -0300
commit729b9f018d28d3823c8d653aab8d18114ce55437 (patch)
tree197e78556e47dd52e48ac3e713335e0c021c8a1d /usr/local/www/diag_dump_states.php
parent75cf353b323e1ee649cec5e3b1191af2a744f645 (diff)
downloadpfsense-729b9f018d28d3823c8d653aab8d18114ce55437.zip
pfsense-729b9f018d28d3823c8d653aab8d18114ce55437.tar.gz
Deduplicate <form>, fixes #3864
Diffstat (limited to 'usr/local/www/diag_dump_states.php')
-rwxr-xr-xusr/local/www/diag_dump_states.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php
index 0119afa..6b5388a 100755
--- a/usr/local/www/diag_dump_states.php
+++ b/usr/local/www/diag_dump_states.php
@@ -77,7 +77,6 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="<?=$jsevents["body"]["onload"];?>">
<?php include("fbegin.inc"); ?>
-<form action="diag_dump_states.php" method="get" name="iform">
<script type="text/javascript">
//<![CDATA[
@@ -137,7 +136,7 @@ include("head.inc");
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0" summary="states">
<tr>
<td>
- <form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get">
+ <form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get" name="iform">
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0" summary="filter">
<tr>
<td>
@@ -241,7 +240,6 @@ pclose($fd);
</td>
</tr>
</table>
-</form>
<?php require("fend.inc"); ?>
</body>
OpenPOWER on IntegriCloud