I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit ea386721 authored by zzz's avatar zzz
Browse files

Console: Fix HTML error on /configui

parent 2d088899
No related branches found
No related tags found
No related merge requests found
...@@ -136,11 +136,11 @@ public class ConfigUIHelper extends HelperBase { ...@@ -136,11 +136,11 @@ public class ConfigUIHelper extends HelperBase {
} }
StringBuilder buf = new StringBuilder(512); StringBuilder buf = new StringBuilder(512);
for (int i = 0; i < langs.length; i++) { for (int i = 0; i < langs.length; i++) {
// we use "lang" so it is set automagically in CSSHelper
buf.append("<input type=\"radio\" class=\"optbox\" name=\"lang\" ");
String lang = langs[i][0]; String lang = langs[i][0];
if (lang.equals("xx") && !isAdvanced()) if (lang.equals("xx") && !isAdvanced())
continue; continue;
// we use "lang" so it is set automagically in CSSHelper
buf.append("<input type=\"radio\" class=\"optbox\" name=\"lang\" ");
if (lang.equals(current)) if (lang.equals(current))
buf.append(CHECKED); buf.append(CHECKED);
buf.append("value=\"").append(lang).append("\">") buf.append("value=\"").append(lang).append("\">")
......
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