X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=0e69b19cafeb747b0b4555e7fc5c1e7e9d6ff955;hb=633c48448d9468690b7ad77eb6ff7c660a286658;hp=10e4e40f1dba7e48a89c75b53810c7ed68a282b7;hpb=049da6c538c952f938af4544a07c688b89c26a17;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 10e4e40f1..0e69b19ca 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,21 +1,198 @@ -<% - my($title, $menubar) = ( shift, shift ); - my $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc. - my $head = @_ ? shift : ''; #$head is for things that go in the
section -%> - - -+ | + <% $conf->config('company_name') || 'ExampleCo' %> + | +Logged in as <% getotaker %> Preferences + |
+ |
+
+
|
+
+ | ||||
+ + | + ++ + | + ++% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { + + +% } + + | + ++ + | + ++ + | + +
+ | + | + |
+
+ + + + |
+ + |
+
- <%= $title %>
+ <% $title %>
+
- <%= $menubar ? "$menubar " : '' %> + <% $menubar !~ /^\s*$/ ? "$menubar " : '' %> |