Fossil

Check-in [bd667b1940]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Get the name of the Login/Logout menu option right.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bd667b1940b6bc08d967bb219495b32ed8ec23ae
User & Date: drh 2007-11-21 03:17:53.000
Context
2007-11-21
03:19
Try again to get the Login/Logout menu name correct. ... (check-in: f0a9e3b523 user: drh tags: trunk)
03:17
Get the name of the Login/Logout menu option right. ... (check-in: bd667b1940 user: drh tags: trunk)
03:01
Render the header of every page using subscript. Add a setup page that for editing that subscript. ... (check-in: 555911dff5 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/style.c.
77
78
79
80
81
82
83

84
85
86
87
88
89
90

  /* Generate the header up through the main menu */
  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);

  }
  SbS_Render(p, zHeader);
  SbS_Destroy(p);

  /* Generate the main menu and the submenu (if any) */
  @ <div id="main-menu">
  @ <a href="%s(g.zBaseURL)/home">Home</a>







>







77
78
79
80
81
82
83
84
85
86
87
88
89
90
91

  /* Generate the header up through the main menu */
  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";
  }
  SbS_Render(p, zHeader);
  SbS_Destroy(p);

  /* Generate the main menu and the submenu (if any) */
  @ <div id="main-menu">
  @ <a href="%s(g.zBaseURL)/home">Home</a>