Server IP : 80.241.246.6 / Your IP : 216.73.216.129 Web Server : Apache/2.4.25 (Debian) System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64 User : www-data ( 33) PHP Version : 7.0.33-0+deb9u12 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/kharagauli1/admin/tinymce/js/tinymce/plugins/jbimages/ |
Upload File : |
/** * Justboil.me - a TinyMCE image upload plugin * jbimages/plugin.js * * Released under Creative Commons Attribution 3.0 Unported License * * License: http://creativecommons.org/licenses/by/3.0/ * Plugin info: http://justboil.me/ * Author: Viktor Kuzhelnyi * * Version: 2.3 released 23/06/2013 */ tinymce.PluginManager.add('jbimages', function(editor, url) { function jbBox() { editor.windowManager.open({ title: 'Upload an image', file : url + '/dialog-v4.htm', width : 350, height: 135, buttons: [{ text: 'Upload', classes:'widget btn primary first abs-layout-item', disabled : true, onclick: 'close' }, { text: 'Close', onclick: 'close' }] }); } // Add a button that opens a window editor.addButton('jbimages', { tooltip: 'Upload an image', icon : 'image', text: 'Upload', onclick: jbBox }); // Adds a menu item to the tools menu editor.addMenuItem('jbimages', { text: 'Upload image', icon : 'image', context: 'insert', onclick: jbBox }); });