• Robert Lyon's avatar
    Language-ifying the strings in the primary school theme (Bug 1362871) · 03ff102a
    Robert Lyon authored
    Currently there is no way for themes to come with their own language
    files - but sometimes a theme may have some text it wants to display
    that is unique to that theme - like when it has a homeinfo.tpl file
    I've added the checks to the lang path for checking a theme's lang file
    To use it in a template you need to indicate the section is a theme by
    {str tag=stringtoget section=theme.nameoftheme}
    and this will look for the lang file in:
    Change-Id: I16d5273ee94ad2c066f7de5922253edde325fbed
    Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
mahara.php 130 KB