]> git.mjollnir.org Git - moodle.git/commitdiff
Always print the entry when adding, updating/deleting comments. MDL-9047
authorstronk7 <stronk7>
Mon, 26 Mar 2007 23:02:35 +0000 (23:02 +0000)
committerstronk7 <stronk7>
Mon, 26 Mar 2007 23:02:35 +0000 (23:02 +0000)
Merged from MOODLE_18_STABLE

mod/glossary/comment.php

index f416fc9907ddf499e81e539739ad0c3131958c78..c329807c87b4ddc426b9d7346e1441e394d1b969 100644 (file)
@@ -227,5 +227,7 @@ function glossary_comment_print_header($course, $cm, $glossary, $entry, $action)
         "<a href=\"index.php?id=$course->id\">$strglossaries</a> -> <a href=\"view.php?id=$cm->id\">".format_string($glossary->name,true)."</a> -> <a href=\"comments.php?id=$cm->id&amp;eid=$entry->id\">$strcomments</a> -> " . $straction,
         '', '', true, update_module_button($cm->id, $course->id, $strglossary),
         navmenu($course, $cm));
+/// print original glossary entry for any comment action (add, update, delete)
+    glossary_print_entry($course, $cm, $glossary, $entry, 'approval', '', false);
 }
-?>
\ No newline at end of file
+?>