X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-full.html;h=59e27851b0f0376255555c1fb3288f0365decdca;hb=081638aa4a483577a9c5bc7ac9ea518370cf2381;hp=db38eafba6e1b1568b4e6535426f823a1d3f52cb;hpb=dd82a27357402466390044d001824657f6617626;p=freeside.git diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html index db38eafba..59e27851b 100644 --- a/httemplate/elements/header-full.html +++ b/httemplate/elements/header-full.html @@ -47,10 +47,13 @@ Example: +% if ( $FS::CurrentUser::CurrentUser->option('printtofit') ) { + +% } % } <% include('init_overlib.html') |n %> <% include('rs_init_object.html') |n %> - + <% $head |n %> %# announce our base path, and the Mason comp path of this page @@ -70,10 +73,18 @@ Example: <& notify-tickets.html &> - Logged in as <% $FS::CurrentUser::CurrentUser->username |h %>  logout
Preferences + + <% mt('Logged in as') |h %> + <% $FS::CurrentUser::CurrentUser->username |h %>  + + <% mt('logout') |h %> + +
+
+ <% mt('Preferences') |h %> % if ( $conf->config("ticket_system") % && FS::TicketSystem->access_right(\%session, 'ModifySelf') ) { - | Ticketing preferences + | <% mt('Ticketing preferences') |h %> % }
@@ -182,6 +193,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 ) {
% }