]> git.mjollnir.org Git - moodle.git/commitdiff
Better placing of standard links etc when there are lots of images and
authormoodler <moodler>
Fri, 11 Oct 2002 05:20:23 +0000 (05:20 +0000)
committermoodler <moodler>
Fri, 11 Oct 2002 05:20:23 +0000 (05:20 +0000)
other funny formatting in HTML posts

mod/forum/lib.php

index f361f6e7c11bd4d253d440bd171d6395b003c1f1..004962035e55787c0cb21795cf21af9c1560c1dc 100644 (file)
@@ -126,7 +126,7 @@ function forum_make_mail_post(&$post, $user, $touser, $course,
 
     $output .= format_text($post->message, $post->format);
 
-    $output .= "<P ALIGN=right><FONT SIZE=-1>";
+    $output .= "<BR CLEAR=ALL><P ALIGN=right><FONT SIZE=-1>";
 
     $age = time() - $post->created;
     if ($ownpost) {
@@ -141,6 +141,7 @@ function forum_make_mail_post(&$post, $user, $touser, $course,
         }
     }
 
+    $output .= "</P>";
     $output .= "<DIV ALIGN=right><P ALIGN=right>";
     
     if ($link) {
@@ -213,7 +214,7 @@ function forum_print_post(&$post, $courseid, $ownpost=false, $reply=false, $link
         echo format_text($post->message, $post->format);
     }
 
-    echo "<P ALIGN=right><FONT SIZE=-1>";
+    echo "<BR CLEAR=ALL><P ALIGN=right><FONT SIZE=-1>";
 
     $age = time() - $post->created;
     if ($ownpost) {
@@ -233,7 +234,7 @@ function forum_print_post(&$post, $courseid, $ownpost=false, $reply=false, $link
         echo "<A HREF=\"$CFG->wwwroot/mod/forum/post.php?reply=$post->id\">".get_string("reply", "forum")."</A>";
         echo "&nbsp;&nbsp;";
     }
-
+    echo "</P>";
 
     echo "<DIV ALIGN=right><P ALIGN=right>";
     if ($rate && $USER->id) {