summaryrefslogtreecommitdiff
path: root/htroot/compare_yacy.html
diff options
context:
space:
mode:
authororbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2008-09-15 09:17:05 +0000
committerorbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2008-09-15 09:17:05 +0000
commit693fa2a157b60c75d661157c25042d09039f7c94 (patch)
tree5ec5cd74542928861eecb93e3603b3329ee6aa8b /htroot/compare_yacy.html
parent78ad58cd428ecffc7bb58ab59858f0cc7b3050e3 (diff)
- renamed Comparison to compare_yacy
- added more search engines - some refactoring and added a list that is used to present the search engine list in a specific order - added simpleheader and no-header options - added the compare search to the simple header - added default compare search page selection storage - after re-start you get the same default search engines as you selected before git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5157 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/compare_yacy.html')
-rwxr-xr-xhtroot/compare_yacy.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/htroot/compare_yacy.html b/htroot/compare_yacy.html
new file mode 100755
index 000000000..c4c992b0f
--- /dev/null
+++ b/htroot/compare_yacy.html
@@ -0,0 +1,56 @@
+<!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]#': Websearch Comparison</title>
+ #%env/templates/metas.template%#
+ </head>
+<body>
+#(display)#
+ #%env/templates/simpleheader.template%#
+ ::
+ #%env/templates/header.template%#
+ ::
+ #%env/templates/embeddedheader.template%#
+#(/display)#
+ <h2>Websearch Comparison</h2>
+ <p>This page lets you compare two search engines. Please select search engines
+ and enter your searchword(s) below.</p>
+ <fieldset>
+ <legend>Parameters</legend>
+ <form action="" method="get">
+ <dl>
+ <dt>Left Search Engine</dt>
+ <dd>
+ <select name="left">
+ #{searchengines}#
+ <option #(leftengine)#::selected="selected"#(/leftengine)#>#[searchengine]#</option>
+ #{/searchengines}#
+ </select>
+ </dd>
+ <dt>Right Search Engine</dt>
+ <dd>
+ <select name="right">
+ #{searchengines}#
+ <option #(rightengine)#::selected="selected"#(/rightengine)#>#[searchengine]#</option>
+ #{/searchengines}#
+ </select>
+ </dd>
+ <dt>Query</dt>
+ <dd>
+ <input type="text" name="query" value="#[search_query]#" size="60">
+ </dd>
+ </dl>
+ <input type="submit" />
+ </form>
+ </fieldset>
+ #(search)#
+ ::
+ <fieldset>
+ <legend>Search Result</legend>
+ <iframe src="#[left]##[query]#" width="49%" height="1600"></iframe>
+ <iframe src="#[right]##[query]#" width="49%" height="1600"></iframe>
+ </fieldset>
+ #(/search)#
+ #%env/templates/footer.template%#
+ </body>
+</html>