Show API result directly instead of a new tab

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2023-10-26 10:18:59 +00:00
parent 03432c7be6
commit a87812615a

View file

@ -56,7 +56,7 @@
{
$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/>';
if(!isset($_SESSION["token"]))
{
@ -85,5 +85,9 @@
echo '</div>';
}
?>
<br/><br/>
<div>
<iframe id="api" name="api" style="border: 0px;" src=""/>
</div>
</body>
</html>