commit | author | age
|
f14188
|
1 |
<?php |
T |
2 |
|
b1a6a5
|
3 |
$module["name"] = "dns"; |
MC |
4 |
$module["title"] = "top_menu_dns"; |
|
5 |
$module["template"] = "module.tpl.htm"; |
|
6 |
$module["startpage"] = "dns/dns_soa_list.php"; |
f14188
|
7 |
$module["tab_width"] = ''; |
a563d5
|
8 |
$module['order'] = '50'; |
f14188
|
9 |
|
6b029a
|
10 |
|
b1a6a5
|
11 |
$items[] = array( 'title' => "Add DNS Zone", |
MC |
12 |
'target' => 'content', |
|
13 |
'link' => 'dns/dns_wizard.php', |
|
14 |
'html_id' => 'dns_wizard'); |
6b029a
|
15 |
|
b1a6a5
|
16 |
$items[] = array( 'title' => "Import Zone File", |
MC |
17 |
'target' => 'content', |
|
18 |
'link' => 'dns/dns_import.php', |
|
19 |
'html_id' => 'dns_import'); |
4c2c36
|
20 |
|
6b029a
|
21 |
if($_SESSION["s"]["user"]["typ"] == 'admin') { |
b1a6a5
|
22 |
$items[] = array( 'title' => "Templates", |
MC |
23 |
'target' => 'content', |
|
24 |
'link' => 'dns/dns_template_list.php', |
|
25 |
'html_id' => 'dns_template_list'); |
6b029a
|
26 |
} |
T |
27 |
|
|
28 |
|
b1a6a5
|
29 |
$module["nav"][] = array( 'title' => 'DNS Wizard', |
MC |
30 |
'open' => 1, |
|
31 |
'items' => $items); |
6b029a
|
32 |
|
6af5e9
|
33 |
|
6b029a
|
34 |
unset($items); |
T |
35 |
|
f14188
|
36 |
/* |
T |
37 |
Email accounts menu |
|
38 |
*/ |
|
39 |
|
|
40 |
|
b1a6a5
|
41 |
$items[] = array( 'title' => "Zones", |
MC |
42 |
'target' => 'content', |
|
43 |
'link' => 'dns/dns_soa_list.php', |
|
44 |
'html_id' => 'dns_soa_list'); |
15e770
|
45 |
/* |
f14188
|
46 |
$items[] = array( 'title' => "A-Records", |
T |
47 |
'target' => 'content', |
6af5e9
|
48 |
'link' => 'dns/dns_a_list.php', |
M |
49 |
'html_id' => 'dns_a_list'); |
15e770
|
50 |
*/ |
f14188
|
51 |
|
T |
52 |
|
b1a6a5
|
53 |
$module["nav"][] = array( 'title' => 'DNS', |
MC |
54 |
'open' => 1, |
|
55 |
'items' => $items); |
13d323
|
56 |
|
T |
57 |
unset($items); |
|
58 |
|
b1a6a5
|
59 |
$items[] = array( 'title' => "Secondary Zones", |
MC |
60 |
'target' => 'content', |
|
61 |
'link' => 'dns/dns_slave_list.php', |
|
62 |
'html_id' => 'dns_slave_list'); |
13d323
|
63 |
|
b1a6a5
|
64 |
$module["nav"][] = array( 'title' => 'Secondary DNS', |
MC |
65 |
'open' => 1, |
|
66 |
'items' => $items); |
13d323
|
67 |
|
a59731
|
68 |
unset($items); |
13d323
|
69 |
|
T |
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
b1a6a5
|
74 |
?> |