Little tidyings, I should be in bed watching Scrubs!

This commit is contained in:
moodler
2006-03-26 16:19:57 +00:00
parent 0cdb296458
commit dbdfc3dbab
2 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -1152,7 +1152,8 @@ function data_print_comment($data, $commentid) {
echo '</td><td class="content" align="left">'."\n";
// Print whole message
echo format_text($comment->content);
$options->para = false;
echo format_text($comment->content, FORMAT_MOODLE, $options);
/// Commands
+2 -3
View File
@@ -131,7 +131,7 @@
echo '<div style="clear:both;"></div>';
}
if ($data->intro and empty($sort) and empty($search) and empty($page)) {
if ($data->intro and empty($sort) and empty($search) and empty($page) and empty($rid)) {
print_simple_box(format_text($data->intro), 'center', '70%', '', 5, 'generalbox', 'intro');
}
@@ -345,8 +345,7 @@
if (!$records = get_records_sql($sql)){
if ($search){
notify(get_string('nomatch','data'));
}
else {
} else {
notify(get_string('norecords','data'));
}