MDL-36631 usability: Core edit for new messaging icons
[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
fbb207c5
FM
9deprecation:
10* i/roles: Use t/assignroles instead
f2bba619 11* t/userblue: Previously used to unblock a user, use t/unblock.
fbb207c5 12
2d0e682d
MV
13optional changes:
14* new optional boolean parameter $withlinks for public function login_info() in lib/outputrenderers.php (MDL-31365)
15* new layout option "nologinlinks" and new page layout "secure" e.g. for safebrowser and securewindow (MDL-31365)
bb128107 16* new class 'iconlarge' for 24x24 icons.
fbb207c5
FM
17* new icons i/export and i/import (sized 16x16). Previously export and import actions used i/backup and i/restore.
18* new icon i/assignroles (sized 16x16), to prevent the use of i/roles which is 12x12.
19* new icon i/switchrole (sized 16x16), was previously using i/roles. Now is a copy of the new i/assignroles icon.
c42651d6
FM
20* new icons i/enrolusers and t/enrolusers, previsouly i/users was used.
21* new icon t/cohorts (sized 12x12), to prevent the use of i/cohorts which is 16x16.
06b7ed0a
FM
22* new icons t/sort_asc, t/sort_desc to use for ordering in table headers.
23* new class 'iconsort' for icons used for ordering in table headers.
f2bba619
FM
24* new icons t/addcontact, t/removecontact and t/messages, previously t/addgreen, t/delete and t/log were used in messaging.
25* new icons t/unblock and i/twoway.
ee362526 26
33d9f44b
PS
27=== 2.3 ===
28
29optional changes:
30* add new u/f3.png image when theme contains customised f1 and f2 default user images
31
0f704140
PS
32=== 2.2 ===
33
34required changes:
35* use new page content placeholder "echo $OUTPUT->main_content()" instead of "echo core_renderer::MAIN_CONTENT_TOKEN"
ee362526 36 see git commit: 3b3f302855d7621405a8b93e49bd399d67a998d7
2d0e682d 37* upgrade report selectors: search for "-course-report-" and replace with "-report-"