2014-03-21 18:01:26 +01:00
< script >
if (document.getElementById("progressbar").getAttribute('class') != "progress-bar progress-bar-success") {
document.getElementById("progressbar").setAttribute('style',"width:100%");
2014-03-22 07:02:26 +01:00
document.getElementById("progressbar").setAttribute('style',"transition:transform 0s;-webkit-transition:-webkit-transform 0s;");
2014-03-21 18:01:26 +01:00
document.getElementById("progressbar").setAttribute('class',"progress-bar progress-bar-success");
window.setTimeout(fadeOutBar, 500);
}
< / script >
#(resource-select)#::
2014-04-02 13:33:43 +02:00
< form
action="yacysearch.html" method="get" accept-charset="UTF-8" id="resource-switch-form"
data-trigger="hover" data-placement="right" data-container="body"
data-original-title="Your search is done using peers in the YaCy P2P network."
data-content="You can switch to 'Stealth Mode' which will switch off P2P, giving you full privacy. Expect less results then, because then only your own search index is used."
>
2014-03-22 07:02:26 +01:00
< input checked = "checked"
data-label-text="Privacy"
2014-04-02 13:33:43 +02:00
data-on-text="< span > Peer-to-Peer < / span > "
data-off-text="< span > Stealth Mode < / span > "
2014-03-23 12:29:46 +01:00
data-on-color="warning" data-off-color="success"
type="checkbox" name="resource-switch" value="local" data-size="large"
2014-03-22 07:02:26 +01:00
onchange="document.getElementById('resource').value='local';document.searchform.submit();">
2014-03-21 18:01:26 +01:00
< / form >
2014-04-02 13:33:43 +02:00
< script > $ ( "#resource-switch-form" ) . popover ( ) ; $ ( "[name='resource-switch']" ) . bootstrapSwitch ( ) ; < / script >
2014-03-21 18:01:26 +01:00
::
2014-04-02 13:33:43 +02:00
< form action = "yacysearch.html" method = "get" accept-charset = "UTF-8" id = "resource-switch-form"
data-trigger="hover" data-placement="right" data-container="body"
data-original-title="Your search is done using only your own peer, locally."
data-content="You can switch to 'Peer-to-Peer Mode' which will cause that your search is done using the other peers in the YaCy network."
>
2014-03-22 07:02:26 +01:00
< input
2014-10-01 23:53:41 +02:00
data-label-text="Peer-to-Peer"
2014-04-02 13:33:43 +02:00
data-on-text="< span > Peer-to-Peer < / span > "
data-off-text="< span > Stealth Mode < / span > "
2014-03-23 12:29:46 +01:00
data-on-color="warning" data-off-color="success"
type="checkbox" name="resource-switch" value="global" data-size="large"
2014-03-22 07:02:26 +01:00
onchange="document.getElementById('resource').value='global';document.searchform.submit();">
2014-03-21 18:01:26 +01:00
< / form >
2014-04-02 13:33:43 +02:00
< script > $ ( "#resource-switch-form" ) . popover ( ) ; $ ( "[name='resource-switch']" ) . bootstrapSwitch ( ) ; < / script >
2014-03-21 18:01:26 +01:00
#(/resource-select)#
2010-05-21 00:05:04 +02:00
2014-03-24 09:52:27 +01:00
< p class = "navbutton" >
2014-03-23 13:01:25 +01:00
< div class = "btn-group btn-group-justified" >
< div class = "btn-group btn-group-xs" > < button type = "button" id = "sort_button_context" class = "btn btn-default" onclick = "document.getElementById('search').value=document.getElementById('search').value.replace(' /date','');document.searchform.submit();" > Context Ranking< / button > < / div >
< div class = "btn-group btn-group-xs" > < button type = "button" id = "sort_button_date" class = "btn btn-default" onclick = "document.getElementById('search').value=document.getElementById('search').value + ' /date';document.searchform.submit();" > Sort by Date< / button > < / div >
< / div >
2014-03-24 09:52:27 +01:00
< / p >
2014-03-23 13:01:25 +01:00
< script >
if (document.getElementById('search').value.indexOf(" /date") == -1) {
document.getElementById("sort_button_context").setAttribute("class","btn btn-default active");
document.getElementById("sort_button_context").setAttribute("onclick","");
} else {
document.getElementById("sort_button_date").setAttribute("class","btn btn-default active");
document.getElementById("sort_button_date").setAttribute("onclick","");
}
< / script >
2014-03-27 12:03:51 +01:00
#(searchdomswitches)#::< p class = "navbutton" >
< div class = "btn-group btn-group-justified" >
#(searchtext)#::< div class = "btn-group btn-group-xs" > < button type = "button" class = "btn btn-default#(check)#:: active#(/check)#" # ( check ) # onclick = "document.getElementById('contentdom').value='text';document.searchform.submit();" :: # ( / check ) # > Documents< / button > < / div > #(/searchtext)#
#(searchimage)#::< div class = "btn-group btn-group-xs" > < button type = "button" class = "btn btn-default#(check)#:: active#(/check)#" # ( check ) # onclick = "document.getElementById('contentdom').value='image';document.searchform.submit();" :: # ( / check ) # > Images< / button > < / div > #(/searchimage)#
#(searchaudio)#::< div class = "btn-group btn-group-xs" > < button type = "button" class = "btn btn-default#(check)#:: active#(/check)#" # ( check ) # onclick = "document.getElementById('contentdom').value='audio';document.searchform.submit();" :: # ( / check ) # > Audio< / button > < / div > #(/searchaudio)#
#(searchvideo)#::< div class = "btn-group btn-group-xs" > < button type = "button" class = "btn btn-default#(check)#:: active#(/check)#" # ( check ) # onclick = "document.getElementById('contentdom').value='video';document.searchform.submit();" :: # ( / check ) # > Video< / button > < / div > #(/searchvideo)#
#(searchapp)#::< div class = "btn-group btn-group-xs" > < button type = "button" class = "btn btn-default#(check)#:: active#(/check)#" # ( check ) # onclick = "document.getElementById('contentdom').value='app';document.searchform.submit();" :: # ( / check ) # > Apps< / button > < / div > #(/searchapp)#
< / div >
< / p > #(/searchdomswitches)#
2014-03-27 13:50:13 +01:00
#(nav-protocols)#::
< div class = "btn-group btn-group-justified" >
#{element}#
< div class = "btn-group btn-group-xs" > < button type = "button" class = "btn btn-default#(on)#:: active#(/on)#" # ( on ) # onclick = "window.location.href='#[url]#';" :: # ( / on ) # > #[name]# (#[count]#)< / button > < / div >
#{/element}#
< / div >
#(/nav-protocols)#
2010-05-21 00:05:04 +02:00
#(cat-location)#::
2010-12-22 00:48:05 +01:00
< a href = "yacysearch_location.html?query=#[queryenc]#" >
2014-01-23 01:52:51 +01:00
< img src = "env/grafics/earthsearch.png" width = "215" height = "159" alt = "earthsearchlogo" / > < / a >
2010-12-22 00:48:05 +01:00
< a href = "yacysearch_location.html?query=#[queryenc]#" > Show search results for "#[query]#" on map< / a >
2010-05-21 00:05:04 +02:00
#(/cat-location)#
2014-04-29 16:24:21 +02:00
#(nav-topics)#< p > < / p > ::
2013-10-22 14:20:17 +02:00
< div id = "tagcloud" style = "text-align:justify" > #{element}#
2014-03-24 09:52:27 +01:00
< a rel = "#[count]#" href = "#[url]#" style = "text-decoration:none;font-size:#[size]#px;" > #[name]#< / a >
2013-10-22 14:20:17 +02:00
#{/element}#< / div >
< script type = "text/javascript" charset = "utf-8" >
< / script >
2010-10-16 00:01:39 +02:00
#(/nav-topics)#
2014-03-27 12:03:51 +01:00
#(nav-domains)#::
2014-03-18 13:42:31 +01:00
< ul class = "nav nav-sidebar menugroup" >
2014-04-04 15:25:37 +02:00
< li > < h3 > Provider< / h3 > < / li >
2014-03-18 13:42:31 +01:00
#{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 >
2012-01-25 11:53:25 +01:00
#(activate)#
< script type = "text/javascript" >
//< ![CDATA[
2014-03-27 12:03:51 +01:00
$(function() { $("#sidebarDomains").accordion('activate', false); });
2012-01-25 11:53:25 +01:00
//]]>
< / script >
::#(/activate)#
2014-03-27 12:03:51 +01:00
#(/nav-domains)#
2011-06-23 17:39:52 +02:00
2014-03-27 12:03:51 +01:00
#(nav-filetypes)#::
2014-03-18 13:42:31 +01:00
< ul class = "nav nav-sidebar menugroup" >
2014-04-04 15:25:37 +02:00
< li > < h3 > Filetype< / h3 > < / li >
2014-03-18 13:42:31 +01:00
#{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 >
2012-01-25 11:53:25 +01:00
#(activate)#
< script type = "text/javascript" >
//< ![CDATA[
2014-03-27 12:03:51 +01:00
$(function() { $("#sidebarFiletypes").accordion('activate', false); });
2012-01-25 11:53:25 +01:00
//]]>
< / script >
::#(/activate)#
2014-03-27 12:03:51 +01:00
#(/nav-filetypes)#
2009-06-11 23:34:39 +02:00
2014-01-24 03:11:25 +01:00
#(nav-languages)#::
2014-03-18 13:42:31 +01:00
< ul class = "nav nav-sidebar menugroup" >
2014-04-04 15:25:37 +02:00
< li > < h3 > Language< / h3 > < / li >
2014-03-18 13:42:31 +01:00
#{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 >
2014-01-24 03:11:25 +01:00
#(activate)#
< script type = "text/javascript" >
//< ![CDATA[
$(function() { $("#sidebarLanguages").accordion('activate', false); });
//]]>
< / script >
::#(/activate)#
#(/nav-languages)#
2010-03-05 22:25:49 +01:00
#(nav-namespace)#::
2014-03-18 13:42:31 +01:00
< ul class = "nav nav-sidebar menugroup" >
2014-04-04 15:25:37 +02:00
< li > < h3 > Name Space< / h3 > < / li >
2014-03-18 13:42:31 +01:00
#{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 >
2012-01-25 11:53:25 +01:00
#(activate)#
< script type = "text/javascript" >
//< ![CDATA[
$(function() { $("#sidebarNameSpace").accordion('activate', false); });
//]]>
< / script >
::#(/activate)#
2010-05-18 16:48:54 +02:00
#(/nav-namespace)#
2010-03-05 22:25:49 +01:00
2009-06-09 00:01:26 +02:00
#(nav-authors)#::
2014-03-18 13:42:31 +01:00
< ul class = "nav nav-sidebar menugroup" >
2014-04-04 15:25:37 +02:00
< li > < h3 > Author< / h3 > < / li >
2014-03-18 13:42:31 +01:00
#{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 >
2012-01-25 11:53:25 +01:00
#(activate)#
< script type = "text/javascript" >
//< ![CDATA[
$(function() { $("#sidebarAuthors").accordion('activate', false); });
//]]>
< / script >
::#(/activate)#
2010-05-18 16:48:54 +02:00
#(/nav-authors)#
2009-06-11 23:34:39 +02:00
2014-06-15 12:11:23 +02:00
#(nav-collections)#::
< ul class = "nav nav-sidebar menugroup" >
< li > < h3 > Collection< / h3 > < / li >
#{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)#
2012-01-17 01:53:08 +01:00
#{nav-vocabulary}#
2014-03-18 13:42:31 +01:00
< ul class = "nav nav-sidebar menugroup" >
2014-04-04 15:25:37 +02:00
< li > < h3 > #[navname]#< / h3 > < / li >
2014-03-18 13:42:31 +01:00
#{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 >
2012-01-17 01:53:08 +01:00
#{/nav-vocabulary}#
2009-09-21 00:10:45 +02:00
#(nav-about)#::
2014-03-18 13:42:31 +01:00
< ul class = "nav nav-sidebar menugroup" >
< li > < h3 > #[headline]#< / h3 > < / li >
< li > #[body]#< / li >
< / ul >
#(/nav-about)#