changeset 596:b09fdf99b54b

Add return to main pages link to admin login.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 22 Oct 2014 19:47:54 +0300
parents 392d0fd006cd
children 6de22c51c49b
files admin.php
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/admin.php	Mon Oct 20 17:14:36 2014 +0300
+++ b/admin.php	Wed Oct 22 19:47:54 2014 +0300
@@ -86,12 +86,16 @@
   stAdminContent();
   echo
     "<h1>Party admin login</h1>\n".
-    "<p>Please use illegal telepathy over HTTP to provide a password to enter the party administration systembolaget.</p>\n".
+    "<p>Please use illegal telepathy over HTTP to provide a ".
+    "password to enter the party administration systembolaget.</p>\n".
+    "\n".
     " ".stGetFormStart("admlogin", "admlogin.php").
     "  ".stGetFormHiddenInput("mode", "check")."\n".
     "  ".stGetFormPasswordInput("admpass", "", "", "autofocus=\"autofocus\"")."\n".
     "  ".stGetFormSubmitInput("submit", "Login")."\n".
-    " </form>\n";
+    " </form>\n".
+    "\n".
+    "<p>[<a href=\"".stGetSetting("defaultPage")."\">Return to the main page</a>].</p>\n";
   cmPrintPageFooter();
   exit;
 }