--- loncom/interface/loncommon.pm 2014/02/17 17:14:30 1.1075.2.65 +++ loncom/interface/loncommon.pm 2014/02/19 19:49:30 1.1075.2.66 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1075.2.65 2014/02/17 17:14:30 raeburn Exp $ +# $Id: loncommon.pm,v 1.1075.2.66 2014/02/19 19:49:30 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -14898,7 +14898,7 @@ sub captcha_display { $error = 'recaptcha'; } } - return ($output,$error); + return ($output,$error,$captcha); } sub captcha_response { @@ -14974,8 +14974,9 @@ sub create_captcha { if (-e $Apache::lonnet::perlvar{'lonCaptchaDir'}.'/'.$md5sum.'.png') { $output = ''."\n". &mt('Type in the letters/numbers shown below').' '. - '
'. - ''; + ''. + '
'. + 'captcha'; last; } }