Skip to content

Commit

Permalink
Merged extra style from stable
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed May 27, 2005
1 parent e81f955 commit 8213916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/glossary/filter.php
Expand Up @@ -116,7 +116,7 @@ function glossary_filter($courseid, $text) {


if ($concept->category) { // Link to a category if ($concept->category) { // Link to a category
$title = strip_tags($glossaryname.': '.$strcategory.' '.$concept->concept); $title = strip_tags($glossaryname.': '.$strcategory.' '.$concept->concept);
$href_tag_begin = '<a class="glossary autolink" title="'.$title.'" '. $href_tag_begin = '<a class="glossary autolink glossaryid'.$concept->glossaryid.'" title="'.$title.'" '.
'href="'.$CFG->wwwroot.'/mod/glossary/view.php?g='.$concept->glossaryid. 'href="'.$CFG->wwwroot.'/mod/glossary/view.php?g='.$concept->glossaryid.
'&amp;mode=cat&amp;hook='.$concept->id.'">'; '&amp;mode=cat&amp;hook='.$concept->id.'">';
} else { } else {
Expand All @@ -127,7 +127,7 @@ function glossary_filter($courseid, $text) {
$encodedconcept = urlencode($concept->concept); $encodedconcept = urlencode($concept->concept);
$title = str_replace('"', "'", strip_tags($glossaryname.': '.$concept->concept)); $title = str_replace('"', "'", strip_tags($glossaryname.': '.$concept->concept));
} }
$href_tag_begin = '<a target="entry" class="glossary autolink" title="'.$title.'" '. $href_tag_begin = '<a target="entry" class="glossary autolink glossaryid'.$concept->glossaryid.'" title="'.$title.'" '.
'href="'.$CFG->wwwroot.'/mod/glossary/showentry.php?courseid='.$courseid. 'href="'.$CFG->wwwroot.'/mod/glossary/showentry.php?courseid='.$courseid.
'&amp;concept='.$encodedconcept.'" '. '&amp;concept='.$encodedconcept.'" '.
'onclick="return openpopup(\'/mod/glossary/showentry.php?courseid='.$courseid. 'onclick="return openpopup(\'/mod/glossary/showentry.php?courseid='.$courseid.
Expand Down

0 comments on commit 8213916

Please sign in to comment.