some corrections/enhancements to the webinterface

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@198 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
rramthun 20 years ago
parent 3d8a2ff937
commit 4e63456dba

@ -98,9 +98,9 @@ public class CacheAdmin_p {
for (int i = 0; i < list.length; i++) { for (int i = 0; i < list.length; i++) {
f = new File(dir, list[i]); f = new File(dir, list[i]);
if (f.isDirectory()) if (f.isDirectory())
tree += "<img src=\"/env/grafics/folderIconSmall.gif\" align=\"top\">&nbsp;<a href=\"CacheAdmin_p.html?action=info&path=" + pathString + "/" + list[i] + "\" class=\"tt\">" + list[i] + "</a><br>" + serverCore.crlfString; tree += "<img src=\"/env/grafics/folderIconSmall.gif\" align=\"top\" alt=\"Folder\">&nbsp;<a href=\"CacheAdmin_p.html?action=info&path=" + pathString + "/" + list[i] + "\" class=\"tt\">" + list[i] + "</a><br>" + serverCore.crlfString;
else else
tree += "<img src=\"/env/grafics/fileIconSmall.gif\" align=\"top\">&nbsp;<a href=\"CacheAdmin_p.html?action=info&path=" + pathString + "/" + list[i] + "\" class=\"tt\">" + list[i] + "</a><br>" + serverCore.crlfString; tree += "<img src=\"/env/grafics/fileIconSmall.gif\" align=\"top\" alt=\"File\">&nbsp;<a href=\"CacheAdmin_p.html?action=info&path=" + pathString + "/" + list[i] + "\" class=\"tt\">" + list[i] + "</a><br>" + serverCore.crlfString;
} }
} }

@ -17,8 +17,8 @@ document.getElementById("value").value=element.value;
<br><br> <br><br>
<h2>Advanced Config</h2> <h2>Advanced Config</h2>
<p> <p>
Here are all Config Options from YaCy.<br> Here are all configuration options from YaCy.<br>
You can change anything, but some options need a restart, and some options can crash YaCy, when wrong values are used. You can change anything, but some options need a restart, and some options can crash YaCy, if wrong values are used.
For explanation please look into yacy.init For explanation please look into yacy.init
</p> </p>
<select name="options" size="25" style="width: 600"> <select name="options" size="25" style="width: 600">

@ -9,7 +9,7 @@
<br><br> <br><br>
<h2>Your Personal Profile</h2> <h2>Your Personal Profile</h2>
<p> <p>
You can create a personal profile here. Other YaCy peers users can view these information using a link on the network page.<br> You can create a personal profile here. Other YaCy users can view these information using a link on the network page.<br>
You do not need to provide any personal data here, but if you want to distribute your contact information, you can do that here. You do not need to provide any personal data here, but if you want to distribute your contact information, you can do that here.
</p> </p>
<form action="EditProfile_p.html"> <form action="EditProfile_p.html">

