Andrew Nicols
0261d1effa
MDL-50346 core: Allow sub-directories in template names
2019-08-07 11:44:49 +08:00
Andrew Nicols
89ab16414a
MDL-58833 tool_templatelibrary: Skip if directory empty
2017-05-08 15:01:52 +08:00
Damyon Wiese
a11c74d186
MDL-56673 tool_templatelibrary: Don't show templates from other themes
2016-11-04 12:52:38 +08:00
Dan Poltawski
840ba76c0c
MDL-56673 templatelibrary: return false when core template doesn't exist
2016-11-01 10:18:17 +00:00
Frédéric Massart
d13880db8b
MDL-55597 tool_templatelibrary: Re-inforce logic to skip theme templates
2016-10-07 10:24:50 +02:00
Damyon Wiese
917bd02be5
MDL-49870 tool_templatelibrary: Allow docs in parent template only.
...
If the mustache comment containing the docs for the template is
not found in the theme overridden template, search the original
core/plugin template for the docs.
2015-05-06 14:54:56 +08:00
Damyon Wiese
410034eef0
MDL-50085 templates: Minor fixes from peer review
...
* rename get_filename to get_filepath
* phpdocs fixes
* improve formatting of exceptions
* lang string improvement
2015-05-05 03:19:39 +02:00
Damyon Wiese
fcc383db0f
MDL-50085 Mustache : Strictly define the search paths for templates.
...
This change moves several repeated sections of code that was searching
for templates and valid template locations to a new class. It adds
unit tests for the new class and verifies subsystem support for templates.
2015-05-05 03:19:25 +02:00
Damyon Wiese
274d79c9d5
MDL-49650 tool_templatelibrary: New tool for browsing mustache templates
2015-04-09 11:57:56 +08:00