Fossil SCM
Internal docs: removed outdated references to skn_NAME paths.
Commit
9d845ebb001e853d2c4a642dfc751d92a468c172fdc98c3a29b2bcf174045cba
Parent
45e11fe4c539a70…
1 file changed
+4
-10
+4
-10
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -1824,20 +1824,14 @@ | ||
| 1824 | 1824 | ** been opened. |
| 1825 | 1825 | */ |
| 1826 | 1826 | |
| 1827 | 1827 | |
| 1828 | 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. | |
| 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. | |
| 1839 | 1833 | */ |
| 1840 | 1834 | if( zPathInfo && strncmp(zPathInfo,"/draft",6)==0 |
| 1841 | 1835 | && zPathInfo[6]>='1' && zPathInfo[6]<='9' |
| 1842 | 1836 | && (zPathInfo[7]=='/' || zPathInfo[7]==0) |
| 1843 | 1837 | ){ |
| 1844 | 1838 |
| --- 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 |