From 337f563bd415ffc5c39bc0010d7c3b6b32bbd10d Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Fri, 22 Jan 2021 16:56:51 +0100 Subject: [PATCH] changed html markup for tinymce and added support for 5.6.2 version --- winixd/html/fun_tinymce.html | 98 ++++++++++++++++------- winixd/html/index_head_functions_add.html | 13 ++- winixd/locale/en | 2 + winixd/locale/pl | 3 + 4 files changed, 81 insertions(+), 35 deletions(-) diff --git a/winixd/html/fun_tinymce.html b/winixd/html/fun_tinymce.html index 90a1de4..1aa2008 100644 --- a/winixd/html/fun_tinymce.html +++ b/winixd/html/fun_tinymce.html @@ -2,43 +2,52 @@ [if item_is]

{edit}

[else]

{add}

[end] +
+ [if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]] +
+ +
+ +
+
- -
- {form_emacs_legend} - - [if mount_type_is "cms"] -

{title}:

- - -

{suggested_url}:

- +
+ +
+ +
+
[end] - [if any [mount_type_is "thread"] [thread_mount_arg_is "subject"]] -

{title}:

- - -

{suggested_url}:

- - [end] +
+ [if mount_type_is "cms"][end] + [if mount_type_is "thread"][end] + [if mount_type_is "ticket"][end] - - [if mount_type_is "cms"]

{form_emacs_content_cms}

[end] - [if mount_type_is "thread"]

{form_emacs_content_thread}

[end] - [if mount_type_is "ticket"]

{form_emacs_content_ticket}

[end] +
+
[item_print_content]
+
+
- - - +
+ +
[if not user_logged] -

{nick}:

- - -

{rebus_how_is_it} [rebus_question]?

- +
+ +
+ +
+
+ +
+ +
+ +
+
[include "antispam.html"] [end] @@ -47,8 +56,35 @@ [end] - -
+
+
+ + + +
+ {tinymce_update_progressbar_img_alt} +
+ +
+ +
+
+ +
+
+ +
+ +
diff --git a/winixd/html/index_head_functions_add.html b/winixd/html/index_head_functions_add.html index bde5dc5..ec7ef02 100644 --- a/winixd/html/index_head_functions_add.html +++ b/winixd/html/index_head_functions_add.html @@ -106,15 +106,20 @@ cm.save() [if winix_function_is "ckeditor"] [def winix_has_jquery "true"] - + [end] [if winix_function_is "tinymce"] - - - + + + [# tinymce can use a special theme called 'mobile' - it is used when /mobile param is provided] + + + [def winix_has_jquery "true"] + + [end] diff --git a/winixd/locale/en b/winixd/locale/en index 9ce71d5..1a596a7 100644 --- a/winixd/locale/en +++ b/winixd/locale/en @@ -469,6 +469,8 @@ stat_template_from_mount_point = from the mount point subject_header = Edit subject +tinymce_update_button = Update +tinymce_update_progressbar_img_alt = Progressbar uname_header = Uname uname_available_plugins = Available plugins diff --git a/winixd/locale/pl b/winixd/locale/pl index c89684e..a7fb39d 100644 --- a/winixd/locale/pl +++ b/winixd/locale/pl @@ -490,6 +490,9 @@ stat_template_from_mount_point = z punktu montowania subject_header = Zmień tytuł +tinymce_update_button = Aktualizuj +tinymce_update_progressbar_img_alt = Progressbar + uname_header = Nazwa systemu uname_available_plugins = Dostępne pluginy uname_plugin_unknown = Plugin nie ustawił swojej nazwy