X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=c83529e2b186bc2e9dcd6167dde1c1fc88c04142;hb=31f2e890b5b3e1b0ad29a877ff67bc641ea1fc40;hp=08de3b6861a9f6554c0973cc7e65869ad88d6ed5;hpb=55e2a98988c76425ec2dac583b91410eaf835659;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 08de3b686..c83529e2b 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -15,7 +15,6 @@ Example: #old-style include( '/elements/header.html', 'Title', $menubar, $etc, $head); - %doc> %# @@ -24,7 +23,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 +67,55 @@ Example:
+ |
|
-
-
- |
-
-
- |
- |
-
-% if ( $curuser->access_right('List prospects') ) {
-
-% }
+ <% include('searchbar-prospect.html') |n %>
|
-% if ( $curuser->access_right('List customers') ) {
-
-% }
+ <% include('searchbar-cust_main.html') |n %>
|
-% if ( $conf->exists('address2-search') ) {
-
-% }
+ <% include('searchbar-address2.html') |n %>
|
-% if ( $curuser->access_right('View invoices') ) {
-
-% }
+ <% include('searchbar-cust_bill.html') |n %>
|
-% if ( $curuser->access_right('View customer services') ) {
-
-% }
+ <% include('searchbar-cust_svc.html') |n %>
|
-% if ( $conf->config("ticket_system") ) {
-
-% }
+ <% include('searchbar-ticket.html') |n %>
|
|
<% include('/elements/about_freeside.html') |n %> | -
<% include('/elements/about_rt.html') |n %> | -