summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_1to1_edit.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-07-02 06:01:59 +0000
committerBill Marquette <billm@pfsense.org>2005-07-02 06:01:59 +0000
commitda7ae7ef9bf0d4c908c97459ccd720ca73383fa0 (patch)
tree7d8742960c119442abe0d5b8b07f605f9a7d16ba /usr/local/www/firewall_nat_1to1_edit.php
parent5124d6196d07b742fbec69d9f8014793f7f98a8f (diff)
downloadpfsense-da7ae7ef9bf0d4c908c97459ccd720ca73383fa0.zip
pfsense-da7ae7ef9bf0d4c908c97459ccd720ca73383fa0.tar.gz
Use $pgtitle instead of re-typing the page title over
Use head.inc on the _edit.php files
Diffstat (limited to 'usr/local/www/firewall_nat_1to1_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_1to1_edit.php13
1 files changed, 5 insertions, 8 deletions
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">
OpenPOWER on IntegriCloud