X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Fheader.html;h=495923c4d66540d613810e0b92b8dc4bfe38aacf;hb=03ceab71dad1e5eb366865d304e5e459cc905ce4;hp=5487346a573f0f4956462822c33efaaf9e7e3278;hpb=db73422eae5dfcd2d96380ce31941e94c9d9b1ae;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 5487346a5..495923c4d 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 +188,12 @@ input.fstext { | |||||||||||
+ | ||||||||||||
+ | ||||||||||||
+ | +% if ( $curuser->access_right('List prospects') ) { + +% } + | + +% if ( $curuser->access_right('List customers') ) { @@ -185,41 +225,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 +351,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> |