get_record('user', array('id'=>$entry->userid)); $strby = get_string('writtenby', 'glossary'); if ($entry) { echo '
'; echo $OUTPUT->user_picture($user, array('courseid'=>$course->id)); echo ' | '; echo '';
echo ' ';
glossary_print_entry_concept($entry);
echo ' ';
$fullname = fullname($user);
$by = new stdClass();
$by->name = ''.$fullname.'';
$by->date = userdate($entry->timemodified);
echo ' ';
echo ' | ';
echo ''; glossary_print_entry_approval($cm, $entry, $mode); echo ' | '; echo '
---|---|---|
'; echo ' | '; glossary_print_entry_definition($entry, $glossary, $cm); glossary_print_entry_attachment($entry, $cm, null); if (core_tag_tag::is_enabled('mod_glossary', 'glossary_entries')) { echo $OUTPUT->tag_list( core_tag_tag::get_item_tags('mod_glossary', 'glossary_entries', $entry->id), null, 'glossary-tags'); } if ($printicons or $aliases) { echo ' | |
'; glossary_print_entry_lower_section($course, $cm, $glossary, $entry,$mode,$hook,$printicons,$aliases); echo ' '; } echo ' |