[freeside-commits] freeside/httemplate/edit svc_acct.cgi, 1.69, 1.69.2.1
Mark Wells
mark at wavetail.420.am
Tue Mar 15 19:06:03 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv18882/httemplate/edit
Modified Files:
Tag: FREESIDE_2_1_BRANCH
svc_acct.cgi
Log Message:
google account export tweaks, #11760
Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_acct.cgi,v
retrieving revision 1.69
retrieving revision 1.69.2.1
diff -u -w -d -r1.69 -r1.69.2.1
--- svc_acct.cgi 6 Aug 2010 21:28:09 -0000 1.69
+++ svc_acct.cgi 16 Mar 2011 02:06:01 -0000 1.69.2.1
@@ -340,6 +340,12 @@
</TABLE>
<BR>
+% if ( $captcha_url ) {
+<IMG SRC="<% $captcha_url %>"><BR>
+Enter the word shown above: <INPUT TYPE="text" NAME="captcha_response"><BR>
+<BR>
+% }
+
<INPUT TYPE="submit" VALUE="Submit">
</FORM>
@@ -485,4 +491,10 @@
(sort(@_))[-1]
}
+my $captcha_url;
+my ($export_google) = $part_svc->part_export('acct_google');
+if ( $export_google ) {
+ $captcha_url = $export_google->captcha_url || '';
+}
+
</%init>
More information about the freeside-commits
mailing list