diff options
-rwxr-xr-x | usr/local/www/firewall_aliases.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 13 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_1to1.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_1to1_edit.php | 13 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_edit.php | 13 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_out_edit.php | 13 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_server.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_server_edit.php | 13 | ||||
-rwxr-xr-x | usr/local/www/firewall_rules.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 11 | ||||
-rwxr-xr-x | usr/local/www/firewall_shaper.php | 4 | ||||
-rwxr-xr-x | usr/local/www/firewall_shaper_edit.php | 12 | ||||
-rwxr-xr-x | usr/local/www/firewall_shaper_queues.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_shaper_queues_edit.php | 22 |
15 files changed, 54 insertions, 72 deletions
diff --git a/usr/local/www/firewall_aliases.php b/usr/local/www/firewall_aliases.php index 580d440..3e7673d 100755 --- a/usr/local/www/firewall_aliases.php +++ b/usr/local/www/firewall_aliases.php @@ -80,7 +80,7 @@ include("head.inc"); <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: Aliases</p> +<p class="pgtitle"><?=$pgtitle?></p> <form action="firewall_aliases.php" method="post"> <?php if ($savemsg) print_info_box($savemsg); ?> <?php if (file_exists($d_aliasesdirty_path)): ?><p> diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index 75ea1e6..ffce19f 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -132,13 +132,12 @@ if ($_POST) { exit; } } + +$pgtitle = "System: Firewall: Aliases: Edit alias"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("System: Firewall: Aliases: Edit alias");?></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="gui.css" rel="stylesheet" type="text/css"> + <script language="JavaScript"> <!-- function typesel_change() { @@ -228,7 +227,7 @@ rowtype[2] = "select"; --> </script> -<p class="pgtitle">Firewall: Aliases: Edit alias</p> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="firewall_aliases_edit.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index d62d807..19bdb93 100755 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -131,7 +131,7 @@ include("head.inc"); ?> <body link="#000000" vlink="#000000" alink="#000000"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: NAT: Inbound</font></p> +<p class="pgtitle"><?=$pgtitle?></font></p> <form action="firewall_nat.php" method="post" name="iform"> <script type="text/javascript" language="javascript" src="row_toggle.js"> </script> diff --git a/usr/local/www/firewall_nat_1to1.php b/usr/local/www/firewall_nat_1to1.php index d4c132d..cdd68ce 100755 --- a/usr/local/www/firewall_nat_1to1.php +++ b/usr/local/www/firewall_nat_1to1.php @@ -76,7 +76,7 @@ include("head.inc"); ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: NAT: 1:1</p> +<p class="pgtitle"><?=$pgtitle?></p> <form action="firewall_nat_1to1.php" method="post"> <?php if ($savemsg) print_info_box($savemsg); ?> <?php if (file_exists($d_natconfdirty_path)): ?><p> diff --git a/usr/local/www/firewall_nat_1to1_edit.php b/usr/local/www/firewall_nat_1to1_edit.php index 3fa926e..f53dc4d 100755 --- a/usr/local/www/firewall_nat_1to1_edit.php +++ b/usr/local/www/firewall_nat_1to1_edit.php @@ -139,18 +139,15 @@ if ($_POST) { exit; } } + +$pgtitle = "Firewall: NAT: 1:1: Edit"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("Firewall: NAT: Edit 1:1");?></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="gui.css" rel="stylesheet" type="text/css"> -</head> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: NAT: Edit 1:1</p> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="firewall_nat_1to1_edit.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php index 4536553..f8bd8be 100755 --- a/usr/local/www/firewall_nat_edit.php +++ b/usr/local/www/firewall_nat_edit.php @@ -187,13 +187,12 @@ if ($_POST) { exit; } } + +$pgtitle = "Firewall: NAT: Edit inbound"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("Firewall: NAT: Edit inbound");?></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="gui.css" rel="stylesheet" type="text/css"> + <script language="JavaScript"> <!-- function ext_change() { @@ -226,7 +225,7 @@ function ext_rep_change() { <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: NAT: Edit inbound</p> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="firewall_nat_edit.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index 68d10af..82695a3 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -195,13 +195,12 @@ if ($_POST) { exit; } } + +$pgtitle = "Firewall: NAT: Outbound: Edit mapping"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("Firewall: NAT: Edit outbound mapping");?></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="gui.css" rel="stylesheet" type="text/css"> + <script language="JavaScript"> <!-- function typesel_change() { @@ -241,7 +240,7 @@ function sourcesel_change() { <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: NAT: Edit outbound mapping</p> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="firewall_nat_out_edit.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> diff --git a/usr/local/www/firewall_nat_server.php b/usr/local/www/firewall_nat_server.php index cb0aa54..1c5db09 100755 --- a/usr/local/www/firewall_nat_server.php +++ b/usr/local/www/firewall_nat_server.php @@ -88,7 +88,7 @@ include("head.inc"); ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: NAT: Server NAT</p> +<p class="pgtitle"><?=$pgtitle?></p> <form action="firewall_nat_server.php" method="post"> <?php if ($input_errors) print_input_errors($input_errors); ?> <?php if ($savemsg) print_info_box($savemsg); ?> diff --git a/usr/local/www/firewall_nat_server_edit.php b/usr/local/www/firewall_nat_server_edit.php index b0f9077..26b6048 100755 --- a/usr/local/www/firewall_nat_server_edit.php +++ b/usr/local/www/firewall_nat_server_edit.php @@ -111,18 +111,15 @@ if ($_POST) { exit; } } + +$pgtitle = "Firewall: NAT: Server NAT: Edit"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("Firewall: NAT: Edit Server NAT");?></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="gui.css" rel="stylesheet" type="text/css"> -</head> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: NAT: Edit Server NAT</p> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="firewall_nat_server_edit.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php index 3d33381..ba2cb93 100755 --- a/usr/local/www/firewall_rules.php +++ b/usr/local/www/firewall_rules.php @@ -150,7 +150,7 @@ include("head.inc"); ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: Rules</p> +<p class="pgtitle"><?=$pgtitle?></p> <form action="firewall_rules.php" method="post"> <script type="text/javascript" language="javascript" src="row_toggle.js"> </script> diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index b6531fa..f973687 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -303,14 +303,11 @@ if ($_POST) { header("Location: firewall_rules.php?if=" . $_POST['interface']); exit; } +$pgtitle = "Firewall: Rules: Edit"; +include("head.inc"); } ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("Firewall: Rules: Edit");?></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="gui.css" rel="stylesheet" type="text/css"> + <script language="JavaScript"> <!-- var portsenabled = 1; @@ -426,7 +423,7 @@ function dst_rep_change() { <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: Rules: Edit</p> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="firewall_rules_edit.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php index 9242105..2273fc1 100755 --- a/usr/local/www/firewall_shaper.php +++ b/usr/local/www/firewall_shaper.php @@ -179,14 +179,14 @@ if ($_GET['act'] == "down") { } } -$pgtitle = "Firewall: Shaper"; +$pgtitle = "Firewall: Shaper: Rules"; include("head.inc"); ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: Traffic shaper: Rules</p> +<p class="pgtitle"><?=$pgtitle?></p> <form action="firewall_shaper.php" method="post" name="iform"> <script type="text/javascript" language="javascript" src="row_toggle.js"> </script> diff --git a/usr/local/www/firewall_shaper_edit.php b/usr/local/www/firewall_shaper_edit.php index bc58efc..1a61994 100755 --- a/usr/local/www/firewall_shaper_edit.php +++ b/usr/local/www/firewall_shaper_edit.php @@ -278,13 +278,11 @@ if ($_POST) { exit; } } + +$pgtitle = "Firewall: Shaper: Edit rule"; +include("head.inc"); ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("Firewall: Traffic shaper: Edit rule");?></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="gui.css" rel="stylesheet" type="text/css"> + <script language="JavaScript"> <!-- var portsenabled = 1; @@ -387,7 +385,7 @@ function dst_rep_change() { <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: Traffic shaper: Edit rule</p> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <?php if (is_array($config['shaper']['queue']) && (count($config['shaper']['queue']) > 0)): ?> <form action="firewall_shaper_edit.php" method="post" name="iform" id="iform"> diff --git a/usr/local/www/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php index 29275cb..2c4622c 100755 --- a/usr/local/www/firewall_shaper_queues.php +++ b/usr/local/www/firewall_shaper_queues.php @@ -108,7 +108,7 @@ include("head.inc"); <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle">Firewall: Traffic shaper: Queues</p> +<p class="pgtitle"><?=$pgtitle?></p> <form action="firewall_shaper_queues.php" method="post"> <?php if ($input_errors) print_input_errors($input_errors); ?> <?php if ($savemsg) print_info_box($savemsg); ?> diff --git a/usr/local/www/firewall_shaper_queues_edit.php b/usr/local/www/firewall_shaper_queues_edit.php index eca3f10..82cac52 100755 --- a/usr/local/www/firewall_shaper_queues_edit.php +++ b/usr/local/www/firewall_shaper_queues_edit.php @@ -153,19 +153,7 @@ if ($_POST) { exit; } } -?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("Firewall: Traffic shaper: Edit queue");?></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="gui.css" rel="stylesheet" type="text/css"> -</head> - -<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> -<?php include("fbegin.inc"); ?> -<?php $ack = $pconfig["ack"]; $red = $pconfig["red"]; $ecn = $pconfig["ecn"]; @@ -187,8 +175,16 @@ if ($_POST) { $defaultqueue = $pconfig["defaultqueue"]; $attachtoqueue = $pconfig['attachtoqueue']; $parent = $pconfig["parent"]; + +$pgtitle = "Firewall: Shaper: Queues: Edit"; +include("head.inc"); + ?> -<p class="pgtitle">Firewall: Traffic shaper: Edit queue</p> + +<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> + +<?php include("fbegin.inc"); ?> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="firewall_shaper_queues_edit.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> |