diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg.php | 2 | ||||
-rwxr-xr-x | usr/local/www/pkg_edit.php | 11 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 4 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 8 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr_installed.php | 8 |
5 files changed, 14 insertions, 19 deletions
diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php index 98c832f..deb6833 100755 --- a/usr/local/www/pkg.php +++ b/usr/local/www/pkg.php @@ -104,7 +104,7 @@ include("head.inc"); <?php include("fbegin.inc"); ?> -<p class="pgtitle"><?=$title?></p> +<p class="pgtitle"><?=$pgtitle?></p> <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 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); ?> diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index a1b8b99..a940406 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -53,7 +53,7 @@ if ($_POST) { } -$pgtitle = "System: Packages"; +$pgtitle = "System: Package Manager"; include("head.inc"); ?> @@ -62,7 +62,7 @@ include("head.inc"); <?php include("fbegin.inc"); ?> -<p class="pgtitle">System: Package Manager</p> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($savemsg) print_info_box($savemsg); ?> <?php diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 4e7df4d..6eeb7b2 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -38,16 +38,14 @@ $sendto = "output"; $todo = array(); -$pgtitle = "System: Packages: Installed"; +$pgtitle = "System: Package Manager: Install Package"; include("head.inc"); ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> -<?php -include("fbegin.inc"); -?> -<p class="pgtitle">System: Package Manager: Install Package</p> +<?php include("fbegin.inc"); ?> +<p class="pgtitle"><?=$pgtitle?></p> <form action="pkg_mgr_install.php" method="post"> <?php if ($savemsg) print_info_box($savemsg); ?> diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php index 76f0d1b..609c72d 100755 --- a/usr/local/www/pkg_mgr_installed.php +++ b/usr/local/www/pkg_mgr_installed.php @@ -38,16 +38,14 @@ if(is_array($config['installedpackages']['package'])) { $currentvers = get_pkg_info($tocheck, array('version', 'xmlver')); } -$pgtitle = "System: Packages: Installed"; +$pgtitle = "System: Package Manager"; include("head.inc"); ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> -<?php -include("fbegin.inc"); -?> -<p class="pgtitle">System: Package Manager</p> +<?php include("fbegin.inc"); ?> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($savemsg) print_info_box($savemsg); ?> <div id="mainarea"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td> |