ÿØÿà JFIF H H ÿÛ C ÿÛ Cÿ " ÿÄ ÿÄ ÿÚ ±5¬€ ÿÄ àÿÚ ÿÄ ÀÿÚ ? ÿÄ ÀÿÚ ? ÿÄ àÿÚ ? ÿÄ àÿÚ ?! ÿÚ ÿÄ ÀÿÚ ? ÿÄ ÀÿÚ ? ÿÄ àÿÚ ? ÿÙ
| Server IP : 160.25.81.117 / Your IP : 216.73.216.137 Web Server : Apache/2 System : Linux sv05.hilab.cloud 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : bellizen ( 1045) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/bellizen/public_html/public/admin_assets/plugins/ckfinder/plugins/dummy/ |
Upload File : |
/**
* Copyright (c) 2003-2013, 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 );
return true;
}
},
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');
});
}
});