Commit f2768956 authored by Franco Fichtner's avatar Franco Fichtner

www: another batch of insecure tab refactoring

parent d71e2725
...@@ -84,7 +84,7 @@ $status = ipsec_smp_dump_status(); ...@@ -84,7 +84,7 @@ $status = ipsec_smp_dump_status();
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_ipsec.php"; include('diag_ipsec_tabs.php'); ?> <? $active_tab = "/diag_ipsec.php"; include('diag_ipsec_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -48,7 +48,7 @@ $mobile = ipsec_dump_mobile(); ...@@ -48,7 +48,7 @@ $mobile = ipsec_dump_mobile();
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_ipsec_leases.php"; include('diag_ipsec_tabs.php'); ?> <? $active_tab = "/diag_ipsec_leases.php"; include('diag_ipsec_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="container-fluid"> <div class="container-fluid">
......
...@@ -50,7 +50,7 @@ $sad = ipsec_dump_sad(); ...@@ -50,7 +50,7 @@ $sad = ipsec_dump_sad();
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_ipsec_sad.php"; include('diag_ipsec_tabs.php'); ?> <? $active_tab = "/diag_ipsec_sad.php"; include('diag_ipsec_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -49,7 +49,7 @@ $spd = ipsec_dump_spd(); ...@@ -49,7 +49,7 @@ $spd = ipsec_dump_spd();
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_ipsec_spd.php"; include('diag_ipsec_tabs.php'); ?> <? $active_tab = "/diag_ipsec_spd.php"; include('diag_ipsec_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -70,7 +70,7 @@ include("head.inc"); ...@@ -70,7 +70,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? include('diag_logs_tabs.php'); ?> <? include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="container-fluid"> <div class="container-fluid">
......
...@@ -59,7 +59,7 @@ include("head.inc"); ...@@ -59,7 +59,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? include('diag_logs_tabs.php'); ?> <? include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -61,7 +61,7 @@ include("head.inc"); ...@@ -61,7 +61,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? include('diag_logs_tabs.php'); ?> <? include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -126,7 +126,7 @@ include("head.inc"); ...@@ -126,7 +126,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_logs_filter.php"; include('diag_logs_tabs.php'); ?> <? $active_tab = "/diag_logs_filter.php"; include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="container-fluid"> <div class="container-fluid">
......
...@@ -89,7 +89,7 @@ include("head.inc"); ...@@ -89,7 +89,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_logs_filter.php"; include('diag_logs_tabs.php'); ?> <? $active_tab = "/diag_logs_filter.php"; include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="container-fluid"> <div class="container-fluid">
......
...@@ -186,7 +186,7 @@ include("head.inc"); ?> ...@@ -186,7 +186,7 @@ include("head.inc"); ?>
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_logs_filter.php"; include('diag_logs_tabs.php'); ?> <? $active_tab = "/diag_logs_filter.php"; include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="container-fluid"> <div class="container-fluid">
......
...@@ -72,7 +72,7 @@ include("head.inc"); ...@@ -72,7 +72,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_logs.php"; include('diag_logs_tabs.php'); ?> <? $active_tab = "/diag_logs.php"; include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -63,7 +63,7 @@ include("head.inc"); ...@@ -63,7 +63,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? include('diag_logs_tabs.php'); ?> <? include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -60,7 +60,7 @@ include("head.inc"); ...@@ -60,7 +60,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? include('diag_logs_tabs.php'); ?> <? include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -62,7 +62,7 @@ include("head.inc"); ...@@ -62,7 +62,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? include('diag_logs_tabs.php'); ?> <? include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -59,7 +59,7 @@ include("head.inc"); ...@@ -59,7 +59,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? include('diag_logs_tabs.php'); ?> <? include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -61,7 +61,7 @@ include("head.inc"); ...@@ -61,7 +61,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? include('diag_logs_tabs.php'); ?> <? include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -72,7 +72,7 @@ include("head.inc"); ...@@ -72,7 +72,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_logs.php"; include('diag_logs_tabs.php'); ?> <? $active_tab = "/diag_logs.php"; include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="container-fluid"> <div class="container-fluid">
......
...@@ -58,7 +58,7 @@ include("head.inc"); ...@@ -58,7 +58,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_logs.php"; include('diag_logs_tabs.php'); ?> <? $active_tab = "/diag_logs.php"; include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="container-fluid"> <div class="container-fluid">
......
...@@ -251,7 +251,7 @@ function check_everything() { ...@@ -251,7 +251,7 @@ function check_everything() {
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_logs_settings.php"; include('diag_logs_tabs.php'); ?> <? $active_tab = "/diag_logs_settings.php"; include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="container-fluid"> <div class="container-fluid">
......
...@@ -117,7 +117,7 @@ include("head.inc"); ...@@ -117,7 +117,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_logs_vpn.php"; include('diag_logs_tabs.php'); ?> <? $active_tab = "/diag_logs_vpn.php"; include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="container-fluid"> <div class="container-fluid">
......
...@@ -60,7 +60,7 @@ include("head.inc"); ...@@ -60,7 +60,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/diag_logs.php"; include('diag_logs_tabs.php'); ?> <? $active_tab = "/diag_logs.php"; include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="container-fluid"> <div class="container-fluid">
......
...@@ -378,7 +378,7 @@ function get_dates($curperiod, $graph) { ...@@ -378,7 +378,7 @@ function get_dates($curperiod, $graph) {
<section class="col-xs-12"> <section class="col-xs-12">
<? include("status_rrd_graph_tabs.php"); ?> <? include("status_rrd_graph_tabs.inc"); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -121,7 +121,7 @@ include("head.inc"); ...@@ -121,7 +121,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? include("status_rrd_graph_tabs.php"); ?> <? include("status_rrd_graph_tabs.inc"); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -234,7 +234,7 @@ include("head.inc"); ...@@ -234,7 +234,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/vpn_ipsec.php"; include('vpn_ipsec_tabs.php'); ?> <? $active_tab = "/vpn_ipsec.php"; include('vpn_ipsec_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -93,7 +93,7 @@ include("head.inc"); ...@@ -93,7 +93,7 @@ include("head.inc");
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/vpn_ipsec_settings.php"; include('vpn_ipsec_tabs.php'); ?> <? $active_tab = "/vpn_ipsec_settings.php"; include('vpn_ipsec_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -342,7 +342,7 @@ function login_banner_change() { ...@@ -342,7 +342,7 @@ function login_banner_change() {
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/vpn_ipsec_mobile.php"; include('vpn_ipsec_tabs.php'); ?> <? $active_tab = "/vpn_ipsec_mobile.php"; include('vpn_ipsec_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
......
...@@ -145,7 +145,7 @@ function maxmss_checked(obj) { ...@@ -145,7 +145,7 @@ function maxmss_checked(obj) {
<section class="col-xs-12"> <section class="col-xs-12">
<? $active_tab = "/vpn_ipsec_settings.php"; include('vpn_ipsec_tabs.php'); ?> <? $active_tab = "/vpn_ipsec_settings.php"; include('vpn_ipsec_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12"> <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