Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Only add the default <body> element to the header if the configured header lacks "<body". Formerly, it searched for "<body>" and that search would fail if the body element contained attributes. ToDo: This default body-element mechanism needs to be better documented. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
24ecb3bbd566e8b44aaa3c8544182a75 |
| User & Date: | drh 2018-07-03 10:23:18.221 |
Context
|
2018-07-05
| ||
| 16:51 | Patched cgi_set_cookie() to be a no-op when not running in HTTP(s) mode (e.g. in JSON CLI mode), since g.zTop is not set in that case. Resolves a segfault reported on the ML. ... (check-in: f488a5aa97 user: stephan tags: trunk) | |
|
2018-07-03
| ||
| 10:23 | Only add the default <body> element to the header if the configured header lacks "<body". Formerly, it searched for "<body>" and that search would fail if the body element contained attributes. ToDo: This default body-element mechanism needs to be better documented. ... (check-in: 24ecb3bbd5 user: drh tags: trunk) | |
|
2018-06-30
| ||
| 15:40 | Fix harmless compiler warnings. ... (check-in: 50daa540f8 user: drh tags: trunk) | |
Changes
Changes to src/style.c.
| ︙ | ︙ | |||
420 421 422 423 424 425 426 |
Th_Store("compiler_name", COMPILER_NAME);
url_var("stylesheet", "css", "style.css");
image_url_var("logo");
image_url_var("background");
if( !login_is_nobody() ){
Th_Store("login", g.zLogin);
}
| | | 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 |
Th_Store("compiler_name", COMPILER_NAME);
url_var("stylesheet", "css", "style.css");
image_url_var("logo");
image_url_var("background");
if( !login_is_nobody() ){
Th_Store("login", g.zLogin);
}
if( sqlite3_strlike("%<body%", zHeader, 0)!=0 ){
Th_Render(zDfltHeader);
}
if( g.thTrace ) Th_Trace("BEGIN_HEADER_SCRIPT<br />\n", -1);
Th_Render(zHeader);
if( g.thTrace ) Th_Trace("END_HEADER<br />\n", -1);
Th_Unstore("title"); /* Avoid collisions with ticket field names */
cgi_destination(CGI_BODY);
|
| ︙ | ︙ |
Changes to www/customskin.md.
| ︙ | ︙ | |||
89 90 91 92 93 94 95 | When cloning a repository, the skin of new repository is initialized to the skin of the repository from which it was cloned. Header And Footer Processing ---------------------------- | | | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
When cloning a repository, the skin of new repository is initialized to
the skin of the repository from which it was cloned.
Header And Footer Processing
----------------------------
The header.txt and footer.txt files of a skin are merely the HTML text
of the header and footer. Except, before being prepended and appended to
the content, the header and footer text are run through a
[TH1 interpreter](./th1.md) that might adjust the text as follows:
* All text within <th1>...</th1> is elided from the
output and that text is instead run as a TH1 script. That TH1
script has the opportunity to insert new text in place of itself,
|
| ︙ | ︙ |