diff options
author | ivan <ivan> | 2009-04-17 07:03:02 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-04-17 07:03:02 +0000 |
commit | 465e3d31929f6002146367e1950e3d2b70190846 (patch) | |
tree | 14b931fe5a10b0edb7b765adadb736b22e440e1f /httemplate/elements | |
parent | caa6c563bd570fc53f333589bc95bc7a570626d0 (diff) |
hide service search unless user has "View customer services" ACL, RT#3478
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/header.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 8e902f038..058756745 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -202,11 +202,13 @@ input.fsblackbuttonselected { </TD> <TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right"> +% if ( $curuser->access_right('View customer services') ) { <FORM ACTION="<%$fsurl%>search/cust_svc.html" METHOD="GET" STYLE="margin:0"> <INPUT NAME="search_svc" TYPE="text" VALUE="(user, email, ip, mac, or domain)" SIZE="26" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" STYLE="vertical-align:bottom;text-align:right"><BR> <A NOTYET="<%$fsurl%>search/svc_Smarter.html" STYLE="color: #000000; font-size: 70%">Advanced</A> <INPUT TYPE="submit" VALUE="Search services" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:70%"> </FORM> +% } </TD> <TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right" STYLE="padding-right:4px"> |