[freeside-commits] freeside/rt/html/Elements FreesideSvcSearch, 1.3, 1.3.2.1
Ivan,,,
ivan at wavetail.420.am
Fri Apr 17 00:03:05 PDT 2009
Update of /home/cvs/cvsroot/freeside/rt/html/Elements
In directory wavetail.420.am:/tmp/cvs-serv6430/rt/html/Elements
Modified Files:
Tag: FREESIDE_1_7_BRANCH
FreesideSvcSearch
Log Message:
hide service search unless user has "View customer services" ACL, RT#3478
Index: FreesideSvcSearch
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/FreesideSvcSearch,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- FreesideSvcSearch 29 Dec 2006 08:51:33 -0000 1.3
+++ FreesideSvcSearch 17 Apr 2009 07:03:03 -0000 1.3.2.1
@@ -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>
+% }
More information about the freeside-commits
mailing list