1 % if ( $curuser->access_right('View customer services') ) {
3 <FORM ACTION="<%$fsurl%>search/cust_svc.html" METHOD="GET" STYLE="margin:0">
4 <INPUT NAME="search_svc" TYPE="text" VALUE="<% $svc_label |n %>" STYLE="width:<% $width %>" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" CLASS="fstext"><BR>
5 <A NOTYET="<%$fsurl%>search/svc_Smarter.html" STYLE="color: #cccccc; font-size:11px">Advanced</A>
6 <INPUT TYPE="submit" VALUE="Search services" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px">
8 <% $menu_position eq 'left' ? '<BR>' : '' %>
12 <SCRIPT TYPE="text/javascript">
14 function clearhint_search_svc (what) {
15 if ( what.value == '<% $svc_label |n %>' )
22 my $svc_label = '(user, email, ip, mac, domain or service phone)';
27 my $curuser = $FS::CurrentUser::CurrentUser;
29 my $menu_position = $curuser->option('menu_position') || 'top';
31 my $width = $menu_position eq 'left' ? '190px' : '271px';