diff --git a/mod/glossary/formats/3.php b/mod/glossary/formats/3.php
index ea58b9609f1..e836313700f 100644
--- a/mod/glossary/formats/3.php
+++ b/mod/glossary/formats/3.php
@@ -1,36 +1,31 @@
timemarked < $entry->modified) {
- $colour = $THEME->cellheading2;
-// } else {
-// $colour = $THEME->cellheading;
-// }
+ $colour = $THEME->cellheading2;
$user = get_record("user", "id", $entry->userid);
- $strby = get_string("writtenby","glossary");
+ $strby = get_string("writtenby", "glossary");
- echo "
";
+ echo "\n";
- echo "\n";
-
- echo "\n";
- echo "\n| ";
+ echo "\n | ";
+ echo "\n| ";
if ($entry) {
- print_user_picture($user->id, $course->id, $user->picture);
+ print_user_picture($user->id, $course->id, $user->picture);
}
- echo " | ";
- echo "cellheading\">";
+ echo " | ";
+ echo "cellheading\" class=\"forumpostheader\">";
if ($entry) {
- echo "$entry->concept $strby $user->firstname $user->lastname";
- echo " (".get_string("lastedited").": ".userdate($entry->timemodified).")";
+ echo "$entry->concept ";
+ echo "$strby $user->firstname $user->lastname";
+ echo " (".get_string("lastedited").": ".userdate($entry->timemodified).")";
}
- echo " | ";
+ echo "";
- echo "\n| cellcontent\">";
+ echo "\n | | cellcontent\" class=\"forumpostmessage\">";
if ($entry) {
if ($entry->attachment) {
$entry->course = $course->id;
@@ -52,11 +47,9 @@ function glossary_print_entry_by_format($course, $cm, $glossary, $entry,$current
print_string("noentry", "glossary");
echo "";
}
- echo " | ";
+ echo "";
- echo " \n";
-
- echo " ";
+ echo " |
\n";
}
?>
diff --git a/mod/glossary/showentry.php b/mod/glossary/showentry.php
index 0b36d94f255..4377dfbbb77 100644
--- a/mod/glossary/showentry.php
+++ b/mod/glossary/showentry.php
@@ -18,8 +18,8 @@
$colour = $THEME->cellheading2;
- echo "\n";
- echo "";
+ echo "\n";
+ echo "| ";
if ( $entries ) {
foreach ( $entries as $entry ) {
@@ -37,7 +37,7 @@
}
}
echo " | ";
- echo " ";
+ echo " |
";
}
?>