mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-12294 merge parentlang
This commit is contained in:
parent
cf23a77554
commit
f191a887c6
@ -1504,7 +1504,10 @@ function make_default_scale() {
|
||||
|
||||
/// Read in the big description from the file. Note this is not
|
||||
/// HTML (despite the file extension) but Moodle format text.
|
||||
$parentlang = get_string('parentlang');
|
||||
$parentlang = get_string('parentlanguage');
|
||||
if ($parentlang[0] == '[') {
|
||||
$parentlang = '';
|
||||
}
|
||||
if (is_readable($CFG->dataroot .'/lang/'. $CFG->lang .'/help/forum/ratings.html')) {
|
||||
$file = file($CFG->dataroot .'/lang/'. $CFG->lang .'/help/forum/ratings.html');
|
||||
} else if (is_readable($CFG->dirroot .'/lang/'. $CFG->lang .'/help/forum/ratings.html')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user