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 /rt/html | |
parent | caa6c563bd570fc53f333589bc95bc7a570626d0 (diff) |
hide service search unless user has "View customer services" ACL, RT#3478
Diffstat (limited to 'rt/html')
-rw-r--r-- | rt/html/Elements/FreesideSvcSearch | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rt/html/Elements/FreesideSvcSearch b/rt/html/Elements/FreesideSvcSearch index 4a5942421..d68122da5 100644 --- a/rt/html/Elements/FreesideSvcSearch +++ b/rt/html/Elements/FreesideSvcSearch @@ -1,3 +1,4 @@ +% if ( $FS::CurrentUser::CurrentUser->access_right('View customer services') ) { <form action="<% $RT::URI::freeside::URL %>/search/cust_svc.html" STYLE="margin:0"> <SCRIPT TYPE="text/javascript"> function clearhint_search_svc (what) { @@ -9,3 +10,4 @@ <A NOTYET="<% $RT::URI::freeside::URL %>search/svc_Smarter.html" STYLE="color: #000000; font-size: 70%; font-weight:normal">Advanced</A> <input type="submit" value="<&|/l&>Search services</&>" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:70%"> </form> +% } |