Commit bb1d3336 authored by Franco Fichtner's avatar Franco Fichtner

system: merge general/advanced to create "settings"; fixes #58

parent e81e687e
<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">
......
......@@ -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");
......
......@@ -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");
......
......@@ -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 table-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">
......
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