MDL-55377 output: Minor fixes for RTL installation

Part of MDL-55071
This commit is contained in:
Frederic Massart 2016-08-04 15:11:07 +08:00 committed by Dan Poltawski
parent 69b06947d6
commit b42cf867d6
2 changed files with 4 additions and 1 deletions

View File

@ -103,6 +103,7 @@ fieldset {
fieldset .configphp,
fieldset .alert {
text-align: left;
direction: ltr;
}
.sitelink {

View File

@ -22,7 +22,9 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$templatecontext = [
'sitename' => format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID))),
// We cannot pass the context to format_string, this layout can be used during
// installation. At that stage database tables do not exist yet.
'sitename' => format_string($SITE->shortname),
'output' => $OUTPUT
];