summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-19 02:27:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-19 02:27:18 +0000
commit64fba011ba07b693fb9eb74a3c28ceb28b686b4c (patch)
tree503e7b73d2c1212171871476b41bcbeb45d55cd8 /usr/local/www
parent6b2e9ec20cefba6e8a1eeef82d01e1003078b5d1 (diff)
downloadpfsense-64fba011ba07b693fb9eb74a3c28ceb28b686b4c.zip
pfsense-64fba011ba07b693fb9eb74a3c28ceb28b686b4c.tar.gz
Set the page title to <title>
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/pkg.php5
-rwxr-xr-xusr/local/www/pkg_edit.php3
2 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php
index d46e995..748045b 100755
--- a/usr/local/www/pkg.php
+++ b/usr/local/www/pkg.php
@@ -94,6 +94,9 @@ if($pkg['custom_php_command_before_form'] <> "")
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
+<?php
+ if($pkg['title'] <> "") $title = $pkg['title'];
+?>
<title><?=gentitle_pkg($title);?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="gui.css" rel="stylesheet" type="text/css">
@@ -104,7 +107,7 @@ if($pkg['custom_php_command_before_form'] <> "")
include("fbegin.inc");
?>
<p class="pgtitle"><?=$title?></p>
-<form action="firewall_nat_out_load_balancing.php" method="post">
+<form action="pkg.php" method="post">
<? if($_GET['savemsg'] <> "") $savemsg = $_GET['savemsg']; ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index b97ee7c..a267c2c 100755
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -204,6 +204,9 @@ include("fbegin.inc");
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
+<?php
+ if($pkg['title'] <> "") $title = $pkg['title'];
+?>
<title><?=gentitle_pkg($title);?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="gui.css" rel="stylesheet" type="text/css">
OpenPOWER on IntegriCloud