Check-in [f0a9e3b523]
Not logged in
Overview

SHA1 Hash:f0a9e3b52382724e657157ae7e76d93c53ea7582
Date: 2007-11-21 03:19:21
User: drh
Comment:Try again to get the Login/Logout menu name correct.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/style.c from [d988a19a76] to [f64336963a].

@@ -68,11 +68,11 @@
 
 /*
 ** Draw the header.
 */
 void style_header(const char *zTitle){
-  const char *zLogInOut = "Logout";
+  const char *zLogInOut = "Login";
   const char *zHeader = db_get("header", zDefaultHeader);
   struct Subscript *p;
   login_check_credentials();
 
   /* Generate the header up through the main menu */
@@ -79,11 +79,11 @@
   p = SbS_Create();
   SbS_Store(p, "title", zTitle, 0);
   SbS_Store(p, "baseurl", g.zBaseURL, 0);
   if( g.zLogin ){
     SbS_Store(p, "login", g.zLogin, 0);
-    zLogInOut = "Login";
+    zLogInOut = "Logout";
   }
   SbS_Render(p, zHeader);
   SbS_Destroy(p);
 
   /* Generate the main menu and the submenu (if any) */