-
Notifications
You must be signed in to change notification settings - Fork 3
/
provides.php
executable file
·51 lines (47 loc) · 2.17 KB
/
provides.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
// Add local config
configAppendFile(__DIR__ . '/config.php');
if (!conf('caching_show_itemized')) {
return array(
'client_tabs' => array(
'caching-tab' => array('view' => 'caching_tab', 'i18n' => 'caching.client_tab_title'),
),
'listings' => array(
'caching' => array('view' => 'caching_listing', 'i18n' => 'caching.listing_title'),
),
'widgets' => array(
'caching' => array('view' => 'caching_widget'),
'caching_media' => array('view' => 'caching_media_widget'),
'caching_icloud' => array('view' => 'caching_icloud_widget'),
'caching_software' => array('view' => 'caching_software_widget'),
'caching_graph' => array('view' => 'caching_graph_widget'),
'caching_usage' => array('view' => 'caching_usage_widget'),
'caching_reachable_servers' => array('view' => 'caching_reachable_servers_widget'),
),
'reports' => array(
'caching' => array('view' => 'server', 'i18n' => 'caching.reporttitle'),
),
);
} else {
return array(
'client_tabs' => array(
'caching-tab' => array('view' => 'caching_tab', 'i18n' => 'caching.client_tab_title'),
),
'listings' => array(
'caching' => array('view' => 'caching_listing', 'i18n' => 'caching.listing_title'),
'caching_legacy' => array('view' => 'caching_legacy_listing', 'i18n' => 'caching.listing_title_legacy'),
),
'widgets' => array(
'caching' => array('view' => 'caching_widget'),
'caching_media' => array('view' => 'caching_media_widget'),
'caching_icloud' => array('view' => 'caching_icloud_widget'),
'caching_software' => array('view' => 'caching_software_widget'),
'caching_graph' => array('view' => 'caching_graph_widget'),
'caching_usage' => array('view' => 'caching_usage_widget'),
'caching_reachable_servers' => array('view' => 'caching_reachable_servers_widget'),
),
'reports' => array(
'caching' => array('view' => 'server', 'i18n' => 'caching.reporttitle'),
),
);
}