R33585 - /trunk/etemplate/inc/class.ajax_captcha_widget.inc.php

Author: nathangray
New Revision: 33585

URL: http://www.egroupware.org/viewvc/egroupware?rev=33585&view=rev
Log:
Updated file from Randy Houlahan

  • Updates for JS code changes
  • Change in file name handling - looks for lower case now

Modified:
trunk/etemplate/inc/class.ajax_captcha_widget.inc.php

Modified: trunk/etemplate/inc/class.ajax_captcha_widget.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/etemplate/inc/class.ajax_captcha_widget.inc.php?rev=33585&r1=33584&r2=33585&view=diff

— trunk/etemplate/inc/class.ajax_captcha_widget.inc.php (original)
+++ trunk/etemplate/inc/class.ajax_captcha_widget.inc.php Mon Jan 10 16:44:32 2011
@@ -74,7 +74,7 @@
$value = array(‘captcha’=>’’,‘captcha_code’=>’’);

	//set needed onload for refresh JS
  •   $GLOBALS['egw']->js->set_onload('"document.getElementById(\'show_image\').src = \''.$GLOBALS['egw_info']['server']['webserver_url'].'/index.php?menuaction=etemplate.ajax_captcha_widget.show_image&sid=\' + Math.random(); return false"'
    
  •   egw_framework::set_onload('document.getElementById(\'show_image\').src = \''.$GLOBALS['egw_info']['server']['webserver_url'].'/index.php?menuaction=etemplate.ajax_captcha_widget.show_image&sid=\' + Math.random(); return false'
      );
      
      // sets audio icon link properties
    

@@ -1026,7 +1026,7 @@

	//print($count);
	//if($count!=4){$count++;continue;} 
  •   $fname=$this->audio_path . strtoupper($letter) . '.wav';
    
  •   $fname=$this->audio_path . strtolower($letter) . '.wav';
      $fp     = fopen($fname,'rb');
       $header = fread($fp,36);
       $info   = unpack($fields,$header);
    

Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers’ information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs