|
|
@ -68,6 +68,7 @@ public class ConfigPortal {
|
|
|
|
sb.setConfig(SwitchboardConstants.GREETING_LARGE_IMAGE, post.get(SwitchboardConstants.GREETING_LARGE_IMAGE, ""));
|
|
|
|
sb.setConfig(SwitchboardConstants.GREETING_LARGE_IMAGE, post.get(SwitchboardConstants.GREETING_LARGE_IMAGE, ""));
|
|
|
|
sb.setConfig(SwitchboardConstants.GREETING_SMALL_IMAGE, post.get(SwitchboardConstants.GREETING_SMALL_IMAGE, ""));
|
|
|
|
sb.setConfig(SwitchboardConstants.GREETING_SMALL_IMAGE, post.get(SwitchboardConstants.GREETING_SMALL_IMAGE, ""));
|
|
|
|
sb.setConfig(SwitchboardConstants.SEARCH_TARGET, post.get("target", "_self"));
|
|
|
|
sb.setConfig(SwitchboardConstants.SEARCH_TARGET, post.get("target", "_self"));
|
|
|
|
|
|
|
|
sb.setConfig(SwitchboardConstants.SEARCH_ITEMS, post.getInt("maximumRecords", 10));
|
|
|
|
sb.setConfig(SwitchboardConstants.INDEX_FORWARD, post.get(SwitchboardConstants.INDEX_FORWARD, ""));
|
|
|
|
sb.setConfig(SwitchboardConstants.INDEX_FORWARD, post.get(SwitchboardConstants.INDEX_FORWARD, ""));
|
|
|
|
HTTPDFileHandler.indexForward = post.get(SwitchboardConstants.INDEX_FORWARD, "");
|
|
|
|
HTTPDFileHandler.indexForward = post.get(SwitchboardConstants.INDEX_FORWARD, "");
|
|
|
|
sb.setConfig("publicTopmenu", post.getBoolean("publicTopmenu", true));
|
|
|
|
sb.setConfig("publicTopmenu", post.getBoolean("publicTopmenu", true));
|
|
|
@ -154,6 +155,8 @@ public class ConfigPortal {
|
|
|
|
prop.put("popupStatus", 1);
|
|
|
|
prop.put("popupStatus", 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prop.put("maximumRecords", sb.getConfigInt(SwitchboardConstants.SEARCH_ITEMS, 10));
|
|
|
|
|
|
|
|
|
|
|
|
final String target = sb.getConfig(SwitchboardConstants.SEARCH_TARGET, "_self");
|
|
|
|
final String target = sb.getConfig(SwitchboardConstants.SEARCH_TARGET, "_self");
|
|
|
|
prop.put("selected_blank", "_blank".equals(target) ? 1 : 0);
|
|
|
|
prop.put("selected_blank", "_blank".equals(target) ? 1 : 0);
|
|
|
|
prop.put("selected_self", "_self".equals(target) ? 1 : 0);
|
|
|
|
prop.put("selected_self", "_self".equals(target) ? 1 : 0);
|
|
|
|