forked from I2P_Developers/i2p.i2p
* Console:
- Parameterize download button tags (ticket #425) - Clean up summary bar HTML warnings - Just display a summary bar link for text browsers - Move welcome div from the readme files to index.jsp - Require a nonce to change language
This commit is contained in:
@ -19,15 +19,14 @@ public class ContentHelper extends HelperBase {
|
||||
_startAtBeginning = Boolean.valueOf(""+moo).booleanValue();
|
||||
}
|
||||
public void setLang(String l) {
|
||||
/*****
|
||||
if((_lang == null || !_lang.equals(l)) && (l != null)) {
|
||||
//Set language for router console
|
||||
_lang = l;
|
||||
/*****
|
||||
TODO - Temporary for 0.8.4
|
||||
Needed for desktopgui. But there's no nonce protection.
|
||||
Move the following to CSSHelper setLang(), or disable completely,
|
||||
See comments in CSSHelper
|
||||
*****/
|
||||
if(_context == null) {
|
||||
setContextId(null);
|
||||
}
|
||||
@ -39,6 +38,7 @@ public class ContentHelper extends HelperBase {
|
||||
_context.setProperty(Messages.PROP_LANG, _lang);
|
||||
}
|
||||
}
|
||||
*****/
|
||||
}
|
||||
|
||||
public void setMaxLines(String lines) {
|
||||
|
Reference in New Issue
Block a user