Update of /var/cvs/contributions/didactor2/src/shoutbox/blocks
In directory james.mmbase.org:/tmp/cvs-serv2970
Modified Files:
index.jspx
Log Message:
shouts sent to other people reset other people new message counter
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/shoutbox/blocks
Index: index.jspx
===================================================================
RCS file: /var/cvs/contributions/didactor2/src/shoutbox/blocks/index.jspx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- index.jspx 5 Dec 2008 15:45:36 -0000 1.14
+++ index.jspx 6 Apr 2009 19:00:18 -0000 1.15
@@ -46,6 +46,7 @@
<mm:hasnodemanager name="properties">
+ <c:if test="${empty source}">
<!-- The properties builder is used to store the 'last check' time
of this page -->
<mm:import id="key">shouts.last_check</mm:import>
<mm:functioncontainer nodemanager="properties">
@@ -54,11 +55,13 @@
<mm:param name="key">shouts.previous_check</mm:param>
<mm:function name="set" write="false" />
</mm:functioncontainer>
+
<mm:functioncontainer nodemanager="properties">
<mm:param name="node" referid="_node" />
<mm:param name="value"><mm:time time="now" /></mm:param>
<mm:function name="set" referids="key" write="false" />
</mm:functioncontainer>
+ </c:if>
</mm:hasnodemanager>
<h2>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs