diff options
author | mark <mark> | 2011-03-16 01:43:29 +0000 |
---|---|---|
committer | mark <mark> | 2011-03-16 01:43:29 +0000 |
commit | b3e430d72c5988d2e8d7f0cb9e0548d745195da8 (patch) | |
tree | b07b8c8349b00559a28855e6f497b88031f131ed /httemplate/edit/svc_acct.cgi | |
parent | d117f36952b5829085958d647f29bd3deac6acf5 (diff) |
google account export tweaks, #11760
Diffstat (limited to 'httemplate/edit/svc_acct.cgi')
-rwxr-xr-x | httemplate/edit/svc_acct.cgi | 12 |
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> |