[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/phpbb/captcha/plugins/ -> gd_wave.php (source)

   1  <?php
   2  /**
   3  *
   4  * This file is part of the phpBB Forum Software package.
   5  *
   6  * @copyright (c) phpBB Limited <https://www.phpbb.com>
   7  * @license GNU General Public License, version 2 (GPL-2.0)
   8  *
   9  * For full copyright and license information, please see
  10  * the docs/CREDITS.txt file.
  11  *
  12  */
  13  
  14  namespace phpbb\captcha\plugins;
  15  
  16  class gd_wave extends captcha_abstract
  17  {
  18  	public function is_available()
  19      {
  20          return @extension_loaded('gd');
  21      }
  22  
  23  	public function get_name()
  24      {
  25          return 'CAPTCHA_GD_3D';
  26      }
  27  
  28      /**
  29      * @return string the name of the class used to generate the captcha
  30      */
  31  	function get_generator_class()
  32      {
  33          return '\\phpbb\\captcha\\gd_wave';
  34      }
  35  
  36  	function acp_page($id, $module)
  37      {
  38          global $user;
  39  
  40          trigger_error($user->lang['CAPTCHA_NO_OPTIONS'] . adm_back_link($module->u_action));
  41      }
  42  }


Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1