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 ($printicons or $aliases) { echo ' | |
'; glossary_print_entry_lower_section($course, $cm, $glossary, $entry,$mode,$hook,$printicons,$aliases); echo ' '; } echo ' |