Commit fd84f720 authored by Franco Fichtner's avatar Franco Fichtner

www: last batch of tabs, mhh, someone forgot the routing tabs...

parent 4b3cc0a3
......@@ -111,7 +111,7 @@ include("head.inc");
<div class="row">
<section class="col-xs-12">
<? include('system_firmware_tabs.php'); ?>
<? include('system_firmware_tabs.inc'); ?>
<div class="content-box tab-content">
......
......@@ -64,7 +64,7 @@ include("head.inc");
?>
<section class="col-xs-12">
<? include('system_firmware_tabs.php'); ?>
<? include('system_firmware_tabs.inc'); ?>
<div class="content-box tab-content">
......
......@@ -121,14 +121,7 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Gateways"), false, "system_gateways.php");
$tab_array[1] = array(gettext("Routes"), false, "system_routes.php");
$tab_array[2] = array(gettext("Groups"), true, "system_gateway_groups.php");
display_top_tabs($tab_array);
?>
<? include('system_gateways_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12">
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2010 Seth Mos <seth.mos@dds.nl>.
......@@ -200,14 +201,7 @@ $main_buttons = array(
?>
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Gateways"), true, "system_gateways.php");
$tab_array[1] = array(gettext("Routes"), false, "system_routes.php");
$tab_array[2] = array(gettext("Groups"), false, "system_gateway_groups.php");
display_top_tabs($tab_array);
?>
<? include('system_gateways_tabs.php'); ?>
<? include('system_gateways_tabs.inc'); ?>
<div class="content-box">
......
<?php
$active_tab = isset($active_tab) ? $active_tab : $_SERVER['PHP_SELF'];
$tab_array = array();
$tab_array[0] = array(gettext("Gateways"), $active_tab == "/system_gateways.php", "system_gateways.php");
$tab_array[1] = array(gettext("Routes"), $active_tab == "/system_routes.php", "system_routes.php");
$tab_array[2] = array(gettext("Groups"), $active_tab == "/system_gateway_groups.php", "system_gateway_groups.php");
display_top_tabs($tab_array);
......@@ -216,14 +216,7 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Gateways"), false, "system_gateways.php");
$tab_array[1] = array(gettext("Routes"), true, "system_routes.php");
$tab_array[2] = array(gettext("Groups"), false, "system_gateway_groups.php");
display_top_tabs($tab_array);
?>
<? include('system_gateways_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12">
......
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