diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-19 02:27:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-19 02:27:18 +0000 |
commit | 64fba011ba07b693fb9eb74a3c28ceb28b686b4c (patch) | |
tree | 503e7b73d2c1212171871476b41bcbeb45d55cd8 /usr/local/www | |
parent | 6b2e9ec20cefba6e8a1eeef82d01e1003078b5d1 (diff) | |
download | pfsense-64fba011ba07b693fb9eb74a3c28ceb28b686b4c.zip pfsense-64fba011ba07b693fb9eb74a3c28ceb28b686b4c.tar.gz |
Set the page title to <title>
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/pkg.php | 5 | ||||
-rwxr-xr-x | usr/local/www/pkg_edit.php | 3 |
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"> |