| | @@ -933,11 +933,12 @@ |
| 933 | 933 | @ <form method="post" \ |
| 934 | 934 | @ action='%R/forumpost_%s(iClosed > 0 ? "reopen" : "close")'> |
| 935 | 935 | login_insert_csrf_secret(); |
| 936 | 936 | @ <input type="hidden" name="fpid" value="%z(rid_to_uuid(iHead))" /> |
| 937 | 937 | if( moderation_pending(p->fpid)==0 ){ |
| 938 | | - @ <input type="submit" value='%s(iClosed ? "Re-open" : "Close")' /> |
| 938 | + @ <input type="button" value='%s(iClosed ? "Re-open" : "Close")' \ |
| 939 | + @ class='%s(iClosed ? "action-reopen" : "action-close")'/> |
| 939 | 940 | } |
| 940 | 941 | @ </form> |
| 941 | 942 | } |
| 942 | 943 | @ </div> |
| 943 | 944 | } |
| | @@ -1114,11 +1115,12 @@ |
| 1114 | 1115 | ** Emit Forum Javascript which applies (or optionally can apply) |
| 1115 | 1116 | ** to all forum-related pages. It does not include page-specific |
| 1116 | 1117 | ** code (e.g. "forum.js"). |
| 1117 | 1118 | */ |
| 1118 | 1119 | static void forum_emit_js(void){ |
| 1119 | | - builtin_fossil_js_bundle_or("copybutton", "pikchr", NULL); |
| 1120 | + builtin_fossil_js_bundle_or("copybutton", "pikchr", "confirmer", |
| 1121 | + NULL); |
| 1120 | 1122 | builtin_request_js("fossil.page.forumpost.js"); |
| 1121 | 1123 | } |
| 1122 | 1124 | |
| 1123 | 1125 | /* |
| 1124 | 1126 | ** WEBPAGE: forumpost |
| 1125 | 1127 | |