X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-popup.html;h=906b1ee5141174e862c77740d3e0b1816b77cd20;hb=0a91d21fcf8ebeb12cd71230d79153c1fa0d82a3;hp=17593693eae5e9cbc98ecb7dde818cf2408c2bc8;hpb=cb83fc394cf618e22a23f3282199a0cedb2e8339;p=freeside.git diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html index 17593693e..906b1ee51 100644 --- a/httemplate/elements/header-popup.html +++ b/httemplate/elements/header-popup.html @@ -30,11 +30,20 @@ Example: % unless ( $no_jquery ) { +% if ( $FS::CurrentUser::CurrentUser->option('printtofit') ) { + +% } % } <% $head |n %> > +% if ($m->notes('inline_stylesheet')) { # for email delivery + +% } else { +% } % if ( $title || $title_noescape ) {
<% encode_entities($title) || $title_noescape |n %>
@@ -56,7 +65,7 @@ if ( ref($_[0]) ) { $head = $opt->{head}; $nobr = $opt->{nobr}; #$nocss = $opt->{nocss}; - $no_jquery = $opt->{no_jquery}; + $no_jquery = exists($opt->{no_jquery}) ? $opt->{no_jquery} : 1; #v3 only, 0 on v4+ } else { ($title, $menubar) = ( shift, shift ); $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc.