X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fheader-full.html;h=e6130b2b1dbe0cfbfaa8a8bc1d55f41effe7ce9b;hp=db38eafba6e1b1568b4e6535426f823a1d3f52cb;hb=11bbf29de447fe39e9d7155fe280a0df70fa8c3c;hpb=dd82a27357402466390044d001824657f6617626 diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html index db38eafba..e6130b2b1 100644 --- a/httemplate/elements/header-full.html +++ b/httemplate/elements/header-full.html @@ -47,10 +47,14 @@ 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 +74,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 +194,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 ) {
% }