included meta infos, fixed searchengine entry point - now loading content

This commit is contained in:
Ulf Gebhardt 2015-09-06 08:43:39 +02:00
parent fe620c0c72
commit 8783238b6d
2 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,7 @@ class default_page extends \SYSTEM\PAGE\Page {
$vars['content_menu'] = \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_page/tpl/content_menu.tpl'));
$vars['content'] = \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_page/tpl/content.tpl'));
$vars['content_footer'] = \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_page/tpl/content_footer.tpl'));
$vars = array_merge($vars, \SYSTEM\PAGE\text::tag('meta'));
return \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_page/tpl/default_page.tpl'), $vars);
}
}

View File

@ -1,7 +1,10 @@
<?php
class page_neopolimatrix extends \SYSTEM\API\api_default {
public static function get_apigroup(){
return 0;}
return 1;}
public static function get_class($params = null){
return self::class;}
public static function default_page($_escaped_fragment_ = NULL){
return (new default_page())->html($_escaped_fragment_);}