Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix the setting of authorized editors on the new skin page. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | skin-setup-refactor |
| Files: | files | file ages | folders |
| SHA3-256: |
d8846443b45b0d53d40226764d7b45e5 |
| User & Date: | drh 2017-12-03 02:11:33.044 |
Context
|
2017-12-03
| ||
| 11:18 | Rework the Setup/Skin page so that all edits are done on a draft, then tested, then the draft is published to become the default skin. check-in: 106fe618f4 user: drh tags: trunk | |
| 02:11 | Fix the setting of authorized editors on the new skin page. Closed-Leaf check-in: d8846443b4 user: drh tags: skin-setup-refactor | |
| 01:57 | On the Skins admin page, add Step 8 which gives administrators a link to the legacy Skin control page, with updates to deal with drafts. check-in: 49d923bd81 user: drh tags: skin-setup-refactor | |
Changes
Changes to src/skins.c.
| ︙ | ︙ | |||
843 844 845 846 847 848 849 |
}
}
/* Initialize the skin, if requested and authorized. */
if( P("init3")!=0 && isEditor ){
skin_initialize_draft(iSkin, P("initskin"));
}
| | > | 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 |
}
}
/* Initialize the skin, if requested and authorized. */
if( P("init3")!=0 && isEditor ){
skin_initialize_draft(iSkin, P("initskin"));
}
if( P("submit2")!=0 && isSetup ){
db_set_mprintf("draft%d-users", PD("editors",""), 0, iSkin);
zAllowedEditors = db_get_mprintf("draft%d-users", "", iSkin);
}
/* Publish the draft skin */
if( P("pub7")!=0 && PB("pub7ck1") && PB("pub7ck2") ){
skin_publish(iSkin);
}
|
| ︙ | ︙ |