- 24 Nov, 2015 1 commit
-
-
Bug 1510421 Defines a new static PluginBlocktype method, get_css_icon(), which fetches the name of the CSS icon to use for this blocktype. It returns false by default, which tells the theme to "fall back" to the old thumbnail.png instead. 3rd-party plugins can override this to specify a particular icon to use. All the core blocktypes have been refactored to extend MaharaCoreBlocktype, which uses the blocktype name as the name of the CSS icon to use. I also deprecated the "SystemBlocktype" class while I was at it. PluginBlocktype::get_blocktypes_for_category() now returns both the results of get_css_icon() and the thumbnail.png path, so that themes can decide which they want to use. (And of course thumbnail.png is served via thumbnail.php, so 3rd party themes can provide their own custom image files if they wish.) behatnotneeded: Requires installing third-party plugins to test Change-Id: Idb1ecfc7b21175913708e695788906c11133b0c0 (cherry picked from commit 4f849ed2)
-
- 07 Aug, 2015 1 commit
-
-
behatnotneeded Change-Id: I5ac5becac82a0e4801fe095c09d5041bab0fc871
-
- 14 Apr, 2015 1 commit
-
-
Aaron Wells authored
Bug 1443730 Change-Id: Ic2ee67db4d4b9bc5756b5a46552b3dc8a6e02101
-
- 21 Mar, 2015 1 commit
-
-
Kristina Hoeppner authored
Change-Id: I91b8b698a0aa9d3aa828ce85f93973a205d5bdb2 Signed-off-by:
Kristina D.C. Hoeppner <kristina@catalyst.net.nz>
-
- 18 Mar, 2015 1 commit
-
-
Aaron Wells authored
Bug 1431673. In order to replace this with a proper lang string, I had to change the annotation blocktype so that it's using the proper APIs for its JS file. Change-Id: I5155be2505f4986e424bf2909769377de7cd8c42
-
- 13 Mar, 2015 1 commit
-
-
Ghada El-Zoghbi authored
A new artefact similar to the comment artefact but with less functionality (i.e. no attached files, etc). It's an explenation of why a particular evidence meets a particular standard. If an annotation is created and added to a page, when the user deletes it from the page, the instance is deleted along with the annotation and its feedback. TODO: 1. Imports seem to be working. Can get all comments to import and display. Needs some serious testing. 2. Made changes for broken images but another bug was reported and is currently being worked on. So, may not need the fixes in here. Changes in: - htdocs/artefact/file/download.php To completely fix the broken images for all artefacts, changes are also required in htdocs/lib/embeddedimage.php to delete based on resourceid instead of fileid. Change-Id: Ibdb2e1c6500862645bac741bf61cff37e5a5b35c
-