Commit 120899b3 authored by Franco Fichtner's avatar Franco Fichtner

logs: move settings to system settings

parent c97e95bd
......@@ -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*"/>
......
......@@ -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>
......
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment