mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 02:12:54 +00:00
Added option to /configui to force the mobile console to be used
This commit is contained in:
1 parent
34aa3ac207
commit
d5a870226c
5 files changed
+35
No files matched your search
@@ -28,6 +28,18 @@ public class ConfigUIHelper extends HelperBase {
|
||||
return buf.toString();
|
||||
}
|
||||
|
||||
public String getForceMobileConsole() {
|
||||
StringBuilder buf = new StringBuilder(256);
|
||||
boolean forceMobileConsole = _context.getBooleanProperty(CSSHelper.PROP_FORCE_MOBILE_CONSOLE);
|
||||
buf.append("<input type=\"checkbox\" name=\"forceMobileConsole\" ");
|
||||
if (forceMobileConsole)
|
||||
buf.append("checked=\"checked\" ");
|
||||
buf.append("value=\"1\">")
|
||||
.append(_("Force the mobile console to be used"))
|
||||
.append("<br>\n");
|
||||
return buf.toString();
|
||||
}
|
||||
|
||||
static final String PROP_THEME_PFX = "routerconsole.theme.";
|
||||
|
||||
/** @return standard and user-installed themes, sorted (untranslated) */
|
||||
|
||||
Reference in new issue
Block a user