X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fsearchbar-cust_main.html;h=7f8f9d85088768ced4212941dc0fc0373bb9dadf;hp=e910681dc6a8cffea3afe8b1407895f09555ebf5;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=483a2e4dad0f7ce8dbdc06a825d1aa11bd742f6b diff --git a/httemplate/elements/searchbar-cust_main.html b/httemplate/elements/searchbar-cust_main.html index e910681dc..7f8f9d850 100644 --- a/httemplate/elements/searchbar-cust_main.html +++ b/httemplate/elements/searchbar-cust_main.html @@ -1,11 +1,11 @@ % if ( $curuser->access_right('List customers') ) { -
+
- Advanced - + <% mt('Advanced') |h %> +
- <% $menu_position eq 'left' ? '
' : '' %> + <% $menu_position eq 'left' ? '
' : '' |n %> % } @@ -26,13 +26,15 @@ my $curuser = $FS::CurrentUser::CurrentUser; my $menu_position = $curuser->option('menu_position') || 'top'; my $cust_width = 246; -my $cust_label = '(cust #, name, company'; +my $cust_label = '(cust #, name, company, email'; if ( $conf->exists('address1-search') ) { $cust_label .= ', address'; $cust_width += 56; } $cust_label .= ' or contact phone)'; +$cust_label = emt($cust_label); + my $width = $menu_position eq 'left' ? '190px' : $cust_width.'px';