|
|
|
<script type="text/javascript">
|
|
|
|
//<![CDATA[
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
/* Init Sidebar_1 */
|
|
|
|
$("#side1").accordion({
|
|
|
|
autoHeight: false,
|
|
|
|
header: "h3"
|
|
|
|
});
|
|
|
|
$("#side1").accordion("activate", 2);
|
|
|
|
|
|
|
|
/* Menu .click(function() */
|
|
|
|
$("#login").click(function() {
|
|
|
|
$.ajax({
|
|
|
|
url: "/xml/bookmarks/xbel/xbel.xml?login=true",
|
|
|
|
method : "GET",
|
|
|
|
dataType: "xml",
|
|
|
|
success: function(xml) {
|
|
|
|
// ToDo: /xml/util/login.xml
|
|
|
|
// alert("Login");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
$("#admin").click(function() { $tabs.tabs('select',1); });
|
|
|
|
|
|
|
|
$("#searchtext").click(function () {
|
|
|
|
$("#side2").accordion("activate", 0);
|
|
|
|
});
|
|
|
|
|
|
|
|
/* Load Search Result into new Tab */
|
|
|
|
$('#searchbox').submit(function() {
|
|
|
|
if ($("select[@name='resource']").getValue() == "ymarks") {
|
|
|
|
qtag = $("input[@name='search']").getValue();
|
|
|
|
if (tabid == "#Bookmarks") {
|
|
|
|
$tabs.tabs("load", 3);
|
|
|
|
} else {
|
|
|
|
$tabs.tabs('select',3);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
var tabnr = $tabs.tabs('length');
|
|
|
|
var tabname = $("input[@name='search']").getValue();
|
|
|
|
$tabs.tabs('add', "yacyui-search.html", '*' + HTMLenc(tabname));
|
|
|
|
$tabs.tabs('select',tabnr);
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
//]]>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<h3>YaCy P2P Websearch</h3><!-- 0 -->
|
|
|
|
<div class="yform">
|
|
|
|
<form id="searchbox" class="small" method="get" accept-charset="UTF-8" action="">
|
|
|
|
<p>
|
|
|
|
<label for="search">Search term:</label>
|
|
|
|
<br />
|
|
|
|
<input id="searchtext" name="search" class="filter" type="text" size="20" maxlength="80" value=""/>
|
|
|
|
<img src="img-2/question_blue.png" class="help" alt="help" title="help" />
|
|
|
|
<br />
|
|
|
|
<div class="ys">
|
|
|
|
<label for="resource">Resource/Network:</label>
|
|
|
|
<br />
|
|
|
|
<select name="resource" class="selector">
|
|
|
|
<option value="/yacysearch.rss?resource=global&verify=true" selected="selected">freeworld</option>
|
|
|
|
<option value="/yacysearch.rss?resource=local&verify=true" >local peer</option>
|
|
|
|
<option value="ymarks" >bookmarks</option>
|
|
|
|
<option value="/xml/util/ynetSearch.xml?login=&url=http://sciencenet.fzk.de:8080/yacysearch.rss?resource=global&verify=true" >sciencenet</option>
|
|
|
|
</select>
|
|
|
|
<br />
|
|
|
|
<label for="resource">Language:</label>
|
|
|
|
<br />
|
|
|
|
<select disabled class="selector" id="language" name="language">
|
|
|
|
<option value="any" selected="selected">any language</option>
|
|
|
|
<option value="ger" >German</option>
|
|
|
|
<option value="eng" >English</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<input id="searchbutton" type="submit" name="Enter" value="Search" />
|
|
|
|
<table class="contentdom">
|
|
|
|
<tr>
|
|
|
|
<td width="20%"><input type="radio" id="text" name="contentdom" value="text" checked="checked" /></td>
|
|
|
|
<td width="20%"><input disabled type="radio" id="images" name="contentdom" value="image" /></td>
|
|
|
|
<td width="20%"><input disabled type="radio" id="audio" name="contentdom" value="audio" /></td>
|
|
|
|
<td width="20%"><input disabled type="radio" id="video" name="contentdom" value="video" /></td>
|
|
|
|
<td width="20%"><input disabled type="radio" id="appl" name="contentdom" value="app" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><label for="text">Text</label></td>
|
|
|
|
<td><label for="images">Images</label></td>
|
|
|
|
<td><label for="audio">Audio</label></td>
|
|
|
|
<td><label for="video">Video</label></td>
|
|
|
|
<td><label for="appl">Applications</label></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!--
|
|
|
|
<br />
|
|
|
|
<label for="contentdom">Content domain:</label>
|
|
|
|
<br />
|
|
|
|
<select name="contentdom" class="selector">
|
|
|
|
<option selected="selected" value="text">text</option>
|
|
|
|
<option value="image">image</option>
|
|
|
|
<option value="audio">audio</option>
|
|
|
|
<option value="video">video</option>
|
|
|
|
<option value="app">application</option>
|
|
|
|
</select>
|
|
|
|
-->
|
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<h3>YaCy Project</h3><!-- 1 -->
|
|
|
|
<div class="menu">
|
|
|
|
<img alt="YaCy Project Home" title="YaCy Project Home" src="img-1/home.png" />
|
|
|
|
<a href="http://www.yacy.net" >YaCy Home</a><br />
|
|
|
|
<img alt="YaCy Statistics" title="YaCy Statistics" src="img-2/bar_graph.png" />
|
|
|
|
<a href="http://www.yacystats.de" >YaCy Statistics</a><br />
|
|
|
|
<img alt="YaCy Forum" title="YaCy Forum" src="img-1/Discussion.png" />
|
|
|
|
<a href="http://forum.yacy-websuche.de/" >YaCy Forum</a><br />
|
|
|
|
<img alt="Help" title="YaCy Wiki" src="img-1/Help%20Blue%20Button.png" />
|
|
|
|
<a href="http://yacy-websuche.de/wiki/index.php/Hauptseite" >YaCy Wiki</a><br />
|
|
|
|
</div>
|
|
|
|
<h3>YaCy Peer Admin</h3><!-- 2 -->
|
|
|
|
<div class="menu">
|
|
|
|
<img alt="Login" title="Login" src="img-1/User.png" />
|
|
|
|
<a id="login" href="#Login">Login</a><br />
|
|
|
|
<img alt="Admin Console" title="Admin Console" src="img-1/Gear.png" />
|
|
|
|
<a id="admin" href="#AdminConsole">Admin Console</a><br />
|
|
|
|
<img alt="Re-Start" title="Re-Start" src="img-1/Backup%20Green%20Button.png" />
|
|
|
|
<a href="../../Steering.html?restart=">Re-Start</a><br />
|
|
|
|
<img alt="Shutdown" title="Shutdown" src="img-1/Stop%20Red%20Button.png" />
|
|
|
|
<a href="../../Steering.html?shutdown=">Shutdown</a><br />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|