Skip to content
Snippets Groups Projects
Commit 051ebca9 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #1563 from greezybacon/issue/1447


i18n: Fix display of language selection for new templates

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents e8949cd3 494a87c5
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