From 485d1024883704aa264ac1138e236d083acfa394 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 18 Dec 2004 20:29:33 +0000 Subject: [PATCH] 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 --- mod/glossary/formats/entrylist/entrylist_format.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/glossary/formats/entrylist/entrylist_format.php b/mod/glossary/formats/entrylist/entrylist_format.php index fa19fd87e0..40a3e640f3 100644 --- a/mod/glossary/formats/entrylist/entrylist_format.php +++ b/mod/glossary/formats/entrylist/entrylist_format.php @@ -11,10 +11,11 @@ function glossary_show_entry_entrylist($course, $cm, $glossary, $entry, $mode="" echo "\n"; echo ""; if ($entry) { + glossary_print_entry_approval($cm, $entry, $mode); echo "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 ' '; + if ( $return = glossary_print_entry_commentslink($course, $cm, $glossary, $entry,$mode,$hook, 'html') ) { echo "($return)"; } -- 2.39.5