summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-12-21 10:29:40 -0500
committerjim-p <jimp@pfsense.org>2015-12-21 10:29:40 -0500
commit8ae9a909901ddb13306e6ac494240ff1fa720c4d (patch)
tree84a5b2efdc4111a79732ebd5cdb3231f30b0d516 /src/usr/local/www/pkg.php
parent934b307814786250e1b3110030996d8166197a1d (diff)
downloadpfsense-8ae9a909901ddb13306e6ac494240ff1fa720c4d.zip
pfsense-8ae9a909901ddb13306e6ac494240ff1fa720c4d.tar.gz
Encode hostname before printing; remove some related dead code.
Diffstat (limited to 'src/usr/local/www/pkg.php')
-rwxr-xr-xsrc/usr/local/www/pkg.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/usr/local/www/pkg.php b/src/usr/local/www/pkg.php
index 7c4bf06..3bf0097 100755
--- a/src/usr/local/www/pkg.php
+++ b/src/usr/local/www/pkg.php
@@ -63,11 +63,6 @@
require_once("guiconfig.inc");
require_once("pkg-utils.inc");
-function gentitle_pkg($pgname) {
- global $config;
- return $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pgname;
-}
-
function domTT_title($title_msg) {
print "onmouseout=\"this.style.color = ''; domTT_mouseout(this, event);\" onmouseover=\"domTT_activate(this, event, 'content', '".gettext($title_msg)."', 'trail', true, 'delay', 0, 'fade', 'both', 'fadeMax', 93, 'styleClass', 'niceTitle');\"";
}
OpenPOWER on IntegriCloud