summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules_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_rules_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_rules_edit.php')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php11
1 files changed, 4 insertions, 7 deletions
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">
OpenPOWER on IntegriCloud