Permalink
Browse files

Some more CSS changes (SE)

  • Loading branch information...
1 parent 6ba172f commit 61f0aace2aa05030be217e2a5d2a908d73d4fd21 moodler committed Mar 24, 2005
Showing with 5 additions and 10 deletions.
  1. +1 −3 mod/journal/lib.php
  2. +4 −7 mod/journal/view.php
View
@@ -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
@@ -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);

0 comments on commit 61f0aac

Please sign in to comment.