Merge branch 'wip_MDL-67205_master' of git://github.com/gjb2048/moodle

This commit is contained in:
Andrew Nicols
2019-11-13 08:31:25 +08:00
+5 -5
View File
@@ -13,13 +13,13 @@ information provided here is intended especially for theme designer.
The sub-directory used must be either an valid component, or placed inside a 'local' directory to ensure that it does not conflict with other components.
The following are all valid template names and locations in your theme:
theme_themename/columns2: theme/[themename]/columns2.mustache
theme_themename/local/layouts/columns2: theme/[themename]/local/layouts/columns2.mustache
theme_themename/columns2: theme/[themename]/templates/columns2.mustache
theme_themename/local/layouts/columns2: theme/[themename]/templates/local/layouts/columns2.mustache
The following are core templates, locations, and override locations in your theme:
core/modal: lib/templates/modal.mustache => theme/[themename]/core/modal.mustache
mod_forum/forum_post: mod/forum/templates/forum_post.mustache => theme/[themename]/mod_forum/forum_post.mustache
mod_forum/local/post/user: mod/forum/templates/local/post/user.mustache => theme/[themename]/mod_forum/local/post/user.mustache
core/modal: lib/templates/modal.mustache => theme/[themename]/templates/core/modal.mustache
mod_forum/forum_post: mod/forum/templates/forum_post.mustache => theme/[themename]/templates/mod_forum/forum_post.mustache
mod_forum/local/post/user: mod/forum/templates/local/post/user.mustache => theme/[themename]/templates/mod_forum/local/post/user.mustache
The following are _invalid_ template names and locations:
theme_themename/layouts/columns2: theme/[themename]/layouts/columns2.mustache