From d3dcbc29227a1efcab0d5e3525e4224ea980acc9 Mon Sep 17 00:00:00 2001 From: ikawhero Date: Fri, 21 Jan 2005 02:37:02 +0000 Subject: [PATCH] Added a class around helpbutton links so that enclosing tags can be removed from HTML code --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 9efbd48931..68d03846ef 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3056,14 +3056,14 @@ function helpbutton ($page, $title='', $module='moodle', $image=true, $linktext= if ($image) { $icon = $CFG->pixpath .'/help.gif'; if ($linktext) { - $linkobject = "$title$title\"\""; } else { $linkobject = "\"$title\""; } } else { - $linkobject = ''. $title .''; + $linkobject = ''. $title .''; } if ($text) { $url = '/help.php?module='. $module .'&text='. htmlentities(urlencode($text)); -- 2.39.5