X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=0a939aa9e32b662abf633c17c3d4d60882dac3ac;hb=bfd85806a865e8428c99aadbe4fd11a7af19f731;hp=0e69b19cafeb747b0b4555e7fc5c1e7e9d6ff955;hpb=633c48448d9468690b7ad77eb6ff7c660a286658;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 0e69b19ca..0a939aa9e 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,11 +1,3 @@ -% -% 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; -% -% - @@ -16,7 +8,12 @@ - <% include('menu.html', 'freeside_baseurl' => $fsurl ) %> + <% include('menu.html', 'freeside_baseurl' => $fsurl, + 'position' => $menu_position, + ) + %> + + <% include('init_overlib.html') %> + + + + + + + + + + + + + + +% } +
- +
+% if ( $FS::CurrentUser::CurrentUser->access_right('List customers') ) {

- Advanced + Advanced
+% } + + + +% if ( $conf->exists('address2-search') ) { +
+ + +
+ +
+% } @@ -142,43 +190,57 @@ input.fsblackbuttonselected {
-% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { +% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { Advanced -% } +% }
% } -
-
+
Advanced
-
+% if ( $conf->config("ticket_system") ) { +
- Advanced + Advanced
+% } + + + +% if ( $menu_position eq 'left' ) { + - + +% } + + + + + +% if ( $menu_position eq 'left' ) { +