X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fpage%2Fheader.inc;h=fc850b953b950172d173c2299d351463d3bd177a;hb=66a62190f99d83f958bb98195b5756b8b307e378;hp=10cc8b103ab31d7297a6408b5b001205118ebc96;hpb=e7b078084252dbcb1fd1051ed0114804ed68b0e1;p=fa-stable.git diff --git a/includes/page/header.inc b/includes/page/header.inc index 10cc8b10..fc850b95 100644 --- a/includes/page/header.inc +++ b/includes/page/header.inc @@ -47,7 +47,7 @@ function help_url($context=null) function send_scripts() { - global $js_lib, $js_static, $js_path, $js_userlib, $path_to_root, $go_debug; + global $js_static, $js_path, $js_userlib, $path_to_root, $go_debug; $js =''; foreach($js_static as $jsfile) @@ -69,7 +69,7 @@ function send_scripts() echo $js; } -function page_header($title, $no_menu=false, $is_index=false, $onload="", $js="") +function page_header($title, $no_menu=false, $is_index=false, $onload="", $js="", $css='') { // titles and screen header global $path_to_root, $def_app, $use_popup_windows, $help_base_url; @@ -126,7 +126,10 @@ function page_header($title, $no_menu=false, $is_index=false, $onload="", $js="" echo "$title"; echo ""; echo " \n"; - send_scripts($js); + if ($css) + echo ''; + + send_scripts(); echo " \n"; if ($onload == "")