Now the list of downloadable langs (when no fopen is available) doesn't break XML. Related to MDL-7861

This commit is contained in:
stronk7 2007-01-13 20:17:20 +00:00
parent dbaa905e10
commit 5c8b250f37

View File

@ -297,7 +297,7 @@
echo '<option value="'.$alang[0].'">'.$alang[2].' ('.$shortlang.')</option>';
}
} 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;
}