updated to the new pikotools api: [ezc out] and [out] changed to [ezc frame] or just [frame]

- when returning json streams changed "out" field to "frames"
- renamed config parameter: allow_ezc_out_in_executable_items -> allow_ezc_frames_in_executable_items
- added basic support for ajax requests in thread plugin
This commit is contained in:
2021-05-28 18:36:19 +02:00
parent ba331dea4a
commit e6fae4598c
8 changed files with 24 additions and 15 deletions

View File

@@ -17,7 +17,7 @@
[if thread_mount_arg_is "sort_desc"]
[if thread_can_reply]
<div class="uk-margin">
<a class="uk-button uk-button-primary" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
<a class="uk-button uk-button-primary" href="[doc_base_url][dir][item_url]/reply" rel="nofollow" [if winix_has_htmx]hx-get="[doc_base_url][dir][item_url]/reply" hx-swap="outerHTML" hx-target="this"[end]>{thread_reply_in_this_thread}</a>
</div>
[end]
[end]
@@ -47,10 +47,12 @@
[if not [thread_mount_arg_is "sort_desc"]]
[if thread_can_reply]
<div class="uk-margin">
<a class="uk-button uk-button-primary" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
<a class="uk-button uk-button-primary" href="[doc_base_url][dir][item_url]/reply" rel="nofollow" [if winix_has_htmx]hx-get="[doc_base_url][dir][item_url]/reply" hx-swap="outerHTML" hx-target="this"[end]>{thread_reply_in_this_thread}</a>
</div>
[end]
[end]
</div>