X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=bfa138fbdb79f8ee2c077edaefdef8e3fd4990d5;hb=483a2e4dad0f7ce8dbdc06a825d1aa11bd742f6b;hp=08de3b6861a9f6554c0973cc7e65869ad88d6ed5;hpb=55e2a98988c76425ec2dac583b91410eaf835659;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 08de3b686..bfa138fbd 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -24,7 +24,7 @@ Example:
<% $company_name || 'ExampleCo' %> | -Logged in as <% getotaker %> [ logout ] Preferences + | Logged in as <% getotaker %> logout Preferences % if ( $conf->config("ticket_system") % && FS::TicketSystem->access_right(\%session, 'ModifySelf') ) { | Ticketing preferences @@ -102,104 +68,55 @@ Example:
+ |
|
-
-
- |
-
-
- |
- |
-
-% if ( $curuser->access_right('List prospects') ) {
-
-% }
+ <% include('searchbar-prospect.html') %>
|
-% if ( $curuser->access_right('List customers') ) {
-
-% }
+ <% include('searchbar-cust_main.html') %>
|
-% if ( $conf->exists('address2-search') ) {
-
-% }
+ <% include('searchbar-address2.html') %>
|
-% if ( $curuser->access_right('View invoices') ) {
-
-% }
+ <% include('searchbar-cust_bill.html') %>
|
-% if ( $curuser->access_right('View customer services') ) {
-
-% }
+ <% include('searchbar-cust_svc.html') %>
|
-% if ( $conf->config("ticket_system") ) {
-
-% }
+ <% include('searchbar-ticket.html') %>
|
|
<% include('/elements/about_freeside.html') |n %> | -
<% include('/elements/about_rt.html') |n %> | -