get_record('user', array('id'=>$entry->userid)); $strby = get_string('writtenby', 'glossary'); if ($entry) { echo '
';
//Use this function to show author's image
//Comments: Configuration not supported
echo $OUTPUT->user_picture($user, array('courseid'=>$course->id));
//Line separator to show this template fine. :-)
echo ' '; //Use this code to show author's name //Comments: Configuration not supported $fullname = fullname($user); $by = new stdClass(); $by->name = ''.$fullname.''; $by->date = userdate($entry->timemodified); echo ' ' . ' '; //Use this code to show modification date //Comments: Configuration not supported echo get_string('lastedited').': '. userdate($entry->timemodified) . ' '; //Use this function to show the approval button. It'll be shown if necessary //Comments: You can configure this parameters: //----Define where to show the approval button $approvalalign = 'right'; //Values: left, center and right (default right) //----Define if the approval button must be showed into a 100% width table $approvalinsidetable = true; //Values: true, false (default true) //Call the function glossary_print_entry_approval($cm, $entry, $mode, $approvalalign, $approvalinsidetable); //Line separator to show this template fine. :-) echo ' '; echo ' | ';
echo '';
//Line separator to show this template fine. :-)
echo " \n"; echo ' |
';
//Use this function to print the concept in a heading
//Comments: Configuration not supported
glossary_print_entry_concept($entry);
//Line separator not normally needed now.
//echo " | ';
echo '