ÿØÿà JFIF ` ` ÿþ
|
Server : Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.13 System : Linux cpanel4.trivietit.net 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64 User : cungcapmhutbui ( 1010) PHP Version : 5.6.40-86+ubuntu24.04.1+deb.sury.org+1 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 Directory : /home/cungcapmhutbui/web/cungcapmayhutbui.com/public_html/resource/ckfinder/plugins/dummy/ |
Upload File : |
/**
* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*
* CKFinder 2.x - sample "dummy" plugin.
*
* To enable it, add the following line to config.js:
* config.extraPlugins = 'dummy';
*/
/**
* See http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.html#.addPlugin
*/
CKFinder.addPlugin( 'dummy', {
lang : [ 'en', 'pl' ],
appReady : function( api ) {
CKFinder.dialog.add( 'dummydialog', function( api )
{
// CKFinder.dialog.definition
var dialogDefinition =
{
title : api.lang.dummy.title,
minWidth : 390,
minHeight : 230,
onOk : function() {
// "this" is now a CKFinder.dialog object.
var value = this.getValueOf( 'tab1', 'textareaId' );
if ( !value ) {
api.openMsgDialog( '', api.lang.dummy.typeText );
return false;
}
else {
alert( "You have entered: " + value );
}
},
contents : [
{
id : 'tab1',
label : '',
title : '',
expand : true,
padding : 0,
elements :
[
{
type : 'html',
html : '<h3>' + api.lang.dummy.typeText + '</h3>'
},
{
type : 'textarea',
id : 'textareaId',
rows : 10,
cols : 40
}
]
}
],
buttons : [ CKFinder.dialog.cancelButton, CKFinder.dialog.okButton ]
};
return dialogDefinition;
} );
api.addFileContextMenuOption( { label : api.lang.dummy.menuItem, command : "dummycommand" } , function( api, file )
{
api.openDialog('dummydialog');
});
}
});