Permalink
Browse files

mnet: hide direct link to logs for now...

  • Loading branch information...
1 parent 2000333 commit 2d60ff6d58624e6bbef96f686ab353cf842c9206 martinlanghoff committed Jan 19, 2007
Showing with 5 additions and 3 deletions.
  1. +5 −3 admin/mnet/enr_hosts.php
View
@@ -33,7 +33,7 @@
. '<th class="header c0"> '.get_string('host', 'mnet').' </th>'
. '<th class="header c1"> '.get_string('enrolments', 'mnet').' </th>'
. '<th class="header c2"> '.get_string('courses', 'mnet').' </th>'
- . '<th class="header c3"> &nbsp; </th>'
+ // . '<th class="header c3"> &nbsp; </th>'
. '</tr>');
$hosts = $enrolment->list_remote_servers();
foreach ($hosts as $host) {
@@ -47,8 +47,10 @@
print ('<tr>'
. "<td><a href=\"{$coursesurl}\">{$host->name}</a></td>"
. "<td align=\"center\" >$enrolcount</td>"
- . "<td align=\"center\" ><a href=\"{$coursesurl}\">$coursecount - ".get_string('editenrolments', 'mnet')."</a></td>"
- . '<td align="center" > <a href="">'.get_string('logs', 'mnet').'</a> </td>'
+ . "<td align=\"center\" >$coursecount - <a href=\"{$coursesurl}\">".get_string('editenrolments', 'mnet')."</a></td>"
+ // TODO: teach report/log/index.php to show per-host-logs
+ // . '<td align="center" ><a href="{$CFG->wwwroot}/admin/report/log/index.php?course_host={$host->id}">'
+ // . get_string('logs', 'mnet').'</a> </td>'
. '</tr>');
}
print ('</table>');

0 comments on commit 2d60ff6

Please sign in to comment.