HEX
Server: Apache
System: Linux eisbus 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/wordpress/wp-content/plugins/contact-form-lite/inc/js/tinymce.js
jQuery(document).ready((function(e){FormList=e("#ecftinymce_select_form");var t=390;function o(){e(".TB_ecf_window").css({top:(e(window).height()-t)/6+"px",left:(e(window).width()-550)/4+"px","margin-top":(e(window).height()-t)/6+"px","margin-left":(e(window).width()-550)/4+"px","max-height":parseInt(t)+"px","min-height":parseInt(t)+"px"})}e("body").delegate("#ecf_gut_shorcode-button, #ecficons_gut_shorcode","click",(function(){FormList.find("option").remove(),e("<option/>").val(0).text("Loading...").appendTo(FormList),setTimeout((function(){tb_show('<img class="ecf_sc_ttl_ico" src="'+ecf_tinymce_vars.sc_icon+'" alt="Easy Contact Form">Shortcode Generator<span class="ecf_cp_version">v'+ecf_tinymce_vars.sc_version+"</span>","#TB_inline?height="+t+"&width=550&inlineId=ecfmodal"),e("#TB_window").addClass("TB_ecf_window").css("z-index","999999"),e("#TB_ajaxContent").addClass("TB_ecf_ajaxContent"),e(".TB_ecf_ajaxContent").css("height","auto"),e("select#ecftinymce_select_form").val("select"),t=390,e("#TB_closeWindowButton").replaceWith(e("<div class='closetb' id='TB_closeWindowButton'><span class='screen-reader-text'>Close</span><span class='tb-close-icon'></span></div>")),FormList.find("option").remove(),e("<option/>").val("select").text("- Select Form -").appendTo(FormList),e.each(ecf_tinymce_vars.forms,(function(t,o){e("<option/>").val(o.id).text(o.name).appendTo(FormList)})),o()}),300)})),e("body").delegate(".closetb","click",(function(){tb_remove()})),e("#ecf_insert_scrt").on("click",(function(){if("select"!=e("#ecftinymce_select_form").val()){var t;if(t="[easy-contactform id="+e("#ecftinymce_select_form option:selected").val()+"]",e("#wp-content-editor-container > textarea").is(":visible")){var o=e("#wp-content-editor-container > textarea").val()+t;e("#wp-content-editor-container > textarea").val(o)}else tinyMCE.activeEditor.execCommand("mceInsertContent",0,t);tb_remove()}else alert("Please select form first!")})),e(window).resize((function(){o()}))}));