Skip to content

Commit

Permalink
MDL-55377 output: Minor fixes for RTL installation
Browse files Browse the repository at this point in the history
Part of MDL-55071
  • Loading branch information
Frederic Massart authored and danpoltawski committed Sep 23, 2016
1 parent 69b0694 commit b42cf86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions install/css.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
fieldset .configphp,
fieldset .alert {
text-align: left;
direction: ltr;
}
.sitelink {
Expand Down
4 changes: 3 additions & 1 deletion theme/noname/layout/maintenance.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
];

Expand Down

0 comments on commit b42cf86

Please sign in to comment.