diff --git a/winixd/core/app.cpp b/winixd/core/app.cpp index ef30631..308bb8c 100644 --- a/winixd/core/app.cpp +++ b/winixd/core/app.cpp @@ -750,7 +750,7 @@ void App::CreateJSONAnswer() if( !req.return_info_only ) { - json_out_stream << L"{\n\"out\": {\n"; + json_out_stream << L"{\n\"frames\": {\n"; auto i = req.out_streams.streams_map.begin(); bool is_first = true; diff --git a/winixd/core/config.cpp b/winixd/core/config.cpp index aa99f40..72345d8 100644 --- a/winixd/core/config.cpp +++ b/winixd/core/config.cpp @@ -309,7 +309,7 @@ void Config::AssignValues(bool stdout_is_closed) incorrect_login_cannot_login_delay = Size(L"incorrect_login_cannot_login_delay", 1800); pid_file = Text(L"pid_file", L""); - allow_ezc_out_in_executable_items = Bool(L"allow_ezc_out_in_executable_items", false); + allow_ezc_frames_in_executable_items = Bool(L"allow_ezc_frames_in_executable_items", false); check_proxy_ip_header = Bool(L"check_proxy_ip_header", false); proxy_ip_header = Text(L"proxy_ip_header", L"X_Real_IP"); diff --git a/winixd/core/config.h b/winixd/core/config.h index ec952ac..55f1805 100644 --- a/winixd/core/config.h +++ b/winixd/core/config.h @@ -638,7 +638,7 @@ public: // how many output streams do we have in Request class // those streams used in ajax responses - // you can use no more [ezc out] statements than this limit + // you can use no more [ezc frames] statements than this limit // default: 128 size_t ezc_out_streams_size; @@ -758,10 +758,10 @@ public: // pid file is saved after winix has dropped privileges std::wstring pid_file; - // allow to use [ezc out] statement in executable items (used in 'run' winix function) + // allow to use [ezc frame] statements in executable items (used in 'run' winix function) // default false // warning: if you enable this options a user can override a different output stream when using ajax - bool allow_ezc_out_in_executable_items; + bool allow_ezc_frames_in_executable_items; // check whether there is a 'log_proxy_ip_header' header diff --git a/winixd/html/fun_createthread.html b/winixd/html/fun_createthread.html index 4108bf4..63da5b6 100644 --- a/winixd/html/fun_createthread.html +++ b/winixd/html/fun_createthread.html @@ -3,7 +3,7 @@

{create_thread_header}

-
+
diff --git a/winixd/html/fun_reply.html b/winixd/html/fun_reply.html index c5c5bb6..10d9af3 100644 --- a/winixd/html/fun_reply.html +++ b/winixd/html/fun_reply.html @@ -3,7 +3,7 @@

{thread_header_reply}

- + [if thread_mount_arg_is "subject"]
diff --git a/winixd/html/fun_showthreads.html b/winixd/html/fun_showthreads.html index 2ed9784..ea2d349 100644 --- a/winixd/html/fun_showthreads.html +++ b/winixd/html/fun_showthreads.html @@ -1,4 +1,4 @@ -
+
[if mount_page_arg_is "subject"][dir_last_subject][end] [if mount_page_arg_is "info"][include "dir_last_info.html"][end] @@ -6,7 +6,7 @@ [if thread_can_create] [end] @@ -16,7 +16,7 @@ {thread_tab_title}{thread_tab_author}{thread_tab_replies}{thread_tab_last_post} [for thread_sort_tab] - [thread_sort_tab_subject] [# dodac sprawdzanie subject empty] + [thread_sort_tab_subject] [# dodac sprawdzanie subject empty] [thread_sort_tab_user][thread_sort_tab_replies] [thread_sort_tab_last_item_date_modification_nice] ([thread_sort_tab_last_item_user]) @@ -27,4 +27,11 @@
- +[if false] +[if any winix_has_htmx winix_is_htmx_request winix_has_uikit] + +[end] +[end] diff --git a/winixd/html/fun_thread.html b/winixd/html/fun_thread.html index 2a88bd9..badebfb 100644 --- a/winixd/html/fun_thread.html +++ b/winixd/html/fun_thread.html @@ -17,7 +17,7 @@ [if thread_mount_arg_is "sort_desc"] [if thread_can_reply] [end] [end] @@ -47,10 +47,12 @@ [if not [thread_mount_arg_is "sort_desc"]] [if thread_can_reply] [end] [end]
+ + diff --git a/winixd/templates/item.cpp b/winixd/templates/item.cpp index ba7f219..95f5484 100644 --- a/winixd/templates/item.cpp +++ b/winixd/templates/item.cpp @@ -335,7 +335,7 @@ void item_run(Info & i) InitGenerator(ezc_generator); ezc_generator.SetPattern(*p); - if( config->allow_ezc_out_in_executable_items ) + if( config->allow_ezc_frames_in_executable_items ) ezc_generator.Generate(item_run_content, cur->request->out_streams); else ezc_generator.Generate(item_run_content); @@ -742,7 +742,7 @@ void item_tab_run(Info & i) InitGenerator(ezc_generator); ezc_generator.SetPattern(*p); - if( config->allow_ezc_out_in_executable_items ) + if( config->allow_ezc_frames_in_executable_items ) ezc_generator.Generate(item_run_content, cur->request->out_streams); else ezc_generator.Generate(item_run_content);