mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
MDL-11379 and MDL-11380 fixed
This commit is contained in:
parent
6421ee7191
commit
2f6c662f41
4 changed files with 32 additions and 30 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
/**
|
||||
* file index.php
|
||||
* index page to view notes.
|
||||
* index page to view notes.
|
||||
* if a course id is specified then the entries from that course are shown
|
||||
* if a user id is specified only notes related to that user are shown
|
||||
*/
|
||||
|
@ -59,6 +59,7 @@
|
|||
|
||||
print_header($course->shortname . ': ' . $strnotes, $course->fullname, build_navigation($nav));
|
||||
|
||||
$showroles = 1;
|
||||
$currenttab = 'notes';
|
||||
require_once($CFG->dirroot .'/user/tabs.php');
|
||||
|
||||
|
@ -96,7 +97,7 @@
|
|||
note_print_notes($header, $addid, $view, $c->id, $userid, NOTES_STATE_PUBLIC, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
print_box_end();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue