caudium-commits AT caudium.net
Caudium CVS Commits list

CVS: caudium/server/modules/graphics pikegraphy.pike,1.10,1.11


chronological Thread 
  • From: "Bill Welliver" <hww3 AT cvs.caudiumforge.net>
  • To: caudium-commits AT caudium.net
  • Subject: CVS: caudium/server/modules/graphics pikegraphy.pike,1.10,1.11
  • Date: Fri, 22 Apr 2005 18:57:22 +0000

Update of /cvs/caudium/caudium/server/modules/graphics
In directory cvs.caudiumforge.net:/tmp/cvs-serv28263

Modified Files:
        pikegraphy.pike 
Log Message:
we don't need logout buttones anymore.


Index: pikegraphy.pike
===================================================================
RCS file: /cvs/caudium/caudium/server/modules/graphics/pikegraphy.pike,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- pikegraphy.pike     22 Apr 2005 18:26:47 -0000      1.10
+++ pikegraphy.pike     22 Apr 2005 18:57:20 -0000      1.11
@@ -58,7 +58,7 @@
 */
 
 /*
- * $Id: pikegraphy.pike,v 1.10 2005/04/22 18:26:47 hww3 Exp $
+ * $Id: pikegraphy.pike,v 1.11 2005/04/22 18:57:20 hww3 Exp $
  */
 inherit "caudiumlib";
 inherit "module";
@@ -75,7 +75,7 @@
 //! type: MODULE_PARSER
 //! inherits: caudiumlib
 //! inherits: module
-//! cvs_version: $Id: pikegraphy.pike,v 1.10 2005/04/22 18:26:47 hww3 Exp $ 
+//! cvs_version: $Id: pikegraphy.pike,v 1.11 2005/04/22 18:57:20 hww3 Exp $ 
 //
 
 constant module_type  = MODULE_PARSER;
@@ -187,12 +187,6 @@
 
 //cnt = head_page(cnt) ;
 
-if (id->variables && id->variables->logout) {
-       cnt += "<remove_cookie name=\"LoginValue\">\n<redirect to=\"?dir=\">";
-        logging=0;
-        admin=0;
-}
-
 //
 // analyse query
 
@@ -294,8 +288,7 @@
    }
  }
  if (logging == 1) {
-    cnt += "\t\t\n\t\t<td align=right>"+username+" - <a href=\"" +
-       id->not_query + "?logout=1\">logout</a></td>\n";
+    cnt += "\t\t\n\t\t<td align=right>Username: "+username+"</td>\n";
  } else {
     cnt += "\t\t\n\t\t<td align=right><a href=\"" + id->not_query +
        "?dir="+dir+"&login=1\">login</a></td>\n";



  • CVS: caudium/server/modules/graphics pikegraphy.pike,1.10,1.11, Bill Welliver

Archive powered by MhonArc 2.6.10.

§