Merge branch 'w46_MDL-36457_m24_jsmin' of git://github.com/skodak/moodle
[moodle.git] / theme / upgrade.txt
CommitLineData
0f704140
PS
1This files describes API changes in /theme/* themes,
2information provided here is intended especially for theme designer.
3
2d0e682d
MV
4=== 2.4 ===
5
52b1ed5e
MG
6required changes:
7* output course and course content header/footer that may be returned by course format (see MDL-36048)
8
2d0e682d
MV
9optional changes:
10* new optional boolean parameter $withlinks for public function login_info() in lib/outputrenderers.php (MDL-31365)
11* new layout option "nologinlinks" and new page layout "secure" e.g. for safebrowser and securewindow (MDL-31365)
ee362526 12
33d9f44b
PS
13=== 2.3 ===
14
15optional changes:
16* add new u/f3.png image when theme contains customised f1 and f2 default user images
17
0f704140
PS
18=== 2.2 ===
19
20required changes:
21* use new page content placeholder "echo $OUTPUT->main_content()" instead of "echo core_renderer::MAIN_CONTENT_TOKEN"
ee362526 22 see git commit: 3b3f302855d7621405a8b93e49bd399d67a998d7
2d0e682d 23* upgrade report selectors: search for "-course-report-" and replace with "-report-"