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
6948906a
Commit
6948906a
authored
Sep 26, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menu: convert settings tabs to submenu; closes #402
parent
e6d6c769
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
7 additions
and
28 deletions
+7
-28
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+6
-6
system_advanced_admin.php
src/www/system_advanced_admin.php
+0
-1
system_advanced_firewall.php
src/www/system_advanced_firewall.php
+0
-1
system_advanced_misc.php
src/www/system_advanced_misc.php
+0
-1
system_advanced_network.php
src/www/system_advanced_network.php
+0
-1
system_advanced_notifications.php
src/www/system_advanced_notifications.php
+0
-1
system_advanced_sysctl.php
src/www/system_advanced_sysctl.php
+1
-2
system_advanced_tabs.inc
src/www/system_advanced_tabs.inc
+0
-14
system_general.php
src/www/system_general.php
+0
-1
No files found.
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
6948906a
...
...
@@ -46,13 +46,13 @@
<Groups
url=
"/status_gateway_groups.php"
/>
</Status>
</Gateways>
<Settings
url=
"/system_general.php"
cssClass=
"fa fa-cogs"
>
<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
>
<Settings
cssClass=
"fa fa-cogs"
>
<General
url=
"/system_general.php"
/>
<AdminAccess
VisibleName=
"Admin Access"
url=
"/system_advanced_admin.php"
/>
<FirewallNAT
VisibleName=
"Firewall/NAT"
url=
"/system_advanced_firewall.php"
/>
<Networking
url=
"/system_advanced_network.php"
/
>
<Miscellaneous
url=
"/system_advanced_misc.php"
/>
<
System_Tunables
VisibleName=
"System
Tunables"
url=
"/system_advanced_sysctl.php"
/>
<
Tunables
VisibleName=
"
Tunables"
url=
"/system_advanced_sysctl.php"
/>
<Notifications
url=
"/system_advanced_notifications.php"
/>
</Settings>
<Wizard
url=
"/wizard.php"
cssClass=
"fa fa-magic"
>
...
...
src/www/system_advanced_admin.php
View file @
6948906a
...
...
@@ -312,7 +312,6 @@ include("head.inc");
}
?>
<section
class=
"col-xs-12"
>
<?
include
(
'system_advanced_tabs.inc'
);
?>
<div
class=
"content-box tab-content"
>
<form
action=
"system_advanced_admin.php"
method=
"post"
name=
"iform"
id=
"iform"
>
...
...
src/www/system_advanced_firewall.php
View file @
6948906a
...
...
@@ -276,7 +276,6 @@ include("head.inc");
}
?>
<section
class=
"col-xs-12"
>
<?
include
(
'system_advanced_tabs.inc'
);
?>
<div
class=
"content-box tab-content"
>
<form
action=
"system_advanced_firewall.php"
method=
"post"
name=
"iform"
id=
"iform"
>
...
...
src/www/system_advanced_misc.php
View file @
6948906a
...
...
@@ -251,7 +251,6 @@ include("head.inc");
}
?>
<section
class=
"col-xs-12"
>
<?
include
(
'system_advanced_tabs.inc'
);
?>
<div
class=
"content-box tab-content"
>
<form
action=
"system_advanced_misc.php"
method=
"post"
name=
"iform"
id=
"iform"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"6"
cellspacing=
"0"
summary=
"main area"
class=
"table table-striped"
>
...
...
src/www/system_advanced_network.php
View file @
6948906a
...
...
@@ -159,7 +159,6 @@ include("head.inc");
}
?>
<section
class=
"col-xs-12"
>
<?
include
(
'system_advanced_tabs.inc'
);
?>
<div
class=
"content-box tab-content"
>
<form
action=
"system_advanced_network.php"
method=
"post"
name=
"iform"
id=
"iform"
>
...
...
src/www/system_advanced_notifications.php
View file @
6948906a
...
...
@@ -188,7 +188,6 @@ include("head.inc");
</form>
<section
class=
"col-xs-12"
>
<?
include
(
'system_advanced_tabs.inc'
);
?>
<div
class=
"content-box tab-content"
>
<form
action=
"system_advanced_notifications.php"
method=
"post"
name=
"iform"
>
...
...
src/www/system_advanced_sysctl.php
View file @
6948906a
...
...
@@ -116,7 +116,7 @@ if ($_POST) {
}
}
$pgtitle
=
array
(
gettext
(
"System"
),
gettext
(
"Settings"
),
gettext
(
"System Tunables"
));
$pgtitle
=
array
(
gettext
(
'System'
),
gettext
(
'Settings'
),
gettext
(
'Tunables'
));
include
(
"head.inc"
);
?>
...
...
@@ -144,7 +144,6 @@ include("head.inc");
</form>
<section
class=
"col-xs-12"
>
<?
include
(
'system_advanced_tabs.inc'
);
?>
<div
class=
"table-responsive content-box tab-content"
style=
"overflow: auto;"
>
<?php
if
(
$act
!=
"edit"
)
:
?>
...
...
src/www/system_advanced_tabs.inc
deleted
100644 → 0
View file @
e6d6c769
<?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"
);
$tab_array
[]
=
array
(
gettext
(
"Miscellaneous"
),
$active_tab
==
"/system_advanced_misc.php"
,
"system_advanced_misc.php"
);
$tab_array
[]
=
array
(
gettext
(
"System Tunables"
),
$active_tab
==
"/system_advanced_sysctl.php"
,
"system_advanced_sysctl.php"
);
$tab_array
[]
=
array
(
gettext
(
"Notifications"
),
$active_tab
==
"/system_advanced_notifications.php"
,
"system_advanced_notifications.php"
);
display_top_tabs
(
$tab_array
);
src/www/system_general.php
View file @
6948906a
...
...
@@ -347,7 +347,6 @@ include("head.inc");
if
(
isset
(
$savemsg
))
print_info_box
(
$savemsg
);
?>
<section
class=
"col-xs-12"
>
<?
include
(
'system_advanced_tabs.inc'
);
?>
<div
class=
"content-box tab-content"
>
<form
action=
"system_general.php"
method=
"post"
>
...
...
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