Revision 8ae9a909
Added by Jim Pingle over 9 years ago
src/usr/local/www/pkg.php | ||
---|---|---|
63 | 63 |
require_once("guiconfig.inc"); |
64 | 64 |
require_once("pkg-utils.inc"); |
65 | 65 |
|
66 |
function gentitle_pkg($pgname) { |
|
67 |
global $config; |
|
68 |
return $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pgname; |
|
69 |
} |
|
70 |
|
|
71 | 66 |
function domTT_title($title_msg) { |
72 | 67 |
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');\""; |
73 | 68 |
} |
Also available in: Unified diff
Encode hostname before printing; remove some related dead code.