diff --git a/strassenkind.php b/strassenkind.php index 3e1f0f0..e106173 100644 --- a/strassenkind.php +++ b/strassenkind.php @@ -1,18 +1,18 @@ @@ -29,11 +29,19 @@ echo "Done.";

Strassenkind Server Status



"; - } else { - echo "
"; + function add_button($button_text, $button_action){ + if (!isset($_POST[$button_action])) { + echo "
"; + } else { + echo ""; + } } + + add_button("Run ondemand commands", "ondemand"); + add_button("Force ThreadR update", "git"); + ?> +
+