X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-full.html;h=08e20c87504ba9b13805ce47775c7af96def2da5;hb=a8d62307b05d924d3304fd7cf18177e2fc1c91f7;hp=e6130b2b1dbe0cfbfaa8a8bc1d55f41effe7ce9b;hpb=9e878943532b9ecb84bac1db76c05cf9bc09d2cc;p=freeside.git diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html index e6130b2b1..08e20c875 100644 --- a/httemplate/elements/header-full.html +++ b/httemplate/elements/header-full.html @@ -46,12 +46,18 @@ Example: % unless ( $no_jquery ) { + % if ( $FS::CurrentUser::CurrentUser->option('printtofit') ) { % } % } +% if ( $include_selectize ) { + + + +% } <% include('init_overlib.html') |n %> <% include('rs_init_object.html') |n %> @@ -220,6 +226,7 @@ my( $title, $title_noescape, $menubar, $etc, $head ) = ( '', '', '', '', '' ); my( $nobr, $nocss, $no_jquery ) = ( 0, 0, 0 ); my $mobile; +my $include_selectize; if ( ref($_[0]) ) { my $opt = shift; @@ -232,6 +239,7 @@ if ( ref($_[0]) ) { $nocss = $opt->{nocss}; $mobile = $opt->{mobile}; $no_jquery = $opt->{no_jquery}; + $include_selectize = $opt->{include_selectize} ? 1 : 0; } else { ($title, $menubar) = ( shift, shift ); $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc.