Skip to content
Snippets Groups Projects
Commit 494a87c5 authored by Jared Hancock's avatar Jared Hancock
Browse files

i18n: Fix display of language selection for new templates

parent 9c9bfae1
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<?php foreach($langs as $l) {
$selected = ($info['lang_id'] == $l['code']) ? 'selected="selected"' : ''; ?>
<option value="<?php echo $l['code']; ?>" <?php echo $selected;
?>><?php echo $l['desc']; ?></option>
?>><?php echo Internationalization::getLanguageDescription($l['code']); ?></option>
<?php } ?>
</select>
&nbsp;<span class="error">*&nbsp;<?php echo $errors['lang_id']; ?></span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment