X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=9502ba46b830511f4d90376649e39da16af411bf;hb=eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd;hp=10e4e40f1dba7e48a89c75b53810c7ed68a282b7;hpb=049da6c538c952f938af4544a07c688b89c26a17;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 10e4e40f1..9502ba46b 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,21 +1,246 @@ -<% - 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') ) { + + +% } + + | + ++ + | + ++% if ( $conf->config("ticket_system") ) { + +% } + | + +
+ | + +% } + + | + + |
+
+ + + + |
+ + +% } + + |
+
- <%= $title %>
+ <% $title %>
+
- <%= $menubar ? "$menubar " : '' %> + <% $menubar !~ /^\s*$/ ? "$menubar " : '' %> +<%init> + +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 +my $conf = new FS::Conf; + +my $menu_position = $FS::CurrentUser::CurrentUser->option('menu_position') + || 'left'; + +%init> |