allow " in help titles

This commit is contained in:
Roland Gruber 2010-10-02 10:40:09 +00:00
parent 0a12777ec4
commit 24689a9312
1 changed files with 1 additions and 0 deletions

View File

@ -946,6 +946,7 @@ function printHelpLink($entry, $number, $module='', $scope='') {
$message = $entry['Text'];
// replace special characters
$message = str_replace(array("'", '"', "\n"), array("\\'", '"', ''), $message);
$title = str_replace(array("'", '"', "\n"), array("\\'", '"', ''), $title);
echo "<a href=\"" . $helpPath . "help.php?module=$module&amp;HelpNumber=". $number . "&amp;scope=" . $scope . "\" ";
echo "target=\"help\" ";
echo "onmouseover=\"Tip('" . $message . "', TITLE, '" . $title . "')\" onmouseout=\"UnTip()\">";