Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
remove not used accordion javascript call for facet navs
regerc1ad265efd66
diff --git a/htroot/yacysearchtrailer.html b/htroot/yacysearchtrailer.htmlindex 9aab7dec5..c746a8ef1 100644--- a/htroot/yacysearchtrailer.html+++ b/htroot/yacysearchtrailer.html@@ -78,8 +78,6 @@<div id="tagcloud" style="text-align:justify">#{element}#<a rel="#[count]#" href="#[url]#" style="text-decoration:none;font-size:#[size]#px;">#[name]#</a>#{/element}#</div>-<script type="text/javascript" charset="utf-8">-</script>#(/nav-topics)##(cat-location)#::@@ -99,13 +97,6 @@ show search results for "#[query]#" on map</a>#{element}#<li><a href="#[url]#" class="MenuItemLink"><input type="checkbox" onchange="window.location.href='#[url]#'"#(on)# checked="checked"::#(/on)#/> #[name]# (#[count]#)</a></li>#{/element}#</ul>-#(activate)#-<script type="text/javascript">-//<![CDATA[-$(function() { $("#sidebarDomains").accordion('activate', false); });-//]]>-</script>-::#(/activate)##(/nav-domains)##(nav-filetypes)#::@@ -114,13 +105,6 @@ $(function() { $("#sidebarDomains").accordion('activate', false); });#{element}#<li><a href="#[url]#" class="MenuItemLink"><input type="checkbox" onchange="window.location.href='#[url]#'"#(on)# checked="checked"::#(/on)#/> #[name]# (#[count]#)</a></li>#{/element}#</ul>-#(activate)#-<script type="text/javascript">-//<![CDATA[-$(function() { $("#sidebarFiletypes").accordion('activate', false); });-//]]>-</script>-::#(/activate)##(/nav-filetypes)##(nav-languages)#::@@ -129,13 +113,6 @@ $(function() { $("#sidebarFiletypes").accordion('activate', false); });#{element}#<li><a href="#[url]#" class="MenuItemLink"><input type="checkbox" onchange="window.location.href='#[url]#'"#(on)# checked="checked"::#(/on)#/> #[name]# (#[count]#)</a></li>#{/element}#</ul>-#(activate)#-<script type="text/javascript">-//<![CDATA[-$(function() { $("#sidebarLanguages").accordion('activate', false); });-//]]>-</script>-::#(/activate)##(/nav-languages)##(nav-namespace)#::@@ -144,13 +121,6 @@ $(function() { $("#sidebarLanguages").accordion('activate', false); });#{element}#<li><a href="#[url]#" class="MenuItemLink"><input type="checkbox" onchange="window.location.href='#[url]#'"#(on)# checked="checked"::#(/on)#/> #[name]# (#[count]#)</a></li>#{/element}#</ul>-#(activate)#-<script type="text/javascript">-//<![CDATA[-$(function() { $("#sidebarNameSpace").accordion('activate', false); });-//]]>-</script>-::#(/activate)##(/nav-namespace)##(nav-authors)#::@@ -159,13 +129,6 @@ $(function() { $("#sidebarNameSpace").accordion('activate', false); });#{element}#<li><a href="#[url]#" class="MenuItemLink"><input type="checkbox" onchange="window.location.href='#[url]#'"#(on)# checked="checked"::#(/on)#/> #[name]# (#[count]#)</a></li>#{/element}#</ul>-#(activate)#-<script type="text/javascript">-//<![CDATA[-$(function() { $("#sidebarAuthors").accordion('activate', false); });-//]]>-</script>-::#(/activate)##(/nav-authors)##(nav-collections)#::@@ -174,13 +137,6 @@ $(function() { $("#sidebarAuthors").accordion('activate', false); });#{element}#<li><a href="#[url]#" class="MenuItemLink"><input type="checkbox" onchange="window.location.href='#[url]#'"#(on)# checked="checked"::#(/on)#/> #[name]# (#[count]#)</a></li>#{/element}#</ul>-#(activate)#-<script type="text/javascript">-//<![CDATA[-$(function() { $("#sidebarCollections").accordion('activate', false); });-//]]>-</script>-::#(/activate)##(/nav-collections)##{nav-vocabulary}#diff --git a/htroot/yacysearchtrailer.java b/htroot/yacysearchtrailer.javaindex 4f9386088..f62216329 100644--- a/htroot/yacysearchtrailer.java+++ b/htroot/yacysearchtrailer.java@@ -131,7 +131,6 @@ public class yacysearchtrailer {i++;}prop.put("nav-namespace_element", i);- prop.put("nav-namespace_activate", on(pos, neg, MAXLIMIT_NAV_LOW) ? 1 : 0);i--;prop.put("nav-namespace_element_" + i + "_nl", 0);if (pos == 1 && neg == 0)@@ -173,7 +172,6 @@ public class yacysearchtrailer {i++;}prop.put("nav-domains_element", i);- prop.put("nav-domains_activate", on(pos, neg, MAXLIMIT_NAV_HIGH) ? 1 : 0);i--;prop.put("nav-domains_element_" + i + "_nl", 0);if (pos == 1 && neg == 0)@@ -216,7 +214,6 @@ public class yacysearchtrailer {i++;}prop.put("nav-languages_element", i);- prop.put("nav-languages_activate", on(pos, neg, MAXLIMIT_NAV_HIGH) ? 1 : 0);i--;prop.put("nav-languages_element_" + i + "_nl", 0);if (pos == 1 && neg == 0)@@ -257,7 +254,6 @@ public class yacysearchtrailer {i++;}prop.put("nav-authors_element", i);- prop.put("nav-authors_activate", neg > 0 ? 1 : 0); // by default offi--;prop.put("nav-authors_element_" + i + "_nl", 0);if (pos == 1 && neg == 0)@@ -298,7 +294,6 @@ public class yacysearchtrailer {i++;}prop.put("nav-collections_element", i);- prop.put("nav-collections_activate", neg > 0 ? 1 : 0); // by default offi--;prop.put("nav-collections_element_" + i + "_nl", 0);if (pos == 1 && neg == 0)@@ -396,7 +391,6 @@ public class yacysearchtrailer {if (oldProtocolModifier != null && oldProtocolModifier.length() > 0) theSearch.query.modifier.add(oldProtocolModifier.startsWith("/") ? oldProtocolModifier : "/" + oldProtocolModifier);theSearch.query.getQueryGoal().query_original = oldQuery;prop.put("nav-protocols_element", i);- prop.put("nav-protocols_activate", neg > 0 || visible ? 1 : 0); // by default offi--;prop.put("nav-protocols_element_" + i + "_nl", 0);if (pos == 1 && neg == 0)@@ -439,7 +433,6 @@ public class yacysearchtrailer {i++;}prop.put("nav-filetypes_element", i);- prop.put("nav-filetypes_activate", neg > 0 || visible ? 1 : 0); // by default offi--;prop.put("nav-filetypes_element_" + i + "_nl", 0);if (pos == 1 && neg == 0)