X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-full.html;h=c73cf046319dd43a782d0116f3dccb67a76c223e;hb=565565d9c5ffe709f95e527c13d90741645ff1cc;hp=08e20c87504ba9b13805ce47775c7af96def2da5;hpb=0339cd666b4c39ef3772f1d28dc3a5f30f422966;p=freeside.git
diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html
index 08e20c875..c73cf0463 100644
--- a/httemplate/elements/header-full.html
+++ b/httemplate/elements/header-full.html
@@ -44,19 +44,19 @@ Example:
%>
% unless ( $no_jquery ) {
-
-
+
+
-
-
+
+
% if ( $FS::CurrentUser::CurrentUser->option('printtofit') ) {
% }
% }
% if ( $include_selectize ) {
-
-
-
+
+
+
% }
<% include('init_overlib.html') |n %>
<% include('rs_init_object.html') |n %>
@@ -100,7 +100,7 @@ Example:
-
+
% if ( $menu_position eq 'top' ) {
@@ -204,8 +204,10 @@ Example:
% if ( $cookies{freeside_status} ) {
% foreach my $status_msg ( $cookies{freeside_status}->value ) {
-
- <% $status_msg |h %> |
+% my ($message, $type) = split /=/, $status_msg;
+% $type ||= 'status';
+
+ <% $message |h %> |
% }
@@ -270,4 +272,7 @@ if ( scalar(@agentnums) == 1 ) {
$company_url = $conf->config('company_url');
}
+## status->green(#eeffee), warning->yellow(#fdfd96), error->red(#f97c7c)
+my %status_color = ( 'status' => '#eeffee', 'warning' => '#fefbd0', 'error' => '#f97c7c', );
+
%init>