Diff
Not logged in

Differences From:

File src/style.c part of check-in [dbda8d6ce9] - Initial check-in of m1 sources. by drh on 2007-07-21 14:10:57. [view]

To:

File src/style.c part of check-in [916b6e4b3b] - Improvements to web-based user management. by drh on 2007-07-21 19:32:06. [view]

@@ -70,9 +70,9 @@
 ** Draw the header.
 */
 void style_header(void){
   const char *zLogInOut = "Logout";
-  /* login_check_credentials(); */
+  login_check_credentials();
   @ <html>
   @ <body bgcolor="white">
   @ <hr size="1">
   @ <table border="0" cellpadding="0" cellspacing="0" width="100%%">
@@ -105,9 +105,9 @@
       char *zTail = i<nSubmenu-1 ? " | " : "";
       if( p->zLink==0 ){
         @ <font color="#888888">%h(p->zLabel)</font> %s(zTail)
       }else{
-        @ <a href="p->zLink">%h(p->zLabel)</a> %s(zTail)
+        @ <a href="%T(p->zLink)">%h(p->zLabel)</a> %s(zTail)
       }
     }
   }
   @ </td></tr></table>