New Errorpage

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@928 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 19 years ago
parent b177a80bb7
commit b88a9584f8

@ -0,0 +1,3 @@
#(limit)#
Your Timelimit (#[timelimit]# Minutes per Day) is reached.
#(/limit)#

@ -329,7 +329,10 @@ public final class httpd implements serverHandler {
if(entry.canSurf()){
return true;
} else {
sendRespondError(this.prop,this.session.out,5,403,null, "Internet-Timelimit reached", null);
HashMap tp=new HashMap();
tp.put("limit", "0");//time per day
tp.put("limit_timelimit", entry.getTimeLimit());
sendRespondError(this.prop, this.session.out, 403, "Internet-Timelimit reached", new File("proxymsg/proxylimits.inc"), tp, null);
return false;
}
}

Loading…
Cancel
Save