Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 16 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
acp_logs_info | |
0.00% |
0 / 16 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
module | |
0.00% |
0 / 14 |
|
0.00% |
0 / 1 |
2 | |||
install | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
uninstall | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
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 | 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 | } |