/configui: Add option to embed Susimail and I2PSnark in console

This commit is contained in:
str4d
2017-10-25 09:33:20 +00:00
parent b54a5c592e
commit 47d354711e
9 changed files with 42 additions and 14 deletions

View File

@@ -43,6 +43,15 @@ public class ConfigUIHelper extends HelperBase {
buf.append(CHECKED);
buf.append("value=\"1\">")
.append(_t("Force the mobile console to be used"))
.append("</label></br>\n");
boolean embedApps = _context.getBooleanProperty(CSSHelper.PROP_EMBED_APPS);
buf.append("<label title=\"")
.append(_t("Enabling the Universal Themeing option is recommended when embedding these applications"))
.append("\"><input type=\"checkbox\" name=\"embedApps\" ");
if (embedApps)
buf.append(CHECKED);
buf.append("value=\"1\">")
.append(_t("Embed I2PSnark and I2PMail in the console"))
.append("</label></div>\n");
return buf.toString();
}