X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-full.html;h=08e20c87504ba9b13805ce47775c7af96def2da5;hb=219c811aa5ee634bb17e1fa19a2d75351949b8d4;hp=699f82c53d65764d3762bd63c4cb584a54d138f9;hpb=cb6214a6c0b0ecc8c3a5c264ee98ff3f301c33a6;p=freeside.git
diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html
index 699f82c53..08e20c875 100644
--- a/httemplate/elements/header-full.html
+++ b/httemplate/elements/header-full.html
@@ -46,11 +46,21 @@ Example:
% unless ( $no_jquery ) {
+
+
+% if ( $FS::CurrentUser::CurrentUser->option('printtofit') ) {
+
+% }
% }
+% if ( $include_selectize ) {
+
+
+
+% }
<% 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
@@ -67,10 +77,21 @@ Example:
<% $company_name || 'ExampleCo' %>
|
- Logged in as <% $FS::CurrentUser::CurrentUser->username |h %> logout Preferences
+ |
+ <& notify-tickets.html &>
+ |
+
+ <% 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 %>
% }
|
@@ -179,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 ) {
% }
@@ -191,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;
@@ -203,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.