mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
some UI changes
This commit is contained in:
parent
b367b152ad
commit
7e2d7c92ad
6 changed files with 88 additions and 26 deletions
|
@ -59,10 +59,15 @@
|
|||
$currenttab = $mode;
|
||||
include($CFG->dirroot.'/user/tabs.php');
|
||||
|
||||
|
||||
get_all_mods($course->id, $mods, $modnames, $modnamesplural, $modnamesused);
|
||||
|
||||
switch ($mode) {
|
||||
case "grade":
|
||||
$course = get_record('course', 'id', required_param('id', PARAM_INT));
|
||||
require_once($CFG->dirroot.'/grade/lib.php');
|
||||
grade_view_all_grades($user->id, 'user');
|
||||
break;
|
||||
|
||||
case "todaylogs" :
|
||||
echo '<div class="graph">';
|
||||
print_log_graph($course, $user->id, "userday.png");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue