[# def? means define a variable if such a variable does not exist yet]
[# true and false are ezc functions defined by winix]
[def? winix_has_uikit false]
[def? winix_has_jquery false]
[def? winix_has_htmx false]
[def? winix_set_charset true]
[def? winix_set_viewport true]
[def? winix_load_uikit true]
[def? winix_load_htmx true]
[if winix_set_charset]
[end]
[if winix_set_viewport]
[end]
[if winix_load_uikit]
[def winix_has_uikit true]
[# UIkit CSS]
[# UIkit JS]
[end]
[if winix_load_htmx]
[def winix_has_htmx true]
[end]
[if winix_has_htmx]
[end]
[if winix_function_is "emacs"]
[if false]
[end]
[end]
[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]
[if winix_function_is "nicedit"]
[end]
[if winix_function_is "vim"]
[# info from version 0.5-rc1: this editor doesn't work on different domains by default, solution: http://forum.wymeditor.org/forum/viewtopic.php?f=2&t=731&p=2507#p2504 ]
[# you should add one file to winix: wymiframe.html ]
[def winix_has_jquery true]
[end]
[if winix_function_is "gallery"]
[if gallery_mount_type_arg_is "lightbox"]
[# https://lokeshdhakar.com/projects/lightbox2/ ]
[def winix_has_jquery true]
[end]
[if gallery_mount_type_arg_is "galleriajs"]
[# https://galleriajs.github.io/ ]
[# formerly called aino-gallery ]
[def winix_has_jquery true]
[end]
[end]
[if winix_function_is "upload"]
[# https://blueimp.github.io/jQuery-File-Upload/]
[# https://github.com/blueimp/jQuery-File-Upload]
[# Force latest IE rendering engine or ChromeFrame if installed]
[# in doc_base_url_common/jquery-file-upload/10.31.0_extra/blueimp-gallery/ is download_all_files.sh script in order to download all necessary files]
[# CSS to style the file input field as button and adjust the Bootstrap progress bars]
[# CSS adjustments for browsers with JavaScript disabled]
[def winix_has_jquery true]
[if false]
[# the code to run the plugin we have in fun_upload.html]
[end]
[end]
[if winix_function_is "sort"]
[if not item_is]
[end]
[end]
[if winix_function_is "imgcrop"]
[def winix_has_jquery true]
[end]
[if false]
[# temporarily blocked]
[if winix_has_plugin "stats"]
[include "stats_info.html"]
[end]
[end]