Use template home.tpl for mod/home

This commit is contained in:
fabrixxm 2018-01-17 13:27:41 +01:00
commit 0aafdab810
2 changed files with 33 additions and 11 deletions

14
view/templates/home.tpl Normal file
View file

@ -0,0 +1,14 @@
{{* custom content from hook will replace everything. *}}
{{if $content != '' }}
{{$content}}
{{else}}
{{if $customhome != false }}
{{include file="$customhome"}}
{{else}}
{{$defaultheader}}
{{/if}}
{{$login}}
{{/if}}