commit | author | age
|
ba747c
|
1 |
<?php |
T |
2 |
|
3c86a3
|
3 |
$module['name'] = 'mail'; |
P |
4 |
$module['title'] = 'Email'; |
|
5 |
$module['template'] = 'module.tpl.htm'; |
|
6 |
$module['startpage'] = 'mail/mail_domain_list.php'; |
|
7 |
$module['tab_width'] = ''; |
ba747c
|
8 |
|
T |
9 |
|
3c86a3
|
10 |
//**** Email accounts menu |
P |
11 |
$items = array(); |
|
12 |
|
|
13 |
$items[] = array( 'title' => 'Domain', |
ba747c
|
14 |
'target' => 'content', |
T |
15 |
'link' => 'mail/mail_domain_list.php'); |
|
16 |
|
3c86a3
|
17 |
$items[] = array( 'title' => 'Email Mailbox', |
ba747c
|
18 |
'target' => 'content', |
T |
19 |
'link' => 'mail/mail_user_list.php'); |
|
20 |
|
3c86a3
|
21 |
$items[] = array( 'title' => 'Email Alias', |
ba747c
|
22 |
'target' => 'content', |
T |
23 |
'link' => 'mail/mail_alias_list.php'); |
|
24 |
|
3c86a3
|
25 |
$items[] = array( 'title' => 'Email Forward', |
ba747c
|
26 |
'target' => 'content', |
T |
27 |
'link' => 'mail/mail_forward_list.php'); |
|
28 |
|
3c86a3
|
29 |
$items[] = array( 'title' => 'Email Catchall', |
ba747c
|
30 |
'target' => 'content', |
T |
31 |
'link' => 'mail/mail_domain_catchall_list.php'); |
|
32 |
|
3c86a3
|
33 |
$items[] = array( 'title' => 'Email Routing', |
ba747c
|
34 |
'target' => 'content', |
T |
35 |
'link' => 'mail/mail_transport_list.php'); |
|
36 |
|
3c86a3
|
37 |
$module['nav'][] = array( 'title' => 'Email Accounts', |
ba747c
|
38 |
'open' => 1, |
T |
39 |
'items' => $items); |
|
40 |
|
3c86a3
|
41 |
//**** Spamfilter menu |
P |
42 |
$items = array(); |
ba747c
|
43 |
|
3c86a3
|
44 |
$items[] = array( 'title' => 'Whitelist', |
ba747c
|
45 |
'target' => 'content', |
T |
46 |
'link' => 'mail/spamfilter_whitelist_list.php'); |
|
47 |
|
3c86a3
|
48 |
$items[] = array( 'title' => 'Blacklist', |
ba747c
|
49 |
'target' => 'content', |
T |
50 |
'link' => 'mail/spamfilter_blacklist_list.php'); |
|
51 |
|
3c86a3
|
52 |
if($_SESSION['s']['user']['typ'] == 'admin') { |
ba747c
|
53 |
|
3c86a3
|
54 |
$items[] = array( 'title' => 'User / Domain', |
ba747c
|
55 |
'target' => 'content', |
3c86a3
|
56 |
'link' => 'mail/spamfilter_users_list.php'); |
ba747c
|
57 |
|
3c86a3
|
58 |
$items[] = array( 'title' => 'Policy', |
ba747c
|
59 |
'target' => 'content', |
3c86a3
|
60 |
'link' => 'mail/spamfilter_policy_list.php'); |
92bc67
|
61 |
|
T |
62 |
$items[] = array( 'title' => 'Server Settings', |
|
63 |
'target' => 'content', |
|
64 |
'link' => 'mail/spamfilter_config_list.php'); |
ba747c
|
65 |
} |
T |
66 |
|
3c86a3
|
67 |
$module['nav'][] = array( 'title' => 'Spamfilter', |
ba747c
|
68 |
'open' => 1, |
T |
69 |
'items' => $items); |
|
70 |
|
3c86a3
|
71 |
//**** Fetchmail menu |
P |
72 |
$items = array(); |
ba747c
|
73 |
|
3c86a3
|
74 |
$items[] = array( 'title' => 'Fetchmail', |
ba747c
|
75 |
'target' => 'content', |
T |
76 |
'link' => 'mail/mail_get_list.php'); |
|
77 |
|
|
78 |
|
3c86a3
|
79 |
$module['nav'][] = array( 'title' => 'Fetchmail', |
ba747c
|
80 |
'open' => 1, |
T |
81 |
'items' => $items); |
|
82 |
|
2f07ae
|
83 |
//**** Statistics menu |
T |
84 |
$items = array(); |
ba747c
|
85 |
|
94890d
|
86 |
$items[] = array( 'title' => 'Mailbox traffic', |
2f07ae
|
87 |
'target' => 'content', |
T |
88 |
'link' => 'mail/mail_user_stats.php'); |
|
89 |
|
|
90 |
|
|
91 |
$module['nav'][] = array( 'title' => 'Statistics', |
|
92 |
'open' => 1, |
|
93 |
'items' => $items); |
|
94 |
|
|
95 |
|
3c86a3
|
96 |
//**** Global filters menu |
P |
97 |
$items = array(); |
|
98 |
if($_SESSION['s']['user']['typ'] == 'admin') { |
ba747c
|
99 |
|
3c86a3
|
100 |
$items[] = array( 'title' => 'Postfix Whitelist', |
P |
101 |
'target' => 'content', |
|
102 |
'link' => 'mail/mail_whitelist_list.php'); |
ba747c
|
103 |
|
3c86a3
|
104 |
$items[] = array( 'title' => 'Postfix Blacklist', |
P |
105 |
'target' => 'content', |
|
106 |
'link' => 'mail/mail_blacklist_list.php'); |
54fb59
|
107 |
|
3c86a3
|
108 |
$items[] = array( 'title' => 'Content Filter', |
P |
109 |
'target' => 'content', |
|
110 |
'link' => 'mail/mail_content_filter_list.php'); |
ba747c
|
111 |
|
3c86a3
|
112 |
$module['nav'][] = array( 'title' => 'Global Filters', |
ba747c
|
113 |
'open' => 1, |
T |
114 |
'items' => $items); |
|
115 |
} |
|
116 |
|
e22f1e
|
117 |
?> |