From 82f5285f5f5fe570a4c8a1cbc8dbc714a433bde5 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 23 Jul 2002 17:04:31 +0000 Subject: [PATCH] Fixes to Activity reports --- course/user.php | 13 ++++++++++++- mod/journal/user.php | 4 ---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/course/user.php b/course/user.php index c79ff1d39e5..b314c19492f 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 84a37f6e1d2..66e6593b625 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 ""; } ?>