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/admin | |
| 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/admin')
| -rwxr-xr-x | theme/admin/index.tpl | 1 | ||||
| -rw-r--r-- | theme/admin/maintenanceMode.tpl | 15 |
2 files changed, 16 insertions, 0 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> | ||
