Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a busted hyperlink in the /file page. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
af204596d44981cf44e5d0215f9cdd33 |
| User & Date: | drh 2020-05-11 19:31:23.133 |
Context
|
2020-05-11
| ||
| 20:13 | Carry the file browsing UX improvements through into the /dir page. ... (check-in: 4977765e6c user: drh tags: trunk) | |
| 19:31 | Fix a busted hyperlink in the /file page. ... (check-in: af204596d4 user: drh tags: trunk) | |
| 19:24 | Fix a compiler warning in the previous check-in. ... (check-in: e07b10919b user: drh tags: trunk) | |
Changes
Changes to src/info.c.
| ︙ | ︙ | |||
2224 2225 2226 2227 2228 2229 2230 |
zUuid = db_text("?", "SELECT uuid FROM blob WHERE rid=%d", rid);
asText = P("txt")!=0;
if( isFile ){
if( zCI==0 || fossil_strcmp(zCI,"tip")==0 ){
zCI = "tip";
@ <h2>Latest version of file \
| | | 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 |
zUuid = db_text("?", "SELECT uuid FROM blob WHERE rid=%d", rid);
asText = P("txt")!=0;
if( isFile ){
if( zCI==0 || fossil_strcmp(zCI,"tip")==0 ){
zCI = "tip";
@ <h2>Latest version of file \
@ '%z(href("%R/finfo?name=%T&m=%T",zName,zCI))%h(zName)</a>':</h2>
}else{
const char *zPath;
Blob path;
blob_zero(&path);
hyperlinked_path(zName, &path, zCI, "dir", "", LINKPATH_FINFO);
zPath = blob_str(&path);
@ <h2>File %s(zPath) \
|
| ︙ | ︙ |