Differences From Artifact [a2b3fea577]:
- File src/style.c — part of check-in [555911dff5] at 2007-11-21 03:01:40 on branch trunk — Render the header of every page using subscript. Add a setup page that for editing that subscript. (user: drh size: 6490)
To Artifact [d988a19a76]:
- File src/style.c — part of check-in [bd667b1940] at 2007-11-21 03:17:53 on branch trunk — Get the name of the Login/Logout menu option right. (user: drh size: 6515)
| ︙ | |||
77 78 79 80 81 82 83 84 85 86 87 88 89 90 | 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>
|
| ︙ |