X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fheader-full.html;h=5a5db962083552f70c996498cddcdf252aa7c1e4;hp=79e7633fe8bbc52924eecae543f2c1248112b415;hb=37e92c220a54636ebc7900cd59ec6ce56790ede8;hpb=d5e7f2e510d6ab008fa423e7a42e1beb1a5cade9 diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html index 79e7633fe..5a5db9620 100644 --- a/httemplate/elements/header-full.html +++ b/httemplate/elements/header-full.html @@ -56,7 +56,7 @@ Example: % 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 ) { -
- +% my ($message, $type) = split /=/, $status_msg; +% $type ||= 'status'; +
<% $status_msg |h %>
+
<% $message |h %>
% } @@ -270,4 +272,8 @@ 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', ); +my %status_image = ( 'status' => 'images/tick.png', 'warning' => 'images/tick.png', 'error' => 'images/error.png', ); +