X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-full.html;h=5586a0a85e333872e5d0d8c74f072320cf0bfba9;hb=c35d377d96a41476e3fb60f86b2dcb8de67b6d9d;hp=fe02650f1514ddd2b16cee2c47c8e99f44ccbbfb;hpb=fc6b09e0585fd50f4d31f8de75f891b4bfece178;p=freeside.git diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html index fe02650f1..5586a0a85 100644 --- a/httemplate/elements/header-full.html +++ b/httemplate/elements/header-full.html @@ -44,13 +44,20 @@ Example: %> % unless ( $no_jquery ) { - - - + + + + + % if ( $FS::CurrentUser::CurrentUser->option('printtofit') ) { % } % } +% if ( $include_selectize ) { + + + +% } <% include('init_overlib.html') |n %> <% include('rs_init_object.html') |n %> @@ -93,7 +100,7 @@ Example: - + % if ( $menu_position eq 'top' ) { @@ -193,6 +200,20 @@ Example: <% $title_noescape || encode_entities($title) %> +% my %cookies = CGI::Cookie->fetch($r); +% if ( $cookies{freeside_status} ) { +
+% foreach my $status_msg ( $cookies{freeside_status}->value ) { +
+ +
<% $status_msg |h %>
+% } + + +% } + % unless ( $nobr ) {
% } @@ -205,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; @@ -217,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.