X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Fheader.html;h=ea8c418c3fd7d690c85797ef6d10bc53483e24be;hb=b19897e1db4c110d7d7e8b52800cda5ab58ce9e0;hp=581bbabc776acc82dfb45b6a7dae51beffc0ff97;hpb=eb9668a6f3181ee02cb335272c5ee4616e61fd09;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 581bbabc7..ea8c418c3 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,19 +1,191 @@ <% - my($title, $menubar) = @_; + 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; + %> - - -+ | + <%= $conf->config('company_name') || 'ExampleCo' %> + | +Logged in as <%= getotaker %>  Preferences + |
+ |
+
+
|
+
+ | ||||
+ + | + ++ + | + ++ <% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { %> + + <% } %> + | + ++ + | + ++ + | + +
+ | + | + |
+
+ + + + |
+ + |
+
+
<%= $title %>
+
- <%= $menubar ? "$menubar " : '' %> + <%= $menubar !~ /^\s*$/ ? "$menubar " : '' %> |