X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=ca74ca5b9170171f68edee887bbd0dfce3802d49;hp=ea8c418c3fd7d690c85797ef6d10bc53483e24be;hb=3ce7691203a7737406bf2d4442f7fd84b81f847e;hpb=15e561850b61b10a92a46d8f3e316d53d4970087 diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index ea8c418c3..ca74ca5b9 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,21 +1,22 @@ -<% - 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($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' %> + <% $conf->config('company_name') || 'ExampleCo' %> | -Logged in as <%= getotaker %>  Preferences + | Logged in as <% getotaker %>  Preferences |
|
- Freeside v<%= $FS::VERSION %> - Documentation + Freeside v<% $FS::VERSION %> + Documentation |
- <% if ( $conf->config('ticket_system') eq 'RT_Internal' ) { %>
- <% eval "use RT;"; %>
+% if ( $conf->config('ticket_system') eq 'RT_Internal' ) {
+% eval "use RT;";
+
- RT v<%= $RT::VERSION %> + RT v<% $RT::VERSION %> Documentation |
- <% } %>
+% }
+
+ | |||||||||||||
- | - | - <% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { %> - - <% } %> +% } + | - | - | @@ -168,8 +175,8 @@ input.fsblackbuttonselected {
- | - | + | + | |
@@ -177,15 +184,15 @@ input.fsblackbuttonselected {
document.write(myBar);
- + |
- + |
- <%= $title %>
+ <% $title %>
- <%= $menubar !~ /^\s*$/ ? "$menubar " : '' %> + <% $menubar !~ /^\s*$/ ? "$menubar " : '' %> |