The entrylist format now shows the approval button.

Bug 2291.
(http://moodle.org/bugs/bug.php?op=show&bugid=2291)
This commit is contained in:
stronk7
2004-12-18 20:26:25 +00:00
parent df01154cc0
commit 8c2bcbf240
@@ -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\&eid=$entry->id\&displayformat=dictionary\" target=\"_blank\" onClick=\"return openpopup('/mod/glossary/showentry.php?courseid=$course->id\&eid=$entry->id\&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>";
}