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 |
acp_logs.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 class acp_logs_info
15 {
16 function module()
17 {
18 global $phpbb_dispatcher;
19
20 $modes = array(
21 'admin' => array('title' => 'ACP_ADMIN_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),
22 'mod' => array('title' => 'ACP_MOD_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),
23 'users' => array('title' => 'ACP_USERS_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),
24 'critical' => array('title' => 'ACP_CRITICAL_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),
25 );
26
27 /**
28 * Event to add or modify ACP log modulemodes
29 *
30 * @event core.acp_logs_info_modify_modes
31 * @var array modes Array with modes info
32 * @since 3.1.11-RC1
33 * @since 3.2.1-RC1
34 */
35 $vars = array('modes');
36 extract($phpbb_dispatcher->trigger_event('core.acp_logs_info_modify_modes', compact($vars)));
37
38 return array(
39 'filename' => 'acp_logs',
40 'title' => 'ACP_LOGGING',
41 'modes' => $modes,
42 );
43 }
44
45 function install()
46 {
47 }
48
49 function uninstall()
50 {
51 }
52 }
53