Fossil SCM
Correct the closing tag on the DETAILS element added in the previous check-in.
Commit
5e748a00bef4af8f5eb3f65db8e4bcd76c2bcb7f88fbc3c8ebdc795b7b46fc5c
Parent
48445daff04eb47…
2 files changed
+5
-1
+1
-1
+5
-1
| --- src/attach.c | ||
| +++ src/attach.c | ||
| @@ -1413,11 +1413,15 @@ | ||
| 1413 | 1413 | moderation_pending_www(aid); |
| 1414 | 1414 | @ </li> |
| 1415 | 1415 | } |
| 1416 | 1416 | if( cnt ){ |
| 1417 | 1417 | @ </ul> |
| 1418 | - @ </section> | |
| 1418 | + if( bUseDetail ){ | |
| 1419 | + @ </details> | |
| 1420 | + }else{ | |
| 1421 | + @ </section> | |
| 1422 | + } | |
| 1419 | 1423 | } |
| 1420 | 1424 | db_finalize(&q); |
| 1421 | 1425 | } |
| 1422 | 1426 | |
| 1423 | 1427 | /* |
| 1424 | 1428 |
| --- src/attach.c | |
| +++ src/attach.c | |
| @@ -1413,11 +1413,15 @@ | |
| 1413 | moderation_pending_www(aid); |
| 1414 | @ </li> |
| 1415 | } |
| 1416 | if( cnt ){ |
| 1417 | @ </ul> |
| 1418 | @ </section> |
| 1419 | } |
| 1420 | db_finalize(&q); |
| 1421 | } |
| 1422 | |
| 1423 | /* |
| 1424 |
| --- src/attach.c | |
| +++ src/attach.c | |
| @@ -1413,11 +1413,15 @@ | |
| 1413 | moderation_pending_www(aid); |
| 1414 | @ </li> |
| 1415 | } |
| 1416 | if( cnt ){ |
| 1417 | @ </ul> |
| 1418 | if( bUseDetail ){ |
| 1419 | @ </details> |
| 1420 | }else{ |
| 1421 | @ </section> |
| 1422 | } |
| 1423 | } |
| 1424 | db_finalize(&q); |
| 1425 | } |
| 1426 | |
| 1427 | /* |
| 1428 |
+1
-1
| --- src/forum.c | ||
| +++ src/forum.c | ||
| @@ -1046,11 +1046,11 @@ | ||
| 1046 | 1046 | ** Renders the attachment list for the given forum post. |
| 1047 | 1047 | ** Emits no output if there are no attachments. |
| 1048 | 1048 | */ |
| 1049 | 1049 | static void forum_render_attachment_list(const char *zUuid){ |
| 1050 | 1050 | #if 1 |
| 1051 | - attachment_list(zUuid, "📎 Attachments", 0 | |
| 1051 | + attachment_list(zUuid, "📎 Attachments", 0 | |
| 1052 | 1052 | | ATTACHLIST_SIZE |
| 1053 | 1053 | | ATTACHLIST_HIDE_UNAPPROVED |
| 1054 | 1054 | | ATTACHLIST_DETAILS_CLOSED); |
| 1055 | 1055 | #else |
| 1056 | 1056 | char * zLbl = mprintf("<a href='%R/attachlist?forumpost=%!S'>" |
| 1057 | 1057 |
| --- src/forum.c | |
| +++ src/forum.c | |
| @@ -1046,11 +1046,11 @@ | |
| 1046 | ** Renders the attachment list for the given forum post. |
| 1047 | ** Emits no output if there are no attachments. |
| 1048 | */ |
| 1049 | static void forum_render_attachment_list(const char *zUuid){ |
| 1050 | #if 1 |
| 1051 | attachment_list(zUuid, "📎 Attachments", 0 |
| 1052 | | ATTACHLIST_SIZE |
| 1053 | | ATTACHLIST_HIDE_UNAPPROVED |
| 1054 | | ATTACHLIST_DETAILS_CLOSED); |
| 1055 | #else |
| 1056 | char * zLbl = mprintf("<a href='%R/attachlist?forumpost=%!S'>" |
| 1057 |
| --- src/forum.c | |
| +++ src/forum.c | |
| @@ -1046,11 +1046,11 @@ | |
| 1046 | ** Renders the attachment list for the given forum post. |
| 1047 | ** Emits no output if there are no attachments. |
| 1048 | */ |
| 1049 | static void forum_render_attachment_list(const char *zUuid){ |
| 1050 | #if 1 |
| 1051 | attachment_list(zUuid, "📎 Attachments", 0 |
| 1052 | | ATTACHLIST_SIZE |
| 1053 | | ATTACHLIST_HIDE_UNAPPROVED |
| 1054 | | ATTACHLIST_DETAILS_CLOSED); |
| 1055 | #else |
| 1056 | char * zLbl = mprintf("<a href='%R/attachlist?forumpost=%!S'>" |
| 1057 |