mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use $pgtitle instead of re-typing the page title over
Use head.inc on the _edit.php files
This commit is contained in:
parent
5124d6196d
commit
da7ae7ef9b
@ -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>
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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); ?>
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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); ?>
|
||||
|
||||
@ -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">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user