RT#39694 Checkpoint for v3 backport
[freeside.git] / rt / share / html / Elements / Header
index 664da06..ddf35b0 100755 (executable)
 %# 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
 </%ARGS>