Update of /var/cvs/contributions/didactor2/src/shoutbox/blocks
In directory james.mmbase.org:/tmp/cvs-serv11464

Modified Files:
        index.jspx 
Log Message:
lastcheck change when read by other than user


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.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- index.jspx  6 Apr 2009 19:00:18 -0000       1.15
+++ index.jspx  10 Apr 2009 07:58:02 -0000      1.16
@@ -62,6 +62,24 @@
               <mm:function name="set" referids="key" write="false" />
             </mm:functioncontainer>
             </c:if>
+            <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_source${source}</mm:import>
+            <mm:functioncontainer nodemanager="properties">
+              <mm:param name="node" referid="_node" />
+              <mm:param name="value"><mm:function name="get" referids="key" 
/></mm:param>
+              <mm:param 
name="key">shouts.previous_check_source${source}</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

Reply via email to