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; +% +% -%> - <%= $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"> - + - @@ -59,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;"; + - <% } %> +% } +
freesidefreeside - <%= $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
@@ -115,50 +118,54 @@ input.fsblackbuttonselected { - + @@ -168,8 +175,8 @@ input.fsblackbuttonselected {
-
+
-
+
- Advanced + Advanced
- <% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { %> -
+% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { + + - <% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { %> - Advanced - <% } %> +% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { + + Advanced +% } +
- <% } %> +% } +
-
+
- Advanced + Advanced
-
+
- Advanced + Advanced
- - + + - +
@@ -177,15 +184,15 @@ input.fsblackbuttonselected { document.write(myBar);
- +
- <%= $title %> + <% $title %>

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

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

" : '' %>