summaryrefslogtreecommitdiff
path: root/httemplate/edit/svc_acct.cgi
diff options
context:
space:
mode:
authormark <mark>2011-03-16 02:06:01 +0000
committermark <mark>2011-03-16 02:06:01 +0000
commit17f3013e588e4c574ee295cc8c555409be5cf9dd (patch)
tree1bb31f7e00e11e2c7af346f447a2587f917e41d3 /httemplate/edit/svc_acct.cgi
parent8bc81fd7828fd71281c6a3d7a9f4f6266498a302 (diff)
google account export tweaks, #11760
Diffstat (limited to 'httemplate/edit/svc_acct.cgi')
-rwxr-xr-xhttemplate/edit/svc_acct.cgi12
1 files changed, 12 insertions, 0 deletions
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi
index 0a191b445..2eb4a8b86 100755
--- a/httemplate/edit/svc_acct.cgi
+++ b/httemplate/edit/svc_acct.cgi
@@ -340,6 +340,12 @@ Service # <% $svcnum ? "<B>$svcnum</B>" : " (NEW)" %><BR>
</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 @@ sub max {
(sort(@_))[-1]
}
+my $captcha_url;
+my ($export_google) = $part_svc->part_export('acct_google');
+if ( $export_google ) {
+ $captcha_url = $export_google->captcha_url || '';
+}
+
</%init>