Skip to content
Snippets Groups Projects
Commit c71c0bfa authored by Bob Mottram's avatar Bob Mottram
Browse files

Returning to settings is ok

parent 7d60b10d
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@
<div class="card">
<div class="header">
<a href="index.html"><img id="headerpic" class="img-responsive" src="images/logo.png"/></a>
<a href="settings.html"><img id="headerpic" class="img-responsive" src="images/logo.png"/></a>
<br><br><br>
......
......@@ -115,7 +115,7 @@
<body>
<div class="card">
<div class="header">
<a href="index.html"><img id="headerpic" class="img-responsive" src="images/logo.png"></a><br>
<a href="settings.html"><img id="headerpic" class="img-responsive" src="images/logo.png"></a><br>
<br>
......
......@@ -66,7 +66,7 @@
</head>
<body>
<div class="header">
<a href="index.html"><img id="headerpic" class="img-responsive" src="images/logo.png"></a>
<a href="settings.html"><img id="headerpic" class="img-responsive" src="images/logo.png"></a>
<h3>An upgrade is scheduled</h3>
<h3>Systems may be temporarily unavailable in the next few minutes</h3>
......@@ -75,7 +75,7 @@
<br>
<form action="index.html">
<form action="settings.html">
<input type="submit" value="Go Back" />
</form>
</div>
......
......@@ -122,7 +122,7 @@
<body>
<div class="card">
<div class="header">
<a href="index.html"><img id="headerpic" class="img-responsive" src="images/logo.png"></a><br>
<a href="settings.html"><img id="headerpic" class="img-responsive" src="images/logo.png"></a><br>
<img id="upgradeicon" class="img-responsive" src="images/upgrade.png">
<p class="upgradetext">Upgrades happen automatically. You don't need to start them manually like this, except in rare circumstances</p>
......
......@@ -2,7 +2,7 @@
// Receives the list of blocked domains/users
$output_filename = "index.html";
$output_filename = "settings.html";
if (isset($_POST['submitblocking'])) {
$blockinglist = htmlspecialchars($_POST['blockinglist']);
......
......@@ -2,7 +2,7 @@
// Change language
$output_filename = "index.html";
$output_filename = "settings.html";
if (isset($_POST['submitlanguage'])) {
$language = htmlspecialchars($_POST['language']);
......
......@@ -2,7 +2,7 @@
// Shuts down or resets the system
$output_filename = "index.html";
$output_filename = "settings.html";
if (isset($_POST['submitreset'])) {
$reset_file = fopen(".reset.txt", "w") or die("Unable to write to reset file");
......
......@@ -2,7 +2,7 @@
// Enable or disable ssh
$output_filename = "index.html";
$output_filename = "settings.html";
if (isset($_POST['submitssh'])) {
$confirm = htmlspecialchars($_POST['sshconfirm']);
......
......@@ -12,7 +12,7 @@ function endsWith($haystack, $needle)
// Updates values for the system monitor screen
$output_filename = "index.html";
$output_filename = "settings.html";
if (isset($_POST['submitsystemmonitor'])) {
$system_monitor_file = fopen(".system_monitor.txt", "w") or die("Unable to create system monitor file");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment