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
120899b3
Commit
120899b3
authored
Oct 16, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logs: move settings to system settings
parent
c97e95bd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+1
-1
diag_logs_settings.php
src/www/diag_logs_settings.php
+1
-6
diag_logs_tabs.inc
src/www/diag_logs_tabs.inc
+0
-1
No files found.
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
120899b3
...
...
@@ -62,7 +62,6 @@
<Proxy
url=
"/diag_logs_proxy.php"
>
<ProxyActions
url=
"/diag_logs_proxy.php?*"
/>
</Proxy>
<Settings
url=
"/diag_logs_settings.php"
/>
</LogFiles>
<Settings
cssClass=
"fa fa-cogs"
>
<General
url=
"/system_general.php"
/>
...
...
@@ -73,6 +72,7 @@
<Tunables
VisibleName=
"Tunables"
url=
"/system_advanced_sysctl.php"
/>
<Notifications
url=
"/system_advanced_notifications.php"
/>
<RRDGraphs
VisibleName=
"RRD Graphs"
url=
"/status_rrd_graph_settings.php"
/>
<LogFiles
VisibleName=
"Log Files"
url=
"/diag_logs_settings.php"
/>
</Settings>
<Wizard
url=
"/wizard.php"
cssClass=
"fa fa-magic"
>
<Step
url=
"/wizard.php*"
/>
...
...
src/www/diag_logs_settings.php
View file @
120899b3
...
...
@@ -214,7 +214,7 @@ if ($_POST['resetlogs'] == gettext("Reset Log Files")) {
}
}
$pgtitle
=
array
(
gettext
(
"Status"
),
gettext
(
"System logs"
),
gettext
(
"Settings"
));
$pgtitle
=
array
(
gettext
(
'System'
),
gettext
(
'Settings'
),
gettext
(
'Log Files'
));
$closehead
=
false
;
include
(
"head.inc"
);
...
...
@@ -296,11 +296,7 @@ function check_everything() {
<?php
if
(
isset
(
$savemsg
))
print_info_box
(
$savemsg
);
?>
<section
class=
"col-xs-12"
>
<?
$active_tab
=
"/diag_logs_settings.php"
;
include
(
'diag_logs_tabs.inc'
);
?>
<div
class=
"tab-content content-box col-xs-12"
>
<div
class=
"container-fluid"
>
...
...
@@ -499,7 +495,6 @@ function check_everything() {
</div>
</form>
</div>
</div>
</section>
</div>
</div>
...
...
src/www/diag_logs_tabs.inc
View file @
120899b3
...
...
@@ -34,5 +34,4 @@ $tab_array[] = array(gettext("DHCP"), $active_tab == "/diag_logs_dhcp.php", "dia
$tab_array
[]
=
array
(
gettext
(
"PPP"
),
$active_tab
==
"/diag_logs_ppp.php"
,
"diag_logs_ppp.php"
);
$tab_array
[]
=
array
(
gettext
(
"VPN"
),
$active_tab
==
"/diag_logs_vpn.php"
,
"diag_logs_vpn.php"
);
$tab_array
[]
=
array
(
gettext
(
"Proxy"
),
$active_tab
==
"/diag_logs_proxy.php"
,
"diag_logs_proxy.php?type=cache"
);
$tab_array
[]
=
array
(
gettext
(
"Settings"
),
$active_tab
==
"/diag_logs_settings.php"
,
"diag_logs_settings.php"
);
display_top_tabs
(
$tab_array
);
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