Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a class around helpbutton links so that enclosing <font> tags can

be removed from HTML code
  • Loading branch information...
commit d3dcbc29227a1efcab0d5e3525e4224ea980acc9 1 parent 4b22e39
ikawhero authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/weblib.php
View
4 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 = "<span style=\"cursor:help;\">$title<img align=\"middle\" border=\"0\" ".
+ $linkobject = "<span class=\"formhelplinks\">$title<img align=\"middle\" border=\"0\" ".
" height=\"17\" width=\"22\" alt=\"\" src=\"$icon\" /></span>";
} else {
$linkobject = "<img align=\"middle\" border=\"0\" height=\"17\" width=\"22\" ".
" alt=\"$title\" style=\"cursor:help;\" src=\"$icon\" />";
}
} else {
- $linkobject = '<span style="cursor:help;">'. $title .'</span>';
+ $linkobject = '<span class="formhelplinks">'. $title .'</span>';
}
if ($text) {
$url = '/help.php?module='. $module .'&amp;text='. htmlentities(urlencode($text));
Please sign in to comment.
Something went wrong with that request. Please try again.