diff --git a/functions.js b/functions.js index 1f031f14..21a0da79 100644 --- a/functions.js +++ b/functions.js @@ -1389,6 +1389,22 @@ function infobox_callback() { } } +function helpbox_callback() { + if (xmlhttp.readyState == 4) { + var box = document.getElementById('helpBox'); + var shadow = document.getElementById('helpBoxShadow'); + if (box) { + box.innerHTML=xmlhttp.responseText; + if (shadow) { + shadow.style.display = "block"; + } else { + box.style.display = "block"; + } + } + notify(""); + } +} + function addFilter() { if (!xmlhttp_ready(xmlhttp)) { diff --git a/modules/help.php b/modules/help.php index 751d6082..3f6968db 100644 --- a/modules/help.php +++ b/modules/help.php @@ -4,30 +4,22 @@ if (!$_GET["noheaders"]) { print "
".__("Help topic not found.")."
"; } - - print "