X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=0e69b19cafeb747b0b4555e7fc5c1e7e9d6ff955;hb=633c48448d9468690b7ad77eb6ff7c660a286658;hp=10e4e40f1dba7e48a89c75b53810c7ed68a282b7;hpb=049da6c538c952f938af4544a07c688b89c26a17;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 10e4e40f1..0e69b19ca 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,21 +1,198 @@ -<% - 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 -%> - - - - <%= $title %> - - - - - <%= $head %> - - > +% +% 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 %> + + + + + + <% include('menu.html', 'freeside_baseurl' => $fsurl ) %> + + + + <% $head %> + + + STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> + + + + + + + + + +
freeside + <% $conf->config('company_name') || 'ExampleCo' %> + Logged in as <% getotaker %> 
Preferences 
+
+ + + + +% if ( $conf->config('ticket_system') eq 'RT_Internal' ) { +% eval "use RT;"; + + + +% } + + + +
+ + Freeside v<% $FS::VERSION %>
+ ">Documentation
+
+
+ + RT v<% $RT::VERSION %>
+
Documentation
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+ Advanced + +
+
+% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { + +
+ +% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { + + Advanced +% } + +
+ +
+% } + +
+
+
+ Advanced + +
+
+
+
+ Advanced + +
+
+ + + + + + + + + +
+ +
+ + +
+ - <%= $title %> + <% $title %> +

- <%= $menubar ? "$menubar

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

" : '' %>