%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# 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,
'no_jquery' => $JavaScript,
}
&>
+% }
<%INIT>
#for "Site CSS from theme editor" below
$r->headers_out->{'Pragma'} = 'no-cache';
}
-# $m->callback( %ARGS, CallbackName => 'Head' );
-$head .= $m->scomp( '/Elements/Callback', _CallbackName => 'Head', %ARGS );
+$head .= $m->callback(
+ %ARGS,
+ CallbackName => 'Head',
+ ReturnComponentOutput => 1,
+);
#XXX $head .= <& /Elements/Framekiller &>;
$RichText => 1
$BodyClass => undef
$JavaScript => 1
+$Popup => 0
</%ARGS>