This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
friendica
/
friendica
mirror of
https://github.com/friendica/friendica.git
Watch
1
Star
2
Fork
1
Code
Issues
Releases
49
Wiki
Activity
Browse Source
module to show system down message
pull/585/head
Zach Prezkuta
8 years ago
parent
31c3bbf549
commit
28c9123ac8
3 changed files
with
14 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
mod/maintenance.php
+1
-0
view/maintenance.tpl
+6
-0
view/smarty3/maintenance.tpl
+ 7
- 0
mod/maintenance.php
View 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
- 0
view/maintenance.tpl
View File
@ -0,0 +1 @@
<div id="maintenance-message">$sysdown</div>
+ 6
- 0
view/smarty3/maintenance.tpl
View File
@ -0,0 +1,6 @@
{
{
*
* AUTOMATICALLY GENERATED TEMPLATE
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
*
*}}
<div id="maintenance-message">
{
{
$sysdown
}
}
</div>
Write
Preview
Loading…
Cancel
Save