From fdb1118b5c494c67e883b2c2ff1a8a1b30a7b7ab Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 27 Oct 2009 18:11:44 +0000 Subject: address1 search, RT#5060 --- httemplate/elements/header.html | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) (limited to 'httemplate') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index b9ddc7369..0e6bbdeb2 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -40,27 +40,27 @@ Example: @@ -196,7 +196,7 @@ input.fstext { % if ( $curuser->access_right('List customers') ) {
-
+
Advanced
@@ -207,7 +207,7 @@ input.fstext { % if ( $conf->exists('address2-search') ) {
- +
@@ -216,14 +216,13 @@ input.fstext { % if ( $curuser->access_right('View invoices') ) { -
- + % if ( $curuser->access_right('List invoices') ) { - Adv + Adv\ % } -
- +
+
% } @@ -231,7 +230,7 @@ input.fstext { % if ( $curuser->access_right('View customer services') ) {
-
+
Advanced
@@ -241,7 +240,7 @@ input.fstext { % if ( $conf->config("ticket_system") ) {
-
+
Advanced
@@ -335,4 +334,17 @@ if ( scalar(@agentnums) == 1 ) { $company_name = $conf->config('company_name'); } +my $cust_width = 288; #251 #ok for IE, slightly bigger for windows firefox +my $cust_label = '(cust #, name, company'; +if ( $conf->exists('address1-search') ) { + $cust_label .= ', address'; + $cust_width += 64; +} +$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)'; + -- cgit v1.2.1