From 26c65d5f44492caf7b2b30d14987587f1cbc8dc6 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 30 Nov 2006 05:55:14 +0000 Subject: [PATCH] changed help, abc to help with abc --- lang/en_utf8/moodle.php | 2 ++ lib/weblib.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lang/en_utf8/moodle.php b/lang/en_utf8/moodle.php index d19790eb76..146918fda2 100644 --- a/lang/en_utf8/moodle.php +++ b/lang/en_utf8/moodle.php @@ -664,11 +664,13 @@ $string['helphtml'] = 'How to write html'; $string['helpindex'] = 'Index of all help files'; $string['helppicture'] = 'How to upload a picture'; $string['helpprefix'] = 'Help, $a'; +$string['helpprefix2'] = 'Help with $a'; $string['helpquestions'] = 'Ask good questions'; $string['helpreading'] = 'Read carefully'; $string['helprichtext'] = 'About the HTML editor'; $string['helpsummaries'] = 'About these summaries'; $string['helptext'] = 'How to write text'; +$string['helpwiththis'] = 'Help with this'; $string['helpwiki'] = 'How to write Wiki-like text'; $string['helpwriting'] = 'Write carefully'; $string['hiddenassign'] = 'Hidden assignment'; diff --git a/lib/weblib.php b/lib/weblib.php index 8c8500c64a..6e4bf816e5 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -4558,7 +4558,7 @@ function helpbutton ($page, $title='', $module='moodle', $image=true, $linktext= //Accessibility: prefix the alt text/title with 'Help with', strip distracting dots '...' // PLEASE DO NOT CHANGE. ('...' is VERY distracting for non-visual users) - $tooltip = get_string('helpprefix', '', trim($title, ". \t")); + $tooltip = get_string('helpprefix2', '', trim($title, ". \t")); $linkobject = ''; @@ -4571,7 +4571,7 @@ function helpbutton ($page, $title='', $module='moodle', $image=true, $linktext= $linkobject .= $imagetext; } else { $linkobject .= ''.$tooltip.''; + $CFG->pixpath .'/help.gif" />'; } } else { -- 2.39.5