mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
421aa6a8bb
ConfigPortal.html: Fixed some HTML problems to validate at least XHTML 1.0 Transitional - for strict the target attribute of the a link has to be removed yacyinteractive.html: Moved all JS code to an external yacyinteractive.js file in JS folder yacysearch.html: Removed embedded scripts from in between the body tags - now everything is loaded in the header de.lng: Just in case JS files will be parsed at some point added translation for yacyinteractive.html result counter git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7208 6c8d7289-2bf4-0310-a012-ef5d649a1542
46 lines
1.8 KiB
HTML
46 lines
1.8 KiB
HTML
<!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 Interactive Search</title>
|
|
#%env/templates/metas.template%#
|
|
<script type="text/javascript" src="/js/yacyinteractive.js"></script>
|
|
<script type="text/javascript" src="/js/sorttable.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
var q = "#[query]#";
|
|
if (q != "") search(q);
|
|
//]]>
|
|
</script>
|
|
#(display)#
|
|
#%env/templates/simpleheader.template%#
|
|
<div id="kiosk">
|
|
<a href="yacyinteractive.html?display=2"><img src="env/grafics/close.gif" width="16" height="16" alt="close" /></a>
|
|
<span>kiosk mode</span>
|
|
</div>
|
|
::
|
|
<div id="api"><a href="yacysearch.json?query=yacy"><img src="env/grafics/api.png" width="60" height="40" alt="API" /></a>
|
|
<span>This page uses the JSON search API to display search results as you type.
|
|
Click the API icon to see an example call to the native API.
|
|
To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de/wiki/index.php/Dev:API">API wiki page</a>.</span>
|
|
</div>
|
|
#%env/templates/header.template%#
|
|
::
|
|
#%env/templates/embeddedheader.template%#
|
|
#(/display)#
|
|
|
|
<form class="search small" id="searchform" action="yacyinteractive.html" method="get" onkeyup="xmlhttpPost(); return false;">
|
|
<h2>#[promoteSearchPageGreeting]#</h2>
|
|
<div class="yacylogo">
|
|
<a href="#[promoteSearchPageGreeting.homepage]#" class="yacylogo"><img src="#[promoteSearchPageGreeting.smallImage]#" alt="yacysearch"/></a>
|
|
</div>
|
|
<fieldset class="yacys"><input name="query" type="text" value="#[query]#" size="50" maxlength="80" /></fieldset>
|
|
|
|
<!--<pre>Raw JSON String: <div id="raw"></div></pre>-->
|
|
</form>
|
|
<div id="searchresults"></div>
|
|
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html> |