X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Fheader.html;h=5c4d736d23ab526518d07e982e34fb764a97e6aa;hb=43e42a04ae37ca7a84c05d9ff8b94d9f8cde6dcf;hp=32035b0816cceae80a5b740077519c3c62f1d0bf;hpb=2fc4e14db2e9ae2ff9ee2c31e498782800d576b5;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 32035b081..5c4d736d2 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,4 +1,26 @@ +<%doc> + +Example: + + include( '/elements/header.html', + { + 'title' => 'Title', + 'menubar' => \@menubar, + 'etc' => '', #included in
tag, for things like onLoad= + 'head' => '', #included before closing tag + 'nobr' => 0, #1 for no+ | ||||||||||||
+ | @@ -158,12 +190,12 @@ input.fstext { | |||||||||||
+ | ||||||||||||
+ | ||||||||||||
+ | +% if ( $curuser->access_right('List prospects') ) { + +% } + | + +% if ( $curuser->access_right('List customers') ) { @@ -185,41 +227,39 @@ input.fstext { % if ( $conf->exists('address2-search') ) { % } | % if ( $curuser->access_right('View invoices') ) { - % } | -+ | % if ( $curuser->access_right('View customer services') ) { % } | -+ | % if ( $conf->config("ticket_system") ) { @@ -313,4 +353,19 @@ if ( scalar(@agentnums) == 1 ) { $company_name = $conf->config('company_name'); } +my $prospect_label = '(name, company or phone)'; + +my $cust_width = 246; +my $cust_label = '(cust #, name, company'; +if ( $conf->exists('address1-search') ) { + $cust_label .= ', address'; + $cust_width += 56; +} +$cust_label .= ' or contact phone)'; + +my $address2_label = '(Unit #)'; +my $inv_label = '(inv #)'; +my $svc_label = '(user, email, ip, mac, domain or service phone)'; +my $ticketing_label = '(ticket #, subject, email or fulltext:text)'; + %init> |