Some little style fixes bug 3222

This commit is contained in:
moodler
2005-05-14 03:22:09 +00:00
parent 49f7d01d2b
commit e62b179042
2 changed files with 7 additions and 5 deletions
+3 -3
View File
@@ -803,9 +803,9 @@ function forum_print_recent_activity($course, $isteacher, $timestart) {
$subjectclass = ($log->action == 'add discussion') ? ' bold' : '';
echo '<div class="head'.$teacheronly.'"><span class="date">';
echo $date.'</span> - <span class="name">'.fullname($post, $isteacher);
echo '</span></div><div class="info'.$subjectclass.'">';
echo '<div class="head'.$teacheronly.'"><div class="date">';
echo $date.'</div><div class="name">'.fullname($post, $isteacher);
echo '</div></div><div class="info'.$subjectclass.'">';
echo '"<a href="'.$CFG->wwwroot.'/mod/forum/'.str_replace('&', '&amp;', $log->url).'">';
$post->subject = break_up_long_words(format_string($post->subject,true));
echo $post->subject;
+4 -2
View File
@@ -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 = "&nbsp;<a href=\"$href\">$record->name</a>";
if ($record->count_attempts > 1) {
$name >= " ($record->count_attempts)";
@@ -244,7 +244,9 @@ function hotpot_print_recent_activity($course, $isteacher, $timestart) {
$names[] = $name;
}
print '<BR><FONT size="1">Hot Potatoes Activity:<BR> '.implode('<BR>', $names).'</FONT>';
print_headline(get_string('modulename', 'hotpot').':');
echo '<div class="head"><div class="name">'.implode('<br />', $names).'</div></div>';
$result = true;
}
}