Some more CSS changes (SE)

This commit is contained in:
moodler 2005-03-24 13:59:59 +00:00
parent 6ba172fb18
commit 61f0aace2a
2 changed files with 5 additions and 10 deletions

View File

@ -520,15 +520,13 @@ function journal_print_feedback($course, $entry, $grades) {
error('Weird journal error');
}
// echo "\n<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" valign=\"top\">";
echo '<table cellspacing="0" class="feedbackbox"';
echo '<table cellspacing="0" align="center" class="feedbackbox">';
echo '<tr>';
echo '<td class="left picture">';
print_user_picture($teacher->id, $course->id, $teacher->picture);
echo '</td>';
echo '<td class="entryheader">';
// echo "<td nowrap=\"nowrap\" width=\"100%\" bgcolor=\"$THEME->cellheading\">";
echo '<span class="author">'.fullname($teacher).'</span>';
echo '&nbsp;&nbsp;<span class="time">'.userdate($entry->timemarked).'</span>';
echo '</tr>';

View File

@ -28,8 +28,8 @@
$strjournal = get_string("modulename", "journal");
$strjournals = get_string("modulenameplural", "journal");
print_header_simple("$journal->name", "",
"<a href=\"index.php?id=$course->id\">$strjournals</a> -> $journal->name", "", "", true,
print_header_simple("$journal->name", '',
"<a href=\"index.php?id=$course->id\">$strjournals</a> -> $journal->name", '', '', true,
update_module_button($cm->id, $course->id, $strjournal), navmenu($course, $cm));
if (isteacher($course->id)) {
@ -42,15 +42,13 @@
}
$entrycount = journal_count_entries($journal, $currentgroup);
echo "<p align=\"right\"><a href=\"report.php?id=$cm->id\">".
get_string('viewallentries','journal', $entrycount)."</a>$groupname</p>";
echo '<div class="info"><a href="report.php?id='.$cm->id.'">'.
get_string('viewallentries','journal', $entrycount)."</a>$groupname</div>";
} else if (!$cm->visible) {
notice(get_string('activityiscurrentlyhidden'));
}
echo '<center>';
$journal->intro = trim($journal->intro);
if (!empty($journal->intro)) {
@ -131,7 +129,6 @@
echo userdate($timestart).'</div>';
}
echo '</center>';
print_footer($course);