forked from xneelo/ipplan
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenudefs.php
More file actions
110 lines (100 loc) · 5.11 KB
/
menudefs.php
File metadata and controls
110 lines (100 loc) · 5.11 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?php
// IPplan v2026.1.8.2
// Originally Aug 24, 2001 - Updated January 2026
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
$ADMIN_MENU=
".|".my_("Main")."|$BASE_URL/index.php
.|".my_("Customers")."|$BASE_URL/user/displaycustomerform.php
..|".my_("Create a New Customer/Autonomous System")."|$BASE_URL/user/modifycustomer.php
..|".my_("Edit Existing Customer/Autonomous System")."|$BASE_URL/user/displaycustomerform.php
.|".my_("Network")."
..|".my_("Hierarchy")."
...|".my_("Create a new Network Area")."|$BASE_URL/user/createarea.php
...|".my_("Create a new Network Range/Supernet")."|$BASE_URL/user/createrange.php
...|".my_("Display/Modify/Delete Ranges/Supernets")."|$BASE_URL/user/modifyarearangeform.php
";
if (REGENABLED) {
$ADMIN_MENU.="
..|".my_("Registrar")."|$BASE_URL/user/displayswipform.php
...|".my_("Display Registrar Information")."|$BASE_URL/user/displayswipform.php\n";
}
$ADMIN_MENU.="
..|".my_("Subnets")."|$BASE_URL/user/displaybaseform.php
...|".my_("Create Subnet")."|$BASE_URL/user/createsubnetform.php
...|".my_("Create from Routing Table")."|$BASE_URL/user/displayrouterform.php
...|".my_("Delete/Edit/Modify/Split/Join Subnet")."|$BASE_URL/user/modifybaseform.php
...|".my_("Display Subnet Information")."|$BASE_URL/user/displaybaseform.php
...|".my_("Display Subnet Information - Tree")."|$BASE_URL/user/treeview.php
...|".my_("Search All Subnets")."|$BASE_URL/user/searchallform.php
...|".my_("Find Free Space")."|$BASE_URL/user/findfreeform.php
...|".my_("Display Subnet Overlap")."|$BASE_URL/user/displayoverlapform.php
..|".my_("Request an IP address")."|$BASE_URL/user/requestip.php\n";
if (DNSENABLED) {
$ADMIN_MENU .="
.|".my_("DNS")."
..|".my_("Create/Modify/Export Zone Domains")."|$BASE_URL/user/modifydns.php
..|".my_("Create/Modify Zone DNS Records")."|$BASE_URL/user/modifydnsrecord.php
..|".my_("Create/Modify Reverse DNS Records")."|$BASE_URL/user/modifyzone.php\n";
}
$ADMIN_MENU .="
.|".my_("Options")."
..|".my_("Settings")."|$BASE_URL/user/changesettings.php
..|".my_("Change my Password")."|$BASE_URL/admin/changepassword.php
.|".my_("Admin")."
..|".my_("Users")."|$BASE_URL/admin/usermanager.php
...|".my_("Create a new User")."|$BASE_URL/admin/usermanager.php?action=newuserform
...|".my_("Add a user to Group")."|$BASE_URL/admin/usermanager.php
...|".my_("Display/Edit Users")."|$BASE_URL/admin/usermanager.php
..|".my_("Groups")."|$BASE_URL/admin/usermanager.php?action=newgroupform
...|".my_("Create a new Group")."|$BASE_URL/admin/usermanager.php?action=newgroupform
...|".my_("Add Authority Bounderies to Group")."|$BASE_URL/admin/usermanager.php
...|".my_("Display/Modify Authority Boundary Info")."|$BASE_URL/admin/displayboundsform.php
..|".my_("Import")."
...|".my_("Import Subnet Descriptions")."|$BASE_URL/admin/importbaseform.php
...|".my_("Import IP Address Detail Records")."|$BASE_URL/admin/importipform.php
..|".my_("Export")."
...|".my_("Export Subnet Descriptions")."|$BASE_URL/admin/exportbaseform.php
...|".my_("Export IP Address Detail Records")."|$BASE_URL/admin/exportipform.php
..|".my_("Maintenance")."|$BASE_URL/admin/maintenance.php
..|".my_("Display Audit Log")."|$BASE_URL/admin/displayauditlog.php
.|".my_("Help")."
..|".my_("Using IPplan")."|$BASE_URL/help.php?section=user&page=index
...|".my_("Overview")."|$BASE_URL/help.php?section=user&page=index
...|".my_("Quick Start")."|$BASE_URL/help.php?section=user&page=getting-started
...|".my_("Managing Subnets")."|$BASE_URL/help.php?section=user&page=subnets
...|".my_("IP Addresses")."|$BASE_URL/help.php?section=user&page=ip-addresses
...|".my_("User FAQ")."|$BASE_URL/help.php?section=user&page=faq
..|".my_("System Administration")."|$BASE_URL/help.php?section=admin&page=index
...|".my_("Overview")."|$BASE_URL/help.php?section=admin&page=index
...|".my_("Installation")."|$BASE_URL/help.php?section=admin&page=installation
...|".my_("Configuration")."|$BASE_URL/help.php?section=admin&page=configuration
...|".my_("User Management")."|$BASE_URL/help.php?section=admin&page=user-management
...|".my_("Planned Enhancements")."|$BASE_URL/help.php?section=admin&page=planned-enhancements
...|".my_("Admin FAQ")."|$BASE_URL/help.php?section=admin&page=faq
..|".my_("About")."|$BASE_URL/about.php
...|".my_("History")."|".PROJECT_INFO_HISTORY."
..|".my_("License")."|$BASE_URL/license.php
..|".my_("Community Discussions")."|".DISCUSSIONS_URL."
";
// add menu extensions
if (MENU_PRIV) {
$ADMIN_MENU .= MENU_EXTENSION;
}
if (AUTH_LOGOUT) {
$ADMIN_MENU .= ".|".my_("Logout")."|$BASE_URL/user/logout.php\n";
}
?>