]> git.mjollnir.org Git - moodle.git/commitdiff
Tweak on readings display on social course
authormartin <martin>
Wed, 31 Jul 2002 15:52:44 +0000 (15:52 +0000)
committermartin <martin>
Wed, 31 Jul 2002 15:52:44 +0000 (15:52 +0000)
course/social.php

index 61cfada5c2b937c3b8dd5db3223dc06805f65177..e6b70c2359fa771b5db495869bff424002a1074f 100644 (file)
@@ -25,9 +25,9 @@
 
       // Then, print all the available readings
 
-      print_simple_box("Readings", $align="CENTER", $width="100%", $color="$THEME->cellheading");
+      print_simple_box("Resources", $align="CENTER", $width="100%", $color="$THEME->cellheading");
 
-      if ($readings = list_all_readings($course->id, "timemodified ASC", 0, true)) {
+      if ($readings = list_all_readings($course->id, "timemodified DESC", 0, true)) {
           foreach ($readings as $reading) {
               $readingdata[] = $reading;
               $readingicon[] = "<IMG SRC=\"../mod/reading/icon.gif\" HEIGHT=16 WIDTH=16 ALT=\"Reading\">";