Commit e6583883 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix the tooltips for metadata, parameter, etc descriptions.

parent 1c48672e
......@@ -889,7 +889,7 @@ function ENDPAGE() {
# Spit out a vanilla page footer.
#
function PAGEFOOTER($view = NULL) {
global $TBDOCBASE, $TBMAILADDR, $THISHOMEBASE, $BASEPATH;
global $TBDOCBASE, $TBMAILADDR, $THISHOMEBASE, $BASEPATH, $TBBASE;
global $TBMAINSITE, $SSL_PROTOCOL, $bodyclosestring;
if (!$view) {
......@@ -938,7 +938,8 @@ function PAGEFOOTER($view = NULL) {
echo "\n<p><a href=\"www.emulab.net/netemu.php3\"></a>\n";
# This has to be after all the tooltip definitions.
echo "<script type='text/javascript' src='js/wz_tooltip.js'></script>";
echo "<script type='text/javascript' src='${TBBASE}/js/wz_tooltip.js'>".
"</script>";
echo $bodyclosestring;
echo "\n";
echo "</body></html>\n";
......
......@@ -1497,6 +1497,7 @@ function MakeMouseOver($string)
$string = ereg_replace("\n", "<br>", $string);
$string = ereg_replace("\r", "", $string);
$string = htmlentities($string);
$string = preg_replace("/\'/", "\&\#039;", $string);
return "onmouseover=\"return escape('$string')\"";
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment