X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Fheader.html;h=ea8c418c3fd7d690c85797ef6d10bc53483e24be;hb=b19897e1db4c110d7d7e8b52800cda5ab58ce9e0;hp=3aa81be3b76672173308f9da8f6839f8b45fff95;hpb=3a820c27d5290f9d2761636b2b4fe865caeb0804;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 3aa81be3b..ea8c418c3 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -3,6 +3,7 @@ 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; + %> @@ -18,17 +19,22 @@ @@ -39,13 +45,11 @@ STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0">- - | +<%= $conf->config('company_name') || 'ExampleCo' %> | -Logged in as <%= getotaker %>  Preferences + | Logged in as <%= getotaker %>  Preferences |
|
+ | ||||||||
+ + | + | + + | + <% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { %> + + <% } %> + | +- | + + | + |