From 7fc0f9e5e4d330fbce99972317a37db239e58f43 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 6 Nov 2003 11:47:23 +0000 Subject: [PATCH] Add fancy help cursors on help icons --- lib/weblib.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index e5d41b017d..6bb5ea2f41 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1588,12 +1588,14 @@ function helpbutton ($page, $title="", $module="moodle", $image=true, $linktext= if ($image) { $icon = "$CFG->pixpath/help.gif"; if ($linktext) { - $linkobject = "$title\"\""; + $linkobject = "$title\"\""; } else { - $linkobject = "\"$title\""; + $linkobject = "\"$title\""; } } else { - $linkobject = $title; + $linkobject = "$title"; } if ($text) { $url = "/help.php?module=$module&text=".htmlentities(urlencode($text)); -- 2.39.5