3 function glossary_show_entry_entrylist($course, $cm, $glossary, $entry, $mode='', $hook='', $printicons=1, $ratings=NULL, $aliases=true) {
8 echo '<table class="glossarypost entrylist" cellspacing="0">';
10 echo '<tr valign="top">';
11 echo '<td class="entry">';
13 glossary_print_entry_approval($cm, $entry, $mode);
14 echo "<span class=\"concept\"><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);\">";
15 glossary_print_entry_concept($entry);
17 echo '</td><td align="right" class="entrylowersection">';
19 glossary_print_entry_icons($course, $cm, $glossary, $entry, $mode, $hook,'print');
23 echo '<span class="ratings">';
24 $return = glossary_print_entry_ratings($course, $entry, $ratings);
29 echo '<div style="text-align:center">';
30 print_string('noentry', 'glossary');
39 function glossary_print_entry_entrylist($course, $cm, $glossary, $entry, $mode='', $hook='', $printicons=1, $ratings=NULL) {
41 //The print view for this format is different from the normal view, so we implement it here completely
45 //Take out autolinking in definitions un print view
46 $entry->definition
= '<span class="nolink">'.$entry->definition
.'</span>';
48 echo '<table class="glossarypost entrylist">';
49 echo '<tr valign="top">';
50 echo '<td class="entry">';
52 glossary_print_entry_concept($entry);
54 glossary_print_entry_definition($entry);
55 $return = glossary_print_entry_lower_section($course, $cm, $glossary, $entry, $mode, $hook, false, false, false);