2011-08-24 15:11:25 +02:00
This files describes API changes in /theme/* themes,
information provided here is intended especially for theme designer.
2013-02-06 13:17:48 +08:00
=== 2.5 ===
2013-03-26 16:20:22 +11:00
required changes:
* Functions core_course_renderer::course_category_tree() and course_category_tree_category()
are deprecated
* Significant changes in rendering of courses and categories listings, lots of CSS classes changed,
several functions such as print_courses(), print_whole_category_list(), print_category_info()
are moved to course renderer.
See http://docs.moodle.org/dev/Courses_lists_upgrade_to_2.5
2013-02-06 13:17:48 +08:00
DOM changes:
* changed the h1 title in the help popup to a h2.
2013-03-14 15:59:03 +01:00
* new setting $THEME->yuicssmodules = array('cssreset', 'cssfonts', 'cssgrids', 'cssbase'); which
2013-04-15 15:28:28 +08:00
allows themes to use different CSS reset normalisers such as cssnormalize YUI module.
2013-01-10 13:11:38 +08:00
* Re-wrote the user profile views to definition lists.
2013-04-15 15:28:28 +08:00
* Re-wrote the table for the course completion status block to use html_table - added some CSS classes to
the table in the process (see MDL-35608).
2013-03-27 16:02:47 +08:00
* Cancel buttons have the class btn-cancel.
2013-04-15 15:28:28 +08:00
* Added a z-index for the div#dateselector-calendar-panel so that the calendar pop-up renders above
the filemanager when they overlap, ie. the course settings page (see MDL-39047).
2013-04-19 13:14:38 +02:00
* Trivial change of CSS selectors used to display plugin status at the plugins overview
screen (#plugins-control-panel).
2013-02-06 13:17:48 +08:00
2013-03-11 14:56:35 +08:00
Renderer changes:
* Mymobile theme changed to support more verbose move-block-here descriptions.
2012-09-03 07:25:30 +02:00
=== 2.4 ===
2012-11-14 09:29:54 +08:00
required changes:
* output course and course content header/footer that may be returned by course format (see MDL-36048)
2012-11-20 19:45:38 +08:00
* span.completionprogress has been changed to a <div> and is not a float by default any more.
2012-11-14 09:29:54 +08:00
2012-11-13 16:48:50 +08:00
deprecation:
* i/roles: Use t/assignroles instead
2012-11-15 18:26:41 +08:00
* t/manual_item: Use i/manual_item instead
* t/unlock_gray: Use t/locked instead
2012-11-21 15:19:45 +08:00
* t/userblue: Previously used to unblock a user, use t/unblock.
2012-11-23 14:11:07 +08:00
* c/course: Use i/courseevent instead
* c/group: Use i/groupevent instead
* c/site: Use i/siteevent instead
* c/user: Use i/userevent instead
2012-11-23 16:18:35 +08:00
* t/clear: Use t/check instead
2012-11-27 16:52:13 +08:00
* i/cross_red_big: Use i/invalid or i/grade_incorrect
* i/tick_green_big: Use i/valid or i/grade_correct
* i/tick_amber_big: Use i/caution or i/grade_partiallycorrect
* No more small versions of i/cross_red_small, i/tick_green_small and i/tick_amber_small, use their big equivalent.
2012-11-28 16:57:16 +08:00
* t/addgreen: Use t/add instead.
2012-11-26 14:02:44 +08:00
* i/approve: Use t/approve instead
2012-11-13 16:48:50 +08:00
2012-09-03 07:25:30 +02:00
optional changes:
* new optional boolean parameter $withlinks for public function login_info() in lib/outputrenderers.php (MDL-31365)
* new layout option "nologinlinks" and new page layout "secure" e.g. for safebrowser and securewindow (MDL-31365)
2012-11-08 18:45:02 +08:00
* new class 'iconlarge' for 24x24 icons.
2012-11-13 16:48:50 +08:00
* new icons i/export and i/import (sized 16x16). Previously export and import actions used i/backup and i/restore.
* new icon i/assignroles (sized 16x16), to prevent the use of i/roles which is 12x12.
* new icon i/switchrole (sized 16x16), was previously using i/roles. Now is a copy of the new i/assignroles icon.
2012-11-15 19:30:16 +08:00
* new icons i/enrolusers and t/enrolusers, previsouly i/users was used.
* new icon t/cohorts (sized 12x12), to prevent the use of i/cohorts which is 16x16.
2012-11-15 11:44:18 +08:00
* new icons t/sort_asc, t/sort_desc to use for ordering in table headers.
* new class 'iconsort' for icons used for ordering in table headers.
2012-11-19 13:06:41 +08:00
* new icons t/locked and t/unlocked (12x12) which should be used when there is no action associated to the icon.
2012-11-15 18:26:41 +08:00
* new icons i/folder (16x16), monochrome equivalent to f/folder.
2012-11-21 15:19:45 +08:00
* new icons t/addcontact, t/removecontact and t/messages, previously t/addgreen, t/delete and t/log were used in messaging.
* new icons t/unblock and i/twoway.
2012-11-23 14:11:07 +08:00
* new icons i/courseevent, i/groupevent, i/siteevent and i/userevent (16x16) instead of c/* for calendar events.
2012-11-23 16:18:35 +08:00
* new icon t/markasread (12x12) to replace t/clear used in forums.
* new icon t/check (12x12) to replace t/clear which name does not reflect the icon meaning.
2012-11-26 15:42:35 +08:00
* new classes 'icon-pre' and 'icon-post' supposedly to be used when the icon is positioned before or after the text. This is not really used yet, but it's a start towards some standardisation of the icon selectors.
2012-11-27 16:52:13 +08:00
* new icons i/valid, i/caution and i/invalid for generic statuses.
* new icons i/grade_correct, i/grade_partiallycorrect and i/grade_incorrect for grades.
2012-11-26 14:02:44 +08:00
* new icon t/approve (12x12).
2012-11-30 14:26:31 +08:00
* new icon t/contextmenu (12x12) for a monochrome version of i/menu.
2011-10-30 09:28:20 +01:00
2012-05-13 17:12:30 +02:00
=== 2.3 ===
optional changes:
* add new u/f3.png image when theme contains customised f1 and f2 default user images
2011-08-24 15:11:25 +02:00
=== 2.2 ===
required changes:
* use new page content placeholder "echo $OUTPUT->main_content()" instead of "echo core_renderer::MAIN_CONTENT_TOKEN"
2011-10-30 09:28:20 +01:00
see git commit: 3b3f302855d7621405a8b93e49bd399d67a998d7
2012-09-03 07:25:30 +02:00
* upgrade report selectors: search for "-course-report-" and replace with "-report-"