[freeside-commits] freeside/httemplate/edit svc_acct.cgi, 1.45.2.2, 1.45.2.3
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Jul 17 20:23:31 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv22363/httemplate/edit
Modified Files:
Tag: FREESIDE_1_7_BRANCH
svc_acct.cgi
Log Message:
svc_acct.dir should be editable with ACL (#1730)
Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_acct.cgi,v
retrieving revision 1.45.2.2
retrieving revision 1.45.2.3
diff -u -d -r1.45.2.2 -r1.45.2.3
--- svc_acct.cgi 12 Apr 2007 03:18:25 -0000 1.45.2.2
+++ svc_acct.cgi 18 Jul 2007 03:23:29 -0000 1.45.2.3
@@ -326,10 +326,22 @@
</TD>
</TR>
% }
-
+%
+%#dir
+%if ( $part_svc->part_svc_column('dir')->columnflag eq 'F'
+% || !$curuser->access_right('Edit home dir')
+% ) {
<INPUT TYPE="hidden" NAME="dir" VALUE="<% $svc_acct->dir %>">
+% } else {
+
+
+ <TR>
+ <TD ALIGN="right">Home directory</TD>
+ <TD><INPUT TYPE="text" NAME="dir" VALUE="<% $svc_acct->dir %>"></TD>
+ </TR>
+% }
%
%#shell
%my $shell = $svc_acct->shell;
More information about the freeside-commits
mailing list