allow " in help titles
This commit is contained in:
parent
0a12777ec4
commit
24689a9312
|
@ -946,6 +946,7 @@ function printHelpLink($entry, $number, $module='', $scope='') {
|
||||||
$message = $entry['Text'];
|
$message = $entry['Text'];
|
||||||
// replace special characters
|
// replace special characters
|
||||||
$message = str_replace(array("'", '"', "\n"), array("\\'", '"', ''), $message);
|
$message = str_replace(array("'", '"', "\n"), array("\\'", '"', ''), $message);
|
||||||
|
$title = str_replace(array("'", '"', "\n"), array("\\'", '"', ''), $title);
|
||||||
echo "<a href=\"" . $helpPath . "help.php?module=$module&HelpNumber=". $number . "&scope=" . $scope . "\" ";
|
echo "<a href=\"" . $helpPath . "help.php?module=$module&HelpNumber=". $number . "&scope=" . $scope . "\" ";
|
||||||
echo "target=\"help\" ";
|
echo "target=\"help\" ";
|
||||||
echo "onmouseover=\"Tip('" . $message . "', TITLE, '" . $title . "')\" onmouseout=\"UnTip()\">";
|
echo "onmouseover=\"Tip('" . $message . "', TITLE, '" . $title . "')\" onmouseout=\"UnTip()\">";
|
||||||
|
|
Loading…
Reference in New Issue