forked from I2P_Developers/i2p.i2p
/configui: Add option to embed Susimail and I2PSnark in console
This commit is contained in:
@ -26,6 +26,7 @@ public class CSSHelper extends HelperBase {
|
||||
public static final String PROP_DISABLE_REFRESH = "routerconsole.summaryDisableRefresh";
|
||||
private static final String PROP_XFRAME = "routerconsole.disableXFrame";
|
||||
public static final String PROP_FORCE_MOBILE_CONSOLE = "routerconsole.forceMobileConsole";
|
||||
public static final String PROP_EMBED_APPS = "routerconsole.embedApps";
|
||||
|
||||
private static final String _consoleNonce = Long.toString(RandomSource.getInstance().nextLong());
|
||||
|
||||
@ -51,6 +52,14 @@ public class CSSHelper extends HelperBase {
|
||||
return url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether app embedding is enabled or disabled
|
||||
* @since 0.9.32
|
||||
*/
|
||||
public boolean embedApps() {
|
||||
return _context.getBooleanProperty(PROP_EMBED_APPS);
|
||||
}
|
||||
|
||||
/**
|
||||
* change default language for the router AND save it
|
||||
* @param lang xx OR xx_XX OR xxx OR xxx_XX
|
||||
|
Reference in New Issue
Block a user