module to show system down message
This commit is contained in:
parent
31c3bbf549
commit
28c9123ac8
3 changed files with 14 additions and 0 deletions
7
mod/maintenance.php
Normal file
7
mod/maintenance.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
function maintenance_content(&$a) {
|
||||
return replace_macros(get_markup_template('maintenance.tpl'), array(
|
||||
'$sysdown' => t('System down for maintenance')
|
||||
));
|
||||
}
|
1
view/maintenance.tpl
Normal file
1
view/maintenance.tpl
Normal file
|
@ -0,0 +1 @@
|
|||
<div id="maintenance-message">$sysdown</div>
|
6
view/smarty3/maintenance.tpl
Normal file
6
view/smarty3/maintenance.tpl
Normal file
|
@ -0,0 +1,6 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="maintenance-message">{{$sysdown}}</div>
|
Loading…
Reference in a new issue