projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#39694 Checkpoint for v3 backport
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
Header
diff --git
a/rt/share/html/Elements/Header
b/rt/share/html/Elements/Header
index
664da06
..
ddf35b0
100755
(executable)
--- 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 }}}
%# 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,
<& /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);
<%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
$JavaScript => 1
$SkipDoctype => 0
$RichText => 1
+$Popup => 0
</%ARGS>
</%ARGS>