From 28c9123ac88f0300b2b07cbcb6e627e1c6d5f00f Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Mon, 14 Jan 2013 16:48:01 -0700 Subject: [PATCH] module to show system down message --- mod/maintenance.php | 7 +++++++ view/maintenance.tpl | 1 + view/smarty3/maintenance.tpl | 6 ++++++ 3 files changed, 14 insertions(+) create mode 100644 mod/maintenance.php create mode 100644 view/maintenance.tpl create mode 100644 view/smarty3/maintenance.tpl diff --git a/mod/maintenance.php b/mod/maintenance.php new file mode 100644 index 0000000000..b50c94c9b9 --- /dev/null +++ b/mod/maintenance.php @@ -0,0 +1,7 @@ + t('System down for maintenance') + )); +} diff --git a/view/maintenance.tpl b/view/maintenance.tpl new file mode 100644 index 0000000000..bbe15d46a8 --- /dev/null +++ b/view/maintenance.tpl @@ -0,0 +1 @@ +
$sysdown
diff --git a/view/smarty3/maintenance.tpl b/view/smarty3/maintenance.tpl new file mode 100644 index 0000000000..f0ea0849c2 --- /dev/null +++ b/view/smarty3/maintenance.tpl @@ -0,0 +1,6 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +
{{$sysdown}}
-- 2.39.5