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 ' | '; if ($entry->attachment) { $entry->course = $course->id; if (strlen($entry->definition)%2) { $align = 'right'; } else { $align = 'left'; } glossary_print_entry_attachment($entry, $cm, null,$align,false); } glossary_print_entry_definition($entry, $glossary, $cm); if ($printicons or $aliases) { echo ' | |
'; glossary_print_entry_lower_section($course, $cm, $glossary, $entry,$mode,$hook,$printicons,$aliases); echo ' '; } echo ' |