Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
gd_wave.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * 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 }
43