@ -43,7 +43,7 @@ delete the file 'DATA/SETTINGS/httpProxy.conf' in the YaCy application root fold
<td><input name="peername" type="text" size="32" maxlength="80" value="#[peerName]#"></td> <td><input name="peername" type="text" size="32" maxlength="80" value="#[peerName]#"></td>
<td><b>Your peer name defines also a new '.yacy' - domain, which can be accessed from every peer running this proxy. <td><b>Your peer name defines also a new '.yacy' - domain, which can be accessed from every peer running this proxy.
Using your 'Home Page' and 'File Share' - zones you also have a platform to provide content to your new domain.</b><br> Using your 'Home Page' and 'File Share' - zones you also have a platform to provide content to your new domain.</b><br>
<i>(hint: choose a name that appears on a web page that tells something about you, vistit the page, get the 'senior' status, and you can be found..)</i></td> <i>(hint: Choose a name that appears on a web page that tells something about you, visit the page, get the 'senior' status, and you can be found...)</i></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td>Peer Language:</td> <td>Peer Language:</td>
@ -71,7 +71,7 @@ delete the file 'DATA/SETTINGS/httpProxy.conf' in the YaCy application root fold
<td>Transparent Proxy:</td> <td>Transparent Proxy:</td>
<td><input type="checkbox" name="isTransparentProxy" align="top" #(isTransparentProxy)#::checked#(/isTransparentProxy)#></td> <td><input type="checkbox" name="isTransparentProxy" align="top" #(isTransparentProxy)#::checked#(/isTransparentProxy)#></td>
<td>With this you can specify if YaCy can be used as transparent proxy.<br> <td>With this you can specify if YaCy can be used as transparent proxy.<br>
<i>Hint: On linux you can configure your firewall to transparently redirect all http traffic through yacy using this iptables rule:</i><br> <i>Hint: On Linux you can configure your firewall to transparently redirect all HTTP traffic through YaCy using this iptables rule:</i><br>
<small><code>iptables -t nat -A PREROUTING -p tcp -s 192.168.0.0/16 --dport 80 -j DNAT --to 192.168.0.1:#[port]#</code></small> <small><code>iptables -t nat -A PREROUTING -p tcp -s 192.168.0.0/16 --dport 80 -j DNAT --to 192.168.0.1:#[port]#</code></small>
</td> </td>
</tr> </tr>
@ -125,7 +125,7 @@ delete the file 'DATA/SETTINGS/httpProxy.conf' in the YaCy application root fold
<p><form action="SettingsAck_p.html" method="post" enctype="multipart/form-data"> <p><form action="SettingsAck_p.html" method="post" enctype="multipart/form-data">
<fieldset><legend>Server Access Settings</legend> <fieldset><legend>Server Access Settings</legend>
<p>Here you can restrict access to the server. By default, the access is not limited, because this function is needed to spawn the p2p index-sharing function. If you block access to your server (setting anything else than '*'), then you will also be blocked from using other peers' indexes for search service. However, blocking access may be correct in enterprise environments where you only want to index your company's own web pages.</p> <p>Here you can restrict access to the server. By default, the access is not limited, because this function is needed to spawn the p2p index-sharing function. If you block access to your server (setting anything else than '*'), then you will also be blocked from using other peers' indexes for search service. However, blocking access may be correct in enterprise environments where you only want to index your company's own web pages.</p>
<p>ATTENTION: your current IP is recognized as "#[clientIP]#". If the value you enter here does not match with this IP, you will not be able to access the server pages any more</p> <p>ATTENTION: Your current IP is recognized as "#[clientIP]#". If the value you enter here does not match with this IP, you will not be able to access the server pages anymore</p>
<p><table border="0" cellspacing="5"> <p><table border="0" cellspacing="5">
<tr valign="top"><td>IP-Number filter:</td><td colspan ="2"><input name="serverfilter" type="text" size="50" maxlength="1000" value="#[serverfilter]#"></td></tr> <tr valign="top"><td>IP-Number filter:</td><td colspan ="2"><input name="serverfilter" type="text" size="50" maxlength="1000" value="#[serverfilter]#"></td></tr>
<tr valign="top"><td><!--Account Name:</td><td><input name="serveruser" type="text" size="16" maxlength="16" value="#[serveruser]#">--></td> <tr valign="top"><td><!--Account Name:</td><td><input name="serveruser" type="text" size="16" maxlength="16" value="#[serveruser]#">--></td>
@ -188,7 +188,7 @@ but only if there had been changes to the seed-list.
<br> <br>
<p><form action="SettingsAck_p.html" method="post" enctype="multipart/form-data"> <p><form action="SettingsAck_p.html" method="post" enctype="multipart/form-data">
<fieldset><legend>Content Parser Settings</legend> <fieldset><legend>Content Parser Settings</legend>
<p>With this settings you can activate or deactivate parsing of additional content types based on their MIME-types.<br> <p>With this settings you can activate or deactivate parsing of additional content-types based on their MIME-types.<br>
For a detailed description of the various MIME-types take a look at <a href="http://www.iana.org/assignments/media-types/">http://www.iana.org/assignments/media-types/</a></p> For a detailed description of the various MIME-types take a look at <a href="http://www.iana.org/assignments/media-types/">http://www.iana.org/assignments/media-types/</a></p>
<p> <p>
<table border="0" cellpadding="2" cellspacing="1"> <table border="0" cellpadding="2" cellspacing="1">

@ -84,7 +84,7 @@ Enabled: Updating periodically to server #[seedFTPServer]#
Disabled. To enable this again please use the <a href="Settings_p.html">Settings</a> page Disabled. To enable this again please use the <a href="Settings_p.html">Settings</a> page
:: ::
<form action="Status.html" method="get"> <form action="Status.html" method="get">
Enabled<input type="submit" name="dispop" value="disable pop-up"> Enabled <input type="submit" name="dispop" value="Disable pop-up">
</form> </form>
#(/popup)# #(/popup)#
</td></tr> </td></tr>

@ -12,7 +12,7 @@
#(success)# #(success)#
Wrong access of this page Wrong access of this page
:: ::
The requested peer is not known The requested peer is not known or a potential peer, what means the peer's profile can't be fetched, because he is behind a firewall.
:: ::
The peer #[peername]# is not online. The peer #[peername]# is not online.
:: ::

@ -8,7 +8,7 @@
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> <body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
#[header]# #[header]#
<br><br> <br><br>
<center><h2><font size="2" face="Helvetica, Arial" color="#212942"><img src="/env/grafics/kaskelix.png" align="middle"><br>P2P WEB SEARCH</font></h2></center><br><br> <center><h2><font size="2" face="Helvetica, Arial" color="#212942"><img src="/env/grafics/kaskelix.png" align="middle" alt="YaCy logo Kaskelix"><br>P2P WEB SEARCH</font></h2></center><br><br>
<center>#[promoteSearchPageGreeting]#</center><br> <center>#[promoteSearchPageGreeting]#</center><br>
<!-- <form action="yacy/search.html" method="get"> --> <!-- <form action="yacy/search.html" method="get"> -->

Loading…
Cancel
Save