| Server IP : 216.106.184.20 / Your IP : 216.73.216.234 Web Server : LiteSpeed System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64 User : sekoaid1 ( 1891) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/sekoaid1/public_html/wp-content/plugins/quiz-maker/ |
Upload File : |
(function() {
/* Register the buttons */
tinymce.create('tinymce.plugins.ays_quiz_button_mce', {
init : function(ed, url) {
/**
* Adds HTML tag to selected content
*/
ed.addButton( 'ays_quiz_button_mce', {
title : 'Add Quiz',
image : url + '/admin/images/icons/icon-128x128.png',
cmd: 'ays_quiz_button_cmd'
});
ed.addCommand( 'ays_quiz_button_cmd', function() {
ed.windowManager.open(
{
title : 'Quiz Maker',
file : ajaxurl + '?action=gen_ays_quiz_shortcode',
},
{
plugin_url : url
});
});
},
createControl : function(n, cm) {
return null;
},
});
/* Start the buttons */
tinymce.PluginManager.add( 'ays_quiz_button_mce', tinymce.plugins.ays_quiz_button_mce );
})();