Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Add db_unprotect()/db_protect_pop() to /setup_skin_admin when the user selects one of the builtin skins to fix problem reported at [https://fossil-scm.org/forum/forumpost/72a1db2bdc | /forumpost/72a1db2bdc]. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
37c290597dc42728d4fa4d71906c3b6a |
| User & Date: | stephan 2020-08-30 06:05:06.991 |
Context
|
2020-08-30
| ||
| 06:07 | Fixed color quirk (unintentionally deriving a default color) in the Ardoise skin reported at [https://fossil-scm.org/forum/forumpost/9ac6b287d9 | /forumpost/9ac6b287d9]. check-in: 693bf6b222 user: stephan tags: trunk | |
| 06:05 | Add db_unprotect()/db_protect_pop() to /setup_skin_admin when the user selects one of the builtin skins to fix problem reported at [https://fossil-scm.org/forum/forumpost/72a1db2bdc | /forumpost/72a1db2bdc]. check-in: 37c290597d user: stephan tags: trunk | |
|
2020-08-29
| ||
| 14:22 | Minor /wikiedit layout improvements and removed the probably-obvious '?' button from the auto-refresh checkbox. check-in: f83c4fa41d user: stephan tags: trunk | |
Changes
Changes to src/skins.c.
| ︙ | ︙ | |||
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 |
}
}
seen = 0;
for(i=0; i<count(aBuiltinSkin); i++){
if( fossil_strcmp(aBuiltinSkin[i].zDesc, z)==0 ){
seen = 1;
zCurrent = aBuiltinSkin[i].zSQL;
db_multi_exec("%s", zCurrent/*safe-for-%s*/);
break;
}
}
if( !seen ){
zName = skinVarName(z,0);
zCurrent = db_get(zName, 0);
db_multi_exec("%s", zCurrent/*safe-for-%s*/);
}
}
}
style_header("Skins");
if( zErr ){
@ <p style="color:red">%h(zErr)</p>
| > > > > | 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 |
}
}
seen = 0;
for(i=0; i<count(aBuiltinSkin); i++){
if( fossil_strcmp(aBuiltinSkin[i].zDesc, z)==0 ){
seen = 1;
zCurrent = aBuiltinSkin[i].zSQL;
db_unprotect(PROTECT_CONFIG);
db_multi_exec("%s", zCurrent/*safe-for-%s*/);
db_protect_pop();
break;
}
}
if( !seen ){
zName = skinVarName(z,0);
zCurrent = db_get(zName, 0);
db_unprotect(PROTECT_CONFIG);
db_multi_exec("%s", zCurrent/*safe-for-%s*/);
db_protect_pop();
}
}
}
style_header("Skins");
if( zErr ){
@ <p style="color:red">%h(zErr)</p>
|
| ︙ | ︙ |