2006-09-11 18:18:12 +00:00
|
|
|
<!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>
|
|
|
|
<title>YaCy '#[clientname]#': Advanced Config</title>
|
|
|
|
#%env/templates/metas.template%#
|
2012-01-19 16:54:09 +01:00
|
|
|
<style type="text/css"> <!--
|
|
|
|
.filtered { display:none; }
|
|
|
|
//--> </style>
|
2006-09-11 18:18:12 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
<!--
|
|
|
|
function element_clicked(element){
|
2018-09-21 09:59:32 +02:00
|
|
|
var key = element.id.substring(1);
|
|
|
|
document.getElementById("key").value = key;
|
|
|
|
var valueField = document.getElementById("value");
|
|
|
|
if(key.endsWith("Password")) {
|
|
|
|
valueField.type = "password";
|
|
|
|
} else {
|
|
|
|
valueField.type = "text";
|
|
|
|
}
|
|
|
|
valueField.value=element.value;
|
2006-09-11 18:18:12 +00:00
|
|
|
}
|
2007-06-04 17:33:29 +00:00
|
|
|
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"){
|
2013-10-17 18:36:35 +02:00
|
|
|
if(key!="" && node.firstChild.nodeValue.toLowerCase().indexOf(key.toLowerCase())==-1){
|
2012-01-19 16:54:09 +01:00
|
|
|
node.setAttribute("class", "filtered");
|
2007-06-04 17:33:29 +00:00
|
|
|
}else{
|
|
|
|
node.setAttribute("class", "");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
node=node.nextSibling;
|
|
|
|
}
|
|
|
|
}
|
2012-03-25 22:21:42 +02:00
|
|
|
function clear_form() {
|
|
|
|
document.getElementById("key").value="";
|
|
|
|
document.getElementById("value").value="";
|
|
|
|
filterList();
|
|
|
|
}
|
2012-01-19 16:54:09 +01:00
|
|
|
//-->
|
2006-09-11 18:18:12 +00:00
|
|
|
</script>
|
|
|
|
</head>
|
2012-03-25 22:21:42 +02:00
|
|
|
<body id="ConfigAdvanced" onload="filterList()">
|
2006-09-11 18:18:12 +00:00
|
|
|
#%env/templates/header.template%#
|
|
|
|
#%env/templates/submenuConfig.template%#
|
2006-03-01 00:14:19 +00:00
|
|
|
|
2006-09-11 18:18:12 +00:00
|
|
|
<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>
|
2008-03-16 22:31:54 +00:00
|
|
|
For explanation please look into defaults/yacy.init
|
2006-09-11 18:18:12 +00:00
|
|
|
</p>
|
2013-03-05 21:28:22 +01:00
|
|
|
<select name="options" size="36" style="width: 600px">
|
2006-09-11 18:18:12 +00:00
|
|
|
#{options}#
|
2018-09-21 09:59:32 +02:00
|
|
|
<option id="k#[key]#" value="#[value]#" onclick="element_clicked(this)">#[key]#: #[visibleValue]#</option>
|
2006-09-11 18:18:12 +00:00
|
|
|
#{/options}#
|
|
|
|
</select><br />
|
2011-02-14 22:57:43 +00:00
|
|
|
<form action="ConfigProperties_p.html" method="post" accept-charset="UTF-8">
|
2017-03-26 11:48:00 +02:00
|
|
|
<input type="hidden" name="transactionToken" value="#[transactionToken]#" />
|
2006-09-11 18:18:12 +00:00
|
|
|
<fieldset>
|
2012-03-25 22:21:42 +02:00
|
|
|
<input type="text" id="key" name="key" size="40" onkeyup="filterList()" value="#[keyPosted]#"/>:<input type="text" id="value" name="value" size="40" value="#[valuePosted]#" />
|
2014-03-20 22:52:01 +01:00
|
|
|
<input type="submit" value="Save" class="btn btn-primary"/>
|
|
|
|
<input type="button" value="Clear" onclick="clear_form()" class="btn btn-primary"/>
|
2006-09-11 18:18:12 +00:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
#%env/templates/footer.template%#
|
|
|
|
</body>
|
2006-03-01 00:14:19 +00:00
|
|
|
</html>
|
2006-09-11 18:18:12 +00:00
|
|
|
|