Fossil

Changes On Branch prjDesc
Login

Changes On Branch prjDesc

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

Changes In Branch prjDesc Excluding Merge-Ins

This is equivalent to a diff from e727b3d50b to 82d77c23a6

2016-10-26
21:26
Add the 'project_description' variable to TH1. ... (check-in: cd219d31c1 user: mistachkin tags: trunk)
2016-10-23
01:46
Add the 'project_description' variable to TH1. ... (check-in: 345c580d0a user: mistachkin tags: experimental)
2016-10-10
06:32
Minor correction to the TH1 docs, fixing ordering. ... (check-in: f36f95b35a user: mistachkin tags: trunk)
06:29
Add the 'unversioned content' and 'unversioned list' commands to TH1. ... (check-in: e81fbfd028 user: mistachkin tags: th1Unversioned)
05:55
Merge updates from trunk. ... (Closed-Leaf check-in: 82d77c23a6 user: mistachkin tags: prjDesc)
2016-10-06
18:56
Add a couple more unversioned command tests. ... (check-in: e727b3d50b user: mistachkin tags: trunk)
2016-10-05
23:06
Add another test for the unversioned command. ... (check-in: d2a4757500 user: mistachkin tags: trunk)
2016-06-16
16:28
Add the 'project_description' variable for TH1 style scripts. ... (check-in: 77667ca159 user: mistachkin tags: prjDesc)

Changes to src/style.c.
398
399
400
401
402
403
404

405
406
407
408
409
410
411
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412







+








  @ <!DOCTYPE html>

  if( g.thTrace ) Th_Trace("BEGIN_HEADER<br />\n", -1);

  /* Generate the header up through the main menu */
  Th_Store("project_name", db_get("project-name","Unnamed Fossil Project"));
  Th_Store("project_description", db_get("project-description",""));
  Th_Store("title", zTitle);
  Th_Store("baseurl", g.zBaseURL);
  Th_Store("secureurl", login_wants_https_redirect()? g.zHttpsURL: g.zBaseURL);
  Th_Store("home", g.zTop);
  Th_Store("index_page", db_get("index-page","/home"));
  if( local_zCurrentPage==0 ) style_set_current_page("%T", g.zPath);
  Th_Store("current_page", local_zCurrentPage);
Changes to www/customskin.md.
142
143
144
145
146
147
148




149
150
151
152
153
154
155
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159







+
+
+
+







Before expanding the TH1 within the header and footer, Fossil first
initializes a number of TH1 variables to values that depend on
respository settings and the specific page being generated.

   *   **project_name** - The project_name variable is filled with the
       name of the project as configured under the Admin/Configuration
       menu.

   *   **project_description** - The project_description variable is
       filled with the description of the project as configured under
       the Admin/Configuration menu.

   *   **title** - The title variable holds the title of the page being
       generated.

       The title variable is special in that it is deleted after
       the header script runs and before the footer script.  This is
       necessary to avoid a conflict with a variable by the same name used