Server IP : 192.158.238.246 / Your IP : 3.144.176.149 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/jenniferflocom/www/wp-content/plugins/4ecps-webforms/includes/ |
Upload File : |
(function() { tinymce.create('tinymce.plugins.activedemand', { init : function(ed, url) { ed.addButton('insert_form_shortcode', { title : 'Insert 4ECPS shortcode', cmd : 'insert_form_shortcode', image : url + '/icons/favicon.png' }); ed.addCommand('insert_form_shortcode', function() { jQuery('#activedemand_editor').dialog({ height: 500, width: '600px', buttons: { "Insert Shortcode": function() { var short_code = jQuery('#activedemand_editor input[type=radio]:checked').val(); var Editor = tinyMCE.get('content'); Editor.focus(); Editor.selection.setContent(short_code); jQuery( this ).dialog( "close" ); }, Cancel: function() { jQuery( this ).dialog( "close" ); } } }).dialog('open'); }); } }); tinymce.PluginManager.add( 'activedemand', tinymce.plugins.activedemand ); })();