mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Now the list of downloadable langs (when no fopen is available) doesn't break XML. Related to MDL-7861
This commit is contained in:
parent
dbaa905e10
commit
5c8b250f37
@ -297,7 +297,7 @@
|
|||||||
echo '<option value="'.$alang[0].'">'.$alang[2].' ('.$shortlang.')</option>';
|
echo '<option value="'.$alang[0].'">'.$alang[2].' ('.$shortlang.')</option>';
|
||||||
}
|
}
|
||||||
} else { //print list in local format, and instruction to install
|
} else { //print list in local format, and instruction to install
|
||||||
echo '<tr><td>'.$alang[2].'</td><td><a href="http://download.moodle.org/lang16/'.$alang[0].'.zip">'.get_string('download','admin').'</a>';
|
echo '<tr><td>'.$alang[2].'</td><td><a href="http://download.moodle.org/lang16/'.$alang[0].'.zip">'.get_string('download','admin').'</a></td></tr>';
|
||||||
}
|
}
|
||||||
$empty = 0;
|
$empty = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user