Fossil SCM
Fix internal links on the 'attachlist' page. Reported via the mailing list.
Commit
0438d06635892890f39f78995799539d25607e23
Parent
1829fa8845ae7fe…
1 file changed
+2
-2
+2
-2
| --- src/attach.c | ||
| +++ src/attach.c | ||
| @@ -90,12 +90,12 @@ | ||
| 90 | 90 | @ <li><p> |
| 91 | 91 | @ Attachment %z(href("%R/ainfo/%s",zUuid))%S(zUuid)</a> |
| 92 | 92 | if( moderation_pending(attachid) ){ |
| 93 | 93 | @ <span class="modpending">*** Awaiting Moderator Approval ***</span> |
| 94 | 94 | } |
| 95 | - @ <br><a href="/attachview?%s(zUrlTail)">%h(zFilename)</a> | |
| 96 | - @ [<a href="/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br /> | |
| 95 | + @ <br><a href="%R/attachview?%s(zUrlTail)">%h(zFilename)</a> | |
| 96 | + @ [<a href="%R/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br /> | |
| 97 | 97 | if( zComment ) while( fossil_isspace(zComment[0]) ) zComment++; |
| 98 | 98 | if( zComment && zComment[0] ){ |
| 99 | 99 | @ %!w(zComment)<br /> |
| 100 | 100 | } |
| 101 | 101 | if( zPage==0 && zTkt==0 ){ |
| 102 | 102 |
| --- src/attach.c | |
| +++ src/attach.c | |
| @@ -90,12 +90,12 @@ | |
| 90 | @ <li><p> |
| 91 | @ Attachment %z(href("%R/ainfo/%s",zUuid))%S(zUuid)</a> |
| 92 | if( moderation_pending(attachid) ){ |
| 93 | @ <span class="modpending">*** Awaiting Moderator Approval ***</span> |
| 94 | } |
| 95 | @ <br><a href="/attachview?%s(zUrlTail)">%h(zFilename)</a> |
| 96 | @ [<a href="/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br /> |
| 97 | if( zComment ) while( fossil_isspace(zComment[0]) ) zComment++; |
| 98 | if( zComment && zComment[0] ){ |
| 99 | @ %!w(zComment)<br /> |
| 100 | } |
| 101 | if( zPage==0 && zTkt==0 ){ |
| 102 |
| --- src/attach.c | |
| +++ src/attach.c | |
| @@ -90,12 +90,12 @@ | |
| 90 | @ <li><p> |
| 91 | @ Attachment %z(href("%R/ainfo/%s",zUuid))%S(zUuid)</a> |
| 92 | if( moderation_pending(attachid) ){ |
| 93 | @ <span class="modpending">*** Awaiting Moderator Approval ***</span> |
| 94 | } |
| 95 | @ <br><a href="%R/attachview?%s(zUrlTail)">%h(zFilename)</a> |
| 96 | @ [<a href="%R/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br /> |
| 97 | if( zComment ) while( fossil_isspace(zComment[0]) ) zComment++; |
| 98 | if( zComment && zComment[0] ){ |
| 99 | @ %!w(zComment)<br /> |
| 100 | } |
| 101 | if( zPage==0 && zTkt==0 ){ |
| 102 |