X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=0a939aa9e32b662abf633c17c3d4d60882dac3ac;hb=9c8e3bcad078ed4d4d0f13369210db0fe7aa1ce5;hp=c543ac0408df087d922967d2dda72b3141c1c637;hpb=3758ad3cb13752bbbebb2c42fcc398bdb1ffdc6a;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index c543ac040..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 - + +
+ Advanced +
-
+% if ( $conf->config("ticket_system") ) { +
- Advanced + Advanced
+% } + + + +% if ( $menu_position eq 'left' ) { + - + +% } + + + + + +% if ( $menu_position eq 'left' ) { +