|
|
|
@ -93,6 +93,7 @@ public class ConfigPortal {
|
|
|
|
|
sb.setConfig("search.result.show.parser", post.getBoolean("search.result.show.parser", false));
|
|
|
|
|
sb.setConfig("search.result.show.pictures", post.getBoolean("search.result.show.pictures", false));
|
|
|
|
|
sb.setConfig("search.result.show.cache", post.getBoolean("search.result.show.cache", false));
|
|
|
|
|
sb.setConfig("search.result.show.proxy", post.getBoolean("search.result.show.proxy", false));
|
|
|
|
|
|
|
|
|
|
sb.setConfig(SwitchboardConstants.SEARCH_VERIFY, post.get("search.verify", "ifexist"));
|
|
|
|
|
sb.setConfig(SwitchboardConstants.SEARCH_VERIFY_DELETE, post.getBoolean("search.verify.delete", false));
|
|
|
|
@ -134,10 +135,11 @@ public class ConfigPortal {
|
|
|
|
|
sb.setConfig("search.app", false);
|
|
|
|
|
sb.setConfig("search.result.show.date", true);
|
|
|
|
|
sb.setConfig("search.result.show.size", false);
|
|
|
|
|
sb.setConfig("search.result.show.metadata", true);
|
|
|
|
|
sb.setConfig("search.result.show.parser", true);
|
|
|
|
|
sb.setConfig("search.result.show.metadata", false);
|
|
|
|
|
sb.setConfig("search.result.show.parser", false);
|
|
|
|
|
sb.setConfig("search.result.show.pictures", false);
|
|
|
|
|
sb.setConfig("search.result.show.cache", false);
|
|
|
|
|
sb.setConfig("search.result.show.cache", true);
|
|
|
|
|
sb.setConfig("search.result.show.proxy", false);
|
|
|
|
|
sb.setConfig(SwitchboardConstants.SEARCH_VERIFY, "iffresh");
|
|
|
|
|
sb.setConfig(SwitchboardConstants.SEARCH_VERIFY_DELETE, "true");
|
|
|
|
|
sb.setConfig("about.headline", "");
|
|
|
|
@ -168,6 +170,7 @@ public class ConfigPortal {
|
|
|
|
|
prop.put("search.result.show.parser", sb.getConfigBool("search.result.show.parser", false) ? 1 : 0);
|
|
|
|
|
prop.put("search.result.show.pictures", sb.getConfigBool("search.result.show.pictures", false) ? 1 : 0);
|
|
|
|
|
prop.put("search.result.show.cache", sb.getConfigBool("search.result.show.cache", false) ? 1 : 0);
|
|
|
|
|
prop.put("search.result.show.proxy", sb.getConfigBool("search.result.show.proxy", false) ? 1 : 0);
|
|
|
|
|
|
|
|
|
|
prop.put("search.navigation.hosts", sb.getConfig("search.navigation", "").indexOf("hosts",0) >= 0 ? 1 : 0);
|
|
|
|
|
prop.put("search.navigation.authors", sb.getConfig("search.navigation", "").indexOf("authors",0) >= 0 ? 1 : 0);
|
|
|
|
|