MDL-40759 icons: Split pix_icon from activity_icon

Activity icons always use the standard icon renderer.
This commit is contained in:
Damyon Wiese 2017-01-19 14:06:07 +08:00
parent 95b06c13c6
commit c2dde7eebc
7 changed files with 48 additions and 7 deletions

View file

@ -3,11 +3,10 @@ information provided here is intended especially for developers.
=== 3.3 ===
* Moodle has support for font-awesome icons. Plugins should use the xxx_get_fontawesome_icon_map callback
to map their custom icons to one from font-awesome.
=== 3.3 ===
* The method moodleform::after_definition() has been added and can now be used to add some logic
to be performed after the form's definition was set. This is useful for intermediate subclasses.
* Activity icons have been split from standard icons. Use $OUTPUT->activity_icon instead of $OUTPUT->pix_icon for these
type of icons (the coloured main icon for each activity).
* YUI module moodle-core-formautosubmit has been removed, use jquery .change() instead (see lib/templates/url_select.mustache for
an example)
* $mform->init_javascript_enhancement() is deprecated and no longer does anything. Existing uses of smartselect enhancement