Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
dc5789c6
Commit
dc5789c6
authored
May 01, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add User item to menu for changepassword option
parent
a14796a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
+16
-9
priv.inc
src/etc/inc/priv.inc
+4
-1
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+12
-8
No files found.
src/etc/inc/priv.inc
View file @
dc5789c6
...
@@ -29,8 +29,11 @@
...
@@ -29,8 +29,11 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
POSSIBILITY OF SUCH DAMAGE.
*/
*/
require_once
(
"script/load_phalcon.php"
);
global
$priv_list
;
$acl
=
new
OPNsense\Core\ACL
();
$priv_list
=
$acl
->
getLegacyPrivList
();
require_once
'priv.defs.inc'
;
function
cmp_page_matches
(
$page
,
&
$matches
,
$fullwc
=
true
)
{
function
cmp_page_matches
(
$page
,
&
$matches
,
$fullwc
=
true
)
{
...
...
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
dc5789c6
<menu>
<menu>
<!-- Core menu system including legacy stuff -->
<!-- Core menu system including legacy stuff -->
<System
order=
"0"
VisibleName=
"System"
cssClass=
"glyphicon glyphicon-dashboard"
>
<User
order=
"0"
cssClass=
"glyphicon glyphicon-user"
>
<ChangePassword
VisibleName=
"Change password"
url=
"/system_usermanager_passwordmg.php"
/>
</User>
<System
order=
"1"
VisibleName=
"System"
cssClass=
"glyphicon glyphicon-dashboard"
>
<Certificates
url=
"/system_certmanager.php"
>
<Certificates
url=
"/system_certmanager.php"
>
<Certificates
url=
"/system_certmanager.php"
/>
<Certificates
url=
"/system_certmanager.php"
/>
<CertificateAuthority
VisibleName=
"Certificate Authority"
url=
"/system_camanager.php"
/>
<CertificateAuthority
VisibleName=
"Certificate Authority"
url=
"/system_camanager.php"
/>
...
@@ -34,9 +37,10 @@
...
@@ -34,9 +37,10 @@
<Settings
url=
"/system_usermanager_settings.php"
/>
<Settings
url=
"/system_usermanager_settings.php"
/>
<Servers
url=
"/system_authservers.php"
/>
<Servers
url=
"/system_authservers.php"
/>
</UserManager>
</UserManager>
</System>
</System>
<Interfaces
order=
"
1
"
cssClass=
"glyphicon glyphicon-wrench"
>
<Interfaces
order=
"
2
"
cssClass=
"glyphicon glyphicon-wrench"
>
<Assign
VisibleName=
"(Assign)"
order=
"999"
url=
"/interfaces_assign.php"
>
<Assign
VisibleName=
"(Assign)"
order=
"999"
url=
"/interfaces_assign.php"
>
<InterfaceAssignments
VisibleName=
"Interface Addignments"
url=
"/interfaces_assign.php"
/>
<InterfaceAssignments
VisibleName=
"Interface Addignments"
url=
"/interfaces_assign.php"
/>
<InterfaceGroups
VisibleName=
"Interface Groups"
url=
"/interfaces_groups.php"
/>
<InterfaceGroups
VisibleName=
"Interface Groups"
url=
"/interfaces_groups.php"
/>
...
@@ -50,7 +54,7 @@
...
@@ -50,7 +54,7 @@
<LAGG
url=
"/interfaces_lagg.php"
/>
<LAGG
url=
"/interfaces_lagg.php"
/>
</Assign>
</Assign>
</Interfaces>
</Interfaces>
<Firewall
order=
"
2
"
cssClass=
"glyphicon glyphicon-fire"
>
<Firewall
order=
"
3
"
cssClass=
"glyphicon glyphicon-fire"
>
<Aliases
url=
"/firewall_aliases.php"
/>
<Aliases
url=
"/firewall_aliases.php"
/>
<NAT
url=
"/firewall_nat.php"
>
<NAT
url=
"/firewall_nat.php"
>
<PortForward
VisibleName=
"Port Forward"
url=
"/firewall_nat.php"
/>
<PortForward
VisibleName=
"Port Forward"
url=
"/firewall_nat.php"
/>
...
@@ -67,7 +71,7 @@
...
@@ -67,7 +71,7 @@
<VirtualIPs
VisibleName=
"Virtual IPs"
url=
"/firewall_virtual_ip.php"
/>
<VirtualIPs
VisibleName=
"Virtual IPs"
url=
"/firewall_virtual_ip.php"
/>
</Firewall>
</Firewall>
<Services
order=
"
3
"
cssClass=
"glyphicon glyphicon-cog"
>
<Services
order=
"
4
"
cssClass=
"glyphicon glyphicon-cog"
>
<CaptivePortal
VisibleName=
"Captive Portal"
url=
"/services_captiveportal_zones.php"
>
<CaptivePortal
VisibleName=
"Captive Portal"
url=
"/services_captiveportal_zones.php"
>
<IP
url=
"/services_captiveportal_ip.php"
/>
<IP
url=
"/services_captiveportal_ip.php"
/>
<MAC
url=
"/services_captiveportal_mac.php"
/>
<MAC
url=
"/services_captiveportal_mac.php"
/>
...
@@ -102,7 +106,7 @@
...
@@ -102,7 +106,7 @@
<WoL
VisibleName=
"Wake on LAN"
url=
"/services_wol.php"
/>
<WoL
VisibleName=
"Wake on LAN"
url=
"/services_wol.php"
/>
</Services>
</Services>
<VPN
order=
"
4
"
cssClass=
"glyphicon glyphicon-lock"
>
<VPN
order=
"
5
"
cssClass=
"glyphicon glyphicon-lock"
>
<IPsec
url=
"/vpn_ipsec.php"
>
<IPsec
url=
"/vpn_ipsec.php"
>
<MobileClients
url=
"/vpn_ipsec_mobile.php"
/>
<MobileClients
url=
"/vpn_ipsec_mobile.php"
/>
<Keys
url=
"/vpn_ipsec_keys.php"
/>
<Keys
url=
"/vpn_ipsec_keys.php"
/>
...
@@ -121,7 +125,7 @@
...
@@ -121,7 +125,7 @@
</PPTP>
</PPTP>
</VPN>
</VPN>
<Status
order=
"
5
"
cssClass=
"glyphicon glyphicon-tasks"
>
<Status
order=
"
6
"
cssClass=
"glyphicon glyphicon-tasks"
>
<CaptivePortal
VisibleName=
"Captive Portal"
url=
"/status_captiveportal.php"
/>
<CaptivePortal
VisibleName=
"Captive Portal"
url=
"/status_captiveportal.php"
/>
<CARP
url=
"/carp_status.php"
/>
<CARP
url=
"/carp_status.php"
/>
<DHCPLeases
VisibleName=
"DHCP IPv4 Leases"
url=
"/status_dhcp_leases.php"
/>
<DHCPLeases
VisibleName=
"DHCP IPv4 Leases"
url=
"/status_dhcp_leases.php"
/>
...
@@ -172,7 +176,7 @@
...
@@ -172,7 +176,7 @@
<UPnPandNATPMP
VisibleName=
"UPnP & NAT-PMP"
url=
"/status_upnp.php"
/>
<UPnPandNATPMP
VisibleName=
"UPnP & NAT-PMP"
url=
"/status_upnp.php"
/>
</Status>
</Status>
<Diagnostics
order=
"
6
"
cssClass=
"glyphicon glyphicon-stats"
>
<Diagnostics
order=
"
7
"
cssClass=
"glyphicon glyphicon-stats"
>
<ARPTable
VisibleName=
"ARP Table"
url=
"/diag_arp.php"
/>
<ARPTable
VisibleName=
"ARP Table"
url=
"/diag_arp.php"
/>
<Authentication
url=
"/diag_authentication.php"
/>
<Authentication
url=
"/diag_authentication.php"
/>
<BackupRestore
VisibleName=
"Backup & Restore"
url=
"/diag_backup.php"
>
<BackupRestore
VisibleName=
"Backup & Restore"
url=
"/diag_backup.php"
>
...
@@ -200,7 +204,7 @@
...
@@ -200,7 +204,7 @@
<Traceroute
url=
"/diag_traceroute.php"
/>
<Traceroute
url=
"/diag_traceroute.php"
/>
</Diagnostics>
</Diagnostics>
<Help
order=
"
7
"
cssClass=
"glyphicon glyphicon-question-sign"
>
<Help
order=
"
8
"
cssClass=
"glyphicon glyphicon-question-sign"
>
<AboutThisPage
VisibleName=
"About this Page"
url=
"/help.php"
IsExternal=
"Y"
/>
<AboutThisPage
VisibleName=
"About this Page"
url=
"/help.php"
IsExternal=
"Y"
/>
<DevelopersWiki
VisibleName=
"Developers Wiki"
url=
"https://wiki.opnsense.org/index.php/developers"
IsExternal=
"Y"
/>
<DevelopersWiki
VisibleName=
"Developers Wiki"
url=
"https://wiki.opnsense.org/index.php/developers"
IsExternal=
"Y"
/>
<Documentation
url=
"https://wiki.opnsense.org/"
IsExternal=
"Y"
/>
<Documentation
url=
"https://wiki.opnsense.org/"
IsExternal=
"Y"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment