| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/revivere/www/wp-content/plugins/modula-best-grid-gallery/assets/js/admin/ |
Upload File : |
(function () {
tinymce.create('tinymce.plugins.Modula', {
init: function (ed, url) {
ed.addCommand('modula_shortcode_editor', function () {
var nonce = typeof modulaEditorNonce !== 'undefined' ? modulaEditorNonce : '';
var ajaxUrl = ajaxurl + '?action=modula_shortcode_editor';
if (nonce) {
ajaxUrl += '&nonce=' + encodeURIComponent(nonce);
}
ed.windowManager.open(
{
file: ajaxUrl,
width:
900 + parseInt(ed.getLang('button.delta_width', 0)),
height:
500 +
parseInt(ed.getLang('button.delta_height', 0)),
inline: 1,
},
{
plugin_url: url,
}
);
});
var assets_url = url.split('assets/');
ed.addButton('modula_shortcode_editor', {
title: 'Modula Gallery',
cmd: 'modula_shortcode_editor',
image: assets_url[0] + 'assets/images/modula-logo.jpg',
});
},
getInfo: function () {
return {
longname: 'Modula Gallery',
author: 'Macho Themes',
authorurl: 'https://www.machothemes.com/',
infourl: 'https://www.machothemes.com/',
version: tinymce.majorVersion + '.' + tinymce.minorVersion,
};
},
});
tinymce.PluginManager.add(
'modula_shortcode_editor',
tinymce.plugins.Modula
);
})();