fixed ajax crawling schema, updated system reference
This commit is contained in:
parent
8191723265
commit
217aa4a106
@ -21,10 +21,10 @@ class default_page implements SYSTEM\PAGE\DefaultPage {
|
|||||||
|
|
||||||
public function html($_escaped_fragment_ = NULL){
|
public function html($_escaped_fragment_ = NULL){
|
||||||
$vars = array();
|
$vars = array();
|
||||||
$vars['css'] = $this->css();
|
$vars['css'] = self::css();
|
||||||
$vars['js'] = '';
|
$vars['js'] = '';
|
||||||
if(!$_escaped_fragment_){
|
if(!$_escaped_fragment_){
|
||||||
$vars['js'] = $this->js();}
|
$vars['js'] = self::js();}
|
||||||
$vars = array_merge($vars, \SYSTEM\PAGE\text::tag('danube'));
|
$vars = array_merge($vars, \SYSTEM\PAGE\text::tag('danube'));
|
||||||
|
|
||||||
return SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_page/tpl/danube.tpl'))->SERVERPATH(), $vars);
|
return SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_page/tpl/danube.tpl'))->SERVERPATH(), $vars);
|
||||||
|
|||||||
@ -9,7 +9,7 @@ class page_danube extends \SYSTEM\API\api_default {
|
|||||||
return 'start';}
|
return 'start';}
|
||||||
|
|
||||||
public static function default_page($_escaped_fragment_ = NULL){
|
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(){
|
public static function page_start(){
|
||||||
return (new default_start())->html();}
|
return (new default_start())->html();}
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 89c46b58f51728f4ceea0dd13ff4fd342cea3371
|
Subproject commit a32e1ca7976c48b4ea8ba28b2db349e4dcb1f541
|
||||||
Reference in New Issue
Block a user