Some little style fixes bug 3222
This commit is contained in:
+3
-3
@@ -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('&', '&', $log->url).'">';
|
||||
$post->subject = break_up_long_words(format_string($post->subject,true));
|
||||
echo $post->subject;
|
||||
|
||||
+4
-2
@@ -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 = " <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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user