Fossil

Check-in [045975f6]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Re-added a short doc snippet accidentally cut out by [ec03c3149a].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:045975f6f7c40745a4250d6c4129b5fa22db3ede
User & Date: stephan 2014-03-28 17:45:02
Context
2014-03-29
09:03
s/free()/fossil_free()/, for consistency. check-in: c94df724 user: stephan tags: trunk
2014-03-28
17:45
Re-added a short doc snippet accidentally cut out by [ec03c3149a]. check-in: 045975f6 user: stephan tags: trunk
08:18
Use full UUID's in more hyperlinks, e.g. regarding attachments. Remove unused function. check-in: ec03c314 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/timeline.c.

52
53
54
55
56
57
58



59
60
61
62
63
64
65
  if( g.perm.Hyperlink ){
    @ %z(xhref("class='timelineHistLink'","%R/info/%s",zUuid))[%s(z)]</a>
  }else{
    @ <span class="timelineHistDsp">[%s(z)]</span>
  }
}




void hyperlink_to_date(const char *zDate, const char *zSuffix){
  if( zSuffix==0 ) zSuffix = "";
  if( g.perm.Hyperlink ){
    @ %z(href("%R/timeline?c=%T",zDate))%s(zDate)</a>%s(zSuffix)
  }else{
    @ %s(zDate)%s(zSuffix)
  }







>
>
>







52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
  if( g.perm.Hyperlink ){
    @ %z(xhref("class='timelineHistLink'","%R/info/%s",zUuid))[%s(z)]</a>
  }else{
    @ <span class="timelineHistDsp">[%s(z)]</span>
  }
}

/*
** Generate a hyperlink to a date & time.
*/
void hyperlink_to_date(const char *zDate, const char *zSuffix){
  if( zSuffix==0 ) zSuffix = "";
  if( g.perm.Hyperlink ){
    @ %z(href("%R/timeline?c=%T",zDate))%s(zDate)</a>%s(zSuffix)
  }else{
    @ %s(zDate)%s(zSuffix)
  }