diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2008-12-20 21:41:09 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2008-12-20 21:41:09 -0500 |
commit | eaf0dc418bb8338a0de53c6ca6d2469ce3b70214 (patch) | |
tree | 8b5ae56f2080d1dbdb261e04f71e11ddaacef12e /theme | |
parent | 03d6589fefd850f793215cb6805c0f0c0989f93f (diff) | |
download | fourisland-eaf0dc418bb8338a0de53c6ca6d2469ce3b70214.tar.gz fourisland-eaf0dc418bb8338a0de53c6ca6d2469ce3b70214.tar.bz2 fourisland-eaf0dc418bb8338a0de53c6ca6d2469ce3b70214.zip |
Added Maintenance switcher to Admin
Also fixed spelling of maintenance in places where it was incorrectly spelled. Maintenance Required: Rename "mantainenceMode" config to "maintenanceMode"
Diffstat (limited to 'theme')
-rwxr-xr-x | theme/admin/index.tpl | 1 | ||||
-rw-r--r-- | theme/admin/maintenanceMode.tpl | 15 | ||||
-rwxr-xr-x | theme/maintenance.tpl (renamed from theme/mantainence.tpl) | 2 |
3 files changed, 17 insertions, 1 deletions
diff --git a/theme/admin/index.tpl b/theme/admin/index.tpl index 66fbae3..866c900 100755 --- a/theme/admin/index.tpl +++ b/theme/admin/index.tpl | |||
@@ -28,4 +28,5 @@ Welcome to the ubiquitous administration panel!<P> | |||
28 | 28 | ||
29 | <UL> | 29 | <UL> |
30 | <LI><A HREF="/admin/hgUpdate.php">HG Update</A></LI> | 30 | <LI><A HREF="/admin/hgUpdate.php">HG Update</A></LI> |
31 | <LI><A HREF="/admin/maintenanceMode.php">Maintenance Mode</A></LI> | ||
31 | </UL> | 32 | </UL> |
diff --git a/theme/admin/maintenanceMode.tpl b/theme/admin/maintenanceMode.tpl new file mode 100644 index 0000000..401d0ab --- /dev/null +++ b/theme/admin/maintenanceMode.tpl | |||
@@ -0,0 +1,15 @@ | |||
1 | <H2>Maintenance Mode</H2> | ||
2 | |||
3 | <P>Here you can enable/disable Maintenance Mode. When Maintenance Mode is enabled, no one can access Four Island except localhost.</P> | ||
4 | |||
5 | <FORM ACTION="/admin/maintenanceMode.php?submit=" METHOD="POST"> | ||
6 | <CENTER> | ||
7 | <INPUT TYPE="radio" NAME="mode" VALUE="on"<!--ON-->>On</INPUT><BR /> | ||
8 | <INPUT TYPE="radio" NAME="mode" VALUE="off"<!--OFF-->>Off</INPUT><BR /> | ||
9 | <INPUT TYPE="submit" /> | ||
10 | </CENTER> | ||
11 | </FORM> | ||
12 | |||
13 | <P> | ||
14 | <A HREF="/admin/">Back to Admin Panel</A> | ||
15 | </P> | ||
diff --git a/theme/mantainence.tpl b/theme/maintenance.tpl index dab4ef5..0a50a51 100755 --- a/theme/mantainence.tpl +++ b/theme/maintenance.tpl | |||
@@ -1,4 +1,4 @@ | |||
1 | <CENTER><H1>Four Island is under mantainence</H1></CENTER> | 1 | <CENTER><H1>Four Island is under maintenance</H1></CENTER> |
2 | 2 | ||
3 | <P>I'm sorry, but you've caught Four Island off guard. We're currently upgrading the website to accomidate for some fun new features we've thrown in, | 3 | <P>I'm sorry, but you've caught Four Island off guard. We're currently upgrading the website to accomidate for some fun new features we've thrown in, |
4 | so Four Island'll be down for a few minutes. Please try again soon and thanks for your interest in Four Island!</P> | 4 | so Four Island'll be down for a few minutes. Please try again soon and thanks for your interest in Four Island!</P> |