From: martin Date: Tue, 23 Jul 2002 17:04:31 +0000 (+0000) Subject: Fixes to Activity reports X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=82f5285f5f5fe570a4c8a1cbc8dbc714a433bde5;p=moodle.git Fixes to Activity reports --- diff --git a/course/user.php b/course/user.php index c79ff1d39e..b314c19492 100644 --- a/course/user.php +++ b/course/user.php @@ -53,7 +53,10 @@ switch ($mode) { case "summary" : - echo "

Not supported yet

"; + echo "

Not done yet

"; + echo "

Graph goes here that shows accesses by day over the course

"; + echo "
"; + echo "

Table goes here that summarises all activity by this student by module. eg 3/7 journals done, 3/3 surveys, 12 posts in all discussions. Each of these are links so that you can drill down to see all the surveys on one page, or all the posts, or all their journals."; break; case "outline" : @@ -93,7 +96,15 @@ $output = include($userfile); print_outline_row($mod, $instance, $output); } else { + + $image = "modname/icon.gif\" ". + "HEIGHT=16 WIDTH=16 ALT=\"$mod->modfullname\">"; + echo "

$image $mod->modfullname: ". + "wwwroot/mod/$mod->modname/view.php?id=$mod->id\">". + "$instance->name

"; + echo ""; } } } diff --git a/mod/journal/user.php b/mod/journal/user.php index 84a37f6e1d..66e6593b62 100644 --- a/mod/journal/user.php +++ b/mod/journal/user.php @@ -40,9 +40,6 @@ function user_journal_outline($course, $user, $mod, $journal) { function user_journal_complete($course, $user, $mod, $journal) { global $CFG, $THEME; - echo "

Journal: wwwroot/mod/journal/view.php?id=$mod->id\">$journal->name

"; - echo ""; } ?>