mirror of
https://github.com/moodle/moodle.git
synced 2025-07-26 00:31:35 +02:00
minor fixes/typo for notes
This commit is contained in:
@@ -48,4 +48,5 @@ if (data_submitted() && confirm_sesskey()) {
|
|||||||
echo '<br />';
|
echo '<br />';
|
||||||
note_print($note, NOTES_SHOW_BODY | NOTES_SHOW_HEAD);
|
note_print($note, NOTES_SHOW_BODY | NOTES_SHOW_HEAD);
|
||||||
print_footer();
|
print_footer();
|
||||||
}
|
}
|
||||||
|
?>
|
@@ -32,3 +32,4 @@ class note_edit_form extends moodleform {
|
|||||||
$mform->setType('note', PARAM_INT);
|
$mform->setType('note', PARAM_INT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
?>
|
@@ -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) {
|
function note_list($courseid=0, $userid=0, $state = '', $author = 0, $order='lastmodified DESC', $limitfrom=0, $limitnum=0) {
|
||||||
// setup filters
|
// setup filters
|
||||||
$select = array();
|
$selects = array();
|
||||||
if($courseid) {
|
if($courseid) {
|
||||||
$selects[] = 'courseid=' . $courseid;
|
$selects[] = 'courseid=' . $courseid;
|
||||||
}
|
}
|
||||||
|
@@ -85,3 +85,4 @@ foreach ($users as $k => $v) {
|
|||||||
print_table($table);
|
print_table($table);
|
||||||
echo '<div style="width:100%;text-align:center;"><input type="submit" value="' . get_string('savechanges'). '" /></div></form>';
|
echo '<div style="width:100%;text-align:center;"><input type="submit" value="' . get_string('savechanges'). '" /></div></form>';
|
||||||
print_footer($course);
|
print_footer($course);
|
||||||
|
?>
|
||||||
|
Reference in New Issue
Block a user