X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FHeader;h=717bf070c3665dc10105f7064206a78e1217febd;hb=e572171073e0af425764f6a281fc7a6039398325;hp=3aeb3197224106a351823f53d2682d2ae7c05e4e;hpb=9c67763013a6d16725f50637fe43bde5fe15bcd4;p=freeside.git diff --git a/rt/share/html/Elements/Header b/rt/share/html/Elements/Header index 3aeb31972..717bf070c 100755 --- a/rt/share/html/Elements/Header +++ b/rt/share/html/Elements/Header @@ -49,7 +49,7 @@ 'title' => $Title, 'head' => $head, 'etc' => $etc, - #make space for RT menu for now# 'nobr' => 1, + 'nobr' => 1, 'nocss' => 1, 'no_jquery' => $JavaScript, } @@ -101,7 +101,7 @@ my $WebImagesURL = RT->Config->Get('WebImagesURL'); my $squished = RT->Config->Get('DevelMode') ? '' : '-squished'; if ( $JavaScript ) { - $head .= $m->scomp('JavascriptConfig'); + $head .= $m->scomp('/Elements/JavascriptConfig'); } for my $cssfile ( @css_files ) { @@ -118,12 +118,22 @@ if ( $RSSAutoDiscovery ) { } if ($JavaScript) { - $head .= $m->scomp('HeaderJavascript', focus => $Focus, onload => $onload, RichText => $RichText ); + $head .= $m->scomp('/Elements/HeaderJavascript', focus => $Focus, onload => $onload, RichText => $RichText ); + +$head .= q[ + +]; - my $stylesheet_plugin = "/NoAuth/css/$style/InHeader"; - if ($m->comp_exists($stylesheet_plugin) ) { - $head .= $m->scomp($stylesheet_plugin); - } } # $m->callback( %ARGS, CallbackName => 'Head' ); @@ -135,7 +145,6 @@ my $etc = ' class="'. join( '',@{$ARGS{'BodyClass'}}). '" '; $etc .= qq[ id="comp-$id"] if $id; - <%ARGS> #$Focus => 'focus' $Focus => ''