]> git.mjollnir.org Git - moodle.git/commitdiff
minor fixes/typo for notes
authortoyomoyo <toyomoyo>
Fri, 28 Sep 2007 07:21:48 +0000 (07:21 +0000)
committertoyomoyo <toyomoyo>
Fri, 28 Sep 2007 07:21:48 +0000 (07:21 +0000)
notes/delete.php
notes/edit_form.php
notes/lib.php
user/addnote.php

index a0991cddb8f5ba526ff6dc6fa50bec5db8d3f916..0ffe0ec7fc8d9905daf97af48a7ea065240dd6f6 100644 (file)
@@ -48,4 +48,5 @@ if (data_submitted() && confirm_sesskey()) {
     echo '<br />';
     note_print($note, NOTES_SHOW_BODY | NOTES_SHOW_HEAD);
     print_footer();
-}
\ No newline at end of file
+}
+?>
\ No newline at end of file
index 3a3b9a88598d9a37d5c4549e77b4e49ab563bf89..ef39288f2e92380644d9f5d6a6c8fb95b1c77478 100644 (file)
@@ -32,3 +32,4 @@ class note_edit_form extends moodleform {
         $mform->setType('note', PARAM_INT);
     }
 }
+?>
\ No newline at end of file
index 9d5a88772656330dbaea17d79e1ca767cb8de257..ca9a372ec831d893e3ac97b75ef84eb1b15bbfc1 100644 (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;
     }
index 587e83d7b7b4058450ef4ec36c7904a1577b3909..3e51c22e9ad68600c1b0f5eed69df5804e4194d4 100644 (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);
+?>