cellheading2; $user = get_record("user", "id", $entry->userid); $strby = get_string("writtenby", "glossary"); echo "\n
"; if ($entry) { print_user_picture($user->id, $course->id, $user->picture); } echo " | "; echo "cellheading\" class=\"forumpostheader\">";
if ($entry->attachment) {
$entry->course = $glossary->course;
echo "
"; echo "$strby $user->firstname $user->lastname"; echo " (".get_string("lastedited").": ". userdate($entry->timemodified).")"; } echo " | |
cellcontent\" class=\"forumpostmessage\">";
if ($entry) {
echo format_text($entry->definition, $entry->format);
glossary_print_entry_icons($course, $cm, $glossary, $entry,$currentview,$cat);
} else {
echo " |