From e62b17904238c54ce4f042e36ddf6659e58cfdd8 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 14 May 2005 03:22:09 +0000 Subject: [PATCH] Some little style fixes bug 3222 --- mod/forum/lib.php | 6 +++--- mod/hotpot/lib.php | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 3cff2b783b8..f072c6fcf9f 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -803,9 +803,9 @@ function forum_print_recent_activity($course, $isteacher, $timestart) { $subjectclass = ($log->action == 'add discussion') ? ' bold' : ''; - echo '
'; - echo $date.' - '.fullname($post, $isteacher); - echo '
'; + echo '
'; + echo $date.'
'.fullname($post, $isteacher); + echo '
'; echo '"'; $post->subject = break_up_long_words(format_string($post->subject,true)); echo $post->subject; diff --git a/mod/hotpot/lib.php b/mod/hotpot/lib.php index da76563e40c..f2d2f5d9f57 100644 --- a/mod/hotpot/lib.php +++ b/mod/hotpot/lib.php @@ -236,7 +236,7 @@ function hotpot_print_recent_activity($course, $isteacher, $timestart) { $names = array(); foreach ($records as $id => $record){ - $href = "$CFG->wwwroot/mod/hotpot/view.php?id=$id"; + $href = $CFG->wwwroot.'/mod/hotpot/view.php?id='.$id; $name = " $record->name"; if ($record->count_attempts > 1) { $name >= " ($record->count_attempts)"; @@ -244,7 +244,9 @@ function hotpot_print_recent_activity($course, $isteacher, $timestart) { $names[] = $name; } - print '
Hot Potatoes Activity:
'.implode('
', $names).'
'; + print_headline(get_string('modulename', 'hotpot').':'); + echo '
'.implode('
', $names).'
'; + $result = true; } }