Fossil

Check-in [2d6bb6e977]
Login

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

Overview
Comment:Minor doc correction.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | skin-preference-cookie
Files: files | file ages | folders
SHA3-256: 2d6bb6e977047461eb0803994e2bd52bfdd566c639f5afe6d8cc24a29708f356
User & Date: stephan 2021-03-02 07:21:08.853
Context
2021-03-02
07:23
Minor doc clarification. check-in: c05ec7d924 user: stephan tags: skin-preference-cookie
07:21
Minor doc correction. check-in: 2d6bb6e977 user: stephan tags: skin-preference-cookie
07:11
Skin selection is now stored in the user display prefs cookie and can be modified from any page by passing the skin=xyz URL parameter. Gets trumped by /draftX URI or --skin CLI flag or skin: CGI config setting. Removed /skn_XYZ URI handling. /skins page now uses the new mechanism for skin selection. UDC is now rendered on every page if it was modified during that request, regardless of the 'udc' URL parameter. See discussion at [https://fossil-scm.org/forum/forumpost/4d3a10c72a|/forumpost/4d3a10c72a]. check-in: 71a2d68a7a user: stephan tags: skin-preference-cookie
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/skins.c.
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
** former gets initialized before both URL parameters and the /draft
** path determination).
**
** The rankings were initially defined in
** https://fossil-scm.org/forum/forumpost/caf8c9a8bb
** and are:
**
** 0) A URI starting with /draft1-9, linked to via /setup_skin, trumps
** everything else. The rank argument is ignored if zName matches
** draft[1-9].
**
** 1) The --skin flag or skin: CGI config setting.
**
** 2) The "skin" display setting cookie or URL argument, in that
** order. If the URL argument is provided and refers to a legal
** skin then that will update the display cookie.
**







|
|
<







119
120
121
122
123
124
125
126
127

128
129
130
131
132
133
134
** former gets initialized before both URL parameters and the /draft
** path determination).
**
** The rankings were initially defined in
** https://fossil-scm.org/forum/forumpost/caf8c9a8bb
** and are:
**
** 0) A URI starting with draft1-9, linked to via /setup_skin, trumps
** everything else.

**
** 1) The --skin flag or skin: CGI config setting.
**
** 2) The "skin" display setting cookie or URL argument, in that
** order. If the URL argument is provided and refers to a legal
** skin then that will update the display cookie.
**