The entrylist format now shows the approval button.

Bug 2291.
(http://moodle.org/bugs/bug.php?op=show&bugid=2291)

Merged from MOODLE_14_STABLE
This commit is contained in:
stronk7 2004-12-18 20:29:33 +00:00
parent bcb5381780
commit 485d102488

View File

@ -11,10 +11,11 @@ function glossary_show_entry_entrylist($course, $cm, $glossary, $entry, $mode=""
echo "\n<tr>";
echo "<td width=\"100%\" bgcolor=\"$colour\">";
if ($entry) {
glossary_print_entry_approval($cm, $entry, $mode);
echo "<b><a href=\"showentry.php?courseid=$course->id\&amp;eid=$entry->id\&amp;displayformat=dictionary\" target=\"_blank\" onClick=\"return openpopup('/mod/glossary/showentry.php?courseid=$course->id\&amp;eid=$entry->id\&amp;displayformat=dictionary', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);\">";
glossary_print_entry_concept($entry);
echo '</a></b> ';
if ( $return = glossary_print_entry_commentslink($course, $cm, $glossary, $entry,$mode,$hook, 'html') ) {
echo "<font size=-1>($return)</font>";
}