summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/config.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/templates/config.html')
-rw-r--r--modules-available/locationinfo/templates/config.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules-available/locationinfo/templates/config.html b/modules-available/locationinfo/templates/config.html
index 0fb62a50..104b1cf3 100644
--- a/modules-available/locationinfo/templates/config.html
+++ b/modules-available/locationinfo/templates/config.html
@@ -61,9 +61,9 @@
<div class="col-md-7">
<select class="form-control" name="language" id="language"
onchange="modifyCustomUrl('&amp;language=', this.value);">
- <option value="en" id="en">{{lang_languageEn}}</option>
- <option value="de" id="de">{{lang_languageDe}}</option>
- <option value="pt" id="pt">{{lang_languagePt}}</option>
+ {{#languages}}
+ <option value="{{cc}}" id="lang-{{cc}}">{{name}}</option>
+ {{/languages}}
</select>
</div>
<div class="col-md-2">
@@ -400,7 +400,7 @@
* Loads the Values in the config form elements.
*/
function loadValues() {
- $("#{{language}}").attr("selected", "selected");
+ $("#lang-{{language}}").attr("selected", "selected");
$('#serverOption-{{serverid}}').attr("selected", "selected");