Update of /var/cvs/html/mmbase/admin
In directory james.mmbase.org:/tmp/cvs-serv27995

Modified Files:
        index.jsp 
Log Message:
logout that works



See also: http://cvs.mmbase.org/viewcvs/html/mmbase/admin


Index: index.jsp
===================================================================
RCS file: /var/cvs/html/mmbase/admin/index.jsp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- index.jsp   13 Jun 2008 12:40:32 -0000      1.33
+++ index.jsp   16 Jun 2008 12:58:41 -0000      1.34
@@ -13,6 +13,9 @@
               unacceptable="CRIPPLE"
               postprocessor="none" language="client">
 
+    <c:if test="${! empty param.logout}">
+      <mm:cloud method="logout" />
+    </c:if>
     <mm:cloud rank="basic user">
       <mm:import externid="category">about</mm:import>
       <mm:import externid="subcategory"></mm:import>
@@ -52,7 +55,10 @@
               <h1>MMBase</h1>
               <p>
                 You are logged in as: <mm:cloudinfo type="user" /> (rank: 
<mm:cloudinfo type="user" />) |
-                <mm:link page="/mmbase/admin/logout.jsp"><a 
href="${_}">logout</a></mm:link>
+                <mm:link>
+                  <mm:param name="logout" value="ok" />
+                  <a href="${_}">logout</a>
+                </mm:link>
               </p>
             </div>
            </div>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to