minor fixes/typo for notes

This commit is contained in:
toyomoyo 2007-09-28 07:21:48 +00:00
parent 667e08ef42
commit db4ff7f8bc
4 changed files with 5 additions and 2 deletions

View File

@ -48,4 +48,5 @@ if (data_submitted() && confirm_sesskey()) {
echo '<br />';
note_print($note, NOTES_SHOW_BODY | NOTES_SHOW_HEAD);
print_footer();
}
}
?>

View File

@ -32,3 +32,4 @@ class note_edit_form extends moodleform {
$mform->setType('note', PARAM_INT);
}
}
?>

View File

@ -33,7 +33,7 @@ define('NOTES_SHOW_FOOT', 0x04);
*/
function note_list($courseid=0, $userid=0, $state = '', $author = 0, $order='lastmodified DESC', $limitfrom=0, $limitnum=0) {
// setup filters
$select = array();
$selects = array();
if($courseid) {
$selects[] = 'courseid=' . $courseid;
}

View File

@ -85,3 +85,4 @@ foreach ($users as $k => $v) {
print_table($table);
echo '<div style="width:100%;text-align:center;"><input type="submit" value="' . get_string('savechanges'). '" /></div></form>';
print_footer($course);
?>