Differences Between: [Versions 310 and 403] [Versions 39 and 403]
1 <?php 2 3 function glossary_show_entry_continuous($course, $cm, $glossary, $entry, $mode='', $hook='', $printicons=1, $aliases=false) { 4 5 global $USER, $OUTPUT; 6 7 echo '<table class="glossarypost continuous" cellspacing="0">'; 8 echo '<tr valign="top">'; 9 echo '<td class="entry">'; 10 glossary_print_entry_approval($cm, $entry, $mode); 11 echo '<div class="concept">'; 12 glossary_print_entry_concept($entry); 13 echo '</div> '; 14 glossary_print_entry_definition($entry, $glossary, $cm); 15 glossary_print_entry_attachment($entry, $cm, 'html'); 16 17 if (core_tag_tag::is_enabled('mod_glossary', 'glossary_entries')) { 18 echo $OUTPUT->tag_list(core_tag_tag::get_item_tags( 19 'mod_glossary', 'glossary_entries', $entry->id), null, 'glossary-tags'); 20 } 21 $entry->alias = ''; 22 echo '</td></tr>'; 23 24 echo '<tr valign="top"><td class="entrylowersection">'; 25 glossary_print_entry_lower_section($course, $cm, $glossary, $entry, $mode, $hook, $printicons, $aliases, false); 26 echo '</td>'; 27 echo '</tr>'; 28 echo "</table>\n"; 29 } 30 31 function glossary_print_entry_continuous($course, $cm, $glossary, $entry, $mode='', $hook='', $printicons=1) { 32 33 //The print view for this format is exactly the normal view, so we use it 34 35 //Take out autolinking in definitions un print view 36 $entry->definition = '<span class="nolink">'.$entry->definition.'</span>'; 37 38 //Call to view function (without icons, ratings and aliases) and return its result 39 glossary_show_entry_continuous($course, $cm, $glossary, $entry, $mode, $hook, false, false, false); 40 41 } 42 43
title
Description
Body
title
Description
Body
title
Description
Body
title
Body