-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule.conf.php
More file actions
73 lines (50 loc) · 1.51 KB
/
module.conf.php
File metadata and controls
73 lines (50 loc) · 1.51 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
$module["name"] = "dns";
$module["title"] = "top_menu_dns";
$module["template"] = "module.tpl.htm";
$module["startpage"] = "dns/dns_soa_list.php";
$module["tab_width"] = '';
$items[] = array( 'title' => "Add DNS Zone",
'target' => 'content',
'link' => 'dns/dns_wizard.php',
'html_id' => 'dns_wizard');
$items[] = array( 'title' => "Import Zone File",
'target' => 'content',
'link' => 'dns/dns_import.php',
'html_id' => 'dns_import');
if($_SESSION["s"]["user"]["typ"] == 'admin') {
$items[] = array( 'title' => "Templates",
'target' => 'content',
'link' => 'dns/dns_template_list.php',
'html_id' => 'dns_template_list');
}
$module["nav"][] = array( 'title' => 'DNS Wizard',
'open' => 1,
'items' => $items);
unset($items);
/*
Email accounts menu
*/
$items[] = array( 'title' => "Zones",
'target' => 'content',
'link' => 'dns/dns_soa_list.php',
'html_id' => 'dns_soa_list');
/*
$items[] = array( 'title' => "A-Records",
'target' => 'content',
'link' => 'dns/dns_a_list.php',
'html_id' => 'dns_a_list');
*/
$module["nav"][] = array( 'title' => 'DNS',
'open' => 1,
'items' => $items);
unset($items);
$items[] = array( 'title' => "Secondary Zones",
'target' => 'content',
'link' => 'dns/dns_slave_list.php',
'html_id' => 'dns_slave_list');
$module["nav"][] = array( 'title' => 'Secondary DNS',
'open' => 1,
'items' => $items);
unset($items);
?>