X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=0e69b19cafeb747b0b4555e7fc5c1e7e9d6ff955;hb=0c81ee14be99875c8f9f9e34a442a23543333611;hp=2be2c793821772920be528a16e53067bb29cb018;hpb=64dc1bb0f70ccc0b828cc1d758cd82f040e0ec33;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 2be2c7938..0e69b19ca 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,48 +1,56 @@ -<% - 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; +% +% + - <%= $title %> + <% $title %> - <%= include('menu.html', 'freeside_baseurl' => $fsurl ) %> + <% include('menu.html', 'freeside_baseurl' => $fsurl ) %> - - <%= $head %> + <% $head %> - STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> + STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> - + - @@ -52,20 +60,22 @@ - <% if ( $conf->config('ticket_system') eq 'RT_Internal' ) { %> - <% eval "use RT;"; %> +% if ( $conf->config('ticket_system') eq 'RT_Internal' ) { +% eval "use RT;"; + - <% } %> +% } +
- freeside - freeside - <%= $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
- RT v<%= $RT::VERSION %>
+
RT v<% $RT::VERSION %>
Documentation
@@ -74,37 +84,99 @@ - + + +
- + + - + + + + + + + +
- -
- + +
-
- - + +
+ Advanced +
-
- - +% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { + + + +% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { + + Advanced +% } + +
+ +
+% } + +
+
+
+ Advanced +
+
+
+ Advanced + +
+
- - + + - - +
@@ -112,15 +184,15 @@ document.write(myBar);
- +
+ - <%= $title %> + <% $title %>

- <%= $menubar !~ /^\s*$/ ? "$menubar

" : '' %> + <% $menubar !~ /^\s*$/ ? "$menubar

" : '' %>