Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
- fixed typo in IndexControl_p - migrated some more pages to correct (X)HTML
karlchenofhell2beea44465b9
diff --git a/htroot/Gettext_p.html b/htroot/Gettext_p.htmlindex 417932523..771999b87 100644--- a/htroot/Gettext_p.html+++ b/htroot/Gettext_p.html@@ -1,22 +1,23 @@#(mode)#-<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">-<html>- <head>- <title>Gettext Locales</title>- #%env/templates/metas.template%#- </head>- <body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">- #%env/templates/header.template%#- <h2>Gettext Locales</h2>- <a href="Gettext_p.html?mode=1">Get empty gettext file</a>- <form action="Gettext_p.html" method="GET">- <input type="hidden" name="mode" value="1">- old file: <input type="text" name="oldfile" value="DATA/LOCALE">- <input type="submit" value="get updated file">- </form>--#%env/templates/footer.template%#-</body>+<!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>Gettext Locales</title>+ #%env/templates/metas.template%#+ </head>+ <body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">+ #%env/templates/header.template%#+ <h2>Gettext Locales</h2>+ <p>+ <a href="Gettext_p.html?mode=1">Get empty gettext file</a>+ <form action="Gettext_p.html" method="GET">+ <input type="hidden" name="mode" value="1" />+ old file: <input type="text" name="oldfile" value="DATA/LOCALE" />+ <input type="submit" value="get updated file" />+ </form>+ </p>+ #%env/templates/footer.template%#+ </body></html>::#[gettext]#diff --git a/htroot/IndexControl_p.html b/htroot/IndexControl_p.htmlindex 8cfa33985..f57f41395 100644--- a/htroot/IndexControl_p.html+++ b/htroot/IndexControl_p.html@@ -76,7 +76,7 @@</colgroup><tr valign="top" class="TableCellDark"><td>Index Distribution:</td>- <td><input type="checkbox" name="indexDistribute" #(indexDistributeChecked)#::checked="checked" #(/indexDistributionChecked)#/></td>+ <td><input type="checkbox" name="indexDistribute" #(indexDistributeChecked)#::checked="checked" #(/indexDistributeChecked)#/></td><td></td><td>This enables automated, DHT-ruled Index Transmission to other peers.</td>diff --git a/htroot/Steering.html b/htroot/Steering.htmlindex 04dfb0522..86ba3a058 100644--- a/htroot/Steering.html+++ b/htroot/Steering.html@@ -1,34 +1,32 @@-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">-<html>-<head>-<title>YaCy '#[clientname]#': Steering</title>-#%env/templates/metas.template%#-</head>-<body marginheight="0" marginwidth="40" leftmargin="40" topmargin="0">---<br><br><h2>Steering Receipt:</h2>-<p>-#(info)#-<b>No information has been submitted</b><br>-Nothing changed-<p>You can now go back to the <a href="Settings_p.html">Settings</a> page if you want to make more changes.</p>+<!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]#': Steering</title>+ #%env/templates/metas.template%#+ </head>+ <body marginheight="0" marginwidth="40" leftmargin="40" topmargin="0">+ <br /><br />+ <h2>Steering Receipt:</h2>+ <p>#(info)#+ <b>No information has been submitted</b><br />+ Nothing changed+ </p>+ <p>You can now go back to the <a href="Settings_p.html">Settings</a> page if you want to make more changes.</p>::-<b>Your system is not protected by a password</b><br>-Please go to the <a href="/Settings_p.html">Settings</a> page and set an administration password+ <b>Your system is not protected by a password</b><br />+ Please go to the <a href="/Settings_p.html">Settings</a> page and set an administration password.::-<b>You don't have the correct access right to perform this task.</b><br>-Please log in.-<p>You can now go back to the <a href="Settings_p.html">Settings</a> page if you want to make more changes.</p>+ <b>You don't have the correct access right to perform this task.</b><br />+ Please log in.+ <p>You can now go back to the <a href="Settings_p.html">Settings</a> page if you want to make more changes.</p>::-<b>Shutting down.</b>-<br>Application will terminate after working off all scheduled tasks.+ <b>Shutting down.</b><br/>+ Application will terminate after working off all scheduled tasks.::-<b>Restart YaCy.</b><br>-Application will terminate after working off all scheduled tasks.<br>-Then YaCy will restart.<br>-If you can't reach YaCy's interface after 5 minutes restart failed.-#(/info)#-</p>-</body>+ <b>Restart YaCy.</b><br />+ Application will terminate after working off all scheduled tasks.<br />+ Then YaCy will restart.<br />+ If you can't reach YaCy's interface after 5 minutes restart failed.#(/info)#+ </p>+ </body></html>\ No newline at end of filediff --git a/htroot/User.html b/htroot/User.htmlindex 814a69ad9..82cd7332e 100644--- a/htroot/User.html+++ b/htroot/User.html@@ -1,71 +1,74 @@-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">-<html>-<head>-<title>YaCy '#[clientname]#': User Page</title>-#%env/templates/metas.template%#-</head>-<body>-#%env/templates/header.template%#-<br><br>-<h2>User Page</h2><br>-#(logged-in)#-You are not logged in.<br />-<form action="User.html" method="post">-Username: <input type="text" name="username"><br />-Password: <input type="password" name="password"><br />-<input type="submit" value="login">-</form>-::-You are currently logged in as #[username]#.<br />-(Identified by #(identified-by)#IP::Username/Password::Cookie#(/identified-by)#)<br />-<form action="User.html">- <input type="submit" name="logout" value="logout">-</form>-#(limit)#::-#{percent}#<img src="/env/grafics/red-block.png">#{/percent}##{percent2}#<img src="/env/grafics/green-block.png">#{/percent2}#-<br />-You have used <strong>#[timeused]#</strong> minutes of your onlinetime limit of <strong>#[timelimit]#</strong> minutes per day.<br />-#(/limit)#-<form action="User.html" method="POST">-<table border="1">-<tr>- <td>old Password</td>- <td><input type="password" name="oldpass" /></td>-</tr><tr>- <td>new Password</td>- <td><input type="password" name="newpass"></td>-</tr><tr>- <td>new Password(repetition)</td>- <td><input type="password" name="newpass2"></td>-</tr><tr>- <td colspan="2"><input type="submit" name="changepass" value="change"></td>-</tr>-</table>-</form>-<p />-<b>-::-You are currently logged in as admin.<br />-<form action="User.html">- <input type="submit" name="logout" value="logout">-</form>-<br />-(after logout you will be prompted for your password again. simply click "cancel")-#(/logged-in)#-#(status)#-::-#(password)#-Password was changed.-::-old Password is wrong.-::-new Password and its repetition do not match.-::-new Password is empty.-#(/password)#-#(/status)#-</b>--#%env/templates/footer.template%#-</body>+<!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]#': User Page</title>+ #%env/templates/metas.template%#+ </head>+ <body>+ #%env/templates/header.template%#+ <br />+ <br />+ <h2>User Page</h2>+ #(logged-in)#+ <p>+ You are not logged in.<br />+ <form action="User.html" method="post">+ Username: <input type="text" name="username" /><br />+ Password: <input type="password" name="password" /><br />+ <input type="submit" value="login" />+ </form>+ </p>+ ::+ <p>+ You are currently logged in as #[username]#.<br />+ (Identified by #(identified-by)#IP::Username/Password::Cookie#(/identified-by)#)<br />+ <form action="User.html">+ <input type="submit" name="logout" value="logout">+ </form>+ #(limit)#::+ #{percent}#<img src="/env/grafics/red-block.png" alt="red bar" />#{/percent}##{percent2}#<img src="/env/grafics/green-block.png" alt="green bar" />#{/percent2}#+ <br />+ You have used <strong>#[timeused]#</strong> minutes of your onlinetime limit of <strong>#[timelimit]#</strong> minutes per day.<br />+ #(/limit)#+ </p>+ <form action="User.html" method="POST">+ <table border="1">+ <tr>+ <td><label for="oldpass">old Password</label></td>+ <td><input type="password" name="oldpass" id="oldpass" /></td>+ </tr>+ <tr>+ <td><label for="newpass">new Password</label></td>+ <td><input type="password" name="newpass" id="newpass" /></td>+ </tr>+ <tr>+ <td><label for="newpass2">new Password(repetition)</label></td>+ <td><input type="password" name="newpass2" id="newpass2" /></td>+ </tr>+ <tr>+ <td colspan="2"><input type="submit" name="changepass" value="Change" /></td>+ </tr>+ </table>+ </form>+ ::+ You are currently logged in as admin.<br />+ <form action="User.html">+ <input type="submit" name="logout" value="logout">+ </form>+ <br />+ <p>(after logout you will be prompted for your password again. simply click "cancel")</p>+ #(/logged-in)#+ <b>+ #(status)#+ ::+ #(password)#+ Password was changed.::+ Old Password is wrong.::+ New Password and its repetition do not match.::+ New Password is empty.+ #(/password)#+ #(/status)#+ </b>+ #%env/templates/footer.template%#+ </body></html>diff --git a/htroot/User_p.html b/htroot/User_p.htmlindex bf99baeb6..b5f6022c0 100644--- a/htroot/User_p.html+++ b/htroot/User_p.html@@ -1,111 +1,101 @@-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">-<html>-<head>-<title>YaCy '#[clientname]#': User Administration</title>-#%env/templates/metas.template%#-</head>-<body>-#%env/templates/header.template%#-<br><br>-<h2>User Administration</h2><br>-<table>-<tr>--#(page)#-<td valign="top">-<form action="User_p.html">-<select name="user">-<option value="newuser">new User</option>-#{users}#-<option>#[user]#</option>-#{/users}#-</select><br />-<input type="submit" name="change_user" value="Edit User">-<input type="submit" name="delete_user" value="Delete User">-</form>-</td>--<td width="100%">-<form action="User_p.html" method="POST">-<!-- Hidden(text for debugging): <input type="text" name="current_user" value="#[current_user]#" readonly> -->-<input type="hidden" name="current_user" value="#[current_user]#">-Current User: #[username]#-<p />-<table border="1">- <tr>- <td>Username: </td>- <td><input type="text" name="username" value="#[username]#"></td>- </tr>- <tr>- <td>Password: </td>- <td><input type="password" name="password"></td>- </tr>- <tr>- <td>Password(repeat): </td>- <td><input type="password" name="password2"></td>- </tr>- <tr>- <td>First Name: </td>- <td><input type="text" name="firstname" value="#[firstname]#"></td>- </tr>- <tr>- <td>Last Name: </td>- <td><input type="text" name="lastname" value="#[lastname]#"></td>- </tr>- <tr>- <td>Address: </td>- <td><input type="text" name="address" value="#[address]#"></td>- </tr>- <tr>- <td>Rights</td>- <td>- <input type="checkbox" name="proxyRight" #(proxyRight)#::checked#(/proxyRight)#>Proxy<br />- <input type="checkbox" name="adminRight" #(adminRight)#::checked#(/adminRight)#>Admin<br />- <input type="checkbox" name="uploadRight" #(uploadRight)#::checked#(/uploadRight)#>Fileshare-Upload<br />- <input type="checkbox" name="downloadRight" #(downloadRight)#::checked#(/downloadRight)#>Fileshare-Download<br />- <input type="checkbox" name="blogRight" #(blogRight)#::checked#(/blogRight)#>Blog<br />- <input type="checkbox" name="wikiAdminRight" #(wikiAdminRight)#::checked#(/wikiAdminRight)#>Wiki Admin<br />- </td>- </tr>- <tr>- <td>Timelimit: </td>- <td><input type="text" name="timelimit" value="#[timelimit]#"></td>- </tr>- <tr>- <td>Time used: </td>- <td><input type="text" name="timeused" value="#[timeused]#"></td>- </tr>-</table>-<input type="submit" name="change" value="Save User">--</form>-</td>---</tr>-</table>-::-<!-- Page 1: Results -->-#(text)#-::-User created: #[username]#-::-User changed: #[username]#-#(/text)#-<p />-#(error)#-::-generic error.-::-Passwords do not match.-::-Username too short. Username must be >= 4 Characters.-#(/error)#-<p />-If you want to manage more Users, return to the <a href="User_p.html?change_user=true&user=#[username]#">user</a> page.--#(/page)#--#%env/templates/footer.template%#-</body>+<!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]#': User Administration</title>+ #%env/templates/metas.template%#+ </head>+ <body>+ #%env/templates/header.template%#+ <br />+ <br />+ <h2>User Administration</h2>+ #(page)#+ <table>+ <tr>+ <td valign="top">+ <form action="User_p.html">+ <select name="user">+ <option value="newuser">new User</option>#{users}#+ <option>#[user]#</option>#{/users}#+ </select><br />+ <input type="submit" name="change_user" value="Edit User" />+ <input type="submit" name="delete_user" value="Delete User" />+ </form>+ </td>+ <td width="100%">+ <form action="User_p.html" method="POST">+ <!-- Hidden(text for debugging): <input type="text" name="current_user" value="#[current_user]#" readonly> -->+ <input type="hidden" name="current_user" value="#[current_user]#" />+ Current User: #[username]#+ <table border="1">+ <tr>+ <td>Username: </td>+ <td><input type="text" name="username" value="#[username]#"></td>+ </tr>+ <tr>+ <td>Password: </td>+ <td><input type="password" name="password"></td>+ </tr>+ <tr>+ <td>Password(repeat): </td>+ <td><input type="password" name="password2"></td>+ </tr>+ <tr>+ <td>First Name: </td>+ <td><input type="text" name="firstname" value="#[firstname]#"></td>+ </tr>+ <tr>+ <td>Last Name: </td>+ <td><input type="text" name="lastname" value="#[lastname]#"></td>+ </tr>+ <tr>+ <td>Address: </td>+ <td><input type="text" name="address" value="#[address]#"></td>+ </tr>+ <tr>+ <td>Rights</td>+ <td>+ <input type="checkbox" id="proxy" name="proxyRight"#(proxyRight)#:: checked="checked"#(/proxyRight)# /><label for="proxy">Proxy</label><br />+ <input type="checkbox" id="admin" name="adminRight"#(adminRight)#:: checked="checked"#(/adminRight)# /><label for="admin">Admin</label><br />+ <input type="checkbox" id="share" name="uploadRight"#(uploadRight)#:: checked="checked"#(/uploadRight)# /><label for="share">Fileshare-Upload</label><br />+ <input type="checkbox" id="dwnld" name="downloadRight"#(downloadRight)#:: checked="checked"#(/downloadRight)# /><label for="dwnld">Fileshare-Download</label><br />+ <input type="checkbox" id="blog" name="blogRight"#(blogRight)#:: checked="checked"#(/blogRight)# /><label for="blog">Blog</label><br />+ <input type="checkbox" id="wiki" name="wikiAdminRight"#(wikiAdminRight)#:: checked="checked"#(/wikiAdminRight)# /><label for="wiki">Wiki Admin</label>+ </td>+ </tr>+ <tr>+ <td><label for="tlimit">Timelimit</label>:</td>+ <td><input type="text" id="tlimit" name="timelimit" value="#[timelimit]#" /></td>+ </tr>+ <tr>+ <td><label for="tused">Time used</label>:</td>+ <td><input type="text" id="tused" name="timeused" value="#[timeused]#" /></td>+ </tr>+ </table>+ <input type="submit" name="change" value="Save User" />+ </form>+ </td>+ </tr>+ </table>+ ::+ <!-- Page 1: Results -->+ #(text)#+ ::+ <p>User created: #[username]#</p>+ ::+ <p>User changed: #[username]#</p>+ #(/text)#+ #(error)#+ ::+ <p>Generic error.</p>+ ::+ <p>Passwords do not match.</p>+ ::+ <p>Username too short. Username must be >= 4 Characters.</p>+ #(/error)#+ <p>If you want to manage more Users, return to the <a href="User_p.html?change_user=true&user=#[username]#">user</a> page.</p>+ #(/page)#++ #%env/templates/footer.template%#+ </body></html>diff --git a/htroot/sharedBlacklist_p.html b/htroot/sharedBlacklist_p.htmlindex e89ffc94e..59e4a133a 100644--- a/htroot/sharedBlacklist_p.html+++ b/htroot/sharedBlacklist_p.html@@ -1,84 +1,83 @@-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">-<html>-<head>-<title>YaCy '#[clientname]#': Shared Blacklist</title>-#%env/templates/metas.template%#-<script>-<!---function selectall(){- for(i = 1; i<= document.getElementsByName("num")[0].value; i++){- document.getElementsByName("item" + i)[0].checked = true;- }-}-function deselectall(){- for(i = 1; i<= document.getElementsByName("num")[0].value; i++){- document.getElementsByName("item" + i)[0].checked = false;- }-}--->-</script>-</head>-<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">-#%env/templates/header.template%#-<br><br>-<h2>Add Items to Blacklist</h2>+<!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]#': Shared Blacklist</title>+ #%env/templates/metas.template%#+ <script>+ <!--+ function selectall(){+ for(i = 1; i<= document.getElementsByName("num")[0].value; i++){+ document.getElementsByName("item" + i)[0].checked = true;+ }+ }+ function deselectall(){+ for(i = 1; i<= document.getElementsByName("num")[0].value; i++){+ document.getElementsByName("item" + i)[0].checked = false;+ }+ }+ -->+ </script>+ </head>+ <body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">+ #%env/templates/header.template%#+ <br />+ <br />+ <h2>Add Items to Blacklist</h2>+ <p class="info">#(status)#+ <!-- [0] -->+::+ <!-- [1] -->+ Unable to store the items into the blacklist file:<br />+ <font color="red">#[error]#</font>+::+ <!-- [2] -->+ File Error! Wrong Path?+::+ <!-- [3] -->+ YaCy-Peer "<span class="settingsValue">#[name]#</span>" not found.+::+ <!-- [4] -->+ URL "<span class="settingsValue">#[address]#</span>" not found or empty list.+::+ <!-- [5] -->+ Wrong Invocation! Please invoke with sharedBlacklist.html?name=PeerName+ #(/status)#+ </p>-<p class="info">-#(status)#<!-- [0] -->-::<!-- [1] -->- Unable to store the items into the blacklist file:<br>- <font color="red">#[error]#</font>-::<!-- [2] -->- File Error! Wrong Path?-::<!-- [3] -->- YaCy-Peer "<span class="settingsValue">#[name]#</span>" not found.-::<!-- [4] -->- URL "<span class="settingsValue">#[address]#</span>" not found or empty list.-::<!-- [5] -->- Wrong Invocation! Please invoke with sharedBlacklist.html?name=PeerName-#(/status)#-</p>--<form action="sharedBlacklist_p.html" method="post" enctype="multipart/form-data">-<input type="hidden" name="num" value="#[num]#">-<input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#">-<p>-#(page)#<!-- [0] -->-<table>-<tr>- <td><b>Blacklist source:</b></td>- <td><span class="settingsValue">#[source]#</span></td>-</tr>-<tr>- <td><b>Blacklist target:</b></td>- <td><span class="settingsValue">#[target]#</span></td>-</tr>-</table>-<p />-<table border="0" cellspacing="1" cellpadding="3" >- <tr class="TableHeader">- <th class="small" width="100%" align="left">Blacklist item</th>- <th class="small"> </th>- </tr>- #{urllist}#- <tr class="TableCell#(dark)#Light::Dark#(/dark)#" class="small">- <td>#[url]#</td>- <td><input type="checkbox" name="item#[count]#" value="#[url]#"></td>- </tr>- #{/urllist}#- <tr class="small" style="background-color: #eeeeee">- <td colspan="2">- <input type="button" onclick="selectall()" value="select all">- <input type="button" onclick="deselectall()" value="deselect all">- <input type="submit" value="add" name="add">- </td>- </tr>-</table>-::<!-- [1] -->-#(/page)#-</p>-</form>--#%env/templates/footer.template%#-</body>+ <form action="sharedBlacklist_p.html" method="post" enctype="multipart/form-data">+ <input type="hidden" name="num" value="#[num]#" />+ <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" />+ #(page)#<!-- [0] -->+ <table>+ <tr>+ <td><b>Blacklist source:</b></td>+ <td><span class="settingsValue">#[source]#</span></td>+ </tr>+ <tr>+ <td><b>Blacklist target:</b></td>+ <td><span class="settingsValue">#[target]#</span></td>+ </tr>+ </table>+ <table border="0" cellspacing="1" cellpadding="3" >+ <tr class="TableHeader">+ <th class="small" width="100%" align="left">Blacklist item</th>+ <th class="small"> </th>+ </tr>#{urllist}#+ <tr class="TableCell#(dark)#Light::Dark#(/dark)#" class="small">+ <td>#[url]#</td>+ <td><input type="checkbox" name="item#[count]#" value="#[url]#" /></td>+ </tr>#{/urllist}#+ <tr class="small" style="background-color: #eeeeee">+ <td colspan="2">+ <input type="button" onclick="selectall()" value="select all" />+ <input type="button" onclick="deselectall()" value="deselect all" />+ <input type="submit" value="add" name="add" />+ </td>+ </tr>+ </table>+ ::<!-- [1] -->+ #(/page)#+ </form>+ #%env/templates/footer.template%#+ </body></html>