Fossil SCM
Re-added a short doc snippet accidentally cut out by [ec03c3149a].
Commit
045975f6f7c40745a4250d6c4129b5fa22db3ede
Parent
ec03c3149a6dea4…
1 file changed
+3
+3
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -54,10 +54,13 @@ | ||
| 54 | 54 | }else{ |
| 55 | 55 | @ <span class="timelineHistDsp">[%s(z)]</span> |
| 56 | 56 | } |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | +/* | |
| 60 | +** Generate a hyperlink to a date & time. | |
| 61 | +*/ | |
| 59 | 62 | void hyperlink_to_date(const char *zDate, const char *zSuffix){ |
| 60 | 63 | if( zSuffix==0 ) zSuffix = ""; |
| 61 | 64 | if( g.perm.Hyperlink ){ |
| 62 | 65 | @ %z(href("%R/timeline?c=%T",zDate))%s(zDate)</a>%s(zSuffix) |
| 63 | 66 | }else{ |
| 64 | 67 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -54,10 +54,13 @@ | |
| 54 | }else{ |
| 55 | @ <span class="timelineHistDsp">[%s(z)]</span> |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | void hyperlink_to_date(const char *zDate, const char *zSuffix){ |
| 60 | if( zSuffix==0 ) zSuffix = ""; |
| 61 | if( g.perm.Hyperlink ){ |
| 62 | @ %z(href("%R/timeline?c=%T",zDate))%s(zDate)</a>%s(zSuffix) |
| 63 | }else{ |
| 64 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -54,10 +54,13 @@ | |
| 54 | }else{ |
| 55 | @ <span class="timelineHistDsp">[%s(z)]</span> |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | /* |
| 60 | ** Generate a hyperlink to a date & time. |
| 61 | */ |
| 62 | void hyperlink_to_date(const char *zDate, const char *zSuffix){ |
| 63 | if( zSuffix==0 ) zSuffix = ""; |
| 64 | if( g.perm.Hyperlink ){ |
| 65 | @ %z(href("%R/timeline?c=%T",zDate))%s(zDate)</a>%s(zSuffix) |
| 66 | }else{ |
| 67 |