From: martin Date: Wed, 31 Jul 2002 15:52:44 +0000 (+0000) Subject: Tweak on readings display on social course X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=59578f49d3498d38666326073902513788ba975a;p=moodle.git Tweak on readings display on social course --- diff --git a/course/social.php b/course/social.php index 61cfada5c2..e6b70c2359 100644 --- a/course/social.php +++ b/course/social.php @@ -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[] = "\"Reading\"";