forked from root/threadr.lostcave.ddnss.de
added a return button
parent
95b4d09324
commit
732f391fec
|
@ -28,10 +28,13 @@ echo "Done.";
|
||||||
<body class="status_page">
|
<body class="status_page">
|
||||||
<h1> Strassenkind Server Status </h1>
|
<h1> Strassenkind Server Status </h1>
|
||||||
<hr />
|
<hr />
|
||||||
<form action="" method="post">
|
<?php
|
||||||
<input type="submit" value="Run ondemand commands" name="ondemand" />
|
if (!isset($_POST['ondemand'])) {
|
||||||
</form>
|
echo "<form action=\"\" method=\"post\"><input type=\"submit\" value=\"Run ondemand commands\" name=\"ondemand\" /></form><hr />";
|
||||||
<hr />
|
} else {
|
||||||
|
echo "<a href=\"\"><button> Return to regular status commands </button></a>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
<?php
|
<?php
|
||||||
// run ondemand command list if demanded
|
// run ondemand command list if demanded
|
||||||
if (isset($_POST['ondemand'])) {
|
if (isset($_POST['ondemand'])) {
|
||||||
|
|
Loading…
Reference in New Issue