summaryrefslogtreecommitdiff
path: root/rt/share/html/Elements/Header
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-12-07 15:40:05 -0800
committerIvan Kohler <ivan@freeside.biz>2015-12-07 15:40:05 -0800
commita2d35e30236c5d233516fa8b77c219665f97e77c (patch)
treee04366c55227287ce10817ec325e862b49106138 /rt/share/html/Elements/Header
parent7c08f01e1a05fe4bab903bd44277b5c3784aebc5 (diff)
custom fields edit popup, RT#34237
Diffstat (limited to 'rt/share/html/Elements/Header')
-rwxr-xr-xrt/share/html/Elements/Header13
1 files changed, 13 insertions, 0 deletions
diff --git a/rt/share/html/Elements/Header b/rt/share/html/Elements/Header
index 2503455fc..17bfe7460 100755
--- a/rt/share/html/Elements/Header
+++ b/rt/share/html/Elements/Header
@@ -45,6 +45,17 @@
%# 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_noescape' => $Title,
'head' => $head,
@@ -54,6 +65,7 @@
'no_jquery' => $JavaScript,
}
&>
+% }
<%INIT>
#for "Site CSS from theme editor" below
$r->headers_out->{'Pragma'} = 'no-cache';
@@ -159,4 +171,5 @@ $SkipDoctype => 0
$RichText => 1
$BodyClass => undef
$JavaScript => 1
+$Popup => 0
</%ARGS>