X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FHeader;h=ddf35b08909083367f91a110133a1a27c38ddfd8;hb=70c5f94c948159a7f561d999dbad62e0eae0cd8f;hp=664da06b065fc13ac7fd8b131d88adf756d9598b;hpb=e05a846f4831ee2ce9797a2e0c910c979752bfe1;p=freeside.git diff --git a/rt/share/html/Elements/Header b/rt/share/html/Elements/Header index 664da06b0..ddf35b089 100755 --- a/rt/share/html/Elements/Header +++ b/rt/share/html/Elements/Header @@ -45,15 +45,27 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} +% if ( $Popup ) { +<& /elements/header-popup.html, { + 'title_noescape' => $Title, + 'head' => $head, + 'etc' => $etc, + 'nobr' => 1, + #'nocss' => 1, + 'no_jquery' => $JavaScript, + } +&> +% } else { <& /elements/header.html, { 'title' => $Title, 'head' => $head, 'etc' => $etc, #make space for RT menu for now# 'nobr' => 1, 'nocss' => 1, - 'no_jquery' => $JavaScript, + 'jquery' => ($JavaScript ? 0 : 1), } &> +% } <%INIT> #for "Site CSS from theme editor" below #use Scalar::Util qw(blessed); @@ -154,4 +166,5 @@ $LinkRel => undef $JavaScript => 1 $SkipDoctype => 0 $RichText => 1 +$Popup => 0