[freeside-commits] freeside/httemplate/edit agent.cgi,1.22,1.23
Ivan,,,
ivan at wavetail.420.am
Thu Nov 11 17:17:20 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv15569/httemplate/edit
Modified Files:
agent.cgi
Log Message:
agent username/password, RT#9608
Index: agent.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/agent.cgi,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -w -d -r1.22 -r1.23
--- agent.cgi 7 Apr 2010 08:24:11 -0000 1.22
+++ agent.cgi 12 Nov 2010 01:17:18 -0000 1.23
@@ -54,6 +54,25 @@
</TD>
</TR>
+% if ( $conf->exists('selfservice-agent_login') ) {
+
+ <TR>
+ <TH ALIGN="right">Username</TH>
+ <TD><INPUT TYPE="text" NAME="username" SIZE=16 VALUE="<% $agent->username %>"></TD>
+ </TR>
+
+ <TR>
+ <TH ALIGN="right">Password</TH>
+ <TD><INPUT TYPE="password" NAME="_password" SIZE=16 VALUE="<% $agent->_password %>"></TD>
+ </TR>
+
+% } else {
+
+ <INPUT TYPE="hidden" NAME="username" VALUE="<% $agent->username |h %>">
+ <INPUT TYPE="hidden" NAME="_password" VALUE="<% $agent->_password |h %>">
+
+% }
+
<TR>
<TD ALIGN="right">Disable</TD>
<TD><INPUT TYPE="checkbox" NAME="disabled" VALUE="Y"<% $agent->disabled eq 'Y' ? ' CHECKED' : '' %>></TD>
More information about the freeside-commits
mailing list