[freeside-commits] freeside/httemplate/edit svc_acct.cgi, 1.69, 1.70

Mark Wells mark at wavetail.420.am
Tue Mar 15 18:43:31 PDT 2011


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

Modified Files:
	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.70
diff -u -w -d -r1.69 -r1.70
--- svc_acct.cgi	6 Aug 2010 21:28:09 -0000	1.69
+++ svc_acct.cgi	16 Mar 2011 01:43:29 -0000	1.70
@@ -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