summaryrefslogtreecommitdiff
path: root/rt/share/html/Elements/Header
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-12-07 15:40:07 -0800
committerIvan Kohler <ivan@freeside.biz>2015-12-07 15:40:07 -0800
commit1eeb1dd656684d90230188ac0af1433d169e4a3d (patch)
treefb8dcd0cdecd4be9beabdf247955b9f6bb6a1b48 /rt/share/html/Elements/Header
parent11d5740bd96b166b6cd4f90fde22b556f93b5caf (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>