0) {
+ pageSelected(current_page - 1);
+ return true;
+ }
+ else {
+ return false;
+ }
+ }
+ this.nextPage = function(){
+ if(current_page < numPages()-1) {
+ pageSelected(current_page+1);
+ return true;
+ }
+ else {
+ return false;
+ }
+ }
+ // When all initialisation is done, draw the links
+ drawLinks();
+ });
+}
+
+
diff --git a/htroot/yacy/ui/result.html b/htroot/yacy/ui/result.html
index 01b085174..be614e893 100644
--- a/htroot/yacy/ui/result.html
+++ b/htroot/yacy/ui/result.html
@@ -1,4 +1,64 @@
+#(input)#
+ ::
+
+ ::
+#(/input)#
+
+#(num-results)#
+ ::
+ No Results.
+ ::
+ No Results. (length of search words must be at least 3 characters)
+ ::
+
+ ::
+#(/num-results)#
+
#(resultTable)#::#(/resultTable)#
#{results}#
@@ -8,7 +68,8 @@
$.get("/yacy/ui/ritem.html?rss=false&item=#[item]#&eventID=#[eventID]#", function(html) {
$(id).append(html);
$(id).trigger("update");
- });
+ });
+ return false;
});
#{/results}#
@@ -20,4 +81,3 @@
-
diff --git a/htroot/yacy/ui/ritem.html b/htroot/yacy/ui/ritem.html
index e4ea68e6c..ed761b966 100644
--- a/htroot/yacy/ui/ritem.html
+++ b/htroot/yacy/ui/ritem.html
@@ -1,11 +1,11 @@
#(content)#::
-
+
::
#{items}#