Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
bea5a162
Commit
bea5a162
authored
Dec 04, 2017
by
jun
Browse files
Merge branch 'MDL-60925-master' of
git://github.com/damyon/moodle
parents
c1cd2924
b3480499
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/outputlib.php
View file @
bea5a162
...
...
@@ -201,10 +201,13 @@ function theme_build_css_for_themes($themeconfigs = [], $directions = ['rtl', 'l
// First generate all the new css.
foreach
(
$directions
as
$direction
)
{
// Lock it on. Technically we should build all themes for SVG and no SVG - but ie9 is out of support.
$themeconfig
->
force_svg_use
(
true
);
$themeconfig
->
set_rtl_mode
((
$direction
===
'rtl'
));
$themecss
[
$direction
]
=
$themeconfig
->
get_css_content
();
if
(
$cache
)
{
$themeconfig
->
set_css_content_cache
(
$themecss
[
$direction
]);
$filename
=
theme_get_css_filename
(
$themeconfig
->
name
,
$themerev
,
$newrevision
,
$direction
);
css_store_css
(
$themeconfig
,
$filename
,
$themecss
[
$direction
]);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment