Fossil SCM

Internal docs: removed outdated references to skn_NAME paths.

stephan 2021-06-16 05:23 trunk
Commit 9d845ebb001e853d2c4a642dfc751d92a468c172fdc98c3a29b2bcf174045cba
1 file changed +4 -10
+4 -10
--- src/main.c
+++ src/main.c
@@ -1824,20 +1824,14 @@
18241824
** been opened.
18251825
*/
18261826
18271827
18281828
/*
1829
- ** Check to see if the first term of PATH_INFO specifies an alternative
1830
- ** skin. This will be the case if the first term of PATH_INFO
1831
- ** begins with "draftN/" where N is an integer between 1 and 9 or
1832
- ** if it is "skn_X/" where X is one of the built-in skin names.
1833
- ** If either is true, then activate the alternative skin.a
1834
- **
1835
- ** If there are multiple skn_X entries (ex: /skn_default/skn_ardoise/...)
1836
- ** then skip over all but the last. This allows one to link to an
1837
- ** alternative skin in hyperlinks even if you are already in an alternative
1838
- ** skin.
1829
+ ** Check to see if the first term of PATH_INFO specifies an
1830
+ ** alternative skin. This will be the case if the first term of
1831
+ ** PATH_INFO begins with "draftN/" where N is an integer between 1
1832
+ ** and 9. If so, activate the skin associated with that draft.
18391833
*/
18401834
if( zPathInfo && strncmp(zPathInfo,"/draft",6)==0
18411835
&& zPathInfo[6]>='1' && zPathInfo[6]<='9'
18421836
&& (zPathInfo[7]=='/' || zPathInfo[7]==0)
18431837
){
18441838
--- src/main.c
+++ src/main.c
@@ -1824,20 +1824,14 @@
1824 ** been opened.
1825 */
1826
1827
1828 /*
1829 ** Check to see if the first term of PATH_INFO specifies an alternative
1830 ** skin. This will be the case if the first term of PATH_INFO
1831 ** begins with "draftN/" where N is an integer between 1 and 9 or
1832 ** if it is "skn_X/" where X is one of the built-in skin names.
1833 ** If either is true, then activate the alternative skin.a
1834 **
1835 ** If there are multiple skn_X entries (ex: /skn_default/skn_ardoise/...)
1836 ** then skip over all but the last. This allows one to link to an
1837 ** alternative skin in hyperlinks even if you are already in an alternative
1838 ** skin.
1839 */
1840 if( zPathInfo && strncmp(zPathInfo,"/draft",6)==0
1841 && zPathInfo[6]>='1' && zPathInfo[6]<='9'
1842 && (zPathInfo[7]=='/' || zPathInfo[7]==0)
1843 ){
1844
--- src/main.c
+++ src/main.c
@@ -1824,20 +1824,14 @@
1824 ** been opened.
1825 */
1826
1827
1828 /*
1829 ** Check to see if the first term of PATH_INFO specifies an
1830 ** alternative skin. This will be the case if the first term of
1831 ** PATH_INFO begins with "draftN/" where N is an integer between 1
1832 ** and 9. If so, activate the skin associated with that draft.
 
 
 
 
 
 
1833 */
1834 if( zPathInfo && strncmp(zPathInfo,"/draft",6)==0
1835 && zPathInfo[6]>='1' && zPathInfo[6]<='9'
1836 && (zPathInfo[7]=='/' || zPathInfo[7]==0)
1837 ){
1838

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button