[freeside-commits] freeside/httemplate/edit svc_acct.cgi, 1.75, 1.76

Ivan,,, ivan at wavetail.420.am
Thu Jun 23 16:19:29 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv12607/httemplate/edit

Modified Files:
	svc_acct.cgi 
Log Message:
add svc_acct-no_edit_username config, RT#13416

Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_acct.cgi,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -w -d -r1.75 -r1.76
--- svc_acct.cgi	21 Jun 2011 01:04:55 -0000	1.75
+++ svc_acct.cgi	23 Jun 2011 23:19:27 -0000	1.76
@@ -45,9 +45,14 @@
 
 <TR>
   <TD ALIGN="right"><% mt('Username') |h %></TD>
+% if ( $conf->exists('svc_acct-no_edit_username') ) {
+    <TD BGCOLOR="#eeeeee"><% $svc_acct->username() %></TD>
+    <INPUT TYPE="hidden" NAME="username" VALUE="<% $username %>">
+% } else {
   <TD>
     <INPUT TYPE="text" NAME="username" VALUE="<% $username %>" SIZE=<% $ulen2 %> MAXLENGTH=<% $ulen %>>
   </TD>
+% }
 </TR>
 
 %if ( $part_svc->part_svc_column('_password')->columnflag ne 'F' ) {



More information about the freeside-commits mailing list