Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Log formatting

  • Loading branch information...
commit f58d18bc832a5d6c7800b32edefcf7263d40ec8b 1 parent 2ff6642
martin authored

Showing 1 changed file with 8 additions and 8 deletions. Show diff stats Hide diff stats

  1. +8 8 course/lib.php
16 course/lib.php
@@ -152,18 +152,18 @@ function print_log($course, $user=0, $date=0, $order="ORDER BY l.time ASC") {
152 152 $log->info = get_field($ld->mtable, $ld->field, "id", $log->info);
153 153 }
154 154
155   - echo "<TR>";
  155 + echo "<TR NOWRAP>";
156 156 if (! $course->category) {
157   - echo "<TD><FONT SIZE=2><A HREF=\"view.php?id=$log->course\">".$courses[$log->course]."</A></TD>";
  157 + echo "<TD NOWRAP><FONT SIZE=2><A HREF=\"view.php?id=$log->course\">".$courses[$log->course]."</A></TD>";
158 158 }
159   - echo "<TD ALIGN=right><FONT SIZE=2>".userdate($log->time, "%A")."</TD>";
160   - echo "<TD><FONT SIZE=2>".userdate($log->time, "%e %B %Y, %I:%M %p")."</TD>";
161   - echo "<TD><FONT SIZE=2>$log->ip</TD>";
162   - echo "<TD><FONT SIZE=2><A HREF=\"../user/view.php?id=$log->user&course=$log->course\"><B>$log->firstname $log->lastname</B></TD>";
163   - echo "<TD><FONT SIZE=2>";
  159 + echo "<TD NOWRAP ALIGN=right><FONT SIZE=2>".userdate($log->time, "%A")."</TD>";
  160 + echo "<TD NOWRAP><FONT SIZE=2>".userdate($log->time, "%e %B %Y, %I:%M %p")."</TD>";
  161 + echo "<TD NOWRAP><FONT SIZE=2>$log->ip</TD>";
  162 + echo "<TD NOWRAP><FONT SIZE=2><A HREF=\"../user/view.php?id=$log->user&course=$log->course\"><B>$log->firstname $log->lastname</B></TD>";
  163 + echo "<TD NOWRAP><FONT SIZE=2>";
164 164 link_to_popup_window( make_log_url($log->module,$log->url), "fromloglive","$log->module $log->action", 400, 600);
165 165 echo "</TD>";
166   - echo "<TD><FONT SIZE=2>$log->info</TD>";
  166 + echo "<TD NOWRAP><FONT SIZE=2>$log->info</TD>";
167 167 echo "</TR>";
168 168 }
169 169 echo "</TABLE>";

0 comments on commit f58d18b

Please sign in to comment.
Something went wrong with that request. Please try again.