add possibility to load custom page templates + none.php pagetemplate is part of core now

This commit is contained in:
rabuzarus
2016-07-11 10:33:39 +02:00
parent 26098fa263
commit 15471f3835
15 changed files with 53 additions and 49 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
/**
* @file view/theme/frio/php/modes/none.php
* @brief The site template for pure content (e.g. (modals)
*
* This themplate is used e.g for bs modals. So outputs
* only the pure content
*/
if(x($page,'content')) echo $page['content'];