includes/captcha.php
changeset 329 e48b1937dfc3
parent 327 202c37a8713a
equal deleted inserted replaced
328:17eebd541742 329:e48b1937dfc3
     1 <?php
     1 <?php
     2 
     2 
     3 /*
     3 /*
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     5  * Version 1.0.5 (Ferrishyn)
     5  * Version 1.0.6 (Roane)
     6  * Copyright (C) 2006-2007 Dan Fuhry
     6  * Copyright (C) 2006-2007 Dan Fuhry
     7  * captcha.php - visual confirmation system used during registration
     7  * captcha.php - visual confirmation system used during registration
     8  *
     8  *
     9  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
     9  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
    10  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    10  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
   156       echo $image;
   156       echo $image;
   157       
   157       
   158       unset($image);
   158       unset($image);
   159       unset($_png);
   159       unset($_png);
   160     } elseif(defined('ENANO_CAPTCHA_BIGNFAT')) {
   160     } elseif(defined('ENANO_CAPTCHA_BIGNFAT')) {
       
   161       
       
   162       /**************************************************************************
       
   163        *                            usercp_confirm.php
       
   164        *                            -------------------
       
   165        *   begin                : Feb 23, 2006
       
   166        *   copyright            : (C) 2006 AmigaLink
       
   167        *   website              : www.AmigaLink.de
       
   168        *
       
   169        *   $Id: usercp_confirm.php,v 2.0.9.0 2006/03/29 14:03:00 AmigaLink Exp $
       
   170        * ************************************************************************
       
   171        * CAPTCHA engine by AmigaLink - Copyright (C) 2006
       
   172        * Released under the GNU General Public License
       
   173        * Modified for use in Enano approximately October 7, 2006
       
   174        */
       
   175       
   161       // Prefs
   176       // Prefs
   162       $total_width = $this->captcha_config['width'];
   177       $total_width = $this->captcha_config['width'];
   163       $total_height = $this->captcha_config['height'];
   178       $total_height = $this->captcha_config['height'];
   164       
   179       
   165       $hex_bg_color = $this->get_rgb($this->captcha_config['background_color']);
   180       $hex_bg_color = $this->get_rgb($this->captcha_config['background_color']);
   741      return $match[0];
   756      return $match[0];
   742   }
   757   }
   743     
   758     
   744 }
   759 }
   745 
   760 
   746 // define('ENANO_CAPTCHA_BIGNFAT', '');
   761 define('ENANO_CAPTCHA_BIGNFAT', '');
   747   
   762   
   748 ?>
   763 ?>