Fossil

Check-in [a0f1864499]
Login

Check-in [a0f1864499]

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

Overview
Comment:Make Th1 variable $current_page available to the header and footer.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a0f18644994ad929a4d527382b2f47836c593a0b
User & Date: drh 2008-05-17 13:40:32.000
Context
2008-05-17
14:49
The bug report generator compiles but still does not work right. ... (check-in: 55342eb9fb user: drh tags: trunk)
13:40
Make Th1 variable $current_page available to the header and footer. ... (check-in: a0f1864499 user: drh tags: trunk)
08:53
Allow the check-in of files show names begin with ".". Add the "private" table to repository schema but do not yet do anything with it. ... (check-in: 525cc35bf3 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/style.c.
80
81
82
83
84
85
86

87
88
89
90
91
92
93
  cgi_destination(CGI_HEADER);

  /* Generate the header up through the main menu */
  Th_Store("project_name", db_get("project-name","Unnamed Fossil Project"));
  Th_Store("title", zTitle);
  Th_Store("baseurl", g.zBaseURL);
  Th_Store("index_page", db_get("index-page","/home"));

  Th_Store("manifest_version", MANIFEST_VERSION);
  Th_Store("manifest_date", MANIFEST_DATE);
  if( g.zLogin ){
    Th_Store("login", g.zLogin);
  }
  Th_Render(zHeader);
  Th_Unstore("title");   /* Avoid collisions with ticket field names */







>







80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
  cgi_destination(CGI_HEADER);

  /* Generate the header up through the main menu */
  Th_Store("project_name", db_get("project-name","Unnamed Fossil Project"));
  Th_Store("title", zTitle);
  Th_Store("baseurl", g.zBaseURL);
  Th_Store("index_page", db_get("index-page","/home"));
  Th_Store("current_page", g.zPath);
  Th_Store("manifest_version", MANIFEST_VERSION);
  Th_Store("manifest_date", MANIFEST_DATE);
  if( g.zLogin ){
    Th_Store("login", g.zLogin);
  }
  Th_Render(zHeader);
  Th_Unstore("title");   /* Avoid collisions with ticket field names */