fixed ajax crawling schema, updated system reference

This commit is contained in:
Ulf Gebhardt 2017-04-03 15:10:00 +02:00
parent 8191723265
commit 217aa4a106
3 changed files with 4 additions and 4 deletions

View File

@ -21,10 +21,10 @@ class default_page implements SYSTEM\PAGE\DefaultPage {
public function html($_escaped_fragment_ = NULL){
$vars = array();
$vars['css'] = $this->css();
$vars['css'] = self::css();
$vars['js'] = '';
if(!$_escaped_fragment_){
$vars['js'] = $this->js();}
$vars['js'] = self::js();}
$vars = array_merge($vars, \SYSTEM\PAGE\text::tag('danube'));
return SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_page/tpl/danube.tpl'))->SERVERPATH(), $vars);

View File

@ -9,7 +9,7 @@ class page_danube extends \SYSTEM\API\api_default {
return 'start';}
public static function default_page($_escaped_fragment_ = NULL){
return (new default_page($_escaped_fragment_))->html();}
return (new default_page())->html($_escaped_fragment_);}
public static function page_start(){
return (new default_start())->html();}

@ -1 +1 @@
Subproject commit 89c46b58f51728f4ceea0dd13ff4fd342cea3371
Subproject commit a32e1ca7976c48b4ea8ba28b2db349e4dcb1f541