diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index aec20384d8a..322888596a8 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -603,6 +603,9 @@ function glossary_print_entry_definition($entry) { if (!empty($entry->highlight)) { $text = highlight($entry->highlight, $text); } + if (isset($entry->footer)) { // Unparsed footer info + $text .= $entry->footer; + } echo $text; } diff --git a/mod/glossary/showentry.php b/mod/glossary/showentry.php index e06faa02990..42b26dea23b 100644 --- a/mod/glossary/showentry.php +++ b/mod/glossary/showentry.php @@ -22,7 +22,8 @@ } foreach ($entries as $key => $entry) { - $entries[$key]->definition .= "
"; + //$entries[$key]->footer = ""; // Could not get this to work satisfactorily in all cases - Martin + $entries[$key]->footer = "» wwwroot/mod/glossary/view.php?g=$entry->glossaryid\">$entry->glossaryname
"; } if (!empty($courseid)) {