From e78098be9bc53f1ac55f0be33a6bc12c838d814a Mon Sep 17 00:00:00 2001
From: fuchsi
Date: Tue, 11 Sep 2007 16:21:14 +0000
Subject: [PATCH] According to HTML-Specs "name" and "id" attributes share the
same namespace. So we can't have one element with name="offset" and another
one with id="offset". Additionally IE6's getElementById() returns elements
with matching names as well and Opera is mimicing this behaviour.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4094 6c8d7289-2bf4-0310-a012-ef5d649a1542
---
htroot/js/yacysearch.js | 2 +-
htroot/yacysearch.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js
index ce23eb5d4..e30c7ce5f 100644
--- a/htroot/js/yacysearch.js
+++ b/htroot/js/yacysearch.js
@@ -69,7 +69,7 @@ function addHover() {
}
function statistics(offset, items, global, total) {
- document.getElementById("offset").firstChild.nodeValue = offset;
+ document.getElementById("resultsOffset").firstChild.nodeValue = offset;
document.getElementById("itemscount").firstChild.nodeValue = items;
document.getElementById("globalcount").firstChild.nodeValue = global;
document.getElementById("totalcount").firstChild.nodeValue = total;
diff --git a/htroot/yacysearch.html b/htroot/yacysearch.html
index 0e0b5eac4..40dd0ca2b 100644
--- a/htroot/yacysearch.html
+++ b/htroot/yacysearch.html
@@ -99,7 +99,7 @@ document.getElementById("Enter").value = "search again - catch up more links";
::
No Results. (length of search words must be at least 3 characters)
::
- #[offset]#-#[linkcount]# results from a total number of #[totalcount]# known#(globalresults)#.::, #[globalcount]# links from other YaCy peers.#(/globalresults)#
+ #[offset]#-#[linkcount]# results from a total number of #[totalcount]# known#(globalresults)#.::, #[globalcount]# links from other YaCy peers.#(/globalresults)#
Search Result Pages: #[pagenav]#
::
Searching the web with this peer is disabled for unauthorized users. Please log in as administrator to use the search function