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
bb1d3336
Commit
bb1d3336
authored
Apr 11, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system: merge general/advanced to create "settings"; fixes #58
parent
e81e687e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
12 deletions
+14
-12
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+10
-9
fbegin.inc
src/www/fbegin.inc
+1
-2
system_advanced_tabs.php
src/www/system_advanced_tabs.php
+1
-0
system_general.php
src/www/system_general.php
+2
-1
No files found.
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
bb1d3336
<menu>
<!-- Core menu system including legacy stuff -->
<System
order=
"0"
VisibleName=
"System"
cssClass=
"glyphicon glyphicon-dashboard"
>
<Advanced
url=
"/system_advanced_admin.php"
>
<Admin_Access
VisibleName=
"Admin Access"
url=
"/system_advanced_admin.php"
/>
<Firewall_NAT
VisibleName=
"Firewall/NAT"
url=
"/system_advanced_firewall.php"
/>
<Networking
url=
"/system_advanced_network.php"
></Networking>
<Miscellaneos
url=
"/system_advanced_misc.php"
/>
<System_Tunables
VisibleName=
"System Tunables"
url=
"/system_advanced_sysctl.php"
/>
<Notifications
url=
"system_advanced_notifications.php"
/>
</Advanced>
<CertificateManager
VisibleName=
"Certificate Manager"
url=
"/system_camanager.php"
>
<CAs
url=
"/system_camanager.php"
/>
<Certificates
url=
"/system_certmanager.php"
/>
...
...
@@ -27,6 +18,16 @@
<Routing
url=
"/system_gateways.php"
/>
<Settings
url=
"/system_general.php"
>
<General
VisibleName=
"General"
url=
"/system_general.php"
/>
<Admin_Access
VisibleName=
"Admin Access"
url=
"/system_advanced_admin.php"
/>
<Firewall_NAT
VisibleName=
"Firewall/NAT"
url=
"/system_advanced_firewall.php"
/>
<Networking
url=
"/system_advanced_network.php"
></Networking>
<Miscellaneos
url=
"/system_advanced_misc.php"
/>
<System_Tunables
VisibleName=
"System Tunables"
url=
"/system_advanced_sysctl.php"
/>
<Notifications
url=
"system_advanced_notifications.php"
/>
</Settings>
<SetupWizard
VisibleName=
"Setup Wizard"
url=
"wizard.php?xml=setup_wizard.xml"
/>
<UserManager
VisibleName=
"User Manager"
url=
"/system_usermanager.php"
>
...
...
src/www/fbegin.inc
View file @
bb1d3336
...
...
@@ -126,9 +126,8 @@ function active_main_menu() {
// System
$system_menu
=
array
();
$system_menu
[]
=
array
(
gettext
(
"
Advanced"
),
"/system_advanced_admin
.php"
);
$system_menu
[]
=
array
(
gettext
(
"
Settings"
),
"/system_general
.php"
);
$system_menu
[]
=
array
(
gettext
(
"Firmware"
),
"/system_firmware_check.php"
);
$system_menu
[]
=
array
(
gettext
(
"General Setup"
),
"/system_general.php"
);
$system_menu
[]
=
array
(
gettext
(
"High Avail. Sync"
),
"/system_hasync.php"
);
$system_menu
[]
=
array
(
gettext
(
"Setup Wizard"
),
"/wizard.php?xml=setup_wizard.xml"
);
$system_menu
[]
=
array
(
gettext
(
"Routing"
),
"/system_gateways.php"
);
...
...
src/www/system_advanced_tabs.php
View file @
bb1d3336
...
...
@@ -6,6 +6,7 @@
<?php
$active_tab
=
isset
(
$active_tab
)
?
$active_tab
:
$_SERVER
[
'PHP_SELF'
];
$tab_array
=
array
();
$tab_array
[]
=
array
(
gettext
(
"General"
),
$active_tab
==
"/system_general.php"
,
"system_general.php"
);
$tab_array
[]
=
array
(
gettext
(
"Admin Access"
),
$active_tab
==
"/system_advanced_admin.php"
,
"system_advanced_admin.php"
);
$tab_array
[]
=
array
(
gettext
(
"Firewall / NAT"
),
$active_tab
==
"/system_advanced_firewall.php"
,
"system_advanced_firewall.php"
);
$tab_array
[]
=
array
(
gettext
(
"Networking"
),
$active_tab
==
"/system_advanced_network.php"
,
"system_advanced_network.php"
);
...
...
src/www/system_general.php
View file @
bb1d3336
...
...
@@ -287,8 +287,9 @@ include("head.inc");
if
(
$savemsg
)
print_info_box
(
$savemsg
);
?>
<section
class=
"col-xs-12"
>
<?
include
(
'system_advanced_tabs.php'
);
?>
<div
class=
"content-box tab
le-responsive
"
>
<div
class=
"content-box tab
-content
"
>
<form
action=
"system_general.php"
method=
"post"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"6"
cellspacing=
"0"
summary=
"main area"
class=
"table table-striped"
>
...
...
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