| Server IP : 62.173.141.34 / Your IP : 216.73.217.113 Web Server : Apache/2.4.63 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 System : Linux server7.msonline.ru 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64 User : izihss ( 1005) PHP Version : 7.4.33 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,exec,system,passthru,shell_exec,proc_open,popen MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/izihss/web/izihss.ru/public_html/wp-content/plugins/wp-filebase/extras/ckeditor/ |
Upload File : |
(function() {
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.add( 'wpfilebase',
{
requires: [ 'iframedialog' ],
init : function( editor )
{
var me = this;
CKEDITOR.dialog.add( 'WPFilebaseDialog', function (){
var postId = '',idEl = document.getElementById("post_ID");
if(idEl) postId = idEl.getAttribute('value');
return {
title : 'WP-Filebase',
minWidth : 680,
minHeight : 400,
contents :
[
{
id : 'iframe',
label : 'WP-Filebase',
expand : true,
elements :
[
{
type : 'html',
id : 'pageWPFilebase',
label : 'WP-Filebase',
style : 'width:680px; height:400px;',
html : '<iframe src="'+ajaxurl.replace("admin-ajax.php","?wpfilebase-screen=editor-plugin")+'&post_id='+postId+'" frameborder="0" name="iframeWPFilebase" id="iframeWPFilebase" allowtransparency="1" style="width:100%;height:400px;margin:0;padding:0;"></iframe>'
}
]
}
] /*,
onOk : function() {
var editor = this.getParentEditor(),
ratingcode = document.getElementById('iframeWPFilebase').contentWindow.insertWPFilebaseCode();
editor.insertHtml(ratingcode[0]);
}*/
};
});
// Register the toolbar buttons.
editor.ui.addButton( 'WPFilebase',
{
label : 'WP-Filebase',
icon: this.path + 'images/btn.gif',
command : 'wpfb-dialog'
});
// Register the commands.
editor.addCommand( 'wpfb-dialog', new CKEDITOR.dialogCommand( 'WPFilebaseDialog' ));
}
});
})();