MDL-32508 course/formats: Respect single page course display mode
authorDan Poltawski <dan@moodle.com>
Fri, 27 Apr 2012 05:11:35 +0000 (13:11 +0800)
committerDan Poltawski <dan@moodle.com>
Fri, 4 May 2012 02:53:01 +0000 (10:53 +0800)
commit1804b7c1bc99667198d865b56a5af3158d532de5
tree1730f1a328d7bb05a0fca68f51902a70548c7b0c
parent143d743743a4103c858a8cb53ba3ee21a83e2c6e
MDL-32508 course/formats: Respect single page course display mode

Topics and weeks have been converted to use a shared renderer to output
their content.

Note, I started with good intentions but this renderer has mixed
paradgims due to fast and cheap winning out on the trinity.

AMOS BEGIN
   MOV [currenttopic,access],[currentsection,format_topics]
   MOV [currentweek,access],[currentsection,format_weeks]
AMOS END
course/format/renderer.php [new file with mode: 0644]
course/format/topics/format.php
course/format/topics/lang/en/format_topics.php
course/format/topics/renderer.php [new file with mode: 0644]
course/format/topics/version.php
course/format/weeks/format.php
course/format/weeks/lang/en/format_weeks.php
course/format/weeks/renderer.php [new file with mode: 0644]
course/format/weeks/version.php
lang/en/access.php
theme/base/style/course.css