X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=d99d375174e6fb31d3a8723c8cb046596f39e7d7;hb=4f7a1a2921aa875b27531a78a81716a07b47b0fa;hp=581bbabc776acc82dfb45b6a7dae51beffc0ff97;hpb=e283ab567e6890727e4d8e35c1d8097398678753;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 581bbabc7..d99d37517 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,19 +1,246 @@ -<% - my($title, $menubar) = @_; - my $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc. -%> - -
-+ | + <% $conf->config('company_name') || 'ExampleCo' %> + | +Logged in as <% getotaker %> Preferences + |
+ |
+
+
|
+
+ | ||||
+ + | + +||||
+ | +||||
+ | +||||
+ + | + ++ + | + ++% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { + + +% } + + | + ++ + | + ++% if ( $conf->config("ticket_system") ) { + +% } + | + +
+ | + +% } + + | + + |
+
+ + + + |
+ + +% } + + |
+
+
+ <% $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> |