summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-02 03:50:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-02 03:50:50 +0000
commit83ddedcda4dd61770821a92f16ce6047e1efc18d (patch)
tree9cb465e4508c5f6d9779dd4f2ed4a0c9baf53f75 /usr
parentf9c14a6f4180ae91c5c6fb7e77fb884ac9082bed (diff)
downloadpfsense-83ddedcda4dd61770821a92f16ce6047e1efc18d.zip
pfsense-83ddedcda4dd61770821a92f16ce6047e1efc18d.tar.gz
Set page titles accordingly
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg.php13
-rwxr-xr-xusr/local/www/pkg_edit.php20
-rwxr-xr-xusr/local/www/pkg_mgr_installed.php11
3 files changed, 15 insertions, 29 deletions
diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php
index 1e2a56f..8d8972f 100755
--- a/usr/local/www/pkg.php
+++ b/usr/local/www/pkg.php
@@ -95,17 +95,10 @@ if($pkg['custom_php_global_functions'] <> "")
if($pkg['custom_php_command_before_form'] <> "")
eval($pkg['custom_php_command_before_form']);
+$pgtitle = $title;
+include("head.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">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index 65fbf25..0ecbc02 100755
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -202,19 +202,15 @@ if ($_POST) {
}
}
+if($pkg['title'] <> "")
+ $title = $pkg['title'];
+else
+ $title = "Package Editor";
+
+$pgtitle = $title;
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<?php
- if($pkg['title'] <> "") $title = $pkg['title'];
- else
- $title = "Package Editor";
-?>
-<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">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC" onLoad="enablechange();">
<?php if($pkg['fields']['field'] <> "") { ?>
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php
index 008d7e8..19f10dd 100755
--- a/usr/local/www/pkg_mgr_installed.php
+++ b/usr/local/www/pkg_mgr_installed.php
@@ -37,14 +37,11 @@ if(is_array($config['installedpackages']['package'])) {
}
$currentvers = get_pkg_info($tocheck, array('version', 'xmlver'));
}
+
+$pgtitle = "System: Packages: Installed";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("System: Package Manager");?></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
OpenPOWER on IntegriCloud