You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.0 KiB
65 lines
2.0 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<style>
|
|
.hidden{
|
|
display: none;
|
|
}
|
|
</style>
|
|
<title>YaCy '#[clientname]#': Advanced Config</title>
|
|
#%env/templates/metas.template%#
|
|
<script type="text/javascript">
|
|
<!--
|
|
function element_clicked(element){
|
|
document.getElementById("key").value=element.id.substring(1);
|
|
document.getElementById("value").value=element.value;
|
|
}
|
|
function filterList(){
|
|
list=document.getElementsByName("options")[0];
|
|
node=list.firstChild;
|
|
key=document.getElementById("key").value;
|
|
while(node!=null){
|
|
if(node.nodeType==1 && node.nodeName.toLowerCase()=="option"){
|
|
if(key!="" && node.firstChild.nodeValue.indexOf(key)==-1){
|
|
node.setAttribute("class", "hidden");
|
|
}else{
|
|
node.setAttribute("class", "");
|
|
}
|
|
}
|
|
node=node.nextSibling;
|
|
}
|
|
}
|
|
-->
|
|
</script>
|
|
</head>
|
|
<body id="ConfigAdvanced">
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuConfig.template%#
|
|
|
|
<h2>Advanced Config</h2>
|
|
<p>
|
|
Here are all configuration options from YaCy.
|
|
</p>
|
|
<p>
|
|
You can change anything, but some options need a restart, and some options can crash YaCy, if wrong values are used.
|
|
</p>
|
|
<p>
|
|
For explanation please look into defaults/yacy.init
|
|
</p>
|
|
<select name="options" size="25" style="width: 600px">
|
|
#{options}#
|
|
<option id="k#[key]#" value="#[value]#" onclick="element_clicked(this)">#[key]#: #[value]#</option>
|
|
#{/options}#
|
|
</select><br />
|
|
<form action="ConfigProperties_p.html" method="post">
|
|
<fieldset>
|
|
<input type="text" id="key" name="key" size="40" onkeyup="filterList()" />:<input type="text" id="value" name="value" size="40" />
|
|
<input type="submit" value="Save" />
|
|
</fieldset>
|
|
</form>
|
|
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|
|
|