Vergleich captcha.php - 1.6.0 - 1.6.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: captcha.php 5016 2010-06-12 00:24:02Z RyanGordon $

 * $Id: captcha.php 5560 2011-08-28 21:53:04Z PirataNervo $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 250Zeile 250
			//$pos_x = $pos_x + $string_width + ($string_width/4);
$pos_x = $spacing / 4 + $i * $spacing;
$pos_y = ceil(($img_height-$string_height/2));

			//$pos_x = $pos_x + $string_width + ($string_width/4);
$pos_x = $spacing / 4 + $i * $spacing;
$pos_y = ceil(($img_height-$string_height/2));

			
if($pos_x + $string_width > $img_width)
{
$pos_x = $pos_x - ($pos_x - $string_width);
}

 

// Draw a shadow
$shadow_x = my_rand(-3, 3) + $pos_x;


// Draw a shadow
$shadow_x = my_rand(-3, 3) + $pos_x;