diff options
author | Bill Marquette <billm@pfsense.org> | 2005-07-03 16:35:36 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-07-03 16:35:36 +0000 |
commit | 96d9f5c9d67554ec166637da198d68a6b52118d5 (patch) | |
tree | 90069edab4fb9f5277d72aa18d955ac435c979cd /usr/local/www/pkg_edit.php | |
parent | 931066a8b2caf39e7e3e0d45ea40ecbc86f2aa0d (diff) | |
download | pfsense-96d9f5c9d67554ec166637da198d68a6b52118d5.zip pfsense-96d9f5c9d67554ec166637da198d68a6b52118d5.tar.gz |
Use $pgtitle
Diffstat (limited to 'usr/local/www/pkg_edit.php')
-rwxr-xr-x | usr/local/www/pkg_edit.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php index 0ecbc02..a61c506 100755 --- a/usr/local/www/pkg_edit.php +++ b/usr/local/www/pkg_edit.php @@ -63,6 +63,7 @@ $section = $pkg['menu'][0]['section']; $config_path = $pkg['configpath']; $name = $pkg['name']; $title = $section . ": " . $package_name; +$pgtitle = $title; $id = $_GET['id']; if (isset($_POST['id'])) @@ -108,14 +109,14 @@ if ($_POST) { <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> -<title><?=gentitle_pkg($title);?></title> +<title><?=$pgtitle;?></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"><?=$title?></p> +<p class="pgtitle"><?=$pgtitle?></p> <?php } if($pkg['preoutput']) echo "<pre>"; @@ -259,10 +260,8 @@ function enablechange() { <script type="text/javascript" language="javascript" src="row_helper_dynamic.js"> </script> -<?php -include("fbegin.inc"); -?> -<p class="pgtitle"><?=$title?></p> +<?php include("fbegin.inc"); ?> +<p class="pgtitle"><?=$pgtitle?></p> <form action="pkg_edit.php" method="post"> <input type="hidden" name="xml" value="<?= $xml ?>"> <?php if ($savemsg) print_info_box($savemsg); ?> |