Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | On the /skins page, move the "Custom" skin to the bottom of the list. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
2ac49d32007c3da2b7cbdfbf672f6b98 |
| User & Date: | drh 2024-02-24 16:31:31.852 |
Context
|
2024-02-25
| ||
| 10:52 | Fix typos in www/build.wiki as reported on the forum. check-in: 3ec73a0d0d user: drh tags: trunk | |
|
2024-02-24
| ||
| 16:31 | On the /skins page, move the "Custom" skin to the bottom of the list. check-in: 2ac49d3200 user: drh tags: trunk | |
| 11:33 | Fix a bug in Windows builds introduced by [fc0b9325f02b16b3]: When escaping arguments for the CMD.EXE which are not filenames, allow % to pass through unaltered and unquoted. This is necessary so that we can construct a URL that contains a "%d" field to hold the TCP port number. check-in: c2c02cd7d1 user: drh tags: trunk | |
Changes
Changes to src/skins.c.
| ︙ | ︙ | |||
1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 |
@ "%z(href("%R/fdscookie"))fossil_display_settings</a>" cookie
@ but will not be used so long as the site has a
@ higher-priority skin in place.
@ </p>
}
@ <p>The following skins are available for this repository:</p>
@ <ul>
if( skin_exists_custom() ){
if( pAltSkin==0 && zAltSkinDir==0 && iDraftSkin==0 ){
@ <li> Custom skin for this repository ← <i>Currently in use</i>
}else{
@ <li> %z(href("%R/skins?skin=custom"))\
@ Custom skin for this repository</a>
}
}
| > > > > > > > > < < < < < < < < | 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 |
@ "%z(href("%R/fdscookie"))fossil_display_settings</a>" cookie
@ but will not be used so long as the site has a
@ higher-priority skin in place.
@ </p>
}
@ <p>The following skins are available for this repository:</p>
@ <ul>
for(i=0; i<count(aBuiltinSkin); i++){
if( pAltSkin==&aBuiltinSkin[i] ){
@ <li> %h(aBuiltinSkin[i].zDesc) ← <i>Currently in use</i>
}else{
char *zUrl = href("%R/skins?skin=%T", aBuiltinSkin[i].zLabel);
@ <li> %z(zUrl)%h(aBuiltinSkin[i].zDesc)</a>
}
}
if( skin_exists_custom() ){
if( pAltSkin==0 && zAltSkinDir==0 && iDraftSkin==0 ){
@ <li> Custom skin for this repository ← <i>Currently in use</i>
}else{
@ <li> %z(href("%R/skins?skin=custom"))\
@ Custom skin for this repository</a>
}
}
@ </ul>
if( iSkinSource<SKIN_FROM_CUSTOM ){
@ <p>The current skin is selected by
switch( iSkinSource ){
case SKIN_FROM_DRAFT:
@ the "debugN" prefix on the PATH_INFO portion of the URL.
break;
|
| ︙ | ︙ |