MDL-11379 and MDL-11380 fixed

This commit is contained in:
nicolasconnault 2007-09-21 07:52:52 +00:00
parent 6421ee7191
commit 2f6c662f41
4 changed files with 32 additions and 30 deletions

View file

@ -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();