diff --git a/index.php b/index.php index 1953dd5cd..adfa6534f 100755 --- a/index.php +++ b/index.php @@ -245,6 +245,12 @@ if (file_exists($theme_info_file)){ if(! x($a->page,'content')) $a->page['content'] = ''; +/* set JS cookie */ +if($_COOKIE['jsAvailable'] != 1) { + $a->page['content'] .= ''; +} + + if(! $install) call_hooks('page_content_top',$a->page['content']);