Show API result directly instead of a new tab
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
03432c7be6
commit
a87812615a
1 changed files with 5 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
{
|
{
|
||||||
$curStatus = $row["status"];
|
$curStatus = $row["status"];
|
||||||
}
|
}
|
||||||
echo '<form method="post" action="api.php" target="_blank">
|
echo '<form method="post" action="api.php" target="api">
|
||||||
<label>Update Area</label> ' . $_GET['minor'] . '<br/>';
|
<label>Update Area</label> ' . $_GET['minor'] . '<br/>';
|
||||||
if(!isset($_SESSION["token"]))
|
if(!isset($_SESSION["token"]))
|
||||||
{
|
{
|
||||||
|
@ -85,5 +85,9 @@
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
<br/><br/>
|
||||||
|
<div>
|
||||||
|
<iframe id="api" name="api" style="border: 0px;" src=""/>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue