X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-popup.html;h=04709ce53302ef60a076cd16edfa796b4ef19c16;hb=408574c3f92b84f422f9a95dd0ab904d9c23ece6;hp=17593693eae5e9cbc98ecb7dde818cf2408c2bc8;hpb=cb83fc394cf618e22a23f3282199a0cedb2e8339;p=freeside.git diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html index 17593693e..04709ce53 100644 --- a/httemplate/elements/header-popup.html +++ b/httemplate/elements/header-popup.html @@ -30,6 +30,9 @@ Example: % unless ( $no_jquery ) { +% if ( $FS::CurrentUser::CurrentUser->option('printtofit') ) { + +% } % } <% $head |n %> @@ -56,7 +59,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.