mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Some more CSS changes (SE)
This commit is contained in:
parent
6ba172fb18
commit
61f0aace2a
@ -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 ' <span class="time">'.userdate($entry->timemarked).'</span>';
|
||||
echo '</tr>';
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user