X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=ea8c418c3fd7d690c85797ef6d10bc53483e24be;hb=b19897e1db4c110d7d7e8b52800cda5ab58ce9e0;hp=10e4e40f1dba7e48a89c75b53810c7ed68a282b7;hpb=f7fd2a3e34da751cbc02bbf215e99c6dc89adc15;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 10e4e40f1..ea8c418c3 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -2,20 +2,190 @@ 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 %> - - - - - <%= $head %> - - > + + + + + <%= $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 %> +

- <%= $menubar ? "$menubar

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

" : '' %>