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++) {
f = new File(dir, list[i]);
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
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>
<h2>Advanced Config</h2>
<p>
Here are all Config 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.
Here are all configuration options from YaCy.<br>
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
</p>
<select name="options" size="25" style="width: 600">

@ -9,7 +9,7 @@
<br><br>
<h2>Your Personal Profile</h2>
<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.
</p>
<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><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>
<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 valign="top">
<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><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>
<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>
</td>
</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">
<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>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">
<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>
@ -188,7 +188,7 @@ but only if there had been changes to the seed-list.
<br>
<p><form action="SettingsAck_p.html" method="post" enctype="multipart/form-data">
<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>
<p>
<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
::
<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>
#(/popup)#
</td></tr>

@ -12,7 +12,7 @@
#(success)#
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.
::

@ -8,7 +8,7 @@
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
#[header]#
<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>
<!-- <form action="yacy/search.html" method="get"> -->

Loading…
Cancel
Save