Index: trunk/admin/include/elements.php =================================================================== diff -u -N -r3668 -r4199 --- trunk/admin/include/elements.php (.../elements.php) (revision 3668) +++ trunk/admin/include/elements.php (.../elements.php) (revision 4199) @@ -79,16 +79,8 @@ //Page Header function int_header($toolbar=NULL,$NavBarText=NULL,$ExtraTitle=NULL,$onLoad=NULL, $ExtraHead=NULL,$skip_modules=Array(),$OtherSection = '') { - global $pathtoroot; - global $pathtolocal; - global $section; - global $objSections; - global $rootURL; - global $localURL; - global $adminURL; - global $envar; - global $admin; - global $metatag; + global $pathtoroot, $pathtolocal, $section, $objSections, $rootURL, $localURL, $adminURL, $envar, $admin, $metatag, $objSession; + $style_sheet_global = $adminURL."/include/style.css"; $style_sheet_local = $localURL."admin/include/style.css"; @@ -123,8 +115,12 @@ $sectionname = $sectionname[sizeof($sectionname)-1]; load_module_javascript($sectionname, $skip_modules); - if(is_object($toolbar)) - print $toolbar->GetInitScript(); + if (is_object($toolbar)) { + print $toolbar->GetInitScript(); + } + + echo ''; + print '