From eee75231c1cf044f6a04adb2880c6d0485033e2f Mon Sep 17 00:00:00 2001 From: mattc-catalyst Date: Mon, 16 Apr 2007 23:16:25 +0000 Subject: [PATCH] mod/glossary: HTML fixes Fixed HTML errors causing parser errors in Firefox when in developer debug mode. Author: Matt Clarkson Committer: Matt Clarkson --- mod/glossary/lib.php | 2 +- mod/glossary/view.php | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index 5cad095fcd..64e6dc3e41 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -1476,7 +1476,7 @@ function glossary_print_comment($course, $cm, $glossary, $entry, $comment) { echo '
'; echo ''; echo ''; - echo ''; echo '
'; + echo ''; print_user_picture($user->id, $course->id, $user->picture); echo ''; diff --git a/mod/glossary/view.php b/mod/glossary/view.php index ddd34ef285..7eae747575 100644 --- a/mod/glossary/view.php +++ b/mod/glossary/view.php @@ -407,6 +407,7 @@ $ratings->allow = true; } $formsent = 1; + echo "
"; echo "
"; echo "id\" />"; @@ -496,15 +497,16 @@ print_scale_menu_helpbutton($course->id, $scale ); } } - echo "
"; - echo ""; + echo ""; + } + if ($entriesshown ) { echo "
"; } else if (!empty($formsent)) { // close the form properly if not used echo ""; echo ""; } - + if ( $paging ) { echo '
'; echo '
'; -- 2.39.5