summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrramthun <rramthun@6c8d7289-2bf4-0310-a012-ef5d649a1542>2006-02-01 21:05:25 +0000
committerrramthun <rramthun@6c8d7289-2bf4-0310-a012-ef5d649a1542>2006-02-01 21:05:25 +0000
commit5b85d92690366e5a7c0fc79fd9d0ea88fe22cf07 (patch)
tree3e5ef2e1c4ff5edc896a9db8326577e3138dd96c
parent139ba4e0c8ca78044680c8baaa403a5ee7c0e8f4 (diff)
hendis patch from http://www.yacy-forum.de/viewtopic.php?p=16212#16212
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1511 6c8d7289-2bf4-0310-a012-ef5d649a1542
-rw-r--r--htroot/Network.java2
-rw-r--r--htroot/Network.xml15
-rw-r--r--locales/de.lng2
3 files changed, 16 insertions, 3 deletions
diff --git a/htroot/Network.java b/htroot/Network.java
index c90d3f569..f364bb615 100644
--- a/htroot/Network.java
+++ b/htroot/Network.java
@@ -213,7 +213,7 @@ public class Network {
} else {
// generate table
final int page = Integer.parseInt(post.get("page", "1"));
- final int maxCount = 300;
+ final int maxCount = Integer.parseInt(post.get("maxCount", "300"));
int conCount = 0;
if (yacyCore.seedDB == null) {
prop.put("table", 0);//no remote senior/principal proxies known"
diff --git a/htroot/Network.xml b/htroot/Network.xml
index b5b1d25c3..fe9565a0a 100644
--- a/htroot/Network.xml
+++ b/htroot/Network.xml
@@ -1,6 +1,19 @@
<?xml version="1.0"?>
#(table)#
::
+<peers>
+#{list}#
+ <peer>
+ <hash>#[hash]#</hash>
+ <fullname>#[fullname]#</fullname>
+ <version>#[version]#</version>
+ <ppm>#[ppm]#</ppm>
+ <uptime>#[uptime]#</uptime>
+ <links>#[links]#</links>
+ <words>#[words]#</words>
+ </peer>
+#{/list}#
+</peers>
::
<peers>
<active>
@@ -48,4 +61,4 @@
2 - not in online mode
-->
</peers>
-#(/table)# \ No newline at end of file
+#(/table)#
diff --git a/locales/de.lng b/locales/de.lng
index 1aa63ccfe..761fb4947 100644
--- a/locales/de.lng
+++ b/locales/de.lng
@@ -15,7 +15,7 @@
#-------------------------------------------------------
#File: Language_p.html
-#Only part 1.
+#Only part 1 of Language_p.html
#Contributors are in chronological ordern, not how much they did absolutely.
#Thank you for your help!
<!-- lang -->default\(english\)==Deutsch