Fossil SCM
Add "current_checkin" to the list of TH1 variables available in skin templates.
Commit
c90e810f3fc83a8bd0da3d38c3bd975c7323e1782469f9848cf97e36dca1aeef
Parent
cb89386af5d1b92…
1 file changed
+11
+11
| --- www/customskin.md | ||
| +++ www/customskin.md | ||
| @@ -471,10 +471,21 @@ | ||
| 471 | 471 | specified by the Admin/Configuration setup page. |
| 472 | 472 | |
| 473 | 473 | * **`current_page`** - The name of the page currently being processed, |
| 474 | 474 | without the leading "/" and without query parameters. |
| 475 | 475 | Examples: "timeline", "doc/trunk/README.txt", "wiki". |
| 476 | + | |
| 477 | + * **`current_checkin`** - The [check-in name](./checkin_names.wiki) to | |
| 478 | + which the current | |
| 479 | + [/ci](/help/www/ci), | |
| 480 | + [/dir](/help/www/dir), | |
| 481 | + [/tree](/help/www/tree), | |
| 482 | + [/timeline](/help/www/timeline) or | |
| 483 | + [/vinfo](/help/www/vinfo) | |
| 484 | + page refers, or undefined for all other pages. This variable is | |
| 485 | + derived from query parameters and is therefore a [tainted string] | |
| 486 | + (./th1.md#taint). | |
| 476 | 487 | |
| 477 | 488 | * **`csrf_token`** - A token used to prevent cross-site request forgery. |
| 478 | 489 | |
| 479 | 490 | * **`default_csp`** - [Fossil’s default CSP](./defcsp.md) unless |
| 480 | 491 | [overridden by custom TH1 code](./defcsp.md#th1). Useful within |
| 481 | 492 |
| --- www/customskin.md | |
| +++ www/customskin.md | |
| @@ -471,10 +471,21 @@ | |
| 471 | specified by the Admin/Configuration setup page. |
| 472 | |
| 473 | * **`current_page`** - The name of the page currently being processed, |
| 474 | without the leading "/" and without query parameters. |
| 475 | Examples: "timeline", "doc/trunk/README.txt", "wiki". |
| 476 | |
| 477 | * **`csrf_token`** - A token used to prevent cross-site request forgery. |
| 478 | |
| 479 | * **`default_csp`** - [Fossil’s default CSP](./defcsp.md) unless |
| 480 | [overridden by custom TH1 code](./defcsp.md#th1). Useful within |
| 481 |
| --- www/customskin.md | |
| +++ www/customskin.md | |
| @@ -471,10 +471,21 @@ | |
| 471 | specified by the Admin/Configuration setup page. |
| 472 | |
| 473 | * **`current_page`** - The name of the page currently being processed, |
| 474 | without the leading "/" and without query parameters. |
| 475 | Examples: "timeline", "doc/trunk/README.txt", "wiki". |
| 476 | |
| 477 | * **`current_checkin`** - The [check-in name](./checkin_names.wiki) to |
| 478 | which the current |
| 479 | [/ci](/help/www/ci), |
| 480 | [/dir](/help/www/dir), |
| 481 | [/tree](/help/www/tree), |
| 482 | [/timeline](/help/www/timeline) or |
| 483 | [/vinfo](/help/www/vinfo) |
| 484 | page refers, or undefined for all other pages. This variable is |
| 485 | derived from query parameters and is therefore a [tainted string] |
| 486 | (./th1.md#taint). |
| 487 | |
| 488 | * **`csrf_token`** - A token used to prevent cross-site request forgery. |
| 489 | |
| 490 | * **`default_csp`** - [Fossil’s default CSP](./defcsp.md) unless |
| 491 | [overridden by custom TH1 code](./defcsp.md#th1). Useful within |
| 492 |