diff --git a/lib/system b/lib/system index 9b30021..852e26d 160000 --- a/lib/system +++ b/lib/system @@ -1 +1 @@ -Subproject commit 9b300210290eb0d7234b10ce84831a9b92800b2e +Subproject commit 852e26dd2fa35da08f488632c646bedc2131a9a2 diff --git a/slingit/page/default_page/default_page.php b/slingit/page/default_page/default_page.php index a123f67..1738cd7 100644 --- a/slingit/page/default_page/default_page.php +++ b/slingit/page/default_page/default_page.php @@ -15,9 +15,11 @@ class default_page extends \SYSTEM\PAGE\Page { ''; } - public function html(){ - $vars = array(); - $vars['js'] = self::js(); + public function html($_escaped_fragment_ = null){ + $vars = array(); + $vars['js'] = ''; + if(!$_escaped_fragment_){ + $vars['js'] = self::js();} $vars['css'] = self::css(); $vars['PATH_LOCAL_IMG'] = \SYSTEM\WEBPATH(new \SYSTEM\PSAI(),'page/img/'); diff --git a/slingit/page/page_slingit.php b/slingit/page/page_slingit.php index 618a806..3f49042 100644 --- a/slingit/page/page_slingit.php +++ b/slingit/page/page_slingit.php @@ -3,8 +3,8 @@ class page_slingit extends \SYSTEM\API\api_default { public static function get_class(){ return self::class;} - public static function default_page(){ - return new default_page();} + public static function default_page($_escaped_fragment_ = null){ + return new default_page($_escaped_fragment_);} public static function page_start($hash = null){ return new default_start($hash);}