Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Add the "hyperlinks are disabled" warning to the taglist page. Disable hyperlinks on the leaves page when hyperlinks are suppose to be disabled. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
472f9411eec4b5fc763662f6c1441601 |
| User & Date: | drh 2009-01-29 03:04:38.000 |
References
|
2009-08-08
| ||
| 05:42 | • Tested ticket [d37b9eadb3]: Encoding problems after rebuild plus 3 other changes ... (artifact: ab7b90e593 user: anonymous) | |
|
2009-03-12
| ||
| 17:14 | • New ticket [74a95e62cf] Visual indicator for which code check in being viewed. ... (artifact: a004b6be1b user: anonymous) | |
Context
|
2009-01-29
| ||
| 03:28 | Mention that fossil is GPL on the homepage. ... (check-in: 0c72d85fbe user: drh tags: trunk) | |
| 03:04 | Add the "hyperlinks are disabled" warning to the taglist page. Disable hyperlinks on the leaves page when hyperlinks are suppose to be disabled. ... (check-in: 472f9411ee user: drh tags: trunk) | |
| 02:57 | Add missing 'rebuild' subcommand suggestion for command 'fossil all' subcommands. ... (check-in: 4f0f992245 user: bharder tags: trunk) | |
Changes
Changes to src/descendants.c.
| ︙ | ︙ | |||
267 268 269 270 271 272 273 |
/*
** This routine is called while for each check-in that is rendered by
** the "leaves" page. Add some additional hyperlink to show the
** ancestors of the leaf.
*/
static void leaves_extra(int rid){
| > | > | 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 |
/*
** This routine is called while for each check-in that is rendered by
** the "leaves" page. Add some additional hyperlink to show the
** ancestors of the leaf.
*/
static void leaves_extra(int rid){
if( g.okHistory ){
@ <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">[timeline]</a>
}
}
/*
** WEBPAGE: leaves
**
** Find leaves of all branches.
*/
|
| ︙ | ︙ |
Changes to src/tag.c.
| ︙ | ︙ | |||
489 490 491 492 493 494 495 496 497 498 499 500 501 502 |
void taglist_page(void){
Stmt q;
login_check_credentials();
if( !g.okRead ){
login_needed();
}
style_header("Tags");
style_submenu_element("Timeline", "Timeline", "tagtimeline");
@ <h2>Non-propagating tags:</h2>
db_prepare(&q,
"SELECT substr(tagname,5)"
" FROM tag"
" WHERE EXISTS(SELECT 1 FROM tagxref"
| > | 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 |
void taglist_page(void){
Stmt q;
login_check_credentials();
if( !g.okRead ){
login_needed();
}
login_anonymous_available();
style_header("Tags");
style_submenu_element("Timeline", "Timeline", "tagtimeline");
@ <h2>Non-propagating tags:</h2>
db_prepare(&q,
"SELECT substr(tagname,5)"
" FROM tag"
" WHERE EXISTS(SELECT 1 FROM tagxref"
|
| ︙ | ︙ |