forked from I2P_Developers/i2p.i2p
Some changes to enable per-page sidebar configuration from the config file
This commit is contained in:
@@ -59,8 +59,10 @@ public class SummaryBarRenderer {
|
||||
* on lower-level directory errors.
|
||||
*/
|
||||
public void renderSummaryHTML(Writer out) throws IOException {
|
||||
String requestURI = _helper.getRequestURI();
|
||||
String page = requestURI.replace("/", "").replace(".jsp", "");
|
||||
List<String> sections = _helper.getSummaryBarSections(page);
|
||||
StringBuilder buf = new StringBuilder(8*1024);
|
||||
List<String> sections = _helper.getSummaryBarSections();
|
||||
for (String section : sections) {
|
||||
// Commented out because broken. Replaced by if-elseif blob below.
|
||||
/*try {
|
||||
|
||||
Reference in New Issue
Block a user