diff --git a/mod/glossary/formats/fullwithauthor/fullwithauthor_format.php b/mod/glossary/formats/fullwithauthor/fullwithauthor_format.php
index 39b3cb3a680..0af86a89cbe 100644
--- a/mod/glossary/formats/fullwithauthor/fullwithauthor_format.php
+++ b/mod/glossary/formats/fullwithauthor/fullwithauthor_format.php
@@ -4,49 +4,48 @@ function glossary_show_entry_fullwithauthor($course, $cm, $glossary, $entry, $mo
global $CFG, $USER;
- $user = get_record("user", "id", $entry->userid);
- $strby = get_string("writtenby", "glossary");
+ $user = get_record('user', 'id', $entry->userid);
+ $strby = get_string('writtenby', 'glossary');
- echo "\n
| "; + echo ' | ||||
| '; print_user_picture($user->id, $course->id, $user->picture); + echo ' | '; + + echo ''; - echo " | "; - echo "";
-
- echo "";
+ echo '';
glossary_print_entry_concept($entry);
- echo " "; + echo ' '; - echo "$strby " . fullname($user, isteacher($course->id)) . ""; - echo " (".get_string("lastedited").": ". - userdate($entry->timemodified).")"; - echo " | ";
- echo "\n"; + echo ''; + echo ' | '; + echo ''; glossary_print_entry_approval($cm, $entry, $mode); - glossary_print_entry_attachment($entry,"html","right"); - echo " | "; + glossary_print_entry_attachment($entry,'html','right'); + echo ''; - echo "
| "; - echo "\n | ||||
| '; + echo ' | ';
glossary_print_entry_definition($entry);
$return = glossary_print_entry_lower_section($course, $cm, $glossary, $entry, $mode, $hook, $printicons, $ratings, $aliases);
echo ' ';
} else {
- echo " | '; + print_string('noentry', 'glossary'); } - echo " | ||
| "; + echo ' | ';
- echo "";
+ echo '';
glossary_print_entry_concept($entry);
- echo " "; + echo ' '; - echo "(".get_string("lastedited").": ". - userdate($entry->timemodified).")"; - echo " | ";
- echo "\n"; + echo '('.get_string('lastedited').': '. + userdate($entry->timemodified).')'; + echo ' | '; + echo ''; glossary_print_entry_approval($cm, $entry, $mode); - glossary_print_entry_attachment($entry,"html","right"); - echo " | "; + glossary_print_entry_attachment($entry,'html','right'); + echo ''; - echo "
| ';
glossary_print_entry_definition($entry);
$return = glossary_print_entry_lower_section($course, $cm, $glossary, $entry, $mode, $hook, $printicons, $ratings, $aliases);
echo ' ';
} else {
- echo " | |||