diff --git a/.gitignore b/.gitignore index 12983e5dfd8..1efe4f4bb82 100755 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,10 @@ doxygen_warnings.log *.iml Thumbs.db # Vagrant generated files -.vagrant \ No newline at end of file +.vagrant +# Composer installed repositories +/htdocs/includes/**/.git +# Composer autoloader and unwanted files +htdocs/includes/autoload.php +htdocs/includes/bin/ +htdocs/includes/composer/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 304924fe150..8640c5e9b2f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -38,7 +38,7 @@ We officially support versions N, N − 1 and N − 2 for N the latest version a Choose your base branch accordingly. ### General rules -Please don't edit the ChangeLog file. A project manager will update it from your commit messages. +Please don't edit the ChangeLog file. File will be generated from your commit messages during release process by the project manager. ### Commits Use clear commit messages with the following structure: @@ -50,7 +50,7 @@ LONGDESC ``` #### Keyword -In uppercase to appear in ChangeLog when generated. +In uppercase if you want to have the log comment appears into the generated ChangeLog file. The keyword can be ommitted if your commit does not fit in any of the following categories: - Fix: for a bug fix @@ -97,6 +97,10 @@ When submitting a pull request, use same rule as [Commits](#commits) for the mes If your pull request only contains one commit, GitHub will be smart enough to fill it for you. Otherwise, please be a bit verbose about what you're providing. +You Pull Request must pass the Continuous Integration checks. +Also, if you want to include a new external library (into htdocs/includes directory), please ask before to the project +leader to see if such a library can be accepted. + ### Resources [Developer documentation](http://wiki.dolibarr.org/index.php/Developer_documentation) diff --git a/COPYRIGHT b/COPYRIGHT index 4862ab1b339..b89c5d23e60 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -12,7 +12,7 @@ Dolibarr uses some external libraries released under different licenses. This is Component Version License GPL Compatible Usage ------------------------------------------------------------------------------------- PHP libraries: -AdoDb-Date 0.33 Modified BSD License Yes Date convertion (not into rpm package) +AdoDb-Date 0.36 Modified BSD License Yes Date convertion (not into rpm package) ChromePHP 4.1.0 Apache Software License 2.0 Yes Return server log to chrome browser console CKEditor 4.3.3 LGPL-2.1+ Yes Editor WYSIWYG EvalMath 1.0 BSD Yes Safe math expressions evaluation @@ -24,7 +24,7 @@ Mobiledetect 2.8.3 MIT License Yes NuSoap 0.9.5 LGPL 2.1+ Yes Library to develop SOAP Web services (not into rpm and deb package) PEAR Mail_MIME 1.8.9 BSD Yes NuSoap dependency odtPHP 1.0.1 GPL-2+ b Yes Library to build/edit ODT files -PHPExcel 1.8.0 LGPL-2.1+ Yes Read/Write XLS files, read ODS files +PHPExcel 1.8.1 LGPL-2.1+ Yes Read/Write XLS files, read ODS files php-iban 1.4.7 LGPL-3+ Yes Parse and validate IBAN (and IIBAN) bank account information in PHP PHPoAuthLib 0.8.2 MIT License Yes Library to provide oauth1 and oauth2 to different service PHPPrintIPP 1.3 GPL-2+ Yes Library to send print IPP requests @@ -54,7 +54,7 @@ jQuery TableDnD 0.6 GPL and MIT License Yes jQuery Timepicker 1.1.0 GPL and MIT License Yes JS library Timepicker addon for Datepicker jQuery Tiptip 1.3 GPL and MIT License Yes JS library for tooltips jsGantt 1.2 BSD License Yes JS library (to build Gantt reports) -JsTimezoneDetect 1.0.4 MIT License Yes JS library to detect user timezone +JsTimezoneDetect 1.0.6 MIT License Yes JS library to detect user timezone Raven.js 1.1.19 MIT License Yes Used for client-side error logging with Sentry logger For licenses compatibility informations: diff --git a/README-FR.md b/README-FR.md index 53ae1be8e8d..b3ce951c975 100644 --- a/README-FR.md +++ b/README-FR.md @@ -133,12 +133,19 @@ Voici un liste de fonctionnalites pas encore gérées par Dolibarr: - Dolibarr ne fait pas le café (pas encore). -## RESEAUX SOCIAUX +## ACTUALITES ET RESEAUX SOCIAUX -Suivez le projet Dolibarr project sur +Suivez le projet Dolibarr project sur les réseaux francophones -Facebook: +- Facebook: +- Google+: +- Twitter: -Google+: +ou sur les réseaux anglophones -Twitter: +- [Facebook](https://www.facebook.com/dolibarr) +- [Google+](https://plus.google.com/+DolibarrOrg) +- [Twitter](http://www.twitter.com/dolibarr) +- [LinkedIn](https://www.linkedin.com/company/association-dolibarr) +- [YouTube](https://www.youtube.com/user/DolibarrERPCRM) +- [GitHub](https://github.com/Dolibarr/dolibarr) diff --git a/README.md b/README.md index f6f4b8be34f..91f99dc8025 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # DOLIBARR ERP & CRM -![Build status](https://img.shields.io/travis/Dolibarr/dolibarr/develop.svg) ![Downloads per day](https://img.shields.io/sourceforge/dd/dolibarr.svg) +![Build status](https://img.shields.io/travis/Dolibarr/dolibarr/develop.svg) ![Downloads per day](https://img.shields.io/sourceforge/dm/dolibarr.svg) Dolibarr ERP & CRM is a modern software to manage your organization's activity (contacts, suppliers, invoices, orders, stocks, agenda, ...). @@ -16,9 +16,9 @@ You can use it as a standalone application or as a web application to be able to Dolibarr is released under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version (GPL-3+). -See the [COPYING](COPYING) file for a full copy of the license. +See the [COPYING](https://github.com/Dolibarr/dolibarr/blob/develop/COPYING) file for a full copy of the license. -Other licenses apply for some included dependencies. See [COPYRIGHT](COPYRIGHT) for a full list. +Other licenses apply for some included dependencies. See [COPYRIGHT](https://github.com/Dolibarr/dolibarr/blob/develop/COPYRIGHT) for a full list. ## INSTALLING @@ -65,9 +65,9 @@ You can use a Web server and a supported database (MySQL recommended) to install *Note: migration process can safely be done multiple times.* -## NEWS +## WHAT'S NEW -See the [ChangeLog](ChangeLog) file. +See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) file. ## FEATURES @@ -153,9 +153,9 @@ Administrator, user, developer and translator's documentations are available alo Dolibarr is the work of many contributors over the years and uses some fine libraries. -See [COPYRIGHT](COPYRIGHT) file. +See [COPYRIGHT](https://github.com/Dolibarr/dolibarr/blob/develop/COPYRIGHT) file. -## SOCIAL NETWORKS +## NEWS AND SOCIAL NETWORKS Follow Dolibarr project on: diff --git a/composer.json b/composer.json index c5fab8bf290..9061efb3bfe 100644 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ "php": ">=5.3.0", "ext-curl": "*", "ccampbell/chromephp": "^4.1", - "ckeditor/ckeditor": "4.3.3", + "ckeditor/ckeditor": "dev-full/4.3.x#0b7c3f1", "mike42/escpos-php": "dev-master", "mobiledetect/mobiledetectlib": "2.8.3", - "phpoffice/phpexcel": "1.8.0", + "phpoffice/phpexcel": "1.8.1", "restler/framework": "^3.0", - "tecnick.com/tcpdf": "6.2.6", + "tecnickcom/tcpdf": "6.2.6", "raven/raven": "^0.12.0", "firephp/firephp-core": "^0.4.0" }, diff --git a/composer.lock b/composer.lock index 47122ebe431..99bf8d6fa10 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "d88b5c84a9ea1af354d867ba2e2ab251", - "content-hash": "85e60ec7f8ab593387c7bd10d8db860d", + "hash": "335eb7bd5c2eb116fd2da80b4f48e857", "packages": [ { "name": "ccampbell/chromephp", @@ -52,16 +51,16 @@ }, { "name": "ckeditor/ckeditor", - "version": "4.3.3", + "version": "dev-full/4.3.x", "source": { "type": "git", "url": "https://github.com/ckeditor/ckeditor-releases.git", - "reference": "0068dd540ce8bf1815abb7b5455c55354bc56334" + "reference": "0b7c3f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ckeditor/ckeditor-releases/zipball/0068dd540ce8bf1815abb7b5455c55354bc56334", - "reference": "0068dd540ce8bf1815abb7b5455c55354bc56334", + "url": "https://api.github.com/repos/ckeditor/ckeditor-releases/zipball/252e512e911f21d880ea542fe162c4643885b317", + "reference": "0b7c3f1", "shasum": "" }, "type": "library", @@ -89,7 +88,7 @@ "text", "wysiwyg" ], - "time": "2014-02-26 15:34:37" + "time": "2014-02-26 15:43:10" }, { "name": "firephp/firephp-core", @@ -239,16 +238,16 @@ }, { "name": "phpoffice/phpexcel", - "version": "1.8.0", + "version": "1.8.1", "source": { "type": "git", "url": "https://github.com/PHPOffice/PHPExcel.git", - "reference": "e69a5e4d0ffa7fb6f171859e0a04346e580df30b" + "reference": "372c7cbb695a6f6f1e62649381aeaa37e7e70b32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPOffice/PHPExcel/zipball/e69a5e4d0ffa7fb6f171859e0a04346e580df30b", - "reference": "e69a5e4d0ffa7fb6f171859e0a04346e580df30b", + "url": "https://api.github.com/repos/PHPOffice/PHPExcel/zipball/372c7cbb695a6f6f1e62649381aeaa37e7e70b32", + "reference": "372c7cbb695a6f6f1e62649381aeaa37e7e70b32", "shasum": "" }, "require": { @@ -292,7 +291,7 @@ "xls", "xlsx" ], - "time": "2014-03-02 15:22:49" + "time": "2015-05-01 07:00:55" }, { "name": "raven/raven", @@ -423,7 +422,7 @@ "time": "2015-08-04 07:52:49" }, { - "name": "tecnick.com/tcpdf", + "name": "tecnickcom/tcpdf", "version": "6.2.6", "source": { "type": "git", @@ -483,7 +482,6 @@ "pdf417", "qrcode" ], - "abandoned": "tecnickcom/tcpdf", "time": "2015-01-28 18:51:40" } ], @@ -491,6 +489,7 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { + "ckeditor/ckeditor": 20, "mike42/escpos-php": 20 }, "prefer-stable": false, diff --git a/dev/dolibarr_changes.txt b/dev/dolibarr_changes.txt index 9d449070a5f..f761bc940db 100644 --- a/dev/dolibarr_changes.txt +++ b/dev/dolibarr_changes.txt @@ -69,7 +69,7 @@ Add tcpdi.php Add tcpdi_parser.php and replace: require_once(dirname(__FILE__).'/include/tcpdf_filters.php'); with: -require_once(dirname(__FILE__).'/../tecnick.com/tcpdf/include/tcpdf_filters.php'); +require_once(dirname(__FILE__).'/../tecnickcom/tcpdf/include/tcpdf_filters.php'); diff --git a/dev/skeletons/skeleton_list.php b/dev/skeletons/skeleton_list.php index 3018a23fdea..686549f19a8 100644 --- a/dev/skeletons/skeleton_list.php +++ b/dev/skeletons/skeleton_list.php @@ -96,6 +96,23 @@ if (($id > 0 || ! empty($ref)) && $action != 'add') if ($result < 0) dol_print_error($db); } +// Definition of fields for list +$arrayfields=array( + 't.field1'=>array('label'=>$langs->trans("Field1"), 'checked'=>1), + 't.field2'=>array('label'=>$langs->trans("Field2"), 'checked'=>1), + //'t.entity'=>array('label'=>$langs->trans("Entity"), 'checked'=>1, 'enabled'=>(! empty($conf->multicompany->enabled) && empty($conf->multicompany->transverse_mode))), + 't.datec'=>array('label'=>$langs->trans("DateCreation"), 'checked'=>0, 'position'=>500), + 't.tms'=>array('label'=>$langs->trans("DateModificationShort"), 'checked'=>0, 'position'=>500), + //'t.statut'=>array('label'=>$langs->trans("Status"), 'checked'=>1, 'position'=>1000), +); +// Extra fields +if (is_array($extrafields->attribute_label) && count($extrafields->attribute_label)) +{ + foreach($extrafields->attribute_label as $key => $val) + { + $arrayfields["ef.".$key]=array('label'=>$extrafields->attribute_label[$key], 'checked'=>$extrafields->attribute_list[$key], 'position'=>$extrafields->attribute_pos[$key], 'enabled'=>$extrafields->attribute_perms[$key]); + } +} @@ -267,22 +284,6 @@ if ($resql) print ''; } - $arrayfields=array( - 't.field1'=>array('label'=>$langs->trans("Field1"), 'checked'=>1), - 't.field2'=>array('label'=>$langs->trans("Field2"), 'checked'=>1), - //'t.entity'=>array('label'=>$langs->trans("Entity"), 'checked'=>1, 'enabled'=>(! empty($conf->multicompany->enabled) && empty($conf->multicompany->transverse_mode))), - 't.datec'=>array('label'=>$langs->trans("DateCreation"), 'checked'=>0, 'position'=>500), - 't.tms'=>array('label'=>$langs->trans("DateModificationShort"), 'checked'=>0, 'position'=>500), - //'t.statut'=>array('label'=>$langs->trans("Status"), 'checked'=>1, 'position'=>1000), - ); - // Extra fields - if (is_array($extrafields->attribute_label) && count($extrafields->attribute_label)) - { - foreach($extrafields->attribute_label as $key => $val) - { - $arrayfields["ef.".$key]=array('label'=>$extrafields->attribute_label[$key], 'checked'=>$extrafields->attribute_list[$key], 'position'=>$extrafields->attribute_pos[$key], 'enabled'=>$extrafields->attribute_perms[$key]); - } - } $varpage=empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage; $selectedfields=$form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields diff --git a/dev/test/testtcpdf.php b/dev/test/testtcpdf.php index 6b600c630d3..ad67bce8af9 100755 --- a/dev/test/testtcpdf.php +++ b/dev/test/testtcpdf.php @@ -27,8 +27,8 @@ * @since 2008-03-04 */ -require_once('../../htdocs/includes/tecnick.com/tcpdf/config/tcpdf_config.php'); -require_once('../../htdocs/includes/tecnick.com/tcpdf/tcpdf.php'); +require_once('../../htdocs/includes/tecnickcom/tcpdf/config/tcpdf_config.php'); +require_once('../../htdocs/includes/tecnickcom/tcpdf/tcpdf.php'); // create new PDF document $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); diff --git a/dev/test/testutf.php b/dev/test/testutf.php index f60f9d195a3..cb83f431b93 100644 --- a/dev/test/testutf.php +++ b/dev/test/testutf.php @@ -47,8 +47,8 @@ print 'Files has been created. Check its name from your explorer'."\n"; * @since 2008-09-15 */ -require_once('../../htdocs/includes/tecnick.com/tcpdf/config/tcpdf_config.php'); -require_once('../../htdocs/includes/tecnick.com/tcpdf/tcpdf.php'); +require_once('../../htdocs/includes/tecnickcom/tcpdf/config/tcpdf_config.php'); +require_once('../../htdocs/includes/tecnickcom/tcpdf/tcpdf.php'); // create new PDF document $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 3083ac9505c..0045316d419 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -139,7 +139,7 @@ if (empty($reshook)) $object->fetch($id); $object->fk_prospectlevel=GETPOST('prospect_level_id','alpha'); $result=$object->set_prospect_level($user); - if ($result < 0) setEventMessage($object->error,$object->errors,'errors'); + if ($result < 0) setEventMessages($object->error, $object->errors, 'errors'); } // set communication status @@ -148,7 +148,7 @@ if (empty($reshook)) $object->fetch($id); $object->stcomm_id=dol_getIdFromCode($db, GETPOST('stcomm','alpha'), 'c_stcomm'); $result=$object->set_commnucation_level($user); - if ($result < 0) setEventMessages($object->error,$object->errors,'errors'); + if ($result < 0) setEventMessages($object->error, $object->errors, 'errors'); } // update outstandng limit diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index a3d30316522..65540732674 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -5,10 +5,10 @@ * Copyright (C) 2005-2015 Regis Houssin * Copyright (C) 2006 Andre Cianfarani * Copyright (C) 2010-2013 Juanjo Menent - * Copyright (C) 2011 Philippe Grand + * Copyright (C) 2011-2015 Philippe Grand * Copyright (C) 2012-2013 Christophe Battarel * Copyright (C) 2012 Marcos García - * Copyright (C) 2012 Cedric Salvador + * Copyright (C) 2012 Cedric Salvador * Copyright (C) 2013 Florian Henry * Copyright (C) 2014 Ferran Marcet * Copyright (C) 2015 Jean-François Ferry @@ -123,7 +123,7 @@ if (empty($reshook)) { if (1==0 && ! GETPOST('clone_content') && ! GETPOST('clone_receivers')) { - setEventMessage($langs->trans("NoCloneOptionsSpecified"), 'errors'); + setEventMessages($langs->trans("NoCloneOptionsSpecified"), null, 'errors'); } else { @@ -140,7 +140,7 @@ if (empty($reshook)) } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); $object = $orig; $action=''; } @@ -156,12 +156,11 @@ if (empty($reshook)) $result = $object->set_reopen($user); if ($result > 0) { - header('Location: '.$_SERVER["PHP_SELF"].'?id='.$object->id); - exit; + setEventMessages($langs->trans('OrderReopened', $object->ref), null); } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } } @@ -177,7 +176,7 @@ if (empty($reshook)) } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } @@ -208,7 +207,7 @@ if (empty($reshook)) } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } @@ -225,7 +224,7 @@ if (empty($reshook)) $datelivraison = dol_mktime(12, 0, 0, GETPOST('liv_month'), GETPOST('liv_day'), GETPOST('liv_year')); if ($datecommande == '') { - setEventMessage($langs->trans('ErrorFieldRequired', $langs->transnoentities('Date')), 'errors'); + setEventMessages($langs->trans('ErrorFieldRequired', $langs->transnoentities('Date')), null, 'errors'); $action = 'create'; $error++; } @@ -374,11 +373,11 @@ if (empty($reshook)) if ($reshook < 0) $error++; } else { - setEventMessage($srcobject->error, 'errors'); + setEventMessages($srcobject->error, $srcobject->errors, 'errors'); $error++; } } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); $error++; } } else { @@ -414,7 +413,7 @@ if (empty($reshook)) { $result = $object->add_contact(GETPOST('contactid'), 'CUSTOMER', 'external'); if ($result < 0) { - setEventMessage($langs->trans("ErrorFailedToAddContact"), 'errors'); + setEventMessages($langs->trans("ErrorFailedToAddContact"), null, 'errors'); $error++; } } @@ -432,7 +431,7 @@ if (empty($reshook)) } else { $db->rollback(); $action = 'create'; - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } } @@ -442,7 +441,7 @@ if (empty($reshook)) $ret=$object->classifyBilled(); if ($ret < 0) { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } @@ -471,7 +470,7 @@ if (empty($reshook)) $result = $object->set_date($user, $date); if ($result < 0) { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } @@ -481,7 +480,7 @@ if (empty($reshook)) $result = $object->set_date_livraison($user, $datelivraison); if ($result < 0) { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } @@ -529,16 +528,25 @@ if (empty($reshook)) elseif ($action == 'set_incoterms' && !empty($conf->incoterm->enabled)) { $result = $object->setIncoterms(GETPOST('incoterm_id', 'int'), GETPOST('location_incoterms', 'alpha')); + if ($result < 0) { + setEventMessages($object->error, $object->errors, 'errors'); + } } // bank account else if ($action == 'setbankaccount' && $user->rights->commande->creer) { $result=$object->setBankAccount(GETPOST('fk_account', 'int')); + if ($result < 0) { + setEventMessages($object->error, $object->errors, 'errors'); + } } // shipping method else if ($action == 'setshippingmethod' && $user->rights->commande->creer) { $result = $object->setShippingMethod(GETPOST('shipping_method_id', 'int')); + if ($result < 0) { + setEventMessages($object->error, $object->errors, 'errors'); + } } else if ($action == 'setremisepercent' && $user->rights->commande->creer) { @@ -586,11 +594,11 @@ if (empty($reshook)) } if (empty($idprod) && ($price_ht < 0) && ($qty < 0)) { - setEventMessage($langs->trans('ErrorBothFieldCantBeNegative', $langs->transnoentitiesnoconv('UnitPriceHT'), $langs->transnoentitiesnoconv('Qty')), 'errors'); + setEventMessages($langs->trans('ErrorBothFieldCantBeNegative', $langs->transnoentitiesnoconv('UnitPriceHT'), $langs->transnoentitiesnoconv('Qty')), null, 'errors'); $error++; } if (GETPOST('prod_entry_mode') == 'free' && empty($idprod) && GETPOST('type') < 0) { - setEventMessage($langs->trans('ErrorFieldRequired', $langs->transnoentitiesnoconv('Type')), 'errors'); + setEventMessages($langs->trans('ErrorFieldRequired', $langs->transnoentitiesnoconv('Type')), null, 'errors'); $error++; } if (GETPOST('prod_entry_mode') == 'free' && empty($idprod) && (! ($price_ht >= 0) || $price_ht == '')) // Unit price can be 0 but not '' @@ -599,11 +607,11 @@ if (empty($reshook)) $error++; } if ($qty == '') { - setEventMessage($langs->trans('ErrorFieldRequired', $langs->transnoentitiesnoconv('Qty')), 'errors'); + setEventMessages($langs->trans('ErrorFieldRequired', $langs->transnoentitiesnoconv('Qty')), null, 'errors'); $error++; } if (GETPOST('prod_entry_mode') == 'free' && empty($idprod) && empty($product_desc)) { - setEventMessage($langs->trans('ErrorFieldRequired', $langs->transnoentitiesnoconv('Description')), 'errors'); + setEventMessages($langs->trans('ErrorFieldRequired', $langs->transnoentitiesnoconv('Description')), null, 'errors'); $error++; } @@ -664,7 +672,7 @@ if (empty($reshook)) } else { - setEventMessage($prodcustprice->error,'errors'); + setEventMessages($prodcustprice->error, $prodcustprice->errors, 'errors'); } } @@ -748,7 +756,7 @@ if (empty($reshook)) if (! empty($price_min) && (price2num($pu_ht) * (1 - price2num($remise_percent) / 100) < price2num($price_min))) { $mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, - 1, $conf->currency)); - setEventMessage($mesg, 'errors'); + setEventMessages($mesg, null, 'errors'); } else { // Insert line $result = $object->addline($desc, $pu_ht, $qty, $tva_tx, $localtax1_tx, $localtax2_tx, $idprod, $remise_percent, $info_bits, 0, $price_base_type, $pu_ttc, $date_start, $date_end, $type, - 1, 0, GETPOST('fk_parent_line'), $fournprice, $buyingprice, $label, $array_options, $fk_unit); @@ -802,7 +810,7 @@ if (empty($reshook)) unset($_POST['date_endmonth']); unset($_POST['date_endyear']); } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } } @@ -866,7 +874,7 @@ if (empty($reshook)) $label = ((GETPOST('update_label') && GETPOST('product_label')) ? GETPOST('product_label') : ''); if ($price_min && (price2num($pu_ht) * (1 - price2num(GETPOST('remise_percent')) / 100) < price2num($price_min))) { - setEventMessage($langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, - 1, $conf->currency)), 'errors'); + setEventMessages($langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, - 1, $conf->currency)), null, 'errors'); $error++; } } else { @@ -914,7 +922,7 @@ if (empty($reshook)) unset($_POST['fournprice']); unset($_POST['buying_price']); } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } } @@ -947,7 +955,7 @@ if (empty($reshook)) if (! $idwarehouse || $idwarehouse == -1) { $error++; - setEventMessage($langs->trans('ErrorFieldRequired',$langs->transnoentitiesnoconv("Warehouse")), 'errors'); + setEventMessages($langs->trans('ErrorFieldRequired',$langs->transnoentitiesnoconv("Warehouse")), null, 'errors'); $action=''; } } @@ -1000,7 +1008,7 @@ if (empty($reshook)) if (! $idwarehouse || $idwarehouse == -1) { $error++; - setEventMessage($langs->trans('ErrorFieldRequired',$langs->transnoentitiesnoconv("Warehouse")), 'errors'); + setEventMessages($langs->trans('ErrorFieldRequired',$langs->transnoentitiesnoconv("Warehouse")), null, 'errors'); $action=''; } } @@ -1032,7 +1040,7 @@ if (empty($reshook)) else if ($action == 'confirm_shipped' && $confirm == 'yes' && $user->rights->commande->cloturer) { $result = $object->cloture($user); if ($result < 0) { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } @@ -1059,7 +1067,7 @@ if (empty($reshook)) if (! $idwarehouse || $idwarehouse == -1) { $error++; - setEventMessage($langs->trans('ErrorFieldRequired',$langs->transnoentitiesnoconv("Warehouse")), 'errors'); + setEventMessages($langs->trans('ErrorFieldRequired',$langs->transnoentitiesnoconv("Warehouse")), null, 'errors'); $action=''; } } @@ -1068,7 +1076,7 @@ if (empty($reshook)) $result = $object->cancel($idwarehouse); if ($result < 0) { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } } @@ -1115,9 +1123,9 @@ if (empty($reshook)) $file = $upload_dir . '/' . GETPOST('file'); $ret = dol_delete_file($file, 0, 0, 0, $object); if ($ret) - setEventMessage($langs->trans("FileWasRemoved", GETPOST('urlfile'))); + setEventMessages($langs->trans("FileWasRemoved", GETPOST('urlfile')), null, 'mesgs'); else - setEventMessage($langs->trans("ErrorFailToDeleteFile", GETPOST('urlfile')), 'errors'); + setEventMessages($langs->trans("ErrorFailToDeleteFile", GETPOST('urlfile')), null, 'errors'); $action = ''; } } @@ -1181,9 +1189,9 @@ if (empty($reshook)) } else { if ($object->error == 'DB_ERROR_RECORD_ALREADY_EXISTS') { $langs->load("errors"); - setEventMessage($langs->trans("ErrorThisContactIsAlreadyDefinedAsThisType"), 'errors'); + setEventMessages($langs->trans("ErrorThisContactIsAlreadyDefinedAsThisType"), null, 'errors'); } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } } diff --git a/htdocs/commande/contact.php b/htdocs/commande/contact.php index 6a322e8681e..c72e040e61c 100644 --- a/htdocs/commande/contact.php +++ b/htdocs/commande/contact.php @@ -2,7 +2,7 @@ /* Copyright (C) 2005 Patrick Rouillon * Copyright (C) 2005-2011 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2011-2012 Philippe Grand + * Copyright (C) 2011-2015 Philippe Grand * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -69,11 +69,11 @@ if ($action == 'addcontact' && $user->rights->commande->creer) if ($object->error == 'DB_ERROR_RECORD_ALREADY_EXISTS') { $langs->load("errors"); - setEventMessage($langs->trans("ErrorThisContactIsAlreadyDefinedAsThisType"), 'errors'); + setEventMessages($langs->trans("ErrorThisContactIsAlreadyDefinedAsThisType"), null, 'errors'); } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } } diff --git a/htdocs/commande/orderstoinvoice.php b/htdocs/commande/orderstoinvoice.php index 136ac6c1b89..1abffe069f4 100644 --- a/htdocs/commande/orderstoinvoice.php +++ b/htdocs/commande/orderstoinvoice.php @@ -74,7 +74,7 @@ if ($action == 'create') if (is_array($selected) == false) { $error++; - setEventMessage($langs->trans('Error_OrderNotChecked'), 'errors'); + setEventMessages($langs->trans('Error_OrderNotChecked'), null, 'errors'); } else { @@ -251,7 +251,7 @@ if (($action == 'create' || $action == 'add') && !$error) } else { - setEventMessage($discount->error, 'errors'); + setEventMessages($discount->error, $discount->errors, 'errors'); $error++; break; } @@ -320,7 +320,7 @@ if (($action == 'create' || $action == 'add') && !$error) } else { - setEventMessage($objectsrc->error, 'errors'); + setEventMessages($objectsrc->error, $objectsrc->errors, 'errors'); $error++; } $ii++; @@ -328,7 +328,7 @@ if (($action == 'create' || $action == 'add') && !$error) } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); $error++; } } @@ -348,7 +348,7 @@ if (($action == 'create' || $action == 'add') && !$error) $action='create'; $_GET["origin"]=$_POST["origin"]; $_GET["originid"]=$_POST["originid"]; - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); $error++; } } diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index b9c0d3821bc..d6f8652d31c 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -152,13 +152,13 @@ if ($action == 'add' && $id && ! isset($_POST["cancel"]) && $user->rights->banqu $insertid = $object->addline($dateop, $operation, $label, $amount, $num_chq, $cat1, $user); if ($insertid > 0) { - setEventMessage($langs->trans("RecordSaved")); + setEventMessages($langs->trans("RecordSaved"), null, 'mesgs'); header("Location: ".$_SERVER['PHP_SELF']."?id=".$id."&action=addline"); exit; } else { - setEventMessage($object->error, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); } } else diff --git a/htdocs/compta/bank/annuel.php b/htdocs/compta/bank/annuel.php index 68ef0a42e32..7b53d775cb6 100644 --- a/htdocs/compta/bank/annuel.php +++ b/htdocs/compta/bank/annuel.php @@ -291,7 +291,7 @@ if ($result < 0) { $langs->load("errors"); $error++; - setEventMessage($langs->trans("ErrorFailedToCreateDir"), 'errors'); + setEventMessages($langs->trans("ErrorFailedToCreateDir"), null, 'errors'); } else { diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index 063fee8ca78..fb8383cd91a 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -4,7 +4,7 @@ * Copyright (C) 2004-2015 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin * Copyright (C) 2014-2015 Alexandre Spangaro - * Copyright (C) 2015 Jean-François Ferry + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -102,19 +102,19 @@ if ($_POST["action"] == 'add') if ($conf->global->MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED && empty($account->account_number)) { - setEventMessage($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("AccountancyCode")), 'error'); + setEventMessages($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("AccountancyCode")), null, 'error'); $action='create'; // Force chargement page en mode creation $error++; } if (empty($account->ref)) { - setEventMessage($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("Ref")), 'errors'); + setEventMessages($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("Ref")), null, 'errors'); $action='create'; // Force chargement page en mode creation $error++; } if (empty($account->label)) { - setEventMessage($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("LabelBankCashAccount")), 'errors'); + setEventMessages($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("LabelBankCashAccount")), null, 'errors'); $action='create'; // Force chargement page en mode creation $error++; } @@ -130,7 +130,7 @@ if ($_POST["action"] == 'add') $_GET["id"]=$id; // Force chargement page en mode visu } else { - setEventMessage($account->error,'errors'); + setEventMessages($account->error, $account->errors, 'errors'); $action='create'; // Force chargement page en mode creation } } @@ -177,19 +177,19 @@ if ($_POST["action"] == 'update' && ! $_POST["cancel"]) if ($conf->global->MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED && empty($account->account_number)) { - setEventMessage($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("AccountancyCode")), 'error'); + setEventMessages($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("AccountancyCode")), null, 'error'); $action='edit'; // Force chargement page en mode creation $error++; } if (empty($account->ref)) { - setEventMessage($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("Ref")), 'errors'); + setEventMessages($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("Ref")), null, 'errors'); $action='edit'; // Force chargement page en mode creation $error++; } if (empty($account->label)) { - setEventMessage($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("LabelBankCashAccount")), 'errors'); + setEventMessages($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("LabelBankCashAccount")), null, 'errors'); $action='edit'; // Force chargement page en mode creation $error++; } @@ -206,7 +206,7 @@ if ($_POST["action"] == 'update' && ! $_POST["cancel"]) } else { - setEventMessage($account->error, 'errors'); + setEventMessages($account->error, $account->errors, 'errors'); $action='edit'; // Force chargement page edition } } diff --git a/htdocs/compta/bank/document.php b/htdocs/compta/bank/document.php index 0b588fa64d0..3b6957df40f 100644 --- a/htdocs/compta/bank/document.php +++ b/htdocs/compta/bank/document.php @@ -133,9 +133,9 @@ else if ($action == 'confirm_deletefile' && $confirm == 'yes') { $ret = dol_delete_file($file, 0, 0, 0, $object); if ($ret) { - setEventMessage($langs->trans("FileWasRemoved", GETPOST('urlfile'))); + setEventMessages($langs->trans("FileWasRemoved", GETPOST('urlfile')), null, 'mesgs'); } else { - setEventMessage($langs->trans("ErrorFailToDeleteFile", GETPOST('urlfile')), 'errors'); + setEventMessages($langs->trans("ErrorFailToDeleteFile", GETPOST('urlfile')), null, 'errors'); } Header('Location: ' . $_SERVER["PHP_SELF"] . '?id=' . $id); diff --git a/htdocs/compta/bank/graph.php b/htdocs/compta/bank/graph.php index 6f885e12bde..0764c87f5ab 100644 --- a/htdocs/compta/bank/graph.php +++ b/htdocs/compta/bank/graph.php @@ -81,7 +81,7 @@ if ($result < 0) { $langs->load("errors"); $error++; - setEventMessage($langs->trans("ErrorFailedToCreateDir"), 'errors'); + setEventMessages($langs->trans("ErrorFailedToCreateDir"), null, 'errors'); } else { @@ -113,7 +113,7 @@ else if ($mode == 'standard') { - // Chargement du tableau $amounts + // Loading table $amounts $amounts = array(); $monthnext = $month+1; @@ -153,7 +153,7 @@ else dol_print_error($db); } - // Calcul de $solde avant le debut du graphe + // Calculation of $solde before the start of the graph $solde = 0; $sql = "SELECT SUM(b.amount)"; @@ -265,7 +265,7 @@ else if ($mode == 'standard') { - // Chargement du tableau $amounts + // Loading table $amounts $amounts = array(); $sql = "SELECT date_format(b.datev,'%Y%m%d')"; $sql.= ", SUM(b.amount)"; @@ -296,7 +296,7 @@ else dol_print_error($db); } - // Calcul de $solde avant le debut du graphe + // Calculation of $solde before the start of the graph $solde = 0; $sql = "SELECT SUM(b.amount)"; @@ -403,7 +403,7 @@ else if ($mode == 'showalltime') { - // Chargement du tableau $amounts + // Loading table $amounts $amounts = array(); $sql = "SELECT date_format(b.datev,'%Y%m%d')"; diff --git a/htdocs/compta/bank/index.php b/htdocs/compta/bank/index.php index 46b382ed080..7ea3bf1be5a 100644 --- a/htdocs/compta/bank/index.php +++ b/htdocs/compta/bank/index.php @@ -113,7 +113,7 @@ foreach ($accounts as $key=>$type) { $result=$acc->load_board($user,$acc->id); if ($result<0) { - setEventMessage($acc->error, 'errors'); + setEventMessages($acc->error, $acc->errors, 'errors'); } else { print $result->nbtodo; if ($result->nbtodolate) print ' ('.$result->nbtodolate.img_warning($langs->trans("Late")).')'; @@ -229,7 +229,7 @@ foreach ($accounts as $key=>$type) { $result=$acc->load_board($user,$acc->id); if ($result<0) { - setEventMessage($acc->error, 'errors'); + setEventMessages($acc->error, $acc->errors, 'errors'); } else { print $result->nbtodo; if ($result->nbtodolate) print ' ('.$result->nbtodolate.img_warning($langs->trans("Late")).')'; diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php index d210e209b59..0f73e5cb6cf 100644 --- a/htdocs/compta/bank/ligne.php +++ b/htdocs/compta/bank/ligne.php @@ -104,7 +104,7 @@ if ($user->rights->banque->modifier && $action == "update") if ($ac->courant == 2 && $_POST['value'] != 'LIQ') { - setEventMessage($langs->trans("ErrorCashAccountAcceptsOnlyCashMoney"), 'errors'); + setEventMessages($langs->trans("ErrorCashAccountAcceptsOnlyCashMoney"), null, 'errors'); $error++; } @@ -146,7 +146,7 @@ if ($user->rights->banque->modifier && $action == "update") $result = $db->query($sql); if ($result) { - setEventMessage($langs->trans("RecordSaved")); + setEventMessages($langs->trans("RecordSaved"), null, 'mesgs'); $db->commit(); } else @@ -184,7 +184,7 @@ if ($user->rights->banque->consolidate && ($action == 'num_releve' || $action == $result = $db->query($sql); if ($result) { - setEventMessage($langs->trans("RecordSaved")); + setEventMessages($langs->trans("RecordSaved"), null, 'mesgs'); $db->commit(); } else @@ -205,7 +205,7 @@ $form = new Form($db); llxHeader(); -// On initialise la liste des categories +// The list of categories is initialized $sql = "SELECT rowid, label"; $sql.= " FROM ".MAIN_DB_PREFIX."bank_categ"; $sql.= " ORDER BY label"; diff --git a/htdocs/compta/bank/rappro.php b/htdocs/compta/bank/rappro.php index 332e7fffe60..82070a957e2 100644 --- a/htdocs/compta/bank/rappro.php +++ b/htdocs/compta/bank/rappro.php @@ -71,7 +71,7 @@ if ($action == 'rappro' && $user->rights->banque->consolidate) $result=$bankline->update_conciliation($user,$_POST["cat"]); if ($result < 0) { - setEventMessage($bankline->error, 'errors'); + setEventMessages($bankline->error, $bankline->errors, 'errors'); $error++; break; } @@ -83,7 +83,7 @@ if ($action == 'rappro' && $user->rights->banque->consolidate) { $error++; $langs->load("errors"); - setEventMessage($langs->trans("ErrorPleaseTypeBankTransactionReportName"), 'errors'); + setEventMessages($langs->trans("ErrorPleaseTypeBankTransactionReportName"), null, 'errors'); } if (! $error) diff --git a/htdocs/compta/bank/virement.php b/htdocs/compta/bank/virement.php index 56071d61f9b..4e323893d85 100644 --- a/htdocs/compta/bank/virement.php +++ b/htdocs/compta/bank/virement.php @@ -113,18 +113,18 @@ if ($action == 'add') if (! $error) { $mesgs = $langs->trans("TransferFromToDone","id."\">".$accountfrom->label."","id."\">".$accountto->label."",$amount,$langs->transnoentities("Currency".$conf->currency)); - setEventMessage($mesgs); + setEventMessages($mesgs, null, 'mesgs'); $db->commit(); } else { - setEventMessage($accountfrom->error.' '.$accountto->error, 'errors'); + setEventMessages($accountfrom->error.' '.$accountto->error, null, 'errors'); $db->rollback(); } } else { - setEventMessage($langs->trans("ErrorFromToAccountsMustDiffers"), 'errors'); + setEventMessages($langs->trans("ErrorFromToAccountsMustDiffers"), null, 'errors'); } } } @@ -132,7 +132,7 @@ if ($action == 'add') /* - * Affichage + * View */ llxHeader(); diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php index ee5c24f3017..d10e34227d6 100644 --- a/htdocs/contact/list.php +++ b/htdocs/contact/list.php @@ -122,6 +122,34 @@ $fieldstosearchall = array( 's.nom'=>"ThirdParty", ); +// Definition of fields for list +$arrayfields=array( + 'p.lastname'=>array('label'=>$langs->trans("Lastname"), 'checked'=>1), + 'p.firstname'=>array('label'=>$langs->trans("Firsname"), 'checked'=>1), + 'p.poste'=>array('label'=>$langs->trans("Post"), 'checked'=>1), + 'p.town'=>array('label'=>$langs->trans("Town"), 'checked'=>0), + 'p.zip'=>array('label'=>$langs->trans("Zip"), 'checked'=>0), + 'p.phone'=>array('label'=>$langs->trans("PhonePro"), 'checked'=>1), + 'p.phone_perso'=>array('label'=>$langs->trans("PhonePerso"), 'checked'=>0), + 'p.phone_mobile'=>array('label'=>$langs->trans("PhoneMobile"), 'checked'=>1), + 'p.fax'=>array('label'=>$langs->trans("Fax"), 'checked'=>1), + 'p.email'=>array('label'=>$langs->trans("Email"), 'checked'=>1), + 'p.skype'=>array('label'=>$langs->trans("Skype"), 'checked'=>1, 'enabled'=>(! empty($conf->skype->enabled))), + 'p.thirdparty'=>array('label'=>$langs->trans("ThirdParty"), 'checked'=>1, 'enabled'=>empty($conf->global->SOCIETE_DISABLE_CONTACTS)), + 'p.priv'=>array('label'=>$langs->trans("ContactVisibility"), 'checked'=>1, 'position'=>200), + 'p.datec'=>array('label'=>$langs->trans("DateCreation"), 'checked'=>0, 'position'=>500), + 'p.tms'=>array('label'=>$langs->trans("DateModificationShort"), 'checked'=>0, 'position'=>500), + 'p.statut'=>array('label'=>$langs->trans("Status"), 'checked'=>1, 'position'=>1000), +); +// Extra fields +if (is_array($extrafields->attribute_label) && count($extrafields->attribute_label)) +{ + foreach($extrafields->attribute_label as $key => $val) + { + $arrayfields["ef.".$key]=array('label'=>$extrafields->attribute_label[$key], 'checked'=>$extrafields->attribute_list[$key], 'position'=>$extrafields->attribute_pos[$key], 'enabled'=>$extrafields->attribute_perms[$key]); + } +} + /* * Actions @@ -386,35 +414,10 @@ if ($result) print ''; } - $arrayfields=array( - 'p.lastname'=>array('label'=>$langs->trans("Lastname"), 'checked'=>1), - 'p.firstname'=>array('label'=>$langs->trans("Firsname"), 'checked'=>1), - 'p.poste'=>array('label'=>$langs->trans("Post"), 'checked'=>1), - 'p.town'=>array('label'=>$langs->trans("Town"), 'checked'=>0), - 'p.zip'=>array('label'=>$langs->trans("Zip"), 'checked'=>0), - 'p.phone'=>array('label'=>$langs->trans("PhonePro"), 'checked'=>1), - 'p.phone_perso'=>array('label'=>$langs->trans("PhonePerso"), 'checked'=>0), - 'p.phone_mobile'=>array('label'=>$langs->trans("PhoneMobile"), 'checked'=>1), - 'p.fax'=>array('label'=>$langs->trans("Fax"), 'checked'=>1), - 'p.email'=>array('label'=>$langs->trans("Email"), 'checked'=>1), - 'p.skype'=>array('label'=>$langs->trans("Skype"), 'checked'=>1, 'enabled'=>(! empty($conf->skype->enabled))), - 'p.thirdparty'=>array('label'=>$langs->trans("ThirdParty"), 'checked'=>1, 'enabled'=>empty($conf->global->SOCIETE_DISABLE_CONTACTS)), - 'p.priv'=>array('label'=>$langs->trans("ContactVisibility"), 'checked'=>1, 'position'=>200), - 'p.datec'=>array('label'=>$langs->trans("DateCreation"), 'checked'=>0, 'position'=>500), - 'p.tms'=>array('label'=>$langs->trans("DateModificationShort"), 'checked'=>0, 'position'=>500), - 'p.statut'=>array('label'=>$langs->trans("Status"), 'checked'=>1, 'position'=>1000), - ); - // Extra fields - if (is_array($extrafields->attribute_label) && count($extrafields->attribute_label)) - { - foreach($extrafields->attribute_label as $key => $val) - { - $arrayfields["ef.".$key]=array('label'=>$extrafields->attribute_label[$key], 'checked'=>$extrafields->attribute_list[$key], 'position'=>$extrafields->attribute_pos[$key], 'enabled'=>$extrafields->attribute_perms[$key]); - } - } $varpage=empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage; $selectedfields=$form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields - print ''; + + print '
'; // Ligne des titres print ''; diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 907c9c7b46b..e4bb572a3eb 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -2866,6 +2866,7 @@ abstract class CommonObject } else { + $this->errors[] = $this->db->lasterror(); return false; } } @@ -2903,6 +2904,7 @@ abstract class CommonObject } else { + $this->errors[] = $this->db->lasterror(); return -1; } } diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 0a46339043b..a9c59b71aaf 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -76,7 +76,7 @@ class Form * @param string $htmlname Name of select field ('edit' prefix will be added) * @param string $preselected Name of Value to show/edit (not used in this function) * @param object $object Object - * @param boolean $perm Permission to allow button to edit parameter + * @param boolean $perm Permission to allow button to edit parameter. Set it to 0 to have a not edited field. * @param string $typeofdata Type of data ('string' by default, 'email', 'numeric:99', 'text' or 'textarea:rows:cols', 'day' or 'datepicker', 'ckeditor:dolibarr_zzz:width:height:savemethod:1:rows:cols', 'select;xxx[:class]'...) * @param string $moreparam More param to add on a href URL * @return string HTML edit field @@ -104,11 +104,11 @@ class Form } else { - $ret.='
'; + if (GETPOST('action') != 'edit'.$htmlname && $perm) $ret.=''; + if (GETPOST('action') != 'edit'.$htmlname && $perm) $ret.=''; if (GETPOST('action') != 'edit'.$htmlname && $perm) $ret.=''; - $ret.='
'; $ret.=$langs->trans($text); - $ret.='id.$moreparam.'">'.img_edit($langs->trans('Edit'),1).'
'; + if (GETPOST('action') != 'edit'.$htmlname && $perm) $ret.='
'; } return $ret; diff --git a/htdocs/core/class/menu.class.php b/htdocs/core/class/menu.class.php index 737e682bba3..0715c2fafdc 100644 --- a/htdocs/core/class/menu.class.php +++ b/htdocs/core/class/menu.class.php @@ -98,4 +98,18 @@ class Menu if (count($this->liste) > 1) array_pop($this->liste); } + /** + * Return number of visible entries (gray or not) + * + * @return int Number of visible (gray or not) menu entries + */ + function getNbOfVisibleMenuEntries() + { + $nb=0; + foreach($this->liste as $val) + { + if (! empty($val['enabled'])) $nb++; + } + return $nb; + } } diff --git a/htdocs/core/lib/ajax.lib.php b/htdocs/core/lib/ajax.lib.php index a4a94fe66c9..97ca06be08a 100644 --- a/htdocs/core/lib/ajax.lib.php +++ b/htdocs/core/lib/ajax.lib.php @@ -52,16 +52,13 @@ function ajax_autocompleter($selected, $htmlname, $url, $urloption='', $minLengt // Remove product id before select another product // use keyup instead change to avoid loosing the product id $("input#search_'.$htmlname.'").keydown(function() { - //console.log(\'purge_id_after_keydown\'); $("#'.$htmlname.'").val(""); }); $("input#search_'.$htmlname.'").change(function() { - //console.log(\'change\'); $("#'.$htmlname.'").trigger("change"); }); // Check when keyup $("input#search_'.$htmlname.'").keyup(function() { - //console.log(\'keyup\'); if ($(this).val().length == 0) { $("#search_'.$htmlname.'").val(""); @@ -127,7 +124,6 @@ function ajax_autocompleter($selected, $htmlname, $url, $urloption='', $minLengt dataType: "json", minLength: '.$minLength.', select: function( event, ui ) { // Function ran when new value is selected into javascript combo - //console.log(\'set value of id with \'+ui.item.id); $("#'.$htmlname.'").val(ui.item.id).trigger("change"); // Select new value // Disable an element if (options.option_disabled) { @@ -171,8 +167,6 @@ function ajax_autocompleter($selected, $htmlname, $url, $urloption='', $minLengt } }); } - console.log("ajax_autocompleter new value selected, we trigger change"); - $("#search_'.$htmlname.'").trigger("change"); // To tell that input text field was modified } ,delay: 500 }).data("ui-autocomplete")._renderItem = function( ul, item ) { diff --git a/htdocs/core/menus/standard/auguria_menu.php b/htdocs/core/menus/standard/auguria_menu.php index a7c701aaeff..ae173504ed6 100644 --- a/htdocs/core/menus/standard/auguria_menu.php +++ b/htdocs/core/menus/standard/auguria_menu.php @@ -157,9 +157,9 @@ class MenuManager /** * Show menu * - * @param string $mode 'top', 'left', 'jmobile' + * @param string $mode 'top', 'left', 'jmobile' * @param array $moredata An array with more data to output - * @return string + * @return int 0 or nb of top menu entries if $mode = 'topnb' */ function showmenu($mode, $moredata=null) { @@ -169,8 +169,8 @@ class MenuManager if ($this->type_user == 1) { - $conf->global->MAIN_SEARCHFORM_SOCIETE=0; - $conf->global->MAIN_SEARCHFORM_CONTACT=0; + $conf->global->MAIN_SEARCHFORM_SOCIETE_DISABLED=1; + $conf->global->MAIN_SEARCHFORM_CONTACT_DISABLED=1; } require_once DOL_DOCUMENT_ROOT.'/core/class/menu.class.php'; @@ -178,6 +178,13 @@ class MenuManager if ($mode == 'top') print_auguria_menu($this->db,$this->atarget,$this->type_user,$this->tabMenu,$this->menu,0); if ($mode == 'left') print_left_auguria_menu($this->db,$this->menu_array,$this->menu_array_after,$this->tabMenu,$this->menu,0,'','',$moredata); + + if ($mode == 'topnb') + { + print_auguria_menu($this->db,$this->atarget,$this->type_user,$this->tabMenu,$this->menu,1); + return $this->menu->getNbOfVisibleMenuEntries(); + } + if ($mode == 'jmobile') { print_auguria_menu($this->db,$this->atarget,$this->type_user,$this->tabMenu,$this->menu,1); diff --git a/htdocs/core/menus/standard/eldy_menu.php b/htdocs/core/menus/standard/eldy_menu.php index 4326de6d98f..354f7de1453 100644 --- a/htdocs/core/menus/standard/eldy_menu.php +++ b/htdocs/core/menus/standard/eldy_menu.php @@ -113,7 +113,7 @@ class MenuManager * * @param string $mode 'top', 'left', 'jmobile' * @param array $moredata An array with more data to output - * @return string + * @return int 0 or nb of top menu entries if $mode = 'topnb' */ function showmenu($mode, $moredata=null) { @@ -123,8 +123,8 @@ class MenuManager if ($this->type_user == 1) { - $conf->global->MAIN_SEARCHFORM_SOCIETE=0; - $conf->global->MAIN_SEARCHFORM_CONTACT=0; + $conf->global->MAIN_SEARCHFORM_SOCIETE_DISABLED=0; + $conf->global->MAIN_SEARCHFORM_CONTACT_DISABLED=1; } require_once DOL_DOCUMENT_ROOT.'/core/class/menu.class.php'; @@ -142,6 +142,12 @@ class MenuManager if ($mode == 'left') print_eldy_menu($this->db,$this->atarget,$this->type_user,$this->tabMenu,$this->menu,0); } + if ($mode == 'topnb') + { + print_eldy_menu($this->db,$this->atarget,$this->type_user,$this->tabMenu,$this->menu,1); + return $this->menu->getNbOfVisibleMenuEntries(); + } + if ($mode == 'jmobile') { print_eldy_menu($this->db,$this->atarget,$this->type_user,$this->tabMenu,$this->menu,1); @@ -238,6 +244,7 @@ class MenuManager unset($this->menu); //print 'xx'.$mode; + return 0; } } diff --git a/htdocs/core/menus/standard/empty.php b/htdocs/core/menus/standard/empty.php index e1b240a8e5e..60f9f3cec7f 100644 --- a/htdocs/core/menus/standard/empty.php +++ b/htdocs/core/menus/standard/empty.php @@ -62,7 +62,7 @@ class MenuManager * * @param string $mode 'top', 'left', 'jmobile' * @param array $moredata An array with more data to output - * @return string + * @return int 0 or nb of top menu entries if $mode = 'topnb' */ function showmenu($mode, $moredata=null) { @@ -78,6 +78,11 @@ class MenuManager $noout=0; if ($mode == 'jmobile') $noout=1; + if ($mode == 'topnb') + { + return 1; + } + if ($mode == 'top' || $mode == 'jmobile') { if (empty($noout)) print_start_menu_array_empty(); diff --git a/htdocs/core/tpl/objectline_create.tpl.php b/htdocs/core/tpl/objectline_create.tpl.php index ee70101318b..c757efa23b4 100644 --- a/htdocs/core/tpl/objectline_create.tpl.php +++ b/htdocs/core/tpl/objectline_create.tpl.php @@ -523,7 +523,6 @@ jQuery(document).ready(function() { /* When changing predefined product, we reload list of supplier prices */ $("#idprod, #idprodfournprice").change(function() { - console.log("change #idprod, #idprodfournprice, conf->global->MARGIN_TYPE=global->MARGIN_TYPE ?>"); setforpredef(); jQuery('#trlinefordates').show(); diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php index 5a492940cf1..7abc17b49cd 100644 --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -208,7 +208,7 @@ define('MAIN_DB_PREFIX',$dolibarr_main_db_prefix); // Path to root libraries if (! defined('ADODB_PATH')) { define('ADODB_PATH', (!isset($dolibarr_lib_ADODB_PATH))?DOL_DOCUMENT_ROOT.'/includes/adodbtime/':(empty($dolibarr_lib_ADODB_PATH)?'':$dolibarr_lib_ADODB_PATH.'/')); } if (! defined('FPDF_PATH')) { define('FPDF_PATH', (empty($dolibarr_lib_FPDF_PATH))?DOL_DOCUMENT_ROOT.'/includes/fpdf/':$dolibarr_lib_FPDF_PATH.'/'); } // Used only for package that can't include tcpdf -if (! defined('TCPDF_PATH')) { define('TCPDF_PATH', (empty($dolibarr_lib_TCPDF_PATH))?DOL_DOCUMENT_ROOT.'/includes/tecnick.com/tcpdf/':$dolibarr_lib_TCPDF_PATH.'/'); } +if (! defined('TCPDF_PATH')) { define('TCPDF_PATH', (empty($dolibarr_lib_TCPDF_PATH))?DOL_DOCUMENT_ROOT.'/includes/tecnickcom/tcpdf/':$dolibarr_lib_TCPDF_PATH.'/'); } if (! defined('FPDI_PATH')) { define('FPDI_PATH', (empty($dolibarr_lib_FPDI_PATH))?DOL_DOCUMENT_ROOT.'/includes/fpdfi/':$dolibarr_lib_FPDI_PATH.'/'); } if (! defined('TCPDI_PATH')) { define('TCPDI_PATH', (empty($dolibarr_lib_TCPDI_PATH))?DOL_DOCUMENT_ROOT.'/includes/tcpdi/':$dolibarr_lib_TCPDI_PATH.'/'); } if (! defined('NUSOAP_PATH')) { define('NUSOAP_PATH', (!isset($dolibarr_lib_NUSOAP_PATH))?DOL_DOCUMENT_ROOT.'/includes/nusoap/lib/':(empty($dolibarr_lib_NUSOAP_PATH)?'':$dolibarr_lib_NUSOAP_PATH.'/')); } diff --git a/htdocs/hrm/admin/admin_establishment.php b/htdocs/hrm/admin/admin_establishment.php index 771f2e243bc..26e11dd6b94 100644 --- a/htdocs/hrm/admin/admin_establishment.php +++ b/htdocs/hrm/admin/admin_establishment.php @@ -33,9 +33,13 @@ if (! $user->admin) $error=0; -$action = GETPOST('action', 'alpha'); - -$object = new Establishment($db); +// List of statut +static $tmpstatus2label=array( + '0'=>'OpenEtablishment', + '1'=>'CloseEtablishment' +); +$status2label=array(''); +foreach ($tmpstatus2label as $key => $val) $status2label[$key]=$langs->trans($val); /* * Actions @@ -44,10 +48,24 @@ $object = new Establishment($db); /* * View */ -$page_name = "Establishments"; -llxHeader('', $langs->trans($page_name)); +llxHeader('', $langs->trans("Establishments")); + +$sortorder = GETPOST("sortorder"); +$sortfield = GETPOST("sortfield"); +if (!$sortorder) $sortorder="DESC"; +if (!$sortfield) $sortfield="e.rowid"; + +if ($page == -1) { + $page = 0 ; +} + +$offset = $conf->liste_limit * $page; +$pageprev = $page - 1; +$pagenext = $page + 1; +$limit = $conf->liste_limit; $form = new Form($db); +$establishmenttmp=new Establishment($db); dol_htmloutput_mesg($mesg); @@ -62,43 +80,50 @@ dol_fiche_head($head, 'establishments', $langs->trans("HRM"), 0, "user"); $sql = "SELECT e.rowid, e.name, e.address, e.zip, e.town, e.status"; $sql.= " FROM ".MAIN_DB_PREFIX."establishment as e"; $sql.= " WHERE e.entity = ".$conf->entity; +$sql.= $db->order($sortfield,$sortorder); +$sql.= $db->plimit($limit+1, $offset); $result = $db->query($sql); if ($result) { - $var=false; - $num = $db->num_rows($result); - - $i = 0; + $num = $db->num_rows($result); + $i = 0; // Load attribute_label print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; + print ""; + print_liste_field_titre($langs->trans("Name"),$_SERVER["PHP_SELF"],"e.name","","","",$sortfield,$sortorder); + print_liste_field_titre($langs->trans("Address"),$_SERVER["PHP_SELF"],"e.address","","","",$sortfield,$sortorder); + print_liste_field_titre($langs->trans("Zipcode"),$_SERVER["PHP_SELF"],"e.zip","","","",$sortfield,$sortorder); + print_liste_field_titre($langs->trans("Town"),$_SERVER["PHP_SELF"],"e.town","","","",$sortfield,$sortorder); + print_liste_field_titre($langs->trans("Status"),$_SERVER["PHP_SELF"],"e.status","","",'align="right"',$sortfield,$sortorder); + print "\n"; - if ($num) + $var=true; + + if ($num > 0) { $establishmentstatic=new Establishment($db); - while ($i < $num && $i < $max) - { + while ($i < min($num,$limit)) + { $obj = $db->fetch_object($result); - $fiscalyearstatic->id=$obj->rowid; - print ''; - print ''; - print ''; + + $establishmentstatic->id=$obj->rowid; + $establishmentstatic->name=$obj->name; + + $var=!$var; + print ''; + print ''; print ''; print ''; print ''; - print ''; - print ''; - $var=!$var; + + print ''; + print "\n"; + $i++; } diff --git a/htdocs/hrm/class/employee.class.php b/htdocs/hrm/class/employee.class.php index 4014bb717f2..1a1350b3b63 100644 --- a/htdocs/hrm/class/employee.class.php +++ b/htdocs/hrm/class/employee.class.php @@ -67,26 +67,41 @@ class Employee extends CommonObject * @param int $id Id of record to load * @return int <0 if KO, >0 if OK */ - function fetch($id) + function fetch($id='') { - $sql = "SELECT rowid, firstname, lastname, status, fk_user"; - $sql.= " FROM ".MAIN_DB_PREFIX."user"; + global $conf, $user; + + $sql = "SELECT e.rowid, e.firstname, e.lastname, e.gender, e.email, e.statut, e.entity, e.fk_user"; + $sql.= " FROM ".MAIN_DB_PREFIX."user as e"; $sql.= " WHERE rowid = ".$id; dol_syslog(get_class($this)."::fetch", LOG_DEBUG); $result = $this->db->query($sql); - if ( $result ) + if ($result) { $obj = $this->db->fetch_object($result); + if ($obj) + { + $this->id = $obj->rowid; + $this->lastname = $obj->lastname; + $this->firstname = $obj->firstname; + $this->gender = $obj->gender; + $this->address = $obj->address; + $this->zip = $obj->zip; + $this->town = $obj->town; + $this->statut = $obj->statut; + $this->photo = $obj->photo; - $this->id = $obj->rowid; - $this->name = $obj->name; - $this->address = $obj->address; - $this->zip = $obj->zip; - $this->town = $obj->town; - $this->status = $obj->status; + $this->db->free($result); + } + else + { + $this->error="EMPLOYEENOTFOUND"; + dol_syslog(get_class($this)."::fetch user not found", LOG_DEBUG); - return 1; + $this->db->free($result); + return 0; + } } else { diff --git a/htdocs/hrm/class/establishment.class.php b/htdocs/hrm/class/establishment.class.php index c5ba77fd547..88b765740ef 100644 --- a/htdocs/hrm/class/establishment.class.php +++ b/htdocs/hrm/class/establishment.class.php @@ -34,6 +34,7 @@ class Establishment extends CommonObject public $fk_element = 'fk_establishment'; protected $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe + var $id; var $rowid; var $name; @@ -43,6 +44,8 @@ class Establishment extends CommonObject var $status; // 0=open, 1=closed var $entity; + var $country_id; + var $statuts=array(); var $statuts_short=array(); @@ -69,12 +72,18 @@ class Establishment extends CommonObject */ function create($user) { - global $conf; + global $conf, $langs; $error = 0; - + $ret = 0; $now=dol_now(); + // Clean parameters + $this->address=($this->address>0?$this->address:$this->address); + $this->zip=($this->zip>0?$this->zip:$this->zip); + $this->town=($this->town>0?$this->town:$this->town); + $this->country_id=($this->country_id>0?$this->country_id:$this->country_id); + $this->db->begin(); $sql = "INSERT INTO ".MAIN_DB_PREFIX."establishment ("; @@ -83,22 +92,22 @@ class Establishment extends CommonObject $sql.= ", zip"; $sql.= ", town"; $sql.= ", status"; + $sql.= ", fk_country"; $sql.= ", entity"; $sql.= ", datec"; $sql.= ", fk_user_author"; $sql.= ") VALUES ("; - $sql.= " '".$this->name."'"; - $sql.= ", '".$this->address."'"; - $sql.= ", '".$this->zip."'"; - $sql.= ", '".$this->town."'"; + $sql.= " '".$this->db->escape($this->name)."'"; + $sql.= ", '".$this->db->escape($this->address)."'"; + $sql.= ", '".$this->db->escape($this->zip)."'"; + $sql.= ", '".$this->db->escape($this->town)."'"; + $sql.= ", ".$this->country_id; $sql.= ", ".$this->status; $sql.= ", ".$conf->entity; $sql.= ", '".$this->db->idate($now)."'"; $sql.= ", ". $user->id; $sql.= ")"; - $this->db->begin(); - dol_syslog(get_class($this)."::create", LOG_DEBUG); $resql = $this->db->query($sql); if (! $resql) { @@ -148,6 +157,7 @@ class Establishment extends CommonObject $sql .= ", address = '".$this->address."'"; $sql .= ", zip = '".$this->zip."'"; $sql .= ", town = '".$this->town."'"; + $sql .= ", status = '".$this->status."'"; $sql .= ", fk_user_mod = " . $user->id; $sql .= " WHERE rowid = ".$this->id; @@ -172,9 +182,11 @@ class Establishment extends CommonObject */ function fetch($id) { - $sql = "SELECT rowid, name, address, zip, town, status"; - $sql.= " FROM ".MAIN_DB_PREFIX."establishment"; - $sql.= " WHERE rowid = ".$id; + $sql = "SELECT e.rowid, e.name, e.address, e.zip, e.town, e.status, e.fk_country as country_id,"; + $sql.= ' c.code as country_code, c.label as country'; + $sql.= " FROM ".MAIN_DB_PREFIX."establishment as e"; + $sql.= ' LEFT JOIN '.MAIN_DB_PREFIX.'c_country as c ON e.fk_country = c.rowid'; + $sql.= " WHERE e.rowid = ".$id; dol_syslog(get_class($this)."::fetch", LOG_DEBUG); $result = $this->db->query($sql); @@ -189,6 +201,10 @@ class Establishment extends CommonObject $this->town = $obj->town; $this->status = $obj->status; + $this->country_id = $obj->country_id; + $this->country_code = $obj->country_code; + $this->country = $obj->country; + return 1; } else @@ -257,23 +273,23 @@ class Establishment extends CommonObject } if ($mode == 2) { - if ($status==0) return img_picto($langs->trans($this->statuts_short[$status]),'status4').' '.$langs->trans($this->statuts_short[$status]); - if ($status==1) return img_picto($langs->trans($this->statuts_short[$status]),'status8').' '.$langs->trans($this->statuts_short[$status]); + if ($status==0) return img_picto($langs->trans($this->statuts_short[$status]),'statut4').' '.$langs->trans($this->statuts_short[$status]); + if ($status==1) return img_picto($langs->trans($this->statuts_short[$status]),'statut8').' '.$langs->trans($this->statuts_short[$status]); } if ($mode == 3) { - if ($status==0 && ! empty($this->statuts_short[$status])) return img_picto($langs->trans($this->statuts_short[$status]),'status4'); - if ($status==1 && ! empty($this->statuts_short[$status])) return img_picto($langs->trans($this->statuts_short[$status]),'status8'); + if ($status==0 && ! empty($this->statuts_short[$status])) return img_picto($langs->trans($this->statuts_short[$status]),'statut4'); + if ($status==1 && ! empty($this->statuts_short[$status])) return img_picto($langs->trans($this->statuts_short[$status]),'statut8'); } if ($mode == 4) { - if ($status==0 && ! empty($this->statuts_short[$status])) return img_picto($langs->trans($this->statuts_short[$status]),'status4').' '.$langs->trans($this->statuts[$status]); - if ($status==1 && ! empty($this->statuts_short[$status])) return img_picto($langs->trans($this->statuts_short[$status]),'status8').' '.$langs->trans($this->statuts[$status]); + if ($status==0 && ! empty($this->statuts_short[$status])) return img_picto($langs->trans($this->statuts_short[$status]),'statut4').' '.$langs->trans($this->statuts[$status]); + if ($status==1 && ! empty($this->statuts_short[$status])) return img_picto($langs->trans($this->statuts_short[$status]),'statut8').' '.$langs->trans($this->statuts[$status]); } if ($mode == 5) { - if ($status==0 && ! empty($this->statuts_short[$status])) return $langs->trans($this->statuts_short[$status]).' '.img_picto($langs->trans($this->statuts_short[$status]),'status4'); - if ($status==1 && ! empty($this->statuts_short[$status])) return $langs->trans($this->statuts_short[$status]).' '.img_picto($langs->trans($this->statuts_short[$status]),'status8'); + if ($status==0 && ! empty($this->statuts_short[$status])) return $langs->trans($this->statuts_short[$status]).' '.img_picto($langs->trans($this->statuts_short[$status]),'statut4'); + if ($status==1 && ! empty($this->statuts_short[$status])) return $langs->trans($this->statuts_short[$status]).' '.img_picto($langs->trans($this->statuts_short[$status]),'statut8'); } } @@ -298,20 +314,22 @@ class Establishment extends CommonObject { $obj = $this->db->fetch_object($result); $this->id = $obj->rowid; + + $this->date_creation = $this->db->jdate($obj->datec); if ($obj->fk_user_author) { $cuser = new User($this->db); $cuser->fetch($obj->fk_user_author); $this->user_creation = $cuser; } - if ($obj->fk_user_modif) + if ($obj->fk_user_mod) { $muser = new User($this->db); $muser->fetch($obj->fk_user_mod); $this->user_modification = $muser; + + $this->date_modification = $this->db->jdate($obj->tms); } - $this->date_creation = $this->db->jdate($obj->datec); - $this->date_modification = $this->db->jdate($obj->tms); } $this->db->free($result); } @@ -321,4 +339,46 @@ class Establishment extends CommonObject } } + /** + * Return clicable name (with picto eventually) + * + * @param int $withpicto 0=No picto, 1=Include picto into link, 2=Only picto + * @return string String with URL + */ + function getNomUrl($withpicto=0) + { + global $langs; + + $result=''; + + $link = ''; + $linkend=''; + + $picto='building'; + + $label=$langs->trans("Show").': '.$this->name; + + if ($withpicto) $result.=($link.img_object($label,$picto).$linkend); + if ($withpicto && $withpicto != 2) $result.=' '; + if ($withpicto != 2) $result.=$link.$this->name.$linkend; + return $result; + } + + /** + * Return account country code + * + * @return string country code + */ + function getCountryCode() + { + global $mysoc; + + // We return country code of bank account + if (! empty($this->country_code)) return $this->country_code; + + // We return country code of managed company + if (! empty($mysoc->country_code)) return $mysoc->country_code; + + return ''; + } } diff --git a/htdocs/hrm/employee/list.php b/htdocs/hrm/employee/list.php index 1635ba41cda..86e1f3d10d5 100644 --- a/htdocs/hrm/employee/list.php +++ b/htdocs/hrm/employee/list.php @@ -169,8 +169,8 @@ if ($result) $employeestatic->email=$obj->email; $employeestatic->gender=$obj->gender; $employeestatic->societe_id=$obj->fk_soc; - $employeestatic->firstname=''; - $employeestatic->lastname=$obj->login; + $employeestatic->firstname=$obj->firstname; + $employeestatic->lastname=$obj->lastname; $li=$employeestatic->getNomUrl(1,'',0,0,24,1); @@ -203,8 +203,7 @@ if ($result) print ''; // Statut - $employeestatic->statut=$obj->statut; - print ''; + print ''; print ''; print "\n"; $i++; diff --git a/htdocs/hrm/establishment/card.php b/htdocs/hrm/establishment/card.php index 533ad5117ff..10a1b42e961 100644 --- a/htdocs/hrm/establishment/card.php +++ b/htdocs/hrm/establishment/card.php @@ -81,34 +81,27 @@ else if ($action == 'add') if (empty($error)) { - $tmparray=getCountry(GETPOST('country_id','int'),'all',$db,$langs,0); - if (! empty($tmparray['id'])) - { - $object->country_id =$tmparray['id']; - $object->country_code =$tmparray['code']; - $object->country_label=$tmparray['label']; - } - $object->address = GETPOST('address', 'alpha'); $object->zip = GETPOST('zipcode', 'alpha'); $object->town = GETPOST('town', 'alpha'); - $object->fk_pays = $object->country_id; + $object->country_id = $_POST["country_id"]; $object->status = GETPOST('status','int'); $object->fk_user_author = $user->id; $object->datec = dol_now(); + + $id = $object->create($user); if ($id > 0) { header("Location: " . $_SERVER["PHP_SELF"] . "?id=" . $id); exit; - } - else - { - setEventMessage($object->error, 'errors'); - $action='create'; - } + } + else + { + setEventMessages($object->error, $object->errors, 'errors'); + } } else { @@ -131,12 +124,7 @@ else if ($action == 'update') $name = GETPOST('name', 'alpha'); if (empty($name)) { - setEventMessage($langs->trans('ErrorFieldRequired', $langs->trans('NameProperty')), 'errors'); - $error ++; - } - $typeid = GETPOST('typeid', 'int'); - if (empty($typeid)) { - setEventMessage($langs->trans('ErrorFieldRequired', $langs->trans('TypeProperty')), 'errors'); + setEventMessage($langs->trans('ErrorFieldRequired', $langs->trans('Name')), 'errors'); $error ++; } @@ -145,25 +133,23 @@ else if ($action == 'update') $object->address = GETPOST('address', 'alpha'); $object->zip = GETPOST('zipcode', 'alpha'); $object->town = GETPOST('town', 'alpha'); - $object->fk_pays = GETPOST('country_id', 'int'); - $object->rowid = GETPOST('id'); + $object->country_id = $_POST["country_id"]; $object->fk_user_mod = $user->id; - $id = $object->update(); + $result = $object->update(); - if ($id > 0) + if ($result > 0) { - header("Location: " . $_SERVER["PHP_SELF"] . "?id=" . $id); + header("Location: " . $_SERVER["PHP_SELF"] . "?id=" . $_POST['id']); exit; } - else - { - setEventMessage($object->error, 'errors'); - $action='create'; - } + else + { + setEventMessages($object->error, $object->errors, 'errors'); + } } } else { - header("Location: card.php?id=" . $id); + header("Location: " . $_SERVER["PHP_SELF"] . "?id=" . $_POST['id']); exit; } } @@ -193,11 +179,11 @@ if ($action == 'create') print '
'.$langs->trans("Ref").''.$langs->trans("Name").''.$langs->trans("Address").''.$langs->trans("Zipcode").''.$langs->trans("Town").''.$langs->trans("Status").'
'.img_object($langs->trans("ShowEstablishment"),"building").' '.$obj->rowid.''.$obj->name.'
'.$establishmentstatic->getNomUrl(1).''.$obj->address.''.$obj->zip.''.$obj->town.''.$establishmentstatic->LibStatut($obj->status,5).'
'; + print $establishmenttmp->getLibStatus(5); + print '
'.$employeestatic->getLibStatut(5).''.$employeestatic->getLibStatut(5).' 
'; // Name - print ''; + print ''; // Address print ''; - print ''; + print ''; print ''; @@ -205,7 +191,7 @@ if ($action == 'create') // Zipcode print ''; - print ''; + print ''; print ''; - print ''; + print ''; print ''; - print ''; + print ''; print ''; - print ''; + print ''; print ''; @@ -273,46 +259,43 @@ else if ($id) // Ref print ""; - print ''; // Name - print ''; // Address - print ''; - print ''; + print ''; print ''; - print ''; + print ''; // Zipcode / Town - print ''; - print ''; // Country - print ''; - print ''; + print ''; print ''; print ''; // Status - print ''; @@ -347,7 +330,7 @@ else if ($id) // Ref print ''; @@ -379,7 +362,14 @@ else if ($id) // Country print ''; print ''; - print ''; + print ''; print ''; // Status diff --git a/htdocs/hrm/establishment/info.php b/htdocs/hrm/establishment/info.php index 2bf014481ac..806bd893fbb 100644 --- a/htdocs/hrm/establishment/info.php +++ b/htdocs/hrm/establishment/info.php @@ -22,6 +22,7 @@ require('../../main.inc.php'); require_once DOL_DOCUMENT_ROOT.'/core/lib/hrm.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/hrm/class/establishment.class.php'; $langs->load("admin"); diff --git a/htdocs/includes/adodbtime/adodb-time.inc.php b/htdocs/includes/adodbtime/adodb-time.inc.php index 1be5f4cd607..c74778bb991 100644 --- a/htdocs/includes/adodbtime/adodb-time.inc.php +++ b/htdocs/includes/adodbtime/adodb-time.inc.php @@ -57,7 +57,7 @@ adodb_mktime(0,0,0,10,15,1582) - adodb_mktime(0,0,0,10,4,1582) COPYRIGHT -(c) 2003-2005 John Lim and released under BSD-style license except for code by +(c) 2003-2014 John Lim and released under BSD-style license except for code by jackbbs, which includes adodb_mktime, adodb_get_gmt_diff, adodb_is_leap_year and originally found at http://www.php.net/manual/en/function.mktime.php @@ -73,6 +73,9 @@ These should be posted to the ADOdb forums at FUNCTION DESCRIPTIONS +** FUNCTION adodb_time() + +Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT) as an unsigned integer. ** FUNCTION adodb_getdate($date=false) @@ -241,6 +244,14 @@ b. Implement daylight savings, which looks awfully complicated, see CHANGELOG +- 16 Jan 2011 0.36 +Added adodb_time() which returns current time. If > 2038, will return as float + +- 7 Feb 2011 0.35 +Changed adodb_date to be symmetric with adodb_mktime. See $jan1_71. fix for bc. + +- 13 July 2010 0.34 +Changed adodb_get_gm_diff to use DateTimeZone(). - 11 Feb 2008 0.33 * Bug in 0.32 fix for hour handling. Fixed. @@ -386,7 +397,7 @@ First implementation. /* Version Number */ -define('ADODB_DATE_VERSION',0.33); +define('ADODB_DATE_VERSION',0.35); $ADODB_DATETIME_CLASS = (PHP_VERSION >= 5.2); @@ -601,6 +612,12 @@ function adodb_date_test() else print "

Failed :-(

"; } +function adodb_time() +{ + $d = new DateTime(); + return $d->format('U'); +} + /** Returns day of week, 0 = Sunday,... 6=Saturday. Algorithm from PEAR::Date_Calc @@ -729,9 +746,17 @@ global $ADODB_DATETIME_CLASS; } else { if (isset($TZ)) return $TZ; $y = date('Y'); - $TZ = mktime(0,0,0,12,2,$y) - gmmktime(0,0,0,12,2,$y); + /* + if (function_exists('date_default_timezone_get') && function_exists('timezone_offset_get')) { + $tzonename = date_default_timezone_get(); + if ($tzonename) { + $tobj = new DateTimeZone($tzonename); + $TZ = -timezone_offset_get($tobj,new DateTime("now",$tzo)); + } + } + */ + if (empty($TZ)) $TZ = mktime(0,0,0,12,2,$y) - gmmktime(0,0,0,12,2,$y); } - return $TZ; } @@ -1006,7 +1031,6 @@ function adodb_tz_offset($gmt,$isphp5) return sprintf('%s%02d%02d',($gmt<=0)?'+':'-',floor($zhrs),($zhrs-$hrs)*60); else return sprintf('%s%02d%02d',($gmt<0)?'+':'-',floor($zhrs),($zhrs-$hrs)*60); - break; } @@ -1041,11 +1065,19 @@ function adodb_date($fmt,$d=false,$is_gmt=false) { static $daylight; global $ADODB_DATETIME_CLASS; +static $jan1_1971; + + + if (!isset($daylight)) { + $daylight = function_exists('adodb_daylight_sv'); + if (empty($jan1_1971)) $jan1_1971 = mktime(0,0,0,1,1,1971); // we only use date() when > 1970 as adodb_mktime() only uses mktime() when > 1970 + } if ($d === false) return ($is_gmt)? @gmdate($fmt): @date($fmt); if (!defined('ADODB_TEST_DATES')) { if ((abs($d) <= 0x7FFFFFFF)) { // check if number in 32-bit signed range - if (!defined('ADODB_NO_NEGATIVE_TS') || $d >= 0) // if windows, must be +ve integer + + if (!defined('ADODB_NO_NEGATIVE_TS') || $d >= $jan1_1971) // if windows, must be +ve integer return ($is_gmt)? @gmdate($fmt,$d): @date($fmt,$d); } @@ -1054,7 +1086,6 @@ global $ADODB_DATETIME_CLASS; $arr = _adodb_getdate($d,true,$is_gmt); - if (!isset($daylight)) $daylight = function_exists('adodb_daylight_sv'); if ($daylight) adodb_daylight_sv($arr, $is_gmt); $year = $arr['year']; @@ -1075,6 +1106,9 @@ global $ADODB_DATETIME_CLASS; */ for ($i=0; $i < $max; $i++) { switch($fmt[$i]) { + case 'e': + $dates .= date('e'); + break; case 'T': if ($ADODB_DATETIME_CLASS) { $dt = new DateTime(); @@ -1215,7 +1249,7 @@ function adodb_mktime($hr,$min,$sec,$mon=false,$day=false,$year=false,$is_dst=fa // for windows, we don't check 1970 because with timezone differences, // 1 Jan 1970 could generate negative timestamp, which is illegal - $usephpfns = (1971 < $year && $year < 2038 + $usephpfns = (1970 < $year && $year < 2038 || !defined('ADODB_NO_NEGATIVE_TS') && (1901 < $year && $year < 2038) ); @@ -1422,5 +1456,3 @@ global $ADODB_DATE_LOCALE; $ret = adodb_date($fmtdate, $ts, $is_gmt); return $ret; } - -?> \ No newline at end of file diff --git a/htdocs/includes/ckeditor/ckeditor/README.md b/htdocs/includes/ckeditor/ckeditor/README.md index c5a55cd88f8..d6b5e2af515 100644 --- a/htdocs/includes/ckeditor/ckeditor/README.md +++ b/htdocs/includes/ckeditor/ckeditor/README.md @@ -1,39 +1,82 @@ -CKEditor 4 -========== +CKEditor 4 - Releases +===================== -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -http://ckeditor.com - See LICENSE.md for license information. +## Releases Code -CKEditor is a text editor to be used inside web pages. It's not a replacement -for desktop text editors like Word or OpenOffice, but a component to be used as -part of web applications and websites. +This repository contains the official release versions of [CKEditor](http://ckeditor.com). + +There are four versions for each release — `standard-all`, `basic`, `standard`, and `full`. +They differ in the number of plugins that are compiled into the main `ckeditor.js` file as well as the toolbar configuration. + +See the [comparison](http://ckeditor.com/presets) of the `basic`, `standard`, and `full` installation presets for more details. + +The `standard-all` build includes all official CKSource plugins with only those from the `standard` installation preset compiled into the `ckeditor.js` file and enabled in the configuration. + +All versions available in this repository were built using [CKBuilder](http://ckeditor.com/builder), so they are optimized and ready to be used in a production environment. ## Documentation -The full editor documentation is available online at the following address: -http://docs.ckeditor.com +Developer documentation for CKEditor is available online at: . ## Installation -Installing CKEditor is an easy task. Just follow these simple steps: +### Git clone - 1. **Download** the latest version from the CKEditor website: - http://ckeditor.com. You should have already completed this step, but be - sure you have the very latest version. - 2. **Extract** (decompress) the downloaded file into the root of your website. +To install one of the available releases, just clone this repository and switch to the respective branch (see next section): -**Note:** CKEditor is by default installed in the `ckeditor` folder. You can -place the files in whichever you want though. + git clone -b git://github.com/ckeditor/ckeditor-releases.git + +### Git submodule + +If you are using git for your project and you want to integrate CKEditor, we recommend to add this repository as a +[submodule](http://git-scm.com/book/en/Git-Tools-Submodules). + + git submodule add -b git://github.com/ckeditor/ckeditor-releases.git + git commit -m "Added CKEditor submodule in directory." + +### Using Package Managers + +See the [Installing CKEditor with Package Managers](http://docs.ckeditor.com/#!/guide/dev_package_managers) article for more details about installing CKEditor with Bower and Composer. + +## Repository Structure + +### Branches + +This repository contains the following branches: + + - `master` and `latest` – the latest release of the `standard-all` preset (including betas). + - `stable` – the latest stable release of the `standard-all` preset (non-beta). + - `A.B.x` (e.g. `4.3.x`) – the latest release of the `standard-all` preset in the `A.B` branch. + - `(basic|standard|full)/stable` – the latest stable release tag point (non-beta). + - `(basic|standard|full)/latest` – the latest release tag point (including betas). + - `(basic|standard|full)/A.B.x` (e.g. `basic/4.0.x`) – the latest releases in the `A.B` branch. + +### Tags + +**Since version 4.3.3** this repository uses the following tag naming rules: + + - `x.y.z` – contains the `standard-all` editor build, e.g. `4.3.3`, `4.4.0` etc. + - `(basic|standard|full)/x.y.z` – contains the editor build with a given preset, e.g. `basic/4.3.3`. + +The version numbers follow the [Semantic Versioning 2.0.0](http://semver.org/) scheme. + +Up to version **4.3.2** the tags were released in the following form `x.y[.z]/(basic|standard|full)`. +For example: `4.0/basic`, `4.0.1/standard`. This convention was changed in CKEditor 4.3.3 to conform to the Semantic Versioning scheme. ## Checking Your Installation -The editor comes with a few sample pages that can be used to verify that -installation proceeded properly. Take a look at the `samples` directory. +The editor comes with a few sample pages that can be used to verify if the installation succeeded. Take a look at the `samples` directory. -To test your installation, just call the following page at your website: +To test your installation, just call the following page for your website: http:////samples/index.html For example: http://www.example.com/ckeditor/samples/index.html + +### License + +Licensed under the GPL, LGPL, and MPL licenses, at your choice. + +Please check the `LICENSE.md` file for more information about the license. \ No newline at end of file diff --git a/htdocs/includes/ckeditor/ckeditor/_source/CHANGES.md b/htdocs/includes/ckeditor/ckeditor/_source/CHANGES.md deleted file mode 100644 index a5bec2ba830..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/CHANGES.md +++ /dev/null @@ -1,442 +0,0 @@ -CKEditor 4 Changelog -==================== - -## CKEditor 4.3.3 - -Fixed Issues: - -* [#11500](http://dev.ckeditor.com/ticket/11500): [Webkit/Blink] Fixed: Selection lost when setting data in another inline editor. Additionally, [`selection.removeAllRanges()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.selection-method-removeAllRanges) is now scoped to selection's [root](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.selection-property-root). -* [#11104](http://dev.ckeditor.com/ticket/11104): [IE] Fixed: Various issues with scrolling and selection when focusing widgets. -* [#11487](http://dev.ckeditor.com/ticket/11487): Moving mouse over the [Enhanced Image](http://ckeditor.com/addon/image2) widget will no longer change the value returned by the [`editor.checkDirty()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-checkDirty) method. -* [#8673](http://dev.ckeditor.com/ticket/8673): [WebKit] Fixed: Cannot select and remove the [Page Break](http://ckeditor.com/addon/pagebreak). -* [#11413](http://dev.ckeditor.com/ticket/11413): Fixed: Incorrect [`editor.execCommand()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-execCommand) behavior. -* [#11438](http://dev.ckeditor.com/ticket/11438): Splitting table cells vertically is no longer changing table structure. -* [#8899](http://dev.ckeditor.com/ticket/8899): Fixed: Links in the [About CKEditor](http://ckeditor.com/addon/about) dialog window now open in a new browser window or tab. -* [#11490](http://dev.ckeditor.com/ticket/11490): Fixed: [Menu button](http://ckeditor.com/addon/menubutton) panel not showing in the source mode. -* [#11417](http://dev.ckeditor.com/ticket/11417): The [`widget.doubleclick`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-event-doubleclick) event is not canceled anymore after editing was triggered. -* [#11253](http://dev.ckeditor.com/ticket/11253): [IE] Fixed: Clipped upload button in the [Enhanced Image](http://ckeditor.com/addon/image2) dialog window. -* [#11359](http://dev.ckeditor.com/ticket/11359): Standardized the way anchors are discovered by the [Link](http://ckeditor.com/addon/link) plugin. -* [#11058](http://dev.ckeditor.com/ticket/11058): [IE8] Fixed: Error when deleting a table row. -* [#11508](http://dev.ckeditor.com/ticket/11508): Fixed: [`htmlDataProcessor`](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlDataProcessor) discovering protected attributes within other attributes' values. -* [#11533](http://dev.ckeditor.com/ticket/11533): Widgets: Avoid recurring upcasts if the DOM structure was modified during an upcast. -* [#11400](http://dev.ckeditor.com/ticket/11400): Fixed: The [`domObject.removeAllListeners()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.domObject-method-removeAllListeners) method does not remove custom listeners completely. -* [#11493](http://dev.ckeditor.com/ticket/11493): Fixed: The [`selection.getRanges()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.selection-method-getRanges) method does not override cached ranges when used with the `onlyEditables` argument. -* [#11390](http://dev.ckeditor.com/ticket/11390): [IE] All [XML](http://ckeditor.com/addon/xml) plugin [methods](http://docs.ckeditor.com/#!/api/CKEDITOR.xml) now work in IE10+. -* [#11542](http://dev.ckeditor.com/ticket/11542): [IE11] Fixed: Blurry toolbar icons when Right-to-Left UI language is set. -* [#11504](http://dev.ckeditor.com/ticket/11504): Fixed: When [`config.fullPage`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-fullPage) is set to `true`, entities are not encoded in editor output. -* [#11004](http://dev.ckeditor.com/ticket/11004): Integrated [Enhanced Image](http://ckeditor.com/addon/image2) dialog window with [Advanced Content Filter](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter). -* [#11439](http://dev.ckeditor.com/ticket/11439): Fixed: Properties get cloned in the Cell Properties dialog window if multiple cells are selected. - -## CKEditor 4.3.2 - -Fixed Issues: - -* [#11331](http://dev.ckeditor.com/ticket/11331): A menu button will have a changed label when selected instead of using the `aria-pressed` attribute. -* [#11177](http://dev.ckeditor.com/ticket/11177): Widget drag handler improvements: - * [#11176](http://dev.ckeditor.com/ticket/11176): Fixed: Initial position is not updated when the widget data object is empty. - * [#11001](http://dev.ckeditor.com/ticket/11001): Fixed: Multiple synchronous layout recalculations are caused by initial drag handler positioning causing performance issues. - * [#11161](http://dev.ckeditor.com/ticket/11161): Fixed: Drag handler is not repositioned in various situations. - * [#11281](http://dev.ckeditor.com/ticket/11281): Fixed: Drag handler and mask are duplicated after widget reinitialization. -* [#11207](http://dev.ckeditor.com/ticket/11207): [Firefox] Fixed: Misplaced [Enhanced Image](http://ckeditor.com/addon/image2) resizer in the inline editor. -* [#11102](http://dev.ckeditor.com/ticket/11102): `CKEDITOR.template` improvements: - * [#11102](http://dev.ckeditor.com/ticket/11102): Added newline character support. - * [#11216](http://dev.ckeditor.com/ticket/11216): Added "\\'" substring support. -* [#11121](http://dev.ckeditor.com/ticket/11121): [Firefox] Fixed: High Contrast mode is enabled when the editor is loaded in a hidden iframe. -* [#11350](http://dev.ckeditor.com/ticket/11350): The default value of [`config.contentsCss`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-contentsCss) is affected by [`CKEDITOR.getUrl()`](http://docs.ckeditor.com/#!/api/CKEDITOR-method-getUrl). -* [#11097](http://dev.ckeditor.com/ticket/11097): Improved the [Autogrow](http://ckeditor.com/addon/autogrow) plugin performance when dealing with very big tables. -* [#11290](http://dev.ckeditor.com/ticket/11290): Removed redundant code in the [Source Dialog](http://ckeditor.com/addon/sourcedialog) plugin. -* [#11133](http://dev.ckeditor.com/ticket/11133): [Page Break](http://ckeditor.com/addon/pagebreak) becomes editable if pasted. -* [#11126](http://dev.ckeditor.com/ticket/11126): Fixed: Native Undo executed once the bottom of the snapshot stack is reached. -* [#11131](http://dev.ckeditor.com/ticket/11131): [Div Editing Area](http://ckeditor.com/addon/divarea): Fixed: Error thrown when switching to source mode if the selection was in widget's nested editable. -* [#11139](http://dev.ckeditor.com/ticket/11139): [Div Editing Area](http://ckeditor.com/addon/divarea): Fixed: Elements Path is not cleared after switching to source mode. -* [#10778](http://dev.ckeditor.com/ticket/10778): Fixed a bug with range enlargement. The range no longer expands to visible whitespace. -* [#11146](http://dev.ckeditor.com/ticket/11146): [IE] Fixed: Preview window switches Internet Explorer to Quirks Mode. -* [#10762](http://dev.ckeditor.com/ticket/10762): [IE] Fixed: JavaScript code displayed in preview window's URL bar. -* [#11186](http://dev.ckeditor.com/ticket/11186): Introduced the [`widgets.repository.addUpcastCallback()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-method-addUpcastCallback) method that allows to block upcasting given element to a widget. -* [#11307](http://dev.ckeditor.com/ticket/11307): Fixed: Paste as Plain Text conflict with the [MooTools](http://mootools.net) library. -* [#11140](http://dev.ckeditor.com/ticket/11140): [IE11] Fixed: Anchors are not draggable. -* [#11379](http://dev.ckeditor.com/ticket/11379): Changed default contents `line-height` to unitless values to avoid huge text overlapping (like in [#9696](http://dev.ckeditor.com/ticket/9696)). -* [#10787](http://dev.ckeditor.com/ticket/10787): [Firefox] Fixed: Broken replacement of text while pasting into `div`-based editor. -* [#10884](http://dev.ckeditor.com/ticket/10884): Widgets integration with the [Show Blocks](http://ckeditor.com/addon/showblocks) plugin. -* [#11021](http://dev.ckeditor.com/ticket/11021): Fixed: An error thrown when selecting entire editable contents while fake selection is on. -* [#11086](http://dev.ckeditor.com/ticket/11086): [IE8] Re-enable inline widgets drag&drop in Internet Explorer 8. -* [#11372](http://dev.ckeditor.com/ticket/11372): Widgets: Special characters encoded twice in nested editables. -* [#10068](http://dev.ckeditor.com/ticket/10068): Fixed: Support for protocol-relative URLs. -* [#11283](http://dev.ckeditor.com/ticket/11283): [Enhanced Image](http://ckeditor.com/addon/image2): A `
` element with `text-align: center` and an image inside is not recognised correctly. -* [#11196](http://dev.ckeditor.com/ticket/11196): [Accessibility Instructions](http://ckeditor.com/addon/a11yhelp): Allowed additional keyboard button labels to be translated in the dialog window. - -## CKEditor 4.3.1 - -**Important Notes:** - -* To match the naming convention, the `language` button is now `Language` ([#11201](http://dev.ckeditor.com/ticket/11201)). -* [Enhanced Image](http://ckeditor.com/addon/image2) button, context menu, command, and icon names match those of the [Image](http://ckeditor.com/addon/image) plugin ([#11222](http://dev.ckeditor.com/ticket/11222)). - -Fixed Issues: - -* [#11244](http://dev.ckeditor.com/ticket/11244): Changed: The [`widget.repository.checkWidgets()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-method-checkWidgets) method now fires the [`widget.repository.checkWidgets`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-event-checkWidgets) event, so from CKEditor 4.3.1 it is preferred to use the method rather than fire the event. -* [#11171](http://dev.ckeditor.com/ticket/11171): Fixed: [`editor.insertElement()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertElement) and [`editor.insertText()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertText) methods do not call the [`widget.repository.checkWidgets()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-method-checkWidgets) method. -* [#11085](http://dev.ckeditor.com/ticket/11085): [IE8] Replaced preview generated by the [Mathematical Formulas](http://ckeditor.com/addon/mathjax) widget with a placeholder. -* [#11044](http://dev.ckeditor.com/ticket/11044): Enhanced WAI-ARIA support for the [Language](http://ckeditor.com/addon/language) plugin drop-down menu. -* [#11075](http://dev.ckeditor.com/ticket/11075): With drop-down menu button focused, pressing the *Down Arrow* key will now open the menu and focus its first option. -* [#11165](http://dev.ckeditor.com/ticket/11165): Fixed: The [File Browser](http://ckeditor.com/addon/filebrowser) plugin cannot be removed from the editor. -* [#11159](http://dev.ckeditor.com/ticket/11159): [IE9-10] [Enhanced Image](http://ckeditor.com/addon/image2): Fixed buggy discovery of image dimensions. -* [#11101](http://dev.ckeditor.com/ticket/11101): Drop-down lists no longer break when given double quotes. -* [#11077](http://dev.ckeditor.com/ticket/11077): [Enhanced Image](http://ckeditor.com/addon/image2): Empty undo step recorded when resizing the image. -* [#10853](http://dev.ckeditor.com/ticket/10853): [Enhanced Image](http://ckeditor.com/addon/image2): Widget has paragraph wrapper when de-captioning unaligned image. -* [#11198](http://dev.ckeditor.com/ticket/11198): Widgets: Drag handler is not fully visible when an inline widget is in a heading. -* [#11132](http://dev.ckeditor.com/ticket/11132): [Firefox] Fixed: Caret is lost after drag and drop of an inline widget. -* [#11182](http://dev.ckeditor.com/ticket/11182): [IE10-11] Fixed: Editor crashes (IE11) or works with minor issues (IE10) if a page is loaded in Quirks Mode. See [`env.quirks`](http://docs.ckeditor.com/#!/api/CKEDITOR.env-property-quirks) for more details. -* [#11204](http://dev.ckeditor.com/ticket/11204): Added `figure` and `figcaption` styles to the `contents.css` file so [Enhanced Image](http://ckeditor.com/addon/image2) looks nicer. -* [#11202](http://dev.ckeditor.com/ticket/11202): Fixed: No newline in [BBCode](http://ckeditor.com/addon/bbcode) mode. -* [#10890](http://dev.ckeditor.com/ticket/10890): Fixed: Error thrown when pressing the *Delete* key in a list item. -* [#10055](http://dev.ckeditor.com/ticket/10055): [IE8-10] Fixed: *Delete* pressed on a selected image causes the browser to go back. -* [#11183](http://dev.ckeditor.com/ticket/11183): Fixed: Inserting a horizontal rule or a table in multiple row selection causes a browser crash. Additionally, the [`editor.insertElement()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertElement) method does not insert the element into every range of a selection any more. -* [#11042](http://dev.ckeditor.com/ticket/11042): Fixed: Selection made on an element containing a non-editable element was not auto faked. -* [#11125](http://dev.ckeditor.com/ticket/11125): Fixed: Keyboard navigation through menu and drop-down items will now cycle. -* [#11011](http://dev.ckeditor.com/ticket/11011): Fixed: The [`editor.applyStyle()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-applyStyle) method removes attributes from nested elements. -* [#11179](http://dev.ckeditor.com/ticket/11179): Fixed: [`editor.destroy()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-destroy) does not cleanup content generated by the [Table Resize](http://ckeditor.com/addon/tableresize) plugin for inline editors. -* [#11237](http://dev.ckeditor.com/ticket/11237): Fixed: Table border attribute value is deleted when pasting content from Microsoft Word. -* [#11250](http://dev.ckeditor.com/ticket/11250): Fixed: HTML entities inside the ` - * ... - * CKEDITOR.replace( 'myfield' ); - * - * var textarea = document.body.appendChild( document.createElement( 'textarea' ) ); - * CKEDITOR.replace( textarea ); - * - * @param {Object/String} element The DOM element (textarea), its ID, or name. - * @param {Object} [config] The specific configuration to apply to this - * editor instance. Configuration set here will override the global CKEditor settings - * (see {@link CKEDITOR.config}). - * @returns {CKEDITOR.editor} The editor instance created. - */ - CKEDITOR.replace = function( element, config ) { - return createInstance( element, config, null, CKEDITOR.ELEMENT_MODE_REPLACE ); - }; - - /** - * Creates a new editor instance at the end of a specific DOM element. - * - *
- * ... - * CKEDITOR.appendTo( 'editorSpace' ); - * - * @param {Object/String} element The DOM element, its ID, or name. - * @param {Object} [config] The specific configuration to apply to this - * editor instance. Configuration set here will override the global CKEditor settings - * (see {@link CKEDITOR.config}). - * @param {String} [data] Since 3.3. Initial value for the instance. - * @returns {CKEDITOR.editor} The editor instance created. - */ - CKEDITOR.appendTo = function( element, config, data ) - { - return createInstance( element, config, data, CKEDITOR.ELEMENT_MODE_APPENDTO ); - }; - - /** - * Replaces all ` - data = protectElements( data, protectTextareaRegex ); - - // Before anything, we must protect the URL attributes as the - // browser may changing them when setting the innerHTML later in - // the code. - data = protectAttributes( data ); - - // Protect elements than can't be set inside a DIV. E.g. IE removes - // style tags from innerHTML. (#3710) - data = protectElements( data, protectElementsRegex ); - - // Certain elements has problem to go through DOM operation, protect - // them by prefixing 'cke' namespace. (#3591) - data = protectElementsNames( data ); - - // All none-IE browsers ignore self-closed custom elements, - // protecting them into open-close. (#3591) - data = protectSelfClosingElements( data ); - - // Compensate one leading line break after
 open as browsers
-			// eat it up. (#5789)
-			data = protectPreFormatted( data );
-
-			var fixBin = evtData.context || editor.editable().getName(),
-				isPre;
-
-			// Old IEs loose formats when load html into 
.
-			if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 && fixBin == 'pre' ) {
-				fixBin = 'div';
-				data = '
' + data + '
'; - isPre = 1; - } - - // Call the browser to help us fixing a possibly invalid HTML - // structure. - var el = editor.document.createElement( fixBin ); - // Add fake character to workaround IE comments bug. (#3801) - el.setHtml( 'a' + data ); - data = el.getHtml().substr( 1 ); - - // Restore shortly protected attribute names. - data = data.replace( new RegExp( ' data-cke-' + CKEDITOR.rnd + '-', 'ig' ), ' ' ); - - isPre && ( data = data.replace( /^
|<\/pre>$/gi, '' ) );
-
-			// Unprotect "some" of the protected elements at this point.
-			data = unprotectElementNames( data );
-
-			data = unprotectElements( data );
-
-			// Restore the comments that have been protected, in this way they
-			// can be properly filtered.
-			data = unprotectRealComments( data );
-
-			// Now use our parser to make further fixes to the structure, as
-			// well as apply the filter.
-			evtData.dataValue = CKEDITOR.htmlParser.fragment.fromHtml(
-				data, evtData.context, evtData.fixForBody === false ? false : getFixBodyTag( evtData.enterMode, editor.config.autoParagraph ) );
-		}, null, null, 5 );
-
-		// Filter incoming "data".
-		// Add element filter before htmlDataProcessor.dataFilter when purifying input data to correct html.
-		editor.on( 'toHtml', function( evt ) {
-			if ( evt.data.filter.applyTo( evt.data.dataValue, true, evt.data.dontFilter, evt.data.enterMode ) )
-				editor.fire( 'dataFiltered' );
-		}, null, null, 6 );
-
-		editor.on( 'toHtml', function( evt ) {
-			evt.data.dataValue.filterChildren( that.dataFilter, true );
-		}, null, null, 10 );
-
-		editor.on( 'toHtml', function( evt ) {
-			var evtData = evt.data,
-				data = evtData.dataValue,
-				writer = new CKEDITOR.htmlParser.basicWriter();
-
-			data.writeChildrenHtml( writer );
-			data = writer.getHtml( true );
-
-			// Protect the real comments again.
-			evtData.dataValue = protectRealComments( data );
-		}, null, null, 15 );
-
-
-		editor.on( 'toDataFormat', function( evt ) {
-			var data = evt.data.dataValue;
-
-			// #10854 - we need to strip leading blockless 
which FF adds - // automatically when editable contains only non-editable content. - // We do that for every browser (so it's a constant behavior) and - // not in BR mode, in which chance of valid leading blockless
is higher. - if ( evt.data.enterMode != CKEDITOR.ENTER_BR ) - data = data.replace( /^
/i, '' ); - - evt.data.dataValue = CKEDITOR.htmlParser.fragment.fromHtml( - data, evt.data.context, getFixBodyTag( evt.data.enterMode, editor.config.autoParagraph ) ); - }, null, null, 5 ); - - editor.on( 'toDataFormat', function( evt ) { - evt.data.dataValue.filterChildren( that.htmlFilter, true ); - }, null, null, 10 ); - - // Transform outcoming "data". - // Add element filter after htmlDataProcessor.htmlFilter when preparing output data HTML. - editor.on( 'toDataFormat', function( evt ) { - evt.data.filter.applyTo( evt.data.dataValue, false, true ); - }, null, null, 11 ); - - editor.on( 'toDataFormat', function( evt ) { - var data = evt.data.dataValue, - writer = that.writer; - - writer.reset(); - data.writeChildrenHtml( writer ); - data = writer.getHtml( true ); - - // Restore those non-HTML protected source. (#4475,#4880) - data = unprotectRealComments( data ); - data = unprotectSource( data, editor ); - - evt.data.dataValue = data; - }, null, null, 15 ); - }; - - CKEDITOR.htmlDataProcessor.prototype = { - /** - * Processes the input (potentially malformed) HTML to a purified form which - * is suitable for using in the WYSIWYG editable. - * - * This method fires the {@link CKEDITOR.editor#toHtml} event which makes it possible - * to hook into the process at various stages. - * - * **Note:** Since CKEditor 4.3 the signature of this method changed and all options - * are now grouped in one `options` object. Previously `context`, `fixForBody` and `dontFilter` - * were passed separately. - * - * @param {String} data The raw data. - * @param {Object} [options] The options object. - * @param {String} [options.context] The tag name of a context element within which - * the input is to be processed, default to be the editable element. - * If `null` is passed, then data will be parsed without context (as children of {@link CKEDITOR.htmlParser.fragment}). - * See {@link CKEDITOR.htmlParser.fragment#fromHtml} for more details. - * @param {Boolean} [options.fixForBody=true] Whether to trigger the auto paragraph for non-block contents. - * @param {CKEDITOR.filter} [options.filter] When specified, instead of using the {@link CKEDITOR.editor#filter main filter}, - * passed instance will be used to filter the content. - * @param {Boolean} [options.dontFilter] Do not filter data with {@link CKEDITOR.filter} (note: transformations - * will be still applied). - * @param {Number} [options.enterMode] When specified it will be used instead of the {@link CKEDITOR.editor#enterMode main enterMode}. - * @returns {String} - */ - toHtml: function( data, options, fixForBody, dontFilter ) { - var editor = this.editor, - context, filter, enterMode; - - // Typeof null == 'object', so check truthiness of options too. - if ( options && typeof options == 'object' ) { - context = options.context; - fixForBody = options.fixForBody; - dontFilter = options.dontFilter; - filter = options.filter; - enterMode = options.enterMode; - } - // Backward compatibility. Since CKEDITOR 4.3 every option was a separate argument. - else - context = options; - - // Fall back to the editable as context if not specified. - if ( !context && context !== null ) - context = editor.editable().getName(); - - return editor.fire( 'toHtml', { - dataValue: data, - context: context, - fixForBody: fixForBody, - dontFilter: dontFilter, - filter: filter || editor.filter, - enterMode: enterMode || editor.enterMode - } ).dataValue; - }, - - /** - * See {@link CKEDITOR.dataProcessor#toDataFormat}. - * - * This method fires the {@link CKEDITOR.editor#toDataFormat} event which makes it possible - * to hook into the process at various steps. - * - * @param {String} html - * @param {Object} [options] The options object. - * @param {String} [options.context] The tag name of a context element within which - * the input is to be processed, default to be the editable element. - * @param {CKEDITOR.filter} [options.filter] When specified, instead of using the {@link CKEDITOR.editor#filter main filter}, - * passed instance will be used to apply content transformations to the content. - * @param {Number} [options.enterMode] When specified it will be used instead of the {@link CKEDITOR.editor#enterMode main enterMode}. - * @returns {String} - */ - toDataFormat: function( html, options ) { - var context, filter, enterMode; - - // Do not shorten this to `options && options.xxx`, because - // falsy `options` will be passed instead of undefined. - if ( options ) { - context = options.context; - filter = options.filter; - enterMode = options.enterMode; - } - - // Fall back to the editable as context if not specified. - if ( !context && context !== null ) - context = this.editor.editable().getName(); - - return this.editor.fire( 'toDataFormat', { - dataValue: html, - filter: filter || this.editor.filter, - context: context, - enterMode: enterMode || this.editor.enterMode - } ).dataValue; - } - }; - - // Produce a set of filtering rules that handles bogus and filler node at the - // end of block/pseudo block, in the following consequence: - // 1. elements: - this filter removes any bogus node, then check - // if it's an empty block that requires a filler. - // 2. elements:
- After cleaned with bogus, this filter checks the real - // line-break BR to compensate a filler after it. - // - // Terms definitions: - // filler: An element that's either
or &NBSP; at the end of block that established line height. - // bogus: Whenever a filler is proceeded with inline content, it becomes a bogus which is subjected to be removed. - // - // Various forms of the filler: - // In output HTML: Filler should be consistently &NBSP;
at the end of block is always considered as bogus. - // In Wysiwyg HTML: Browser dependent - see env.needsBrFiller. Either BR for when needsBrFiller is true, or &NBSP; otherwise. - //
is NEVER considered as bogus when needsBrFiller is true. - function createBogusAndFillerRules( editor, type ) { - function createFiller( isOutput ) { - return isOutput || CKEDITOR.env.needsNbspFiller ? - new CKEDITOR.htmlParser.text( '\xa0' ) : - new CKEDITOR.htmlParser.element( 'br', { 'data-cke-bogus': 1 } ); - } - - // This text block filter, remove any bogus and create the filler on demand. - function blockFilter( isOutput, fillEmptyBlock ) { - - return function( block ) { - - // DO NOT apply the filer if it's a fragment node. - if ( block.type == CKEDITOR.NODE_DOCUMENT_FRAGMENT ) - return; - - cleanBogus( block ); - - // [Opera] it's mandatory for the filler to present inside of empty block when in WYSIWYG. - if ( ( ( CKEDITOR.env.opera && !isOutput ) || - ( typeof fillEmptyBlock == 'function' ? fillEmptyBlock( block ) !== false : fillEmptyBlock ) ) && - isEmptyBlockNeedFiller( block ) ) - { - block.add( createFiller( isOutput ) ); - } - }; - } - - // Append a filler right after the last line-break BR, found at the end of block. - function brFilter( isOutput ) { - return function( br ) { - - // DO NOT apply the filer if parent's a fragment node. - if ( br.parent.type == CKEDITOR.NODE_DOCUMENT_FRAGMENT ) - return; - - var attrs = br.attributes; - // Dismiss BRs that are either bogus or eol marker. - if ( 'data-cke-bogus' in attrs || - 'data-cke-eol' in attrs ) { - delete attrs [ 'data-cke-bogus' ]; - return; - } - - // Judge the tail line-break BR, and to insert bogus after it. - var next = getNext( br ), previous = getPrevious( br ); - - if ( !next && isBlockBoundary( br.parent ) ) - append( br.parent, createFiller( isOutput ) ); - else if ( isBlockBoundary( next ) && previous && !isBlockBoundary( previous ) ) - createFiller( isOutput ).insertBefore( next ); - }; - } - - // Determinate whether this node is potentially a bogus node. - function maybeBogus( node, atBlockEnd ) { - - // BR that's not from IE<11 DOM, except for a EOL marker. - if ( !( isOutput && !CKEDITOR.env.needsBrFiller ) && - node.type == CKEDITOR.NODE_ELEMENT && node.name == 'br' && - !node.attributes[ 'data-cke-eol' ] ) - return true; - - var match; - // NBSP, possibly. - if ( node.type == CKEDITOR.NODE_TEXT && - ( match = node.value.match( tailNbspRegex ) ) ) - { - // We need to separate tail NBSP out of a text node, for later removal. - if ( match.index ) { - ( new CKEDITOR.htmlParser.text( node.value.substring( 0, match.index ) ) ).insertBefore( node ); - node.value = match[ 0 ]; - } - - // From IE<11 DOM, at the end of a text block, or before block boundary. - if ( !CKEDITOR.env.needsBrFiller && isOutput && ( !atBlockEnd || node.parent.name in textBlockTags ) ) - return true; - - // From the output. - if ( !isOutput ) { - var previous = node.previous; - - // Following a line-break at the end of block. - if ( previous && previous.name == 'br' ) - return true; - - // Or a single NBSP between two blocks. - if ( !previous || isBlockBoundary( previous ) ) - return true; - } - } - - return false; - } - - // Removes all bogus inside of this block, and to convert fillers into the proper form. - function cleanBogus( block ) { - var bogus = []; - var last = getLast( block ), node, previous; - if ( last ) { - - // Check for bogus at the end of this block. - // e.g.

foo

- maybeBogus( last, 1 ) && bogus.push( last ); - - while ( last ) { - - // Check for bogus at the end of any pseudo block contained. - if ( isBlockBoundary( last ) && - ( node = getPrevious( last ) ) && - maybeBogus( node ) ) - { - // Bogus must have inline proceeding, instead single BR between two blocks, - // is considered as filler, e.g.


- if ( ( previous = getPrevious( node ) ) && !isBlockBoundary( previous ) ) - bogus.push( node ); - // Convert the filler into appropriate form. - else { - createFiller( isOutput ).insertAfter( node ); - node.remove(); - } - } - - last = last.previous; - } - } - - // Now remove all bogus collected from above. - for ( var i = 0 ; i < bogus.length ; i++ ) - bogus[ i ].remove(); - } - - // Judge whether it's an empty block that requires a filler node. - function isEmptyBlockNeedFiller( block ) { - - // DO NOT fill empty editable in IE<11. - if ( !isOutput && !CKEDITOR.env.needsBrFiller && block.type == CKEDITOR.NODE_DOCUMENT_FRAGMENT ) - return false; - - // 1. For IE version >=8, empty blocks are displayed correctly themself in wysiwiyg; - // 2. For the rest, at least table cell and list item need no filler space. (#6248) - if ( !isOutput && !CKEDITOR.env.needsBrFiller && - ( document.documentMode > 7 || - block.name in CKEDITOR.dtd.tr || - block.name in CKEDITOR.dtd.$listItem ) ) { - return false; - } - - var last = getLast( block ); - return !last || block.name == 'form' && last.name == 'input' ; - } - - var rules = { elements: {} }; - var isOutput = type == 'html'; - - // Build the list of text blocks. - var textBlockTags = CKEDITOR.tools.extend( {}, blockLikeTags ); - for ( var i in textBlockTags ) { - if ( !( '#' in dtd[ i ] ) ) - delete textBlockTags[ i ]; - } - - for ( i in textBlockTags ) - rules.elements[ i ] = blockFilter( isOutput, editor.config.fillEmptyBlocks !== false ); - - // Editable element is to be checked separately. - rules.root = blockFilter( isOutput ); - rules.elements.br = brFilter( isOutput ); - return rules; - } - - function getFixBodyTag( enterMode, autoParagraph ) { - return ( enterMode != CKEDITOR.ENTER_BR && autoParagraph !== false ) ? enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p' : false; - } - - // Regex to scan for   at the end of blocks, which are actually placeholders. - // Safari transforms the   to \xa0. (#4172) - var tailNbspRegex = /(?: |\xa0)$/; - - var protectedSourceMarker = '{cke_protected}'; - - function getLast( node ) { - var last = node.children[ node.children.length - 1 ]; - while ( last && isEmpty( last ) ) - last = last.previous; - return last; - } - - function getNext( node ) { - var next = node.next; - while ( next && isEmpty( next ) ) - next = next.next; - return next; - } - - function getPrevious( node ) { - var previous = node.previous; - while ( previous && isEmpty( previous ) ) - previous = previous.previous; - return previous; - } - - // Judge whether the node is an ghost node to be ignored, when traversing. - function isEmpty( node ) { - return node.type == CKEDITOR.NODE_TEXT && - !CKEDITOR.tools.trim( node.value ) || - node.type == CKEDITOR.NODE_ELEMENT && - node.attributes[ 'data-cke-bookmark' ]; - } - - // Judge whether the node is a block-like element. - function isBlockBoundary( node ) { - return node && - ( node.type == CKEDITOR.NODE_ELEMENT && node.name in blockLikeTags || - node.type == CKEDITOR.NODE_DOCUMENT_FRAGMENT ); - } - - function append( parent, node ) { - var last = parent.children[ parent.children.length -1 ]; - parent.children.push( node ); - node.parent = parent; - if ( last ) { - last.next = node; - node.previous = last; - } - } - - function getNodeIndex( node ) { - return node.parent ? node.getIndex() : -1; - } - - var dtd = CKEDITOR.dtd, - // Define orders of table elements. - tableOrder = [ 'caption', 'colgroup', 'col', 'thead', 'tfoot', 'tbody' ], - // List of all block elements. - blockLikeTags = CKEDITOR.tools.extend( {}, dtd.$blockLimit, dtd.$block ); - - // - // DATA filter rules ------------------------------------------------------ - // - - var defaultDataFilterRulesEditableOnly = { - elements: { - input: protectReadOnly, - textarea: protectReadOnly - } - }; - - // These rules will also be applied to non-editable content. - var defaultDataFilterRulesForAll = { - attributeNames: [ - // Event attributes (onXYZ) must not be directly set. They can become - // active in the editing area (IE|WebKit). - [ ( /^on/ ), 'data-cke-pa-on' ], - - // Don't let some old expando enter editor. Concerns only IE8, - // but for consistency remove on all browsers. - [ ( /^data-cke-expando$/ ), '' ] - ] - }; - - // Disable form elements editing mode provided by some browsers. (#5746) - function protectReadOnly( element ) { - var attrs = element.attributes; - - // We should flag that the element was locked by our code so - // it'll be editable by the editor functions (#6046). - if ( attrs.contenteditable != 'false' ) - attrs[ 'data-cke-editable' ] = attrs.contenteditable ? 'true' : 1; - - attrs.contenteditable = 'false'; - } - - // - // HTML filter rules ------------------------------------------------------ - // - - var defaultHtmlFilterRulesEditableOnly = { - elements: { - embed: function( element ) { - var parent = element.parent; - - // If the is child of a , copy the width - // and height attributes from it. - if ( parent && parent.name == 'object' ) { - var parentWidth = parent.attributes.width, - parentHeight = parent.attributes.height; - if ( parentWidth ) - element.attributes.width = parentWidth; - if ( parentHeight ) - element.attributes.height = parentHeight; - } - }, - - // Remove empty link but not empty anchor. (#3829) - a: function( element ) { - if ( !( element.children.length || element.attributes.name || element.attributes[ 'data-cke-saved-name' ] ) ) - return false; - } - } - }; - - // These rules will also be applied to non-editable content. - var defaultHtmlFilterRulesForAll = { - elementNames: [ - // Remove the "cke:" namespace prefix. - [ ( /^cke:/ ), '' ], - - // Ignore tags. - [ ( /^\?xml:namespace$/ ), '' ] - ], - - attributeNames: [ - // Attributes saved for changes and protected attributes. - [ ( /^data-cke-(saved|pa)-/ ), '' ], - - // All "data-cke-" attributes are to be ignored. - [ ( /^data-cke-.*/ ), '' ], - - [ 'hidefocus', '' ] - ], - - elements: { - $: function( element ) { - var attribs = element.attributes; - - if ( attribs ) { - // Elements marked as temporary are to be ignored. - if ( attribs[ 'data-cke-temp' ] ) - return false; - - // Remove duplicated attributes - #3789. - var attributeNames = [ 'name', 'href', 'src' ], - savedAttributeName; - for ( var i = 0; i < attributeNames.length; i++ ) { - savedAttributeName = 'data-cke-saved-' + attributeNames[ i ]; - savedAttributeName in attribs && ( delete attribs[ attributeNames[ i ] ] ); - } - } - - return element; - }, - - // The contents of table should be in correct order (#4809). - table: function( element ) { - // Clone the array as it would become empty during the sort call. - var children = element.children.slice( 0 ); - children.sort( function( node1, node2 ) { - var index1, index2; - - // Compare in the predefined order. - if ( node1.type == CKEDITOR.NODE_ELEMENT && - node2.type == node1.type ) { - index1 = CKEDITOR.tools.indexOf( tableOrder, node1.name ); - index2 = CKEDITOR.tools.indexOf( tableOrder, node2.name ); - } - - // Make sure the sort is stable, if no order can be established above. - if ( !( index1 > -1 && index2 > -1 && index1 != index2 ) ) { - index1 = getNodeIndex( node1 ); - index2 = getNodeIndex( node2 ); - } - - return index1 > index2 ? 1 : -1; - } ); - }, - - // Restore param elements into self-closing. - param: function( param ) { - param.children = []; - param.isEmpty = true; - return param; - }, - - // Remove dummy span in webkit. - span: function( element ) { - if ( element.attributes[ 'class' ] == 'Apple-style-span' ) - delete element.name; - }, - - html: function( element ) { - delete element.attributes.contenteditable; - delete element.attributes[ 'class' ]; - }, - - body: function( element ) { - delete element.attributes.spellcheck; - delete element.attributes.contenteditable; - }, - - style: function( element ) { - var child = element.children[ 0 ]; - if ( child && child.value ) - child.value = CKEDITOR.tools.trim( child.value ); - - if ( !element.attributes.type ) - element.attributes.type = 'text/css'; - }, - - title: function( element ) { - var titleText = element.children[ 0 ]; - - // Append text-node to title tag if not present (i.e. non-IEs) (#9882). - !titleText && append( element, titleText = new CKEDITOR.htmlParser.text() ); - - // Transfer data-saved title to title tag. - titleText.value = element.attributes[ 'data-cke-title' ] || ''; - }, - - input: unprotectReadyOnly, - textarea: unprotectReadyOnly - }, - - attributes: { - 'class': function( value, element ) { - // Remove all class names starting with "cke_". - return CKEDITOR.tools.ltrim( value.replace( /(?:^|\s+)cke_[^\s]*/g, '' ) ) || false; - } - } - }; - - if ( CKEDITOR.env.ie ) { - // IE outputs style attribute in capital letters. We should convert - // them back to lower case, while not hurting the values (#5930) - defaultHtmlFilterRulesForAll.attributes.style = function( value, element ) { - return value.replace( /(^|;)([^\:]+)/g, function( match ) { - return match.toLowerCase(); - } ); - }; - } - - // Disable form elements editing mode provided by some browsers. (#5746) - function unprotectReadyOnly( element ) { - var attrs = element.attributes; - switch ( attrs[ 'data-cke-editable' ] ) { - case 'true': - attrs.contenteditable = 'true'; - break; - case '1': - delete attrs.contenteditable; - break; - } - } - - // - // Preprocessor filters --------------------------------------------------- - // - - var protectElementRegex = /<(a|area|img|input|source)\b([^>]*)>/gi, - // Be greedy while looking for protected attributes. This will let us avoid an unfortunate - // situation when "nested attributes", which may appear valid, are also protected. - // I.e. if we consider the following HTML: - // - // - // - // then the "non-greedy match" returns: - // - // 'href' => '"X"' // It's wrong! Href is not an attribute of . - // - // while greedy match returns: - // - // 'data-x' => '<a href="X"' - // - // which, can be easily filtered out (#11508). - protectAttributeRegex = /([\w-]+)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi, - protectAttributeNameRegex = /^(href|src|name)$/i; - - // Note: we use lazy star '*?' to prevent eating everything up to the last occurrence of or . - var protectElementsRegex = /(?:])[^>]*>[\s\S]*?<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi, - protectTextareaRegex = /(])[^>]*>)([\s\S]*?)(?:<\/textarea>)/gi, - encodedElementsRegex = /([^<]*)<\/cke:encoded>/gi; - - var protectElementNamesRegex = /(<\/?)((?:object|embed|param|html|body|head|title)[^>]*>)/gi, - unprotectElementNamesRegex = /(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi; - - var protectSelfClosingRegex = /]*?)\/?>(?!\s*<\/cke:\1)/gi; - - function protectAttributes( html ) { - return html.replace( protectElementRegex, function( element, tag, attributes ) { - return '<' + tag + attributes.replace( protectAttributeRegex, function( fullAttr, attrName ) { - // Avoid corrupting the inline event attributes (#7243). - // We should not rewrite the existed protected attributes, e.g. clipboard content from editor. (#5218) - if ( protectAttributeNameRegex.test( attrName ) && attributes.indexOf( 'data-cke-saved-' + attrName ) == -1 ) - return ' data-cke-saved-' + fullAttr + ' data-cke-' + CKEDITOR.rnd + '-' + fullAttr; - - return fullAttr; - } ) + '>'; - } ); - } - - function protectElements( html, regex ) { - return html.replace( regex, function( match, tag, content ) { - // Encode < and > in textarea because this won't be done by a browser, since - // textarea will be protected during passing data through fix bin. - if ( match.indexOf( '/g, '>' ) + ''; - - return '' + encodeURIComponent( match ) + ''; - } ); - } - - function unprotectElements( html ) { - return html.replace( encodedElementsRegex, function( match, encoded ) { - return decodeURIComponent( encoded ); - } ); - } - - function protectElementsNames( html ) { - return html.replace( protectElementNamesRegex, '$1cke:$2' ); - } - - function unprotectElementNames( html ) { - return html.replace( unprotectElementNamesRegex, '$1$2' ); - } - - function protectSelfClosingElements( html ) { - return html.replace( protectSelfClosingRegex, '' ); - } - - function protectPreFormatted( html ) { - return CKEDITOR.env.opera ? html : html.replace( /(]*>)(\r\n|\n)/g, '$1$2$2' ); - } - - function protectRealComments( html ) { - return html.replace( //g, function( match ) { - return ''; - } ); - } - - function unprotectRealComments( html ) { - return html.replace( //g, function( match, data ) { - return decodeURIComponent( data ); - } ); - } - - function unprotectSource( html, editor ) { - var store = editor._.dataStore; - - return html.replace( //g, function( match, data ) { - return decodeURIComponent( data ); - } ).replace( /\{cke_protected_(\d+)\}/g, function( match, id ) { - return store && store[ id ] || ''; - } ); - } - - function protectSource( data, editor ) { - var protectedHtml = [], - protectRegexes = editor.config.protectedSource, - store = editor._.dataStore || ( editor._.dataStore = { id: 1 } ), - tempRegex = /<\!--\{cke_temp(comment)?\}(\d*?)-->/g; - - var regexes = [ - // Script tags will also be forced to be protected, otherwise - // IE will execute them. - ( //gi ), - - //
'. fieldLabel('Name','name',1).'
'.fieldLabel('Address','address',0).''; print ''; print '
'.fieldLabel('Zip','zipcode',0).''; print $formcompany->select_ziptown(GETPOST('zipcode', 'alpha'), 'zipcode', array ( 'town', @@ -216,7 +202,7 @@ if ($action == 'create') // Town print '
'.fieldLabel('Town','town',0).''; print $formcompany->select_ziptown(GETPOST('town', 'alpha'), 'town', array ( 'zipcode', @@ -227,7 +213,7 @@ if ($action == 'create') // Country print '
'.fieldLabel('Country','selectcountry_id',0).''; print $form->select_country($mysoc->country_id,'country_id'); if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1); @@ -236,7 +222,7 @@ if ($action == 'create') // Status print '
'.fieldLabel('Status','status',1).''; print $form->selectarray('status',$status2label,GETPOST('status')); print '
'.$langs->trans("Ref").''; - print $object->rowid; + print ''.$langs->trans("Ref").''; + print $object->id; print '
'; + print '
'.fieldLabel('Name','name',1).''; print ''; print '
'.fieldLabel('Address','address',0).''; print ''; - print '
'; + print '
'.fieldLabel('Zip','zipcode',0).''; print $formcompany->select_ziptown($object->zip, 'zipcode', array ( 'town', 'selectcountry_id' ), 6) . '
'; + print '
'.fieldLabel('Town','town',0).''; print $formcompany->select_ziptown($object->town, 'town', array ( 'zipcode', 'selectcountry_id' )) . '
'.fieldLabel('Country','selectcountry_id',0).''; - print $form->select_country($object->fk_pays,'country_id'); + print $form->select_country($object->fk_country,'country_id'); if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1); print '
'; + print '
'.fieldLabel('Status','status',1).''; print $form->selectarray('status',$status2label,$object->status); print '
'.$langs->trans("Ref").''; - print $object->rowid; + print $object->id; print ''; print $linkback; print '
'.$langs->trans("Country").''.getCountry($object->fk_pays,1).''; + if ($object->country_id > 0) + { + $img=picto_from_langcode($object->country_code); + print $img?$img.' ':''; + print getCountry($object->getCountryCode(),0,$db); + } + print '
' + - '' + - '' + - '' + - '' + - '
' + - '' + - '', lang.auto, '
' + - '' + - '' ); - - // Render the color boxes. - for ( var i = 0; i < colors.length; i++ ) { - if ( ( i % 8 ) === 0 ) - output.push( '' ); - - var parts = colors[ i ].split( '/' ), - colorName = parts[ 0 ], - colorCode = parts[ 1 ] || colorName; - - // The data can be only a color code (without #) or colorName + color code - // If only a color code is provided, then the colorName is the color with the hash - // Convert the color from RGB to RRGGBB for better compatibility with IE and . See #5676 - if ( !parts[ 1 ] ) - colorName = '#' + colorName.replace( /^(.)(.)(.)$/, '$1$1$2$2$3$3' ); - - var colorLabel = editor.lang.colorbutton.colors[ colorCode ] || colorCode; - output.push( '' ); - } - - // Render the "More Colors" button. - if ( editor.plugins.colordialog && config.colorButton_enableMore === undefined || config.colorButton_enableMore ) { - output.push( '' + - '' + - '' ); // tr is later in the code. - } - - output.push( '
' + - '' + - '' + - '' + - '
' + - '', lang.more, '' + - '
' ); - - return output.join( '' ); - } - - function isUnstylable( ele ) { - return ( ele.getAttribute( 'contentEditable' ) == 'false' ) || ele.getAttribute( 'data-nostyle' ); - } - } -} ); - -/** - * Whether to enable the **More Colors*** button in the color selectors. - * - * config.colorButton_enableMore = false; - * - * @cfg {Boolean} [colorButton_enableMore=true] - * @member CKEDITOR.config - */ - -/** - * Defines the colors to be displayed in the color selectors. This is a string - * containing hexadecimal notation for HTML colors, without the `'#'` prefix. - * - * **Since 3.3:** A color name may optionally be defined by prefixing the entries with - * a name and the slash character. For example, `'FontColor1/FF9900'` will be - * displayed as the color `#FF9900` in the selector, but will be output as `'FontColor1'`. - * - * // Brazil colors only. - * config.colorButton_colors = '00923E,F8C100,28166F'; - * - * config.colorButton_colors = 'FontColor1/FF9900,FontColor2/0066CC,FontColor3/F00'; - * - * @cfg {String} [colorButton_colors=see source] - * @member CKEDITOR.config - */ -CKEDITOR.config.colorButton_colors = '000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,' + - 'B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,' + - 'F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,' + - 'FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,' + - 'FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF'; - -/** - * Stores the style definition that applies the text foreground color. - * - * // This is actually the default value. - * config.colorButton_foreStyle = { - * element: 'span', - * styles: { color: '#(color)' } - * }; - * - * @cfg [colorButton_foreStyle=see source] - * @member CKEDITOR.config - */ -CKEDITOR.config.colorButton_foreStyle = { - element: 'span', - styles: { 'color': '#(color)' }, - overrides: [ { - element: 'font', attributes: { 'color': null } - } ] -}; - -/** - * Stores the style definition that applies the text background color. - * - * // This is actually the default value. - * config.colorButton_backStyle = { - * element: 'span', - * styles: { 'background-color': '#(color)' } - * }; - * - * @cfg [colorButton_backStyle=see source] - * @member CKEDITOR.config - */ -CKEDITOR.config.colorButton_backStyle = { - element: 'span', - styles: { 'background-color': '#(color)' } -}; diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js deleted file mode 100644 index f719cf421c5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +++ /dev/null @@ -1,338 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -CKEDITOR.dialog.add( 'colordialog', function( editor ) { - // Define some shorthands. - var $el = CKEDITOR.dom.element, - $doc = CKEDITOR.document, - lang = editor.lang.colordialog; - - // Reference the dialog. - var dialog; - - var spacer = { - type: 'html', - html: ' ' - }; - - var selected; - - function clearSelected() { - $doc.getById( selHiColorId ).removeStyle( 'background-color' ); - dialog.getContentElement( 'picker', 'selectedColor' ).setValue( '' ); - selected && selected.removeAttribute( 'aria-selected' ); - selected = null; - } - - function updateSelected( evt ) { - var target = evt.data.getTarget(), - color; - - if ( target.getName() == 'td' && ( color = target.getChild( 0 ).getHtml() ) ) { - selected = target; - selected.setAttribute( 'aria-selected', true ); - dialog.getContentElement( 'picker', 'selectedColor' ).setValue( color ); - } - } - - // Basing black-white decision off of luma scheme using the Rec. 709 version - function whiteOrBlack( color ) { - color = color.replace( /^#/, '' ); - for ( var i = 0, rgb = []; i <= 2; i++ ) - rgb[ i ] = parseInt( color.substr( i * 2, 2 ), 16 ); - var luma = ( 0.2126 * rgb[ 0 ] ) + ( 0.7152 * rgb[ 1 ] ) + ( 0.0722 * rgb[ 2 ] ); - return '#' + ( luma >= 165 ? '000' : 'fff' ); - } - - // Distinguish focused and hover states. - var focused, hovered; - - // Apply highlight style. - function updateHighlight( event ) { - // Convert to event. - !event.name && ( event = new CKEDITOR.event( event ) ); - - var isFocus = !( /mouse/ ).test( event.name ), - target = event.data.getTarget(), - color; - - if ( target.getName() == 'td' && ( color = target.getChild( 0 ).getHtml() ) ) { - removeHighlight( event ); - - isFocus ? focused = target : hovered = target; - - // Apply outline style to show focus. - if ( isFocus ) { - target.setStyle( 'border-color', whiteOrBlack( color ) ); - target.setStyle( 'border-style', 'dotted' ); - } - - $doc.getById( hicolorId ).setStyle( 'background-color', color ); - $doc.getById( hicolorTextId ).setHtml( color ); - } - } - - function clearHighlight() { - var color = focused.getChild( 0 ).getHtml(); - focused.setStyle( 'border-color', color ); - focused.setStyle( 'border-style', 'solid' ); - $doc.getById( hicolorId ).removeStyle( 'background-color' ); - $doc.getById( hicolorTextId ).setHtml( ' ' ); - focused = null; - } - - // Remove previously focused style. - function removeHighlight( event ) { - var isFocus = !( /mouse/ ).test( event.name ), - target = isFocus && focused; - - if ( target ) { - var color = target.getChild( 0 ).getHtml(); - target.setStyle( 'border-color', color ); - target.setStyle( 'border-style', 'solid' ); - } - - if ( !( focused || hovered ) ) { - $doc.getById( hicolorId ).removeStyle( 'background-color' ); - $doc.getById( hicolorTextId ).setHtml( ' ' ); - } - } - - function onKeyStrokes( evt ) { - var domEvt = evt.data; - - var element = domEvt.getTarget(); - var relative, nodeToMove; - var keystroke = domEvt.getKeystroke(), - rtl = editor.lang.dir == 'rtl'; - - switch ( keystroke ) { - // UP-ARROW - case 38: - // relative is TR - if ( ( relative = element.getParent().getPrevious() ) ) { - nodeToMove = relative.getChild( [ element.getIndex() ] ); - nodeToMove.focus(); - } - domEvt.preventDefault(); - break; - // DOWN-ARROW - case 40: - // relative is TR - if ( ( relative = element.getParent().getNext() ) ) { - nodeToMove = relative.getChild( [ element.getIndex() ] ); - if ( nodeToMove && nodeToMove.type == 1 ) - nodeToMove.focus(); - - } - domEvt.preventDefault(); - break; - - // SPACE - // ENTER - case 32: - case 13: - updateSelected( evt ); - domEvt.preventDefault(); - break; - - // RIGHT-ARROW - case rtl ? 37 : 39: - // relative is TD - if ( ( nodeToMove = element.getNext() ) ) { - if ( nodeToMove.type == 1 ) { - nodeToMove.focus(); - domEvt.preventDefault( true ); - } - } - // relative is TR - else if ( ( relative = element.getParent().getNext() ) ) { - nodeToMove = relative.getChild( [ 0 ] ); - if ( nodeToMove && nodeToMove.type == 1 ) { - nodeToMove.focus(); - domEvt.preventDefault( true ); - } - } - break; - - // LEFT-ARROW - case rtl ? 39 : 37: - // relative is TD - if ( ( nodeToMove = element.getPrevious() ) ) { - nodeToMove.focus(); - domEvt.preventDefault( true ); - } - // relative is TR - else if ( ( relative = element.getParent().getPrevious() ) ) { - nodeToMove = relative.getLast(); - nodeToMove.focus(); - domEvt.preventDefault( true ); - } - break; - default: - // Do not stop not handled events. - return; - } - } - - function createColorTable() { - table = CKEDITOR.dom.element.createFromHtml( '' + - '' + - '
' + lang.options + '
' ); - - table.on( 'mouseover', updateHighlight ); - table.on( 'mouseout', removeHighlight ); - - // Create the base colors array. - var aColors = [ '00', '33', '66', '99', 'cc', 'ff' ]; - - // This function combines two ranges of three values from the color array into a row. - function appendColorRow( rangeA, rangeB ) { - for ( var i = rangeA; i < rangeA + 3; i++ ) { - var row = new $el( table.$.insertRow( -1 ) ); - row.setAttribute( 'role', 'row' ); - - for ( var j = rangeB; j < rangeB + 3; j++ ) { - for ( var n = 0; n < 6; n++ ) { - appendColorCell( row.$, '#' + aColors[ j ] + aColors[ n ] + aColors[ i ] ); - } - } - } - } - - // This function create a single color cell in the color table. - function appendColorCell( targetRow, color ) { - var cell = new $el( targetRow.insertCell( -1 ) ); - cell.setAttribute( 'class', 'ColorCell' ); - cell.setAttribute( 'tabIndex', -1 ); - cell.setAttribute( 'role', 'gridcell' ); - - cell.on( 'keydown', onKeyStrokes ); - cell.on( 'click', updateSelected ); - cell.on( 'focus', updateHighlight ); - cell.on( 'blur', removeHighlight ); - - cell.setStyle( 'background-color', color ); - cell.setStyle( 'border', '1px solid ' + color ); - - cell.setStyle( 'width', '14px' ); - cell.setStyle( 'height', '14px' ); - - var colorLabel = numbering( 'color_table_cell' ); - cell.setAttribute( 'aria-labelledby', colorLabel ); - cell.append( CKEDITOR.dom.element.createFromHtml( '' + color + '', CKEDITOR.document ) ); - } - - appendColorRow( 0, 0 ); - appendColorRow( 3, 0 ); - appendColorRow( 0, 3 ); - appendColorRow( 3, 3 ); - - // Create the last row. - var oRow = new $el( table.$.insertRow( -1 ) ); - oRow.setAttribute( 'role', 'row' ); - - // Create the gray scale colors cells. - for ( var n = 0; n < 6; n++ ) { - appendColorCell( oRow.$, '#' + aColors[ n ] + aColors[ n ] + aColors[ n ] ); - } - - // Fill the row with black cells. - for ( var i = 0; i < 12; i++ ) { - appendColorCell( oRow.$, '#000000' ); - } - } - - var numbering = function( id ) { - return CKEDITOR.tools.getNextId() + '_' + id; - }, - hicolorId = numbering( 'hicolor' ), - hicolorTextId = numbering( 'hicolortext' ), - selHiColorId = numbering( 'selhicolor' ), - table; - - createColorTable(); - - return { - title: lang.title, - minWidth: 360, - minHeight: 220, - onLoad: function() { - // Update reference. - dialog = this; - }, - onHide: function() { - clearSelected(); - clearHighlight(); - }, - contents: [ - { - id: 'picker', - label: lang.title, - accessKey: 'I', - elements: [ - { - type: 'hbox', - padding: 0, - widths: [ '70%', '10%', '30%' ], - children: [ - { - type: 'html', - html: '
', - onLoad: function() { - CKEDITOR.document.getById( this.domId ).append( table ); - }, - focus: function() { - // Restore the previously focused cell, - // otherwise put the initial focus on the first table cell. - ( focused || this.getElement().getElementsByTag( 'td' ).getItem( 0 ) ).focus(); - } - }, - spacer, - { - type: 'vbox', - padding: 0, - widths: [ '70%', '5%', '25%' ], - children: [ - { - type: 'html', - html: '' + lang.highlight + '\ -
\ -
 
' + lang.selected + '\ -
' - }, - { - type: 'text', - label: lang.selected, - labelStyle: 'display:none', - id: 'selectedColor', - style: 'width: 74px', - onChange: function() { - // Try to update color preview with new value. If fails, then set it no none. - try { - $doc.getById( selHiColorId ).setStyle( 'background-color', this.getValue() ); - } catch ( e ) { - clearSelected(); - } - } - }, - spacer, - { - type: 'button', - id: 'clear', - style: 'margin-top: 5px', - label: lang.clear, - onClick: clearSelected - } - ] - } - ] - } - ] - } - ] - }; -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/af.js deleted file mode 100644 index c903b64a0b3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/af.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'af', { - clear: 'Herstel', - highlight: 'Aktief', - options: 'Kleuropsies', - selected: 'Geselekteer', - title: 'Kies kleur' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ar.js deleted file mode 100644 index 64e19936bb1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ar.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'ar', { - clear: 'مسح', - highlight: 'تحديد', - options: 'اختيارات الألوان', - selected: 'اللون المختار', - title: 'اختر اللون' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/bg.js deleted file mode 100644 index e7d379c25d3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/bg.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'bg', { - clear: 'Изчистване', - highlight: 'Осветяване', - options: 'Цветови опции', - selected: 'Изберете цвят', - title: 'Изберете цвят' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/bn.js deleted file mode 100644 index e025402fd5c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/bn.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'bn', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/bs.js deleted file mode 100644 index f2648168966..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/bs.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'bs', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ca.js deleted file mode 100644 index eeb75232c19..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ca.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'ca', { - clear: 'Neteja', - highlight: 'Destacat', - options: 'Opcions del color', - selected: 'Color Seleccionat', - title: 'Seleccioni el color' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/cs.js deleted file mode 100644 index 37d4866bf85..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/cs.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'cs', { - clear: 'Vyčistit', - highlight: 'Zvýraznit', - options: 'Nastavení barvy', - selected: 'Vybráno', - title: 'Výběr barvy' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/cy.js deleted file mode 100644 index 39b3035cb8d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/cy.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'cy', { - clear: 'Clirio', - highlight: 'Uwcholeuo', - options: 'Opsiynau Lliw', - selected: 'Lliw a Ddewiswyd', - title: 'Dewis lliw' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/da.js deleted file mode 100644 index 9a2fdeae718..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/da.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'da', { - clear: 'Nulstil', - highlight: 'Markér', - options: 'Farvemuligheder', - selected: 'Valgt farve', - title: 'Vælg farve' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/de.js deleted file mode 100644 index 854ab90e1cb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/de.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'de', { - clear: 'Entfernen', - highlight: 'Hervorheben', - options: 'Farbeoptionen', - selected: 'Ausgewählte Farbe', - title: 'Farbe wählen' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/el.js deleted file mode 100644 index 5a696a6386f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/el.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'el', { - clear: 'Εκκαθάριση', - highlight: 'Σήμανση', - options: 'Επιλογές Χρωμάτων', - selected: 'Επιλεγμένο Χρώμα', - title: 'Επιλογή χρώματος' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en-au.js deleted file mode 100644 index f541bd3a684..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en-au.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'en-au', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en-ca.js deleted file mode 100644 index fe5c2c4b083..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en-ca.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'en-ca', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en-gb.js deleted file mode 100644 index 02aaf71361d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en-gb.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'en-gb', { - clear: 'Clear', - highlight: 'Highlight', - options: 'Colour Options', - selected: 'Selected Colour', - title: 'Select colour' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en.js deleted file mode 100644 index 2b39632fb24..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/en.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'en', { - clear: 'Clear', - highlight: 'Highlight', - options: 'Color Options', - selected: 'Selected Color', - title: 'Select color' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/eo.js deleted file mode 100644 index 46902b85ae7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/eo.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'eo', { - clear: 'Forigi', - highlight: 'Detaloj', - options: 'Opcioj pri koloroj', - selected: 'Selektita koloro', - title: 'Selekti koloron' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/es.js deleted file mode 100644 index d192b57244a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/es.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'es', { - clear: 'Borrar', - highlight: 'Muestra', - options: 'Opciones de colores', - selected: 'Elegido', - title: 'Elegir color' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/et.js deleted file mode 100644 index 9f126d24a38..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/et.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'et', { - clear: 'Eemalda', - highlight: 'Näidis', - options: 'Värvi valikud', - selected: 'Valitud värv', - title: 'Värvi valimine' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/eu.js deleted file mode 100644 index fc81779c568..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/eu.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'eu', { - clear: 'Garbitu', - highlight: 'Nabarmendu', - options: 'Kolore Aukerak', - selected: 'Hautatutako Kolorea', - title: 'Kolorea Hautatu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fa.js deleted file mode 100644 index 0d03daf59bb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fa.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'fa', { - clear: 'پاک کردن', - highlight: 'متمایز', - options: 'گزینه​های رنگ', - selected: 'رنگ انتخاب شده', - title: 'انتخاب رنگ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fi.js deleted file mode 100644 index 77e5d7ab769..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fi.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'fi', { - clear: 'Poista', - highlight: 'Korostus', - options: 'Värin ominaisuudet', - selected: 'Valittu', - title: 'Valitse väri' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fo.js deleted file mode 100644 index c22dad70ffc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fo.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'fo', { - clear: 'Strika', - highlight: 'Framheva', - options: 'Litmøguleikar', - selected: 'Valdur litur', - title: 'Vel lit' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fr-ca.js deleted file mode 100644 index e11e6764180..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fr-ca.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'fr-ca', { - clear: 'Effacer', - highlight: 'Surligner', - options: 'Options de couleur', - selected: 'Couleur sélectionnée', - title: 'Choisir une couleur' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fr.js deleted file mode 100644 index c94f280e8ae..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/fr.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'fr', { - clear: 'Effacer', - highlight: 'Détails', - options: 'Option des couleurs', - selected: 'Couleur choisie', - title: 'Choisir une couleur' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/gl.js deleted file mode 100644 index 28025cea456..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/gl.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'gl', { - clear: 'Limpar', - highlight: 'Resaltar', - options: 'Opcións de cor', - selected: 'Cor seleccionado', - title: 'Seleccione unha cor' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/gu.js deleted file mode 100644 index 95a20c2139a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/gu.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'gu', { - clear: 'સાફ કરવું', - highlight: 'હાઈઈટ', - options: 'રંગના વિકલ્પ', - selected: 'પસંદ કરેલો રંગ', - title: 'રંગ પસંદ કરો' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/he.js deleted file mode 100644 index 3cfed661bd5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/he.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'he', { - clear: 'ניקוי', - highlight: 'סימון', - options: 'אפשרויות צבע', - selected: 'בחירה', - title: 'בחירת צבע' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/hi.js deleted file mode 100644 index 49b2f0acaac..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/hi.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'hi', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/hr.js deleted file mode 100644 index 049ac1aae93..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/hr.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'hr', { - clear: 'Očisti', - highlight: 'Istaknuto', - options: 'Opcije boje', - selected: 'Odabrana boja', - title: 'Odaberi boju' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/hu.js deleted file mode 100644 index a43d5d95ed9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/hu.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'hu', { - clear: 'Ürítés', - highlight: 'Nagyítás', - options: 'Szín opciók', - selected: 'Kiválasztott', - title: 'Válasszon színt' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/is.js deleted file mode 100644 index 4bb810e241f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/is.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'is', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/it.js deleted file mode 100644 index 7dc0eeb2369..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/it.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'it', { - clear: 'cancella', - highlight: 'Evidenzia', - options: 'Opzioni colore', - selected: 'Seleziona il colore', - title: 'Selezionare il colore' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ja.js deleted file mode 100644 index 4226f879973..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ja.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'ja', { - clear: 'クリア', - highlight: 'ハイライト', - options: 'カラーオプション', - selected: '選択された色', - title: '色選択' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ka.js deleted file mode 100644 index 4327480ca47..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ka.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'ka', { - clear: 'გასუფთავება', - highlight: 'ჩვენება', - options: 'ფერის პარამეტრები', - selected: 'არჩეული ფერი', - title: 'ფერის შეცვლა' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/km.js deleted file mode 100644 index 5af47248100..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/km.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'km', { - clear: 'សម្អាត', - highlight: 'បន្លិច​ពណ៌', - options: 'ជម្រើស​ពណ៌', - selected: 'ពណ៌​ដែល​បាន​រើស', - title: 'រើស​ពណ៌' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ko.js deleted file mode 100644 index cc01f3e756b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ko.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'ko', { - clear: '제거', - highlight: '하이라이트', - options: '색상 옵션', - selected: '색상 선택됨', - title: '색상 선택' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ku.js deleted file mode 100644 index 913bdb083fa..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ku.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'ku', { - clear: 'پاکیکەوە', - highlight: 'نیشانکردن', - options: 'هەڵبژاردەی ڕەنگەکان', - selected: 'ڕەنگی هەڵبژێردراو', - title: 'هەڵبژاردنی ڕەنگ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/lt.js deleted file mode 100644 index 2e7245c4d58..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/lt.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'lt', { - clear: 'Išvalyti', - highlight: 'Paryškinti', - options: 'Spalvos nustatymai', - selected: 'Pasirinkta spalva', - title: 'Pasirinkite spalvą' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/lv.js deleted file mode 100644 index 02e439075e5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/lv.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'lv', { - clear: 'Notīrīt', - highlight: 'Paraugs', - options: 'Krāsas uzstādījumi', - selected: 'Izvēlētā krāsa', - title: 'Izvēlies krāsu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/mk.js deleted file mode 100644 index cfcd958a76c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/mk.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'mk', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/mn.js deleted file mode 100644 index d7d03b04b04..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/mn.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'mn', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ms.js deleted file mode 100644 index bc27089f315..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ms.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'ms', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/nb.js deleted file mode 100644 index 0b43ae19fee..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/nb.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'nb', { - clear: 'Tøm', - highlight: 'Merk', - options: 'Alternativer for farge', - selected: 'Valgt', - title: 'Velg farge' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/nl.js deleted file mode 100644 index ecbe471d406..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/nl.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'nl', { - clear: 'Wissen', - highlight: 'Actief', - options: 'Kleuropties', - selected: 'Geselecteerde kleur', - title: 'Selecteer kleur' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/no.js deleted file mode 100644 index 68c71152007..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/no.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'no', { - clear: 'Tøm', - highlight: 'Merk', - options: 'Alternativer for farge', - selected: 'Valgt', - title: 'Velg farge' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/pl.js deleted file mode 100644 index 7b72de8cf2c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/pl.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'pl', { - clear: 'Wyczyść', - highlight: 'Zaznacz', - options: 'Opcje koloru', - selected: 'Wybrany', - title: 'Wybierz kolor' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/pt-br.js deleted file mode 100644 index 6094191e405..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/pt-br.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'pt-br', { - clear: 'Limpar', - highlight: 'Grifar', - options: 'Opções de Cor', - selected: 'Cor Selecionada', - title: 'Selecione uma Cor' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/pt.js deleted file mode 100644 index b210f1bacb6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/pt.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'pt', { - clear: 'Limpar', - highlight: 'Realçar', - options: 'Opções da Cor', - selected: 'Cor Selecionada', - title: 'Selecionar Cor' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ro.js deleted file mode 100644 index 0a06503c890..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ro.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'ro', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ru.js deleted file mode 100644 index c55b6cb7a43..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ru.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'ru', { - clear: 'Очистить', - highlight: 'Под курсором', - options: 'Настройки цвета', - selected: 'Выбранный цвет', - title: 'Выберите цвет' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/si.js deleted file mode 100644 index b127f4d1165..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/si.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'si', { - clear: 'පැහැදිලි', - highlight: 'මතුකර පෙන්වන්න', - options: 'වර්ණ විකල්ප', - selected: 'තෙරු වර්ණ', - title: 'වර්ණ තෝරන්න' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sk.js deleted file mode 100644 index 5f44790bea9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sk.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'sk', { - clear: 'Vyčistiť', - highlight: 'Zvýrazniť', - options: 'Možnosti farby', - selected: 'Vybraná farba', - title: 'Vyberte farbu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sl.js deleted file mode 100644 index ab85aa5d0cc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sl.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'sl', { - clear: 'Počisti', - highlight: 'Poudarjeno', - options: 'Barvne Možnosti', - selected: 'Izbrano', - title: 'Izberi barvo' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sq.js deleted file mode 100644 index 755411f46d2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sq.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'sq', { - clear: 'Pastro', - highlight: 'Thekso', - options: 'Përzgjedhjet e Ngjyrave', - selected: 'Ngjyra e Përzgjedhur', - title: 'Përzgjidh një ngjyrë' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sr-latn.js deleted file mode 100644 index 779c68848d2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sr-latn.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'sr-latn', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sr.js deleted file mode 100644 index 8361de37046..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sr.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'sr', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sv.js deleted file mode 100644 index 7c2b9f36d5b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/sv.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'sv', { - clear: 'Rensa', - highlight: 'Markera', - options: 'Färgalternativ', - selected: 'Vald färg', - title: 'Välj färg' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/th.js deleted file mode 100644 index dbf5f777fee..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/th.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'th', { - clear: 'Clear', // MISSING - highlight: 'Highlight', // MISSING - options: 'Color Options', // MISSING - selected: 'Selected Color', // MISSING - title: 'Select color' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/tr.js deleted file mode 100644 index 47f5d9d3570..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/tr.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'tr', { - clear: 'Temizle', - highlight: 'İşaretle', - options: 'Renk Seçenekleri', - selected: 'Seçilmiş', - title: 'Renk seç' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ug.js deleted file mode 100644 index 9fd50f91ef8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/ug.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'ug', { - clear: 'تازىلا', - highlight: 'يورۇت', - options: 'رەڭ تاللانمىسى', - selected: 'رەڭ تاللاڭ', - title: 'رەڭ تاللاڭ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/uk.js deleted file mode 100644 index 9fb160dc8d4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/uk.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'uk', { - clear: 'Очистити', - highlight: 'Колір, на який вказує курсор', - options: 'Опції кольорів', - selected: 'Обраний колір', - title: 'Обрати колір' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/vi.js deleted file mode 100644 index 1fd2326217f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/vi.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'vi', { - clear: 'Xóa bỏ', - highlight: 'Màu chọn', - options: 'Tùy chọn màu', - selected: 'Màu đã chọn', - title: 'Chọn màu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/zh-cn.js deleted file mode 100644 index d9d20175b69..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/zh-cn.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'zh-cn', { - clear: '清除', - highlight: '高亮', - options: '颜色选项', - selected: '选择颜色', - title: '选择颜色' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/zh.js deleted file mode 100644 index 2e129fec771..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/lang/zh.js +++ /dev/null @@ -1,11 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'colordialog', 'zh', { - clear: '清除', - highlight: '高亮', - options: '色彩選項', - selected: '選取的色彩', - title: '選取色彩' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/plugin.js deleted file mode 100644 index 0925bab5985..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/colordialog/plugin.js +++ /dev/null @@ -1,69 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -CKEDITOR.plugins.colordialog = { - requires: 'dialog', - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - init: function( editor ) { - var cmd = new CKEDITOR.dialogCommand( 'colordialog' ); - cmd.editorFocus = false; - - editor.addCommand( 'colordialog', cmd ); - - CKEDITOR.dialog.add( 'colordialog', this.path + 'dialogs/colordialog.js' ); - - /** - * Open up color dialog and to receive the selected color. - * - * @param {Function} callback The callback when color dialog is closed - * @param {String} callback.color The color value received if selected on the dialog. - * @param [scope] The scope in which the callback will be bound. - * @member CKEDITOR.editor - */ - editor.getColorFromDialog = function( callback, scope ) { - var onClose = function( evt ) { - releaseHandlers( this ); - var color = evt.name == 'ok' ? this.getValueOf( 'picker', 'selectedColor' ) : null; - callback.call( scope, color ); - }; - var releaseHandlers = function( dialog ) { - dialog.removeListener( 'ok', onClose ); - dialog.removeListener( 'cancel', onClose ); - }; - var bindToDialog = function( dialog ) { - dialog.on( 'ok', onClose ); - dialog.on( 'cancel', onClose ); - }; - - editor.execCommand( 'colordialog' ); - - if ( editor._.storedDialogs && editor._.storedDialogs.colordialog ) - bindToDialog( editor._.storedDialogs.colordialog ); - else { - CKEDITOR.on( 'dialogDefinition', function( e ) { - if ( e.data.name != 'colordialog' ) - return; - - var definition = e.data.definition; - - e.removeListener(); - definition.onLoad = CKEDITOR.tools.override( definition.onLoad, - function( orginal ) { - return function() { - bindToDialog( this ); - definition.onLoad = orginal; - if ( typeof orginal == 'function' ) - orginal.call( this ); - }; - } ); - } ); - } - }; - - - } -}; - -CKEDITOR.plugins.add( 'colordialog', CKEDITOR.plugins.colordialog ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/af.js deleted file mode 100644 index 9109123d662..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/af.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'af', { - options: 'Konteks Spyskaart-opsies' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ar.js deleted file mode 100644 index bc0b4484f84..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ar.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'ar', { - options: 'خصائص قائمة السياق' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/bg.js deleted file mode 100644 index 36ba4cfb843..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/bg.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'bg', { - options: 'Опции на контекстното меню' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/bn.js deleted file mode 100644 index 9a07e71941e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/bn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'bn', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/bs.js deleted file mode 100644 index 7c17e7d7e56..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/bs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'bs', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ca.js deleted file mode 100644 index a6c59b5fbc4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'ca', { - options: 'Opcions del menú contextual' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/cs.js deleted file mode 100644 index fd28a840c38..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/cs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'cs', { - options: 'Nastavení kontextové nabídky' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/cy.js deleted file mode 100644 index 6a4e4a8b275..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/cy.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'cy', { - options: 'Opsiynau Dewislen Cyd-destun' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/da.js deleted file mode 100644 index 5336bb71b3c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/da.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'da', { - options: 'Muligheder for hjælpemenu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/de.js deleted file mode 100644 index c51ded1d459..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/de.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'de', { - options: 'Kontextmenü Optionen' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/el.js deleted file mode 100644 index 7f0813beb38..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/el.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'el', { - options: 'Επιλογές Αναδυόμενου Μενού' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en-au.js deleted file mode 100644 index 9e4b58b2876..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en-au.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'en-au', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en-ca.js deleted file mode 100644 index b61046ecbd8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'en-ca', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en-gb.js deleted file mode 100644 index 2b79207b712..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en-gb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'en-gb', { - options: 'Context Menu Options' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en.js deleted file mode 100644 index 98471b49bf6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/en.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'en', { - options: 'Context Menu Options' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/eo.js deleted file mode 100644 index 020df9830cb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/eo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'eo', { - options: 'Opcioj de Kunteksta Menuo' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/es.js deleted file mode 100644 index d6e361eea6d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/es.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'es', { - options: 'Opciones del menú contextual' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/et.js deleted file mode 100644 index f3eb7ab15be..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/et.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'et', { - options: 'Kontekstimenüü valikud' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/eu.js deleted file mode 100644 index ddf1884c2cc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/eu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'eu', { - options: 'Testuingurko Menuaren Aukerak' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fa.js deleted file mode 100644 index 5baeaff1c05..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fa.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'fa', { - options: 'گزینه​های منوی زمینه' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fi.js deleted file mode 100644 index 29decedfb1b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'fi', { - options: 'Pikavalikon ominaisuudet' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fo.js deleted file mode 100644 index fd549553fbc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'fo', { - options: 'Context Menu Options' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fr-ca.js deleted file mode 100644 index 7d8eda45406..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fr-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'fr-ca', { - options: 'Options du menu contextuel' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fr.js deleted file mode 100644 index 71fa2b84256..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/fr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'fr', { - options: 'Options du menu contextuel' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/gl.js deleted file mode 100644 index ff9d6b685d8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/gl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'gl', { - options: 'Opcións do menú contextual' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/gu.js deleted file mode 100644 index 1f125e27c95..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/gu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'gu', { - options: 'કોન્તેક્ષ્ત્ મેનુના વિકલ્પો' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/he.js deleted file mode 100644 index 8139a71a2b0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/he.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'he', { - options: 'אפשרויות תפריט ההקשר' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/hi.js deleted file mode 100644 index aabe9b25115..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/hi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'hi', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/hr.js deleted file mode 100644 index 95783ba84f5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/hr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'hr', { - options: 'Opcije izbornika' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/hu.js deleted file mode 100644 index a3ad44f141f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/hu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'hu', { - options: 'Helyi menü opciók' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/id.js deleted file mode 100644 index 1d75d2cb8c9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/id.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'id', { - options: 'Opsi Konteks Pilihan' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/is.js deleted file mode 100644 index b0ce9edc955..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/is.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'is', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/it.js deleted file mode 100644 index edafe96b647..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/it.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'it', { - options: 'Opzioni del menù contestuale' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ja.js deleted file mode 100644 index edcc47dcbb8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ja.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'ja', { - options: 'コンテキストメニューオプション' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ka.js deleted file mode 100644 index 3a944635e69..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ka.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'ka', { - options: 'კონტექსტური მენიუს პარამეტრები' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/km.js deleted file mode 100644 index a2e7d544772..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/km.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'km', { - options: 'ជម្រើស​ម៉ឺនុយ​បរិបទ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ko.js deleted file mode 100644 index 4f60bb0a81b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ko.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'ko', { - options: '컨텍스트 메뉴 옵션' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ku.js deleted file mode 100644 index 77214191a8d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ku.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'ku', { - options: 'هەڵبژاردەی لیستەی کلیکی دەستی ڕاست' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/lt.js deleted file mode 100644 index 48edbb75de6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/lt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'lt', { - options: 'Kontekstinio meniu parametrai' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/lv.js deleted file mode 100644 index bc1a1631a03..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/lv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'lv', { - options: 'Uznirstošās izvēlnes uzstādījumi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/mk.js deleted file mode 100644 index 7c5b271c0c0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/mk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'mk', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/mn.js deleted file mode 100644 index 12469af1524..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/mn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'mn', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ms.js deleted file mode 100644 index df31fe04cb2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ms.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'ms', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/nb.js deleted file mode 100644 index 8dd99a4465e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/nb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'nb', { - options: 'Alternativer for høyreklikkmeny' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/nl.js deleted file mode 100644 index 25b9d8d6d4b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/nl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'nl', { - options: 'Contextmenu opties' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/no.js deleted file mode 100644 index 38195cd8f7f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/no.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'no', { - options: 'Alternativer for høyreklikkmeny' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/pl.js deleted file mode 100644 index e20b1cd86e1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/pl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'pl', { - options: 'Opcje menu kontekstowego' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/pt-br.js deleted file mode 100644 index 1117c9a40ff..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/pt-br.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'pt-br', { - options: 'Opções Menu de Contexto' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/pt.js deleted file mode 100644 index 205eb6fdf71..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/pt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'pt', { - options: 'Menu de opções de contexto' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ro.js deleted file mode 100644 index df44813a1c2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ro.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'ro', { - options: 'Opțiuni Meniu Contextual' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ru.js deleted file mode 100644 index 741126ffd2f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ru.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'ru', { - options: 'Параметры контекстного меню' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/si.js deleted file mode 100644 index e8a340805b5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/si.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'si', { - options: 'අනතර්ග ලේඛණ විකල්ප' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sk.js deleted file mode 100644 index a94fe858fb8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'sk', { - options: 'Možnosti kontextového menu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sl.js deleted file mode 100644 index 60696241e30..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'sl', { - options: 'Možnosti Kontekstnega Menija' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sq.js deleted file mode 100644 index 8ff40cd88a4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sq.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'sq', { - options: 'Mundësitë e Menysë së Kontekstit' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sr-latn.js deleted file mode 100644 index 36ae082226f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sr-latn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'sr-latn', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sr.js deleted file mode 100644 index 64ddf2407dc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'sr', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sv.js deleted file mode 100644 index 71e4884cb87..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/sv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'sv', { - options: 'Context Menu Options' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/th.js deleted file mode 100644 index a8e41d8d197..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/th.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'th', { - options: 'Context Menu Options' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/tr.js deleted file mode 100644 index ea4a3f92771..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/tr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'tr', { - options: 'İçerik Menüsü Seçenekleri' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ug.js deleted file mode 100644 index da08efdcd4a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/ug.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'ug', { - options: 'قىسقا يول تىزىملىك تاللانمىسى' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/uk.js deleted file mode 100644 index c2cbe39316b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/uk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'uk', { - options: 'Опції контекстного меню' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/vi.js deleted file mode 100644 index e6148849530..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/vi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'vi', { - options: 'Tùy chọn menu bổ xung' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/zh-cn.js deleted file mode 100644 index 2c2b677a8e1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/zh-cn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'zh-cn', { - options: '快捷菜单选项' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/zh.js deleted file mode 100644 index f134584b3d1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/zh.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'contextmenu', 'zh', { - options: '內容功能表選項' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/plugin.js deleted file mode 100644 index fb54db4ee67..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/plugin.js +++ /dev/null @@ -1,143 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -CKEDITOR.plugins.add( 'contextmenu', { - requires: 'menu', - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - - // Make sure the base class (CKEDITOR.menu) is loaded before it (#3318). - onLoad: function() { - /** - * Class replacing the non-configurable native context menu with configurable CKEditor's equivalent. - * - * @class - * @extends CKEDITOR.menu - */ - CKEDITOR.plugins.contextMenu = CKEDITOR.tools.createClass( { - base: CKEDITOR.menu, - - /** - * Creates the CKEDITOR.plugins.contextMenu class instance. - * - * @constructor - * @param {CKEDITOR.editor} editor - */ - $: function( editor ) { - this.base.call( this, editor, { - panel: { - className: 'cke_menu_panel', - attributes: { - 'aria-label': editor.lang.contextmenu.options - } - } - } ); - }, - - proto: { - /** - * Starts watching on native context menu triggers (option key, right click) on given element. - * - * @param {CKEDITOR.dom.element} element - * @param {Boolean} [nativeContextMenuOnCtrl] Whether to open native context menu if - * *Ctrl* key is hold on opening the context menu. See {@link CKEDITOR.config#browserContextMenuOnCtrl}. - */ - addTarget: function( element, nativeContextMenuOnCtrl ) { - element.on( 'contextmenu', function( event ) { - var domEvent = event.data, - isCtrlKeyDown = - // Safari on Windows always show 'ctrlKey' as true in 'contextmenu' event, - // which make this property unreliable. (#4826) - ( CKEDITOR.env.webkit ? holdCtrlKey : ( CKEDITOR.env.mac ? domEvent.$.metaKey : domEvent.$.ctrlKey ) ); - - if ( nativeContextMenuOnCtrl && isCtrlKeyDown ) - return; - - // Cancel the browser context menu. - domEvent.preventDefault(); - - var doc = domEvent.getTarget().getDocument(), - offsetParent = domEvent.getTarget().getDocument().getDocumentElement(), - fromFrame = !doc.equals( CKEDITOR.document ), - scroll = doc.getWindow().getScrollPosition(), - offsetX = fromFrame ? domEvent.$.clientX : domEvent.$.pageX || scroll.x + domEvent.$.clientX, - offsetY = fromFrame ? domEvent.$.clientY : domEvent.$.pageY || scroll.y + domEvent.$.clientY; - - CKEDITOR.tools.setTimeout( function() { - this.open( offsetParent, null, offsetX, offsetY ); - - // IE needs a short while to allow selection change before opening menu. (#7908) - }, CKEDITOR.env.ie ? 200 : 0, this ); - }, this ); - - if ( CKEDITOR.env.webkit ) { - var holdCtrlKey, - onKeyDown = function( event ) { - holdCtrlKey = CKEDITOR.env.mac ? event.data.$.metaKey : event.data.$.ctrlKey; - }, - resetOnKeyUp = function() { - holdCtrlKey = 0; - }; - - element.on( 'keydown', onKeyDown ); - element.on( 'keyup', resetOnKeyUp ); - element.on( 'contextmenu', resetOnKeyUp ); - } - }, - - /** - * Opens context menu in given location. See the {@link CKEDITOR.menu#show} method. - * - * @param {CKEDITOR.dom.element} offsetParent - * @param {Number} [corner] - * @param {Number} [offsetX] - * @param {Number} [offsetY] - */ - open: function( offsetParent, corner, offsetX, offsetY ) { - this.editor.focus(); - offsetParent = offsetParent || CKEDITOR.document.getDocumentElement(); - - // #9362: Force selection check to update commands' states in the new context. - this.editor.selectionChange( 1 ); - - this.show( offsetParent, corner, offsetX, offsetY ); - } - } - } ); - }, - - beforeInit: function( editor ) { - /** - * @readonly - * @property {CKEDITOR.plugins.contextMenu} contextMenu - * @member CKEDITOR.editor - */ - var contextMenu = editor.contextMenu = new CKEDITOR.plugins.contextMenu( editor ); - - editor.on( 'contentDom', function() { - contextMenu.addTarget( editor.editable(), editor.config.browserContextMenuOnCtrl !== false ); - } ); - - editor.addCommand( 'contextMenu', { - exec: function() { - editor.contextMenu.open( editor.document.getBody() ); - } - } ); - - editor.setKeystroke( CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ); - editor.setKeystroke( CKEDITOR.CTRL + CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ); - } -} ); - -/** - * Whether to show the browser native context menu when the *Ctrl* or - * *Meta* (Mac) key is pressed on opening the context menu with the - * right mouse button click or the *Menu* key. - * - * config.browserContextMenuOnCtrl = false; - * - * @since 3.0.2 - * @cfg {Boolean} [browserContextMenuOnCtrl=true] - * @member CKEDITOR.config - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/dialogDefinition.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/dialogDefinition.js deleted file mode 100644 index 0e2a642ee2b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/dialogDefinition.js +++ /dev/null @@ -1,1006 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview Defines the "virtual" dialog, dialog content and dialog button - * definition classes. - */ - -/** - * The definition of a dialog window. - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create dialogs. - * - * // There is no constructor for this class, the user just has to define an - * // object with the appropriate properties. - * - * CKEDITOR.dialog.add( 'testOnly', function( editor ) { - * return { - * title: 'Test Dialog', - * resizable: CKEDITOR.DIALOG_RESIZE_BOTH, - * minWidth: 500, - * minHeight: 400, - * contents: [ - * { - * id: 'tab1', - * label: 'First Tab', - * title: 'First Tab Title', - * accessKey: 'Q', - * elements: [ - * { - * type: 'text', - * label: 'Test Text 1', - * id: 'testText1', - * 'default': 'hello world!' - * } - * ] - * } - * ] - * }; - * } ); - * - * @class CKEDITOR.dialog.definition - */ - -/** - * The dialog title, displayed in the dialog's header. Required. - * - * @property {String} title - */ - -/** - * How the dialog can be resized, must be one of the four contents defined below. - * - * * {@link CKEDITOR#DIALOG_RESIZE_NONE} - * * {@link CKEDITOR#DIALOG_RESIZE_WIDTH} - * * {@link CKEDITOR#DIALOG_RESIZE_HEIGHT} - * * {@link CKEDITOR#DIALOG_RESIZE_BOTH} - * - * @property {Number} [resizable=CKEDITOR.DIALOG_RESIZE_NONE] - */ - -/** - * The minimum width of the dialog, in pixels. - * - * @property {Number} [minWidth=600] - */ - -/** - * The minimum height of the dialog, in pixels. - * - * @property {Number} [minHeight=400] - */ - - -/** - * The initial width of the dialog, in pixels. - * - * @since 3.5.3 - * @property {Number} [width=CKEDITOR.dialog.definition#minWidth] - */ - -/** - * The initial height of the dialog, in pixels. - * - * @since 3.5.3 - * @property {Number} [height=CKEDITOR.dialog.definition.minHeight] - */ - -/** - * The buttons in the dialog, defined as an array of - * {@link CKEDITOR.dialog.definition.button} objects. - * - * @property {Array} [buttons=[ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]] - */ - -/** - * The contents in the dialog, defined as an array of - * {@link CKEDITOR.dialog.definition.content} objects. Required. - * - * @property {Array} contents - */ - -/** - * The function to execute when OK is pressed. - * - * @property {Function} onOk - */ - -/** - * The function to execute when Cancel is pressed. - * - * @property {Function} onCancel - */ - -/** - * The function to execute when the dialog is displayed for the first time. - * - * @property {Function} onLoad - */ - -/** - * The function to execute when the dialog is loaded (executed every time the dialog is opened). - * - * @property {Function} onShow - */ - -/** - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create dialog content pages. - * - * @class CKEDITOR.dialog.definition.content. - */ - -/** - * The id of the content page. - * - * @property {String} id - */ - -/** - * The tab label of the content page. - * - * @property {String} label - */ - -/** - * The popup message of the tab label. - * - * @property {String} title - */ - -/** - * The CTRL hotkey for switching to the tab. - * - * contentDefinition.accessKey = 'Q'; // Switch to this page when CTRL-Q is pressed. - * - * @property {String} accessKey - */ - -/** - * The UI elements contained in this content page, defined as an array of - * {@link CKEDITOR.dialog.definition.uiElement} objects. - * - * @property {Array} elements - */ - -/** - * The definition of user interface element (textarea, radio etc). - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create dialog UI elements. - * - * @class CKEDITOR.dialog.definition.uiElement - * @see CKEDITOR.ui.dialog.uiElement - */ - -/** - * The id of the UI element. - * - * @property {String} id - */ - -/** - * The type of the UI element. Required. - * - * @property {String} type - */ - -/** - * The popup label of the UI element. - * - * @property {String} title - */ - -/** - * The content that needs to be allowed to enable this UI element. - * All formats accepted by {@link CKEDITOR.filter#check} may be used. - * - * When all UI elements in a tab are disabled, this tab will be disabled automatically. - * - * @property {String/Object/CKEDITOR.style} requiredContent - */ - -/** - * CSS class names to append to the UI element. - * - * @property {String} className - */ - -/** - * Inline CSS classes to append to the UI element. - * - * @property {String} style - */ - -/** - * Horizontal alignment (in container) of the UI element. - * - * @property {String} align - */ - -/** - * Function to execute the first time the UI element is displayed. - * - * @property {Function} onLoad - */ - -/** - * Function to execute whenever the UI element's parent dialog is displayed. - * - * @property {Function} onShow - */ - -/** - * Function to execute whenever the UI element's parent dialog is closed. - * - * @property {Function} onHide - */ - -/** - * Function to execute whenever the UI element's parent - * dialog's {@link CKEDITOR.dialog#setupContent} method is executed. - * It usually takes care of the respective UI element as a standalone element. - * - * @property {Function} setup - */ - -/** - * Function to execute whenever the UI element's parent - * dialog's {@link CKEDITOR.dialog#commitContent} method is executed. - * It usually takes care of the respective UI element as a standalone element. - * - * @property {Function} commit - */ - -// ----- hbox ----------------------------------------------------------------- - -/** - * Horizontal layout box for dialog UI elements, auto-expends to available width of container. - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create horizontal layouts. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.hbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * // There is no constructor for this class, the user just has to define an - * // object with the appropriate properties. - * - * // Example: - * { - * type: 'hbox', - * widths: [ '25%', '25%', '50%' ], - * children: [ - * { - * type: 'text', - * id: 'id1', - * width: '40px', - * }, - * { - * type: 'text', - * id: 'id2', - * width: '40px', - * }, - * { - * type: 'text', - * id: 'id3' - * } - * ] - * } - * - * @class CKEDITOR.dialog.definition.hbox - * @extends CKEDITOR.dialog.definition.uiElement - */ - -/** - * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container. - * - * @property {Array} children - */ - -/** - * (Optional) The widths of child cells. - * - * @property {Array} widths - */ - -/** - * (Optional) The height of the layout. - * - * @property {Number} height - */ - -/** - * The CSS styles to apply to this element. - * - * @property {String} styles - */ - -/** - * (Optional) The padding width inside child cells. Example: 0, 1. - * - * @property {Number} padding - */ - -/** - * (Optional) The alignment of the whole layout. Example: center, top. - * - * @property {String} align - */ - -// ----- vbox ----------------------------------------------------------------- - -/** - * Vertical layout box for dialog UI elements. - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create vertical layouts. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.vbox} object and can - * be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * // There is no constructor for this class, the user just has to define an - * // object with the appropriate properties. - * - * // Example: - * { - * type: 'vbox', - * align: 'right', - * width: '200px', - * children: [ - * { - * type: 'text', - * id: 'age', - * label: 'Age' - * }, - * { - * type: 'text', - * id: 'sex', - * label: 'Sex' - * }, - * { - * type: 'text', - * id: 'nationality', - * label: 'Nationality' - * } - * ] - * } - * - * @class CKEDITOR.dialog.definition.vbox - * @extends CKEDITOR.dialog.definition.uiElement - */ - -/** - * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container. - * - * @property {Array} children - */ - -/** - * (Optional) The width of the layout. - * - * @property {Array} width - */ - -/** - * (Optional) The heights of individual cells. - * - * @property {Number} heights - */ - -/** - * The CSS styles to apply to this element. - * - * @property {String} styles - */ - -/** - * (Optional) The padding width inside child cells. Example: 0, 1. - * - * @property {Number} padding - */ - -/** - * (Optional) The alignment of the whole layout. Example: center, top. - * - * @property {String} align - */ - -/** - * (Optional) Whether the layout should expand vertically to fill its container. - * - * @property {Boolean} expand - */ - -// ----- labeled element ------------------------------------------------------ - -/** - * The definition of labeled user interface element (textarea, textInput etc). - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create dialog UI elements. - * - * @class CKEDITOR.dialog.definition.labeledElement - * @extends CKEDITOR.dialog.definition.uiElement - * @see CKEDITOR.ui.dialog.labeledElement - */ - -/** - * The label of the UI element. - * - * { - * type: 'text', - * label: 'My Label' - * } - * - * @property {String} label - */ - -/** - * (Optional) Specify the layout of the label. Set to `'horizontal'` for horizontal layout. - * The default layout is vertical. - * - * { - * type: 'text', - * label: 'My Label', - * labelLayout: 'horizontal' - * } - * - * @property {String} labelLayout - */ - -/** - * (Optional) Applies only to horizontal layouts: a two elements array of lengths to specify the widths of the - * label and the content element. See also {@link CKEDITOR.dialog.definition.labeledElement#labelLayout}. - * - * { - * type: 'text', - * label: 'My Label', - * labelLayout: 'horizontal', - * widths: [100, 200] - * } - * - * @property {Array} widths - */ - -/** - * Specify the inline style of the uiElement label. - * - * { - * type: 'text', - * label: 'My Label', - * labelStyle: 'color: red' - * } - * - * @property {String} labelStyle - */ - - -/** - * Specify the inline style of the input element. - * - * { - * type: 'text', - * label: 'My Label', - * inputStyle: 'text-align: center' - * } - * - * @since 3.6.1 - * @property {String} inputStyle - */ - -/** - * Specify the inline style of the input element container. - * - * { - * type: 'text', - * label: 'My Label', - * controlStyle: 'width: 3em' - * } - * - * @since 3.6.1 - * @property {String} controlStyle - */ - -// ----- button --------------------------------------------------------------- - -/** - * The definition of a button. - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create buttons. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.button} object - * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. - * - * // There is no constructor for this class, the user just has to define an - * // object with the appropriate properties. - * - * // Example: - * { - * type: 'button', - * id: 'buttonId', - * label: 'Click me', - * title: 'My title', - * onClick: function() { - * // this = CKEDITOR.ui.dialog.button - * alert( 'Clicked: ' + this.id ); - * } - * } - * - * @class CKEDITOR.dialog.definition.button - * @extends CKEDITOR.dialog.definition.uiElement - */ - -/** - * Whether the button is disabled. - * - * @property {Boolean} disabled - */ - -/** - * The label of the UI element. - * - * @property {String} label - */ - -// ----- checkbox ------ -/** - * The definition of a checkbox element. - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create groups of checkbox buttons. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.checkbox} object - * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. - * - * // There is no constructor for this class, the user just has to define an - * // object with the appropriate properties. - * - * // Example: - * { - * type: 'checkbox', - * id: 'agree', - * label: 'I agree', - * 'default': 'checked', - * onClick: function() { - * // this = CKEDITOR.ui.dialog.checkbox - * alert( 'Checked: ' + this.getValue() ); - * } - * } - * - * @class CKEDITOR.dialog.definition.checkbox - * @extends CKEDITOR.dialog.definition.uiElement - */ - -/** - * (Optional) The validation function. - * - * @property {Function} validate - */ - -/** - * The label of the UI element. - * - * @property {String} label - */ - -/** - * The default state. - * - * @property {String} [default='' (unchecked)] - */ - -// ----- file ----------------------------------------------------------------- - -/** - * The definition of a file upload input. - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create file upload elements. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.file} object - * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. - * - * // There is no constructor for this class, the user just has to define an - * // object with the appropriate properties. - * - * // Example: - * { - * type: 'file', - * id: 'upload', - * label: 'Select file from your computer', - * size: 38 - * }, - * { - * type: 'fileButton', - * id: 'fileId', - * label: 'Upload file', - * 'for': [ 'tab1', 'upload' ], - * filebrowser: { - * onSelect: function( fileUrl, data ) { - * alert( 'Successfully uploaded: ' + fileUrl ); - * } - * } - * } - * - * @class CKEDITOR.dialog.definition.file - * @extends CKEDITOR.dialog.definition.labeledElement - */ - -/** - * (Optional) The validation function. - * - * @property {Function} validate - */ - -/** - * (Optional) The action attribute of the form element associated with this file upload input. - * If empty, CKEditor will use path to server connector for currently opened folder. - * - * @property {String} action - */ - -/** - * The size of the UI element. - * - * @property {Number} size - */ - -// ----- fileButton ----------------------------------------------------------- - -/** - * The definition of a button for submitting the file in a file upload input. - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create a button for submitting the file in a file upload input. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.fileButton} object - * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. - * - * @class CKEDITOR.dialog.definition.fileButton - * @extends CKEDITOR.dialog.definition.uiElement - */ - -/** - * (Optional) The validation function. - * - * @property {Function} validate - */ - -/** - * The label of the UI element. - * - * @property {String} label - */ - -/** - * The instruction for CKEditor how to deal with file upload. - * By default, the file and fileButton elements will not work "as expected" if this attribute is not set. - * - * // Update field with id 'txtUrl' in the 'tab1' tab when file is uploaded. - * filebrowser: 'tab1:txtUrl' - * - * // Call custom onSelect function when file is successfully uploaded. - * filebrowser: { - * onSelect: function( fileUrl, data ) { - * alert( 'Successfully uploaded: ' + fileUrl ); - * } - * } - * - * @property {String} filebrowser/Object - */ - -/** - * An array that contains pageId and elementId of the file upload input element for which this button is created. - * - * [ pageId, elementId ] - * - * @property {String} for - */ - -// ----- html ----------------------------------------------------------------- - -/** - * The definition of a raw HTML element. - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create elements made from raw HTML code. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.html} object - * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. - * To access HTML elements use {@link CKEDITOR.dom.document#getById}. - * - * // There is no constructor for this class, the user just has to define an - * // object with the appropriate properties. - * - * // Example 1: - * { - * type: 'html', - * html: '

This is some sample HTML content.

' - * } - * - * // Example 2: - * // Complete sample with document.getById() call when the "Ok" button is clicked. - * var dialogDefinition = { - * title: 'Sample dialog', - * minWidth: 300, - * minHeight: 200, - * onOk: function() { - * // "this" is now a CKEDITOR.dialog object. - * var document = this.getElement().getDocument(); - * // document = CKEDITOR.dom.document - * var element = document.getById( 'myDiv' ); - * if ( element ) - * alert( element.getHtml() ); - * }, - * contents: [ - * { - * id: 'tab1', - * label: '', - * title: '', - * elements: [ - * { - * type: 'html', - * html: '
Sample text.
Another div.
' - * } - * ] - * } - * ], - * buttons: [ CKEDITOR.dialog.cancelButton, CKEDITOR.dialog.okButton ] - * }; - * - * @class CKEDITOR.dialog.definition.html - * @extends CKEDITOR.dialog.definition.uiElement - */ - -/** - * (Required) HTML code of this element. - * - * @property {String} html - */ - -// ----- radio ---------------------------------------------------------------- - -/** - * The definition of a radio group. - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create groups of radio buttons. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.radio} object - * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. - * - * // There is no constructor for this class, the user just has to define an - * // object with the appropriate properties. - * - * // Example: - * { - * type: 'radio', - * id: 'country', - * label: 'Which country is bigger', - * items: [ [ 'France', 'FR' ], [ 'Germany', 'DE' ] ], - * style: 'color: green', - * 'default': 'DE', - * onClick: function() { - * // this = CKEDITOR.ui.dialog.radio - * alert( 'Current value: ' + this.getValue() ); - * } - * } - * - * @class CKEDITOR.dialog.definition.radio - * @extends CKEDITOR.dialog.definition.labeledElement - */ - -/** - * The default value. - * - * @property {String} default - */ - -/** - * (Optional) The validation function. - * - * @property {Function} validate - */ - -/** - * An array of options. Each option is a 1- or 2-item array of format `[ 'Description', 'Value' ]`. - * If `'Value'` is missing, then the value would be assumed to be the same as the description. - * - * @property {Array} items - */ - -// ----- selectElement -------------------------------------------------------- - -/** - * The definition of a select element. - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create select elements. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.select} object - * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. - * - * // There is no constructor for this class, the user just has to define an - * // object with the appropriate properties. - * - * // Example: - * { - * type: 'select', - * id: 'sport', - * label: 'Select your favourite sport', - * items: [ [ 'Basketball' ], [ 'Baseball' ], [ 'Hockey' ], [ 'Football' ] ], - * 'default': 'Football', - * onChange: function( api ) { - * // this = CKEDITOR.ui.dialog.select - * alert( 'Current value: ' + this.getValue() ); - * } - * } - * - * @class CKEDITOR.dialog.definition.select - * @extends CKEDITOR.dialog.definition.labeledElement - */ - -/** - * The default value. - * - * @property {String} default - */ - -/** - * (Optional) The validation function. - * - * @property {Function} validate - */ - -/** - * An array of options. Each option is a 1- or 2-item array of format `[ 'Description', 'Value' ]`. - * If `'Value'` is missing, then the value would be assumed to be the same as the description. - * - * @property {Array} items - */ - -/** - * (Optional) Set this to true if you'd like to have a multiple-choice select box. - * - * @property {Boolean} [multiple=false] - */ - -/** - * (Optional) The number of items to display in the select box. - * - * @property {Number} size - */ - -// ----- textInput ------------------------------------------------------------ - -/** - * The definition of a text field (single line). - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create text fields. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textInput} object - * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. - * - * // There is no constructor for this class, the user just has to define an - * // object with the appropriate properties. - * - * { - * type: 'text', - * id: 'name', - * label: 'Your name', - * 'default': '', - * validate: function() { - * if ( !this.getValue() ) { - * api.openMsgDialog( '', 'Name cannot be empty.' ); - * return false; - * } - * } - * } - * - * @class CKEDITOR.dialog.definition.textInput - * @extends CKEDITOR.dialog.definition.labeledElement - */ - -/** - * The default value. - * - * @property {String} default - */ - -/** - * (Optional) The maximum length. - * - * @property {Number} maxLength - */ - -/** - * (Optional) The size of the input field. - * - * @property {Number} size - */ - -/** - * (Optional) The validation function. - * - * @property {Function} validate - */ - -// ----- textarea ------------------------------------------------------------- - -/** - * The definition of a text field (multiple lines). - * - * This class is not really part of the API. It just illustrates the properties - * that developers can use to define and create textarea. - * - * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textarea} object - * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. - * - * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. - * -* // There is no constructor for this class, the user just has to define an -* // object with the appropriate properties. -* -* // Example: -* { -* type: 'textarea', -* id: 'message', -* label: 'Your comment', -* 'default': '', -* validate: function() { -* if ( this.getValue().length < 5 ) { -* api.openMsgDialog( 'The comment is too short.' ); -* return false; -* } -* } -* } - * - * @class CKEDITOR.dialog.definition.textarea - * @extends CKEDITOR.dialog.definition.labeledElement - */ - -/** - * The number of rows. - * - * @property {Number} rows - */ - -/** - * The number of columns. - * - * @property {Number} cols - */ - -/** - * (Optional) The validation function. - * - * @property {Function} validate - */ - -/** - * The default value. - * - * @property {String} default - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/plugin.js deleted file mode 100644 index 5382f01531b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/plugin.js +++ /dev/null @@ -1,3267 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview The floating dialog plugin. - */ - -/** - * No resize for this dialog. - * - * @readonly - * @property {Number} [=0] - * @member CKEDITOR - */ -CKEDITOR.DIALOG_RESIZE_NONE = 0; - -/** - * Only allow horizontal resizing for this dialog, disable vertical resizing. - * - * @readonly - * @property {Number} [=1] - * @member CKEDITOR - */ -CKEDITOR.DIALOG_RESIZE_WIDTH = 1; - -/** - * Only allow vertical resizing for this dialog, disable horizontal resizing. - * - * @readonly - * @property {Number} [=2] - * @member CKEDITOR - */ -CKEDITOR.DIALOG_RESIZE_HEIGHT = 2; - -/** - * Allow the dialog to be resized in both directions. - * - * @readonly - * @property {Number} [=3] - * @member CKEDITOR - */ -CKEDITOR.DIALOG_RESIZE_BOTH = 3; - -( function() { - var cssLength = CKEDITOR.tools.cssLength; - - function isTabVisible( tabId ) { - return !!this._.tabs[ tabId ][ 0 ].$.offsetHeight; - } - - function getPreviousVisibleTab() { - var tabId = this._.currentTabId, - length = this._.tabIdList.length, - tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId ) + length; - - for ( var i = tabIndex - 1; i > tabIndex - length; i-- ) { - if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) ) - return this._.tabIdList[ i % length ]; - } - - return null; - } - - function getNextVisibleTab() { - var tabId = this._.currentTabId, - length = this._.tabIdList.length, - tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId ); - - for ( var i = tabIndex + 1; i < tabIndex + length; i++ ) { - if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) ) - return this._.tabIdList[ i % length ]; - } - - return null; - } - - - function clearOrRecoverTextInputValue( container, isRecover ) { - var inputs = container.$.getElementsByTagName( 'input' ); - for ( var i = 0, length = inputs.length; i < length; i++ ) { - var item = new CKEDITOR.dom.element( inputs[ i ] ); - - if ( item.getAttribute( 'type' ).toLowerCase() == 'text' ) { - if ( isRecover ) { - item.setAttribute( 'value', item.getCustomData( 'fake_value' ) || '' ); - item.removeCustomData( 'fake_value' ); - } else { - item.setCustomData( 'fake_value', item.getAttribute( 'value' ) ); - item.setAttribute( 'value', '' ); - } - } - } - } - - // Handle dialog element validation state UI changes. - function handleFieldValidated( isValid, msg ) { - var input = this.getInputElement(); - if ( input ) - isValid ? input.removeAttribute( 'aria-invalid' ) : input.setAttribute( 'aria-invalid', true ); - - if ( !isValid ) { - if ( this.select ) - this.select(); - else - this.focus(); - } - - msg && alert( msg ); - - this.fire( 'validated', { valid: isValid, msg: msg } ); - } - - function resetField() { - var input = this.getInputElement(); - input && input.removeAttribute( 'aria-invalid' ); - } - - var templateSource = ''; - - function buildDialog( editor ) { - var element = CKEDITOR.dom.element.createFromHtml( CKEDITOR.addTemplate( 'dialog', templateSource ).output( { - id: CKEDITOR.tools.getNextNumber(), - editorId: editor.id, - langDir: editor.lang.dir, - langCode: editor.langCode, - editorDialogClass: 'cke_editor_' + editor.name.replace( /\./g, '\\.' ) + '_dialog', - closeTitle: editor.lang.common.close, - hidpi: CKEDITOR.env.hidpi ? 'cke_hidpi' : '' - } ) ); - - // TODO: Change this to getById(), so it'll support custom templates. - var body = element.getChild( [ 0, 0, 0, 0, 0 ] ), - title = body.getChild( 0 ), - close = body.getChild( 1 ); - - // IFrame shim for dialog that masks activeX in IE. (#7619) - if ( CKEDITOR.env.ie && !CKEDITOR.env.ie6Compat ) { - var src = 'javascript:void(function(){' + encodeURIComponent( 'document.open();(' + CKEDITOR.tools.fixDomain + ')();document.close();' ) + '}())', - iframe = CKEDITOR.dom.element.createFromHtml( '' ); - iframe.appendTo( body.getParent() ); - } - - // Make the Title and Close Button unselectable. - title.unselectable(); - close.unselectable(); - - return { - element: element, - parts: { - dialog: element.getChild( 0 ), - title: title, - close: close, - tabs: body.getChild( 2 ), - contents: body.getChild( [ 3, 0, 0, 0 ] ), - footer: body.getChild( [ 3, 0, 1, 0 ] ) - } - }; - } - - /** - * This is the base class for runtime dialog objects. An instance of this - * class represents a single named dialog for a single editor instance. - * - * var dialogObj = new CKEDITOR.dialog( editor, 'smiley' ); - * - * @class - * @constructor Creates a dialog class instance. - * @param {Object} editor The editor which created the dialog. - * @param {String} dialogName The dialog's registered name. - */ - CKEDITOR.dialog = function( editor, dialogName ) { - // Load the dialog definition. - var definition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ], - defaultDefinition = CKEDITOR.tools.clone( defaultDialogDefinition ), - buttonsOrder = editor.config.dialog_buttonsOrder || 'OS', - dir = editor.lang.dir, - tabsToRemove = {}, - i, processed, stopPropagation; - - if ( ( buttonsOrder == 'OS' && CKEDITOR.env.mac ) || // The buttons in MacOS Apps are in reverse order (#4750) - ( buttonsOrder == 'rtl' && dir == 'ltr' ) || ( buttonsOrder == 'ltr' && dir == 'rtl' ) ) - defaultDefinition.buttons.reverse(); - - - // Completes the definition with the default values. - definition = CKEDITOR.tools.extend( definition( editor ), defaultDefinition ); - - // Clone a functionally independent copy for this dialog. - definition = CKEDITOR.tools.clone( definition ); - - // Create a complex definition object, extending it with the API - // functions. - definition = new definitionObject( this, definition ); - - var doc = CKEDITOR.document; - - var themeBuilt = buildDialog( editor ); - - // Initialize some basic parameters. - this._ = { - editor: editor, - element: themeBuilt.element, - name: dialogName, - contentSize: { width: 0, height: 0 }, - size: { width: 0, height: 0 }, - contents: {}, - buttons: {}, - accessKeyMap: {}, - - // Initialize the tab and page map. - tabs: {}, - tabIdList: [], - currentTabId: null, - currentTabIndex: null, - pageCount: 0, - lastTab: null, - tabBarMode: false, - - // Initialize the tab order array for input widgets. - focusList: [], - currentFocusIndex: 0, - hasFocus: false - }; - - this.parts = themeBuilt.parts; - - CKEDITOR.tools.setTimeout( function() { - editor.fire( 'ariaWidget', this.parts.contents ); - }, 0, this ); - - // Set the startup styles for the dialog, avoiding it enlarging the - // page size on the dialog creation. - var startStyles = { - position: CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed', - top: 0, - visibility: 'hidden' - }; - - startStyles[ dir == 'rtl' ? 'right' : 'left' ] = 0; - this.parts.dialog.setStyles( startStyles ); - - - // Call the CKEDITOR.event constructor to initialize this instance. - CKEDITOR.event.call( this ); - - // Fire the "dialogDefinition" event, making it possible to customize - // the dialog definition. - this.definition = definition = CKEDITOR.fire( 'dialogDefinition', { - name: dialogName, - definition: definition - }, editor ).definition; - - // Cache tabs that should be removed. - if ( !( 'removeDialogTabs' in editor._ ) && editor.config.removeDialogTabs ) { - var removeContents = editor.config.removeDialogTabs.split( ';' ); - - for ( i = 0; i < removeContents.length; i++ ) { - var parts = removeContents[ i ].split( ':' ); - if ( parts.length == 2 ) { - var removeDialogName = parts[ 0 ]; - if ( !tabsToRemove[ removeDialogName ] ) - tabsToRemove[ removeDialogName ] = []; - tabsToRemove[ removeDialogName ].push( parts[ 1 ] ); - } - } - editor._.removeDialogTabs = tabsToRemove; - } - - // Remove tabs of this dialog. - if ( editor._.removeDialogTabs && ( tabsToRemove = editor._.removeDialogTabs[ dialogName ] ) ) { - for ( i = 0; i < tabsToRemove.length; i++ ) - definition.removeContents( tabsToRemove[ i ] ); - } - - // Initialize load, show, hide, ok and cancel events. - if ( definition.onLoad ) - this.on( 'load', definition.onLoad ); - - if ( definition.onShow ) - this.on( 'show', definition.onShow ); - - if ( definition.onHide ) - this.on( 'hide', definition.onHide ); - - if ( definition.onOk ) { - this.on( 'ok', function( evt ) { - // Dialog confirm might probably introduce content changes (#5415). - editor.fire( 'saveSnapshot' ); - setTimeout( function() { - editor.fire( 'saveSnapshot' ); - }, 0 ); - if ( definition.onOk.call( this, evt ) === false ) - evt.data.hide = false; - } ); - } - - if ( definition.onCancel ) { - this.on( 'cancel', function( evt ) { - if ( definition.onCancel.call( this, evt ) === false ) - evt.data.hide = false; - } ); - } - - var me = this; - - // Iterates over all items inside all content in the dialog, calling a - // function for each of them. - var iterContents = function( func ) { - var contents = me._.contents, - stop = false; - - for ( var i in contents ) { - for ( var j in contents[ i ] ) { - stop = func.call( this, contents[ i ][ j ] ); - if ( stop ) - return; - } - } - }; - - this.on( 'ok', function( evt ) { - iterContents( function( item ) { - if ( item.validate ) { - var retval = item.validate( this ), - invalid = typeof( retval ) == 'string' || retval === false; - - if ( invalid ) { - evt.data.hide = false; - evt.stop(); - } - - handleFieldValidated.call( item, !invalid, typeof retval == 'string' ? retval : undefined ); - return invalid; - } - } ); - }, this, null, 0 ); - - this.on( 'cancel', function( evt ) { - iterContents( function( item ) { - if ( item.isChanged() ) { - if ( !editor.config.dialog_noConfirmCancel && !confirm( editor.lang.common.confirmCancel ) ) - evt.data.hide = false; - return true; - } - } ); - }, this, null, 0 ); - - this.parts.close.on( 'click', function( evt ) { - if ( this.fire( 'cancel', { hide: true } ).hide !== false ) - this.hide(); - evt.data.preventDefault(); - }, this ); - - // Sort focus list according to tab order definitions. - function setupFocus() { - var focusList = me._.focusList; - focusList.sort( function( a, b ) { - // Mimics browser tab order logics; - if ( a.tabIndex != b.tabIndex ) - return b.tabIndex - a.tabIndex; - // Sort is not stable in some browsers, - // fall-back the comparator to 'focusIndex'; - else - return a.focusIndex - b.focusIndex; - } ); - - var size = focusList.length; - for ( var i = 0; i < size; i++ ) - focusList[ i ].focusIndex = i; - } - - function changeFocus( offset ) { - var focusList = me._.focusList; - offset = offset || 0; - - if ( focusList.length < 1 ) - return; - - var current = me._.currentFocusIndex; - - // Trigger the 'blur' event of any input element before anything, - // since certain UI updates may depend on it. - try { - focusList[ current ].getInputElement().$.blur(); - } catch ( e ) {} - - var startIndex = ( current + offset + focusList.length ) % focusList.length, - currentIndex = startIndex; - while ( offset && !focusList[ currentIndex ].isFocusable() ) { - currentIndex = ( currentIndex + offset + focusList.length ) % focusList.length; - if ( currentIndex == startIndex ) - break; - } - - focusList[ currentIndex ].focus(); - - // Select whole field content. - if ( focusList[ currentIndex ].type == 'text' ) - focusList[ currentIndex ].select(); - } - - this.changeFocus = changeFocus; - - - function keydownHandler( evt ) { - // If I'm not the top dialog, ignore. - if ( me != CKEDITOR.dialog._.currentTop ) - return; - - var keystroke = evt.data.getKeystroke(), - rtl = editor.lang.dir == 'rtl', - button; - - processed = stopPropagation = 0; - - if ( keystroke == 9 || keystroke == CKEDITOR.SHIFT + 9 ) { - var shiftPressed = ( keystroke == CKEDITOR.SHIFT + 9 ); - - // Handling Tab and Shift-Tab. - if ( me._.tabBarMode ) { - // Change tabs. - var nextId = shiftPressed ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me ); - me.selectPage( nextId ); - me._.tabs[ nextId ][ 0 ].focus(); - } else { - // Change the focus of inputs. - changeFocus( shiftPressed ? -1 : 1 ); - } - - processed = 1; - } else if ( keystroke == CKEDITOR.ALT + 121 && !me._.tabBarMode && me.getPageCount() > 1 ) { - // Alt-F10 puts focus into the current tab item in the tab bar. - me._.tabBarMode = true; - me._.tabs[ me._.currentTabId ][ 0 ].focus(); - processed = 1; - } else if ( ( keystroke == 37 || keystroke == 39 ) && me._.tabBarMode ) { - // Arrow keys - used for changing tabs. - nextId = ( keystroke == ( rtl ? 39 : 37 ) ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me ) ); - me.selectPage( nextId ); - me._.tabs[ nextId ][ 0 ].focus(); - processed = 1; - } else if ( ( keystroke == 13 || keystroke == 32 ) && me._.tabBarMode ) { - this.selectPage( this._.currentTabId ); - this._.tabBarMode = false; - this._.currentFocusIndex = -1; - changeFocus( 1 ); - processed = 1; - } - // If user presses enter key in a text box, it implies clicking OK for the dialog. - else if ( keystroke == 13 /*ENTER*/ ) { - // Don't do that for a target that handles ENTER. - var target = evt.data.getTarget(); - if ( !target.is( 'a', 'button', 'select', 'textarea' ) && ( !target.is( 'input' ) || target.$.type != 'button' ) ) { - button = this.getButton( 'ok' ); - button && CKEDITOR.tools.setTimeout( button.click, 0, button ); - processed = 1; - } - stopPropagation = 1; // Always block the propagation (#4269) - } else if ( keystroke == 27 /*ESC*/ ) { - button = this.getButton( 'cancel' ); - - // If there's a Cancel button, click it, else just fire the cancel event and hide the dialog. - if ( button ) - CKEDITOR.tools.setTimeout( button.click, 0, button ); - else { - if ( this.fire( 'cancel', { hide: true } ).hide !== false ) - this.hide(); - } - stopPropagation = 1; // Always block the propagation (#4269) - } else - return; - - keypressHandler( evt ); - } - - function keypressHandler( evt ) { - if ( processed ) - evt.data.preventDefault( 1 ); - else if ( stopPropagation ) - evt.data.stopPropagation(); - } - - var dialogElement = this._.element; - - editor.focusManager.add( dialogElement, 1 ); - - // Add the dialog keyboard handlers. - this.on( 'show', function() { - dialogElement.on( 'keydown', keydownHandler, this ); - - // Some browsers instead, don't cancel key events in the keydown, but in the - // keypress. So we must do a longer trip in those cases. (#4531,#8985) - if ( CKEDITOR.env.opera || CKEDITOR.env.gecko ) - dialogElement.on( 'keypress', keypressHandler, this ); - - } ); - this.on( 'hide', function() { - dialogElement.removeListener( 'keydown', keydownHandler ); - if ( CKEDITOR.env.opera || CKEDITOR.env.gecko ) - dialogElement.removeListener( 'keypress', keypressHandler ); - - // Reset fields state when closing dialog. - iterContents( function( item ) { - resetField.apply( item ); - } ); - } ); - this.on( 'iframeAdded', function( evt ) { - var doc = new CKEDITOR.dom.document( evt.data.iframe.$.contentWindow.document ); - doc.on( 'keydown', keydownHandler, this, null, 0 ); - } ); - - // Auto-focus logic in dialog. - this.on( 'show', function() { - // Setup tabIndex on showing the dialog instead of on loading - // to allow dynamic tab order happen in dialog definition. - setupFocus(); - - if ( editor.config.dialog_startupFocusTab && me._.pageCount > 1 ) { - me._.tabBarMode = true; - me._.tabs[ me._.currentTabId ][ 0 ].focus(); - } else if ( !this._.hasFocus ) { - this._.currentFocusIndex = -1; - - // Decide where to put the initial focus. - if ( definition.onFocus ) { - var initialFocus = definition.onFocus.call( this ); - // Focus the field that the user specified. - initialFocus && initialFocus.focus(); - } - // Focus the first field in layout order. - else - changeFocus( 1 ); - } - }, this, null, 0xffffffff ); - - // IE6 BUG: Text fields and text areas are only half-rendered the first time the dialog appears in IE6 (#2661). - // This is still needed after [2708] and [2709] because text fields in hidden TR tags are still broken. - if ( CKEDITOR.env.ie6Compat ) { - this.on( 'load', function( evt ) { - var outer = this.getElement(), - inner = outer.getFirst(); - inner.remove(); - inner.appendTo( outer ); - }, this ); - } - - initDragAndDrop( this ); - initResizeHandles( this ); - - // Insert the title. - ( new CKEDITOR.dom.text( definition.title, CKEDITOR.document ) ).appendTo( this.parts.title ); - - // Insert the tabs and contents. - for ( i = 0; i < definition.contents.length; i++ ) { - var page = definition.contents[ i ]; - page && this.addPage( page ); - } - - this.parts[ 'tabs' ].on( 'click', function( evt ) { - var target = evt.data.getTarget(); - // If we aren't inside a tab, bail out. - if ( target.hasClass( 'cke_dialog_tab' ) ) { - // Get the ID of the tab, without the 'cke_' prefix and the unique number suffix. - var id = target.$.id; - this.selectPage( id.substring( 4, id.lastIndexOf( '_' ) ) ); - - if ( this._.tabBarMode ) { - this._.tabBarMode = false; - this._.currentFocusIndex = -1; - changeFocus( 1 ); - } - evt.data.preventDefault(); - } - }, this ); - - // Insert buttons. - var buttonsHtml = [], - buttons = CKEDITOR.dialog._.uiElementBuilders.hbox.build( this, { - type: 'hbox', - className: 'cke_dialog_footer_buttons', - widths: [], - children: definition.buttons - }, buttonsHtml ).getChild(); - this.parts.footer.setHtml( buttonsHtml.join( '' ) ); - - for ( i = 0; i < buttons.length; i++ ) - this._.buttons[ buttons[ i ].id ] = buttons[ i ]; - }; - - // Focusable interface. Use it via dialog.addFocusable. - function Focusable( dialog, element, index ) { - this.element = element; - this.focusIndex = index; - // TODO: support tabIndex for focusables. - this.tabIndex = 0; - this.isFocusable = function() { - return !element.getAttribute( 'disabled' ) && element.isVisible(); - }; - this.focus = function() { - dialog._.currentFocusIndex = this.focusIndex; - this.element.focus(); - }; - // Bind events - element.on( 'keydown', function( e ) { - if ( e.data.getKeystroke() in { 32: 1, 13: 1 } ) - this.fire( 'click' ); - } ); - element.on( 'focus', function() { - this.fire( 'mouseover' ); - } ); - element.on( 'blur', function() { - this.fire( 'mouseout' ); - } ); - } - - // Re-layout the dialog on window resize. - function resizeWithWindow( dialog ) { - var win = CKEDITOR.document.getWindow(); - function resizeHandler() { dialog.layout(); } - win.on( 'resize', resizeHandler ); - dialog.on( 'hide', function() { win.removeListener( 'resize', resizeHandler ); } ); - } - - CKEDITOR.dialog.prototype = { - destroy: function() { - this.hide(); - this._.element.remove(); - }, - - /** - * Resizes the dialog. - * - * dialogObj.resize( 800, 640 ); - * - * @method - * @param {Number} width The width of the dialog in pixels. - * @param {Number} height The height of the dialog in pixels. - */ - resize: ( function() { - return function( width, height ) { - if ( this._.contentSize && this._.contentSize.width == width && this._.contentSize.height == height ) - return; - - CKEDITOR.dialog.fire( 'resize', { - dialog: this, - width: width, - height: height - }, this._.editor ); - - this.fire( 'resize', { - width: width, - height: height - }, this._.editor ); - - var contents = this.parts.contents; - contents.setStyles( { - width: width + 'px', - height: height + 'px' - } ); - - // Update dialog position when dimension get changed in RTL. - if ( this._.editor.lang.dir == 'rtl' && this._.position ) - this._.position.x = CKEDITOR.document.getWindow().getViewPaneSize().width - this._.contentSize.width - parseInt( this._.element.getFirst().getStyle( 'right' ), 10 ); - - this._.contentSize = { width: width, height: height }; - }; - } )(), - - /** - * Gets the current size of the dialog in pixels. - * - * var width = dialogObj.getSize().width; - * - * @returns {Object} - * @returns {Number} return.width - * @returns {Number} return.height - */ - getSize: function() { - var element = this._.element.getFirst(); - return { width: element.$.offsetWidth || 0, height: element.$.offsetHeight || 0 }; - }, - - /** - * Moves the dialog to an `(x, y)` coordinate relative to the window. - * - * dialogObj.move( 10, 40 ); - * - * @method - * @param {Number} x The target x-coordinate. - * @param {Number} y The target y-coordinate. - * @param {Boolean} save Flag indicate whether the dialog position should be remembered on next open up. - */ - move: function( x, y, save ) { - - // The dialog may be fixed positioned or absolute positioned. Ask the - // browser what is the current situation first. - var element = this._.element.getFirst(), rtl = this._.editor.lang.dir == 'rtl'; - var isFixed = element.getComputedStyle( 'position' ) == 'fixed'; - - // (#8888) In some cases of a very small viewport, dialog is incorrectly - // positioned in IE7. It also happens that it remains sticky and user cannot - // scroll down/up to reveal dialog's content below/above the viewport; this is - // cumbersome. - // The only way to fix this is to move mouse out of the browser and - // go back to see that dialog position is automagically fixed. No events, - // no style change - pure magic. This is a IE7 rendering issue, which can be - // fixed with dummy style redraw on each move. - if ( CKEDITOR.env.ie ) - element.setStyle( 'zoom', '100%' ); - - if ( isFixed && this._.position && this._.position.x == x && this._.position.y == y ) - return; - - // Save the current position. - this._.position = { x: x, y: y }; - - // If not fixed positioned, add scroll position to the coordinates. - if ( !isFixed ) { - var scrollPosition = CKEDITOR.document.getWindow().getScrollPosition(); - x += scrollPosition.x; - y += scrollPosition.y; - } - - // Translate coordinate for RTL. - if ( rtl ) { - var dialogSize = this.getSize(), viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(); - x = viewPaneSize.width - dialogSize.width - x; - } - - var styles = { 'top': ( y > 0 ? y : 0 ) + 'px' }; - styles[ rtl ? 'right' : 'left' ] = ( x > 0 ? x : 0 ) + 'px'; - - element.setStyles( styles ); - - save && ( this._.moved = 1 ); - }, - - /** - * Gets the dialog's position in the window. - * - * var dialogX = dialogObj.getPosition().x; - * - * @returns {Object} - * @returns {Number} return.x - * @returns {Number} return.y - */ - getPosition: function() { - return CKEDITOR.tools.extend( {}, this._.position ); - }, - - /** - * Shows the dialog box. - * - * dialogObj.show(); - */ - show: function() { - // Insert the dialog's element to the root document. - var element = this._.element; - var definition = this.definition; - if ( !( element.getParent() && element.getParent().equals( CKEDITOR.document.getBody() ) ) ) - element.appendTo( CKEDITOR.document.getBody() ); - else - element.setStyle( 'display', 'block' ); - - // FIREFOX BUG: Fix vanishing caret for Firefox 2 or Gecko 1.8. - if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) { - var dialogElement = this.parts.dialog; - dialogElement.setStyle( 'position', 'absolute' ); - setTimeout( function() { - dialogElement.setStyle( 'position', 'fixed' ); - }, 0 ); - } - - - // First, set the dialog to an appropriate size. - this.resize( this._.contentSize && this._.contentSize.width || definition.width || definition.minWidth, this._.contentSize && this._.contentSize.height || definition.height || definition.minHeight ); - - // Reset all inputs back to their default value. - this.reset(); - - // Select the first tab by default. - this.selectPage( this.definition.contents[ 0 ].id ); - - // Set z-index. - if ( CKEDITOR.dialog._.currentZIndex === null ) - CKEDITOR.dialog._.currentZIndex = this._.editor.config.baseFloatZIndex; - this._.element.getFirst().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex += 10 ); - - // Maintain the dialog ordering and dialog cover. - if ( CKEDITOR.dialog._.currentTop === null ) { - CKEDITOR.dialog._.currentTop = this; - this._.parentDialog = null; - showCover( this._.editor ); - - } else { - this._.parentDialog = CKEDITOR.dialog._.currentTop; - var parentElement = this._.parentDialog.getElement().getFirst(); - parentElement.$.style.zIndex -= Math.floor( this._.editor.config.baseFloatZIndex / 2 ); - CKEDITOR.dialog._.currentTop = this; - } - - element.on( 'keydown', accessKeyDownHandler ); - element.on( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler ); - - // Reset the hasFocus state. - this._.hasFocus = false; - - for ( var i in definition.contents ) { - if ( !definition.contents[ i ] ) - continue; - - var content = definition.contents[ i ], - tab = this._.tabs[ content.id ], - requiredContent = content.requiredContent, - enableElements = 0; - - if ( !tab ) - continue; - - for ( var j in this._.contents[ content.id ] ) { - var elem = this._.contents[ content.id ][ j ]; - - if ( elem.type == 'hbox' || elem.type == 'vbox' || !elem.getInputElement() ) - continue; - - if ( elem.requiredContent && !this._.editor.activeFilter.check( elem.requiredContent ) ) - elem.disable(); - else { - elem.enable(); - enableElements++; - } - } - - if ( !enableElements || ( requiredContent && !this._.editor.activeFilter.check( requiredContent ) ) ) - tab[ 0 ].addClass( 'cke_dialog_tab_disabled' ); - else - tab[ 0 ].removeClass( 'cke_dialog_tab_disabled' ); - } - - CKEDITOR.tools.setTimeout( function() { - this.layout(); - resizeWithWindow( this ); - - this.parts.dialog.setStyle( 'visibility', '' ); - - // Execute onLoad for the first show. - this.fireOnce( 'load', {} ); - CKEDITOR.ui.fire( 'ready', this ); - - this.fire( 'show', {} ); - this._.editor.fire( 'dialogShow', this ); - - if ( !this._.parentDialog ) - this._.editor.focusManager.lock(); - - // Save the initial values of the dialog. - this.foreach( function( contentObj ) { - contentObj.setInitValue && contentObj.setInitValue(); - } ); - - }, 100, this ); - }, - - /** - * Rearrange the dialog to its previous position or the middle of the window. - * - * @since 3.5 - */ - layout: function() { - var el = this.parts.dialog; - var dialogSize = this.getSize(); - var win = CKEDITOR.document.getWindow(), - viewSize = win.getViewPaneSize(); - - var posX = ( viewSize.width - dialogSize.width ) / 2, - posY = ( viewSize.height - dialogSize.height ) / 2; - - // Switch to absolute position when viewport is smaller than dialog size. - if ( !CKEDITOR.env.ie6Compat ) { - if ( dialogSize.height + ( posY > 0 ? posY : 0 ) > viewSize.height || - dialogSize.width + ( posX > 0 ? posX : 0 ) > viewSize.width ) - el.setStyle( 'position', 'absolute' ); - else - el.setStyle( 'position', 'fixed' ); - } - - this.move( this._.moved ? this._.position.x : posX, - this._.moved ? this._.position.y : posY ); - }, - - /** - * Executes a function for each UI element. - * - * @param {Function} fn Function to execute for each UI element. - * @returns {CKEDITOR.dialog} The current dialog object. - */ - foreach: function( fn ) { - for ( var i in this._.contents ) { - for ( var j in this._.contents[ i ] ) - fn.call( this, this._.contents[ i ][ j ] ); - } - return this; - }, - - /** - * Resets all input values in the dialog. - * - * dialogObj.reset(); - * - * @method - * @chainable - */ - reset: ( function() { - var fn = function( widget ) { - if ( widget.reset ) - widget.reset( 1 ); - }; - return function() { - this.foreach( fn ); - return this; - }; - } )(), - - - /** - * Calls the {@link CKEDITOR.dialog.definition.uiElement#setup} method of each - * of the UI elements, with the arguments passed through it. - * It is usually being called when the dialog is opened, to put the initial value inside the field. - * - * dialogObj.setupContent(); - * - * var timestamp = ( new Date() ).valueOf(); - * dialogObj.setupContent( timestamp ); - */ - setupContent: function() { - var args = arguments; - this.foreach( function( widget ) { - if ( widget.setup ) - widget.setup.apply( widget, args ); - } ); - }, - - /** - * Calls the {@link CKEDITOR.dialog.definition.uiElement#commit} method of each - * of the UI elements, with the arguments passed through it. - * It is usually being called when the user confirms the dialog, to process the values. - * - * dialogObj.commitContent(); - * - * var timestamp = ( new Date() ).valueOf(); - * dialogObj.commitContent( timestamp ); - */ - commitContent: function() { - var args = arguments; - this.foreach( function( widget ) { - // Make sure IE triggers "change" event on last focused input before closing the dialog. (#7915) - if ( CKEDITOR.env.ie && this._.currentFocusIndex == widget.focusIndex ) - widget.getInputElement().$.blur(); - - if ( widget.commit ) - widget.commit.apply( widget, args ); - } ); - }, - - /** - * Hides the dialog box. - * - * dialogObj.hide(); - */ - hide: function() { - if ( !this.parts.dialog.isVisible() ) - return; - - this.fire( 'hide', {} ); - this._.editor.fire( 'dialogHide', this ); - // Reset the tab page. - this.selectPage( this._.tabIdList[ 0 ] ); - var element = this._.element; - element.setStyle( 'display', 'none' ); - this.parts.dialog.setStyle( 'visibility', 'hidden' ); - // Unregister all access keys associated with this dialog. - unregisterAccessKey( this ); - - // Close any child(top) dialogs first. - while ( CKEDITOR.dialog._.currentTop != this ) - CKEDITOR.dialog._.currentTop.hide(); - - // Maintain dialog ordering and remove cover if needed. - if ( !this._.parentDialog ) - hideCover( this._.editor ); - else { - var parentElement = this._.parentDialog.getElement().getFirst(); - parentElement.setStyle( 'z-index', parseInt( parentElement.$.style.zIndex, 10 ) + Math.floor( this._.editor.config.baseFloatZIndex / 2 ) ); - } - CKEDITOR.dialog._.currentTop = this._.parentDialog; - - // Deduct or clear the z-index. - if ( !this._.parentDialog ) { - CKEDITOR.dialog._.currentZIndex = null; - - // Remove access key handlers. - element.removeListener( 'keydown', accessKeyDownHandler ); - element.removeListener( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler ); - - var editor = this._.editor; - editor.focus(); - - // Give a while before unlock, waiting for focus to return to the editable. (#172) - setTimeout( function() { editor.focusManager.unlock(); }, 0 ); - - } else - CKEDITOR.dialog._.currentZIndex -= 10; - - delete this._.parentDialog; - // Reset the initial values of the dialog. - this.foreach( function( contentObj ) { - contentObj.resetInitValue && contentObj.resetInitValue(); - } ); - }, - - /** - * Adds a tabbed page into the dialog. - * - * @param {Object} contents Content definition. - */ - addPage: function( contents ) { - if ( contents.requiredContent && !this._.editor.filter.check( contents.requiredContent ) ) - return; - - var pageHtml = [], - titleHtml = contents.label ? ' title="' + CKEDITOR.tools.htmlEncode( contents.label ) + '"' : '', - elements = contents.elements, - vbox = CKEDITOR.dialog._.uiElementBuilders.vbox.build( this, { - type: 'vbox', - className: 'cke_dialog_page_contents', - children: contents.elements, - expand: !!contents.expand, - padding: contents.padding, - style: contents.style || 'width: 100%;' - }, pageHtml ); - - var contentMap = this._.contents[ contents.id ] = {}, - cursor, - children = vbox.getChild(), - enabledFields = 0; - - while ( ( cursor = children.shift() ) ) { - // Count all allowed fields. - if ( !cursor.notAllowed && cursor.type != 'hbox' && cursor.type != 'vbox' ) - enabledFields++; - - contentMap[ cursor.id ] = cursor; - if ( typeof( cursor.getChild ) == 'function' ) - children.push.apply( children, cursor.getChild() ); - } - - // If all fields are disabled (because they are not allowed) hide this tab. - if ( !enabledFields ) - contents.hidden = true; - - // Create the HTML for the tab and the content block. - var page = CKEDITOR.dom.element.createFromHtml( pageHtml.join( '' ) ); - page.setAttribute( 'role', 'tabpanel' ); - - var env = CKEDITOR.env; - var tabId = 'cke_' + contents.id + '_' + CKEDITOR.tools.getNextNumber(), - tab = CKEDITOR.dom.element.createFromHtml( [ - ' 0 ? ' cke_last' : 'cke_first' ), - titleHtml, - ( !!contents.hidden ? ' style="display:none"' : '' ), - ' id="', tabId, '"', - env.gecko && env.version >= 10900 && !env.hc ? '' : ' href="javascript:void(0)"', - ' tabIndex="-1"', - ' hidefocus="true"', - ' role="tab">', - contents.label, - '' - ].join( '' ) ); - - page.setAttribute( 'aria-labelledby', tabId ); - - // Take records for the tabs and elements created. - this._.tabs[ contents.id ] = [ tab, page ]; - this._.tabIdList.push( contents.id ); - !contents.hidden && this._.pageCount++; - this._.lastTab = tab; - this.updateStyle(); - - // Attach the DOM nodes. - - page.setAttribute( 'name', contents.id ); - page.appendTo( this.parts.contents ); - - tab.unselectable(); - this.parts.tabs.append( tab ); - - // Add access key handlers if access key is defined. - if ( contents.accessKey ) { - registerAccessKey( this, this, 'CTRL+' + contents.accessKey, tabAccessKeyDown, tabAccessKeyUp ); - this._.accessKeyMap[ 'CTRL+' + contents.accessKey ] = contents.id; - } - }, - - /** - * Activates a tab page in the dialog by its id. - * - * dialogObj.selectPage( 'tab_1' ); - * - * @param {String} id The id of the dialog tab to be activated. - */ - selectPage: function( id ) { - if ( this._.currentTabId == id ) - return; - - if ( this._.tabs[ id ][ 0 ].hasClass( 'cke_dialog_tab_disabled' ) ) - return; - - // If event was canceled - do nothing. - if ( this.fire( 'selectPage', { page: id, currentPage: this._.currentTabId } ) === false ) - return; - - // Hide the non-selected tabs and pages. - for ( var i in this._.tabs ) { - var tab = this._.tabs[ i ][ 0 ], - page = this._.tabs[ i ][ 1 ]; - if ( i != id ) { - tab.removeClass( 'cke_dialog_tab_selected' ); - page.hide(); - } - page.setAttribute( 'aria-hidden', i != id ); - } - - var selected = this._.tabs[ id ]; - selected[ 0 ].addClass( 'cke_dialog_tab_selected' ); - - // [IE] an invisible input[type='text'] will enlarge it's width - // if it's value is long when it shows, so we clear it's value - // before it shows and then recover it (#5649) - if ( CKEDITOR.env.ie6Compat || CKEDITOR.env.ie7Compat ) { - clearOrRecoverTextInputValue( selected[ 1 ] ); - selected[ 1 ].show(); - setTimeout( function() { - clearOrRecoverTextInputValue( selected[ 1 ], 1 ); - }, 0 ); - } else - selected[ 1 ].show(); - - this._.currentTabId = id; - this._.currentTabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, id ); - }, - - /** - * Dialog state-specific style updates. - */ - updateStyle: function() { - // If only a single page shown, a different style is used in the central pane. - this.parts.dialog[ ( this._.pageCount === 1 ? 'add' : 'remove' ) + 'Class' ]( 'cke_single_page' ); - }, - - /** - * Hides a page's tab away from the dialog. - * - * dialog.hidePage( 'tab_3' ); - * - * @param {String} id The page's Id. - */ - hidePage: function( id ) { - var tab = this._.tabs[ id ] && this._.tabs[ id ][ 0 ]; - if ( !tab || this._.pageCount == 1 || !tab.isVisible() ) - return; - // Switch to other tab first when we're hiding the active tab. - else if ( id == this._.currentTabId ) - this.selectPage( getPreviousVisibleTab.call( this ) ); - - tab.hide(); - this._.pageCount--; - this.updateStyle(); - }, - - /** - * Unhides a page's tab. - * - * dialog.showPage( 'tab_2' ); - * - * @param {String} id The page's Id. - */ - showPage: function( id ) { - var tab = this._.tabs[ id ] && this._.tabs[ id ][ 0 ]; - if ( !tab ) - return; - tab.show(); - this._.pageCount++; - this.updateStyle(); - }, - - /** - * Gets the root DOM element of the dialog. - * - * var dialogElement = dialogObj.getElement().getFirst(); - * dialogElement.setStyle( 'padding', '5px' ); - * - * @returns {CKEDITOR.dom.element} The `` element containing this dialog. - */ - getElement: function() { - return this._.element; - }, - - /** - * Gets the name of the dialog. - * - * var dialogName = dialogObj.getName(); - * - * @returns {String} The name of this dialog. - */ - getName: function() { - return this._.name; - }, - - /** - * Gets a dialog UI element object from a dialog page. - * - * dialogObj.getContentElement( 'tabId', 'elementId' ).setValue( 'Example' ); - * - * @param {String} pageId id of dialog page. - * @param {String} elementId id of UI element. - * @returns {CKEDITOR.ui.dialog.uiElement} The dialog UI element. - */ - getContentElement: function( pageId, elementId ) { - var page = this._.contents[ pageId ]; - return page && page[ elementId ]; - }, - - /** - * Gets the value of a dialog UI element. - * - * alert( dialogObj.getValueOf( 'tabId', 'elementId' ) ); - * - * @param {String} pageId id of dialog page. - * @param {String} elementId id of UI element. - * @returns {Object} The value of the UI element. - */ - getValueOf: function( pageId, elementId ) { - return this.getContentElement( pageId, elementId ).getValue(); - }, - - /** - * Sets the value of a dialog UI element. - * - * dialogObj.setValueOf( 'tabId', 'elementId', 'Example' ); - * - * @param {String} pageId id of the dialog page. - * @param {String} elementId id of the UI element. - * @param {Object} value The new value of the UI element. - */ - setValueOf: function( pageId, elementId, value ) { - return this.getContentElement( pageId, elementId ).setValue( value ); - }, - - /** - * Gets the UI element of a button in the dialog's button row. - * - * @returns {CKEDITOR.ui.dialog.button} The button object. - * - * @param {String} id The id of the button. - */ - getButton: function( id ) { - return this._.buttons[ id ]; - }, - - /** - * Simulates a click to a dialog button in the dialog's button row. - * - * @returns The return value of the dialog's `click` event. - * - * @param {String} id The id of the button. - */ - click: function( id ) { - return this._.buttons[ id ].click(); - }, - - /** - * Disables a dialog button. - * - * @param {String} id The id of the button. - */ - disableButton: function( id ) { - return this._.buttons[ id ].disable(); - }, - - /** - * Enables a dialog button. - * - * @param {String} id The id of the button. - */ - enableButton: function( id ) { - return this._.buttons[ id ].enable(); - }, - - /** - * Gets the number of pages in the dialog. - * - * @returns {Number} Page count. - */ - getPageCount: function() { - return this._.pageCount; - }, - - /** - * Gets the editor instance which opened this dialog. - * - * @returns {CKEDITOR.editor} Parent editor instances. - */ - getParentEditor: function() { - return this._.editor; - }, - - /** - * Gets the element that was selected when opening the dialog, if any. - * - * @returns {CKEDITOR.dom.element} The element that was selected, or `null`. - */ - getSelectedElement: function() { - return this.getParentEditor().getSelection().getSelectedElement(); - }, - - /** - * Adds element to dialog's focusable list. - * - * @param {CKEDITOR.dom.element} element - * @param {Number} [index] - */ - addFocusable: function( element, index ) { - if ( typeof index == 'undefined' ) { - index = this._.focusList.length; - this._.focusList.push( new Focusable( this, element, index ) ); - } else { - this._.focusList.splice( index, 0, new Focusable( this, element, index ) ); - for ( var i = index + 1; i < this._.focusList.length; i++ ) - this._.focusList[ i ].focusIndex++; - } - } - }; - - CKEDITOR.tools.extend( CKEDITOR.dialog, { - /** - * Registers a dialog. - * - * // Full sample plugin, which does not only register a dialog window but also adds an item to the context menu. - * // To open the dialog window, choose "Open dialog" in the context menu. - * CKEDITOR.plugins.add( 'myplugin', { - * init: function( editor ) { - * editor.addCommand( 'mydialog',new CKEDITOR.dialogCommand( 'mydialog' ) ); - * - * if ( editor.contextMenu ) { - * editor.addMenuGroup( 'mygroup', 10 ); - * editor.addMenuItem( 'My Dialog', { - * label: 'Open dialog', - * command: 'mydialog', - * group: 'mygroup' - * } ); - * editor.contextMenu.addListener( function( element ) { - * return { 'My Dialog': CKEDITOR.TRISTATE_OFF }; - * } ); - * } - * - * CKEDITOR.dialog.add( 'mydialog', function( api ) { - * // CKEDITOR.dialog.definition - * var dialogDefinition = { - * title: 'Sample dialog', - * minWidth: 390, - * minHeight: 130, - * contents: [ - * { - * id: 'tab1', - * label: 'Label', - * title: 'Title', - * expand: true, - * padding: 0, - * elements: [ - * { - * type: 'html', - * html: '

This is some sample HTML content.

' - * }, - * { - * type: 'textarea', - * id: 'textareaId', - * rows: 4, - * cols: 40 - * } - * ] - * } - * ], - * buttons: [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ], - * onOk: function() { - * // "this" is now a CKEDITOR.dialog object. - * // Accessing dialog elements: - * var textareaObj = this.getContentElement( 'tab1', 'textareaId' ); - * alert( "You have entered: " + textareaObj.getValue() ); - * } - * }; - * - * return dialogDefinition; - * } ); - * } - * } ); - * - * CKEDITOR.replace( 'editor1', { extraPlugins: 'myplugin' } ); - * - * @static - * @param {String} name The dialog's name. - * @param {Function/String} dialogDefinition - * A function returning the dialog's definition, or the URL to the `.js` file holding the function. - * The function should accept an argument `editor` which is the current editor instance, and - * return an object conforming to {@link CKEDITOR.dialog.definition}. - * @see CKEDITOR.dialog.definition - */ - add: function( name, dialogDefinition ) { - // Avoid path registration from multiple instances override definition. - if ( !this._.dialogDefinitions[ name ] || typeof dialogDefinition == 'function' ) - this._.dialogDefinitions[ name ] = dialogDefinition; - }, - - /** - * @static - * @todo - */ - exists: function( name ) { - return !!this._.dialogDefinitions[ name ]; - }, - - /** - * @static - * @todo - */ - getCurrent: function() { - return CKEDITOR.dialog._.currentTop; - }, - - /** - * Check whether tab wasn't removed by {@link CKEDITOR.config#removeDialogTabs}. - * - * @since 4.1 - * @static - * @param {CKEDITOR.editor} editor - * @param {String} dialogName - * @param {String} tabName - * @returns {Boolean} - */ - isTabEnabled: function( editor, dialogName, tabName ) { - var cfg = editor.config.removeDialogTabs; - - return !( cfg && cfg.match( new RegExp( '(?:^|;)' + dialogName + ':' + tabName + '(?:$|;)', 'i' ) ) ); - }, - - /** - * The default OK button for dialogs. Fires the `ok` event and closes the dialog if the event succeeds. - * - * @static - * @method - */ - okButton: ( function() { - var retval = function( editor, override ) { - override = override || {}; - return CKEDITOR.tools.extend( { - id: 'ok', - type: 'button', - label: editor.lang.common.ok, - 'class': 'cke_dialog_ui_button_ok', - onClick: function( evt ) { - var dialog = evt.data.dialog; - if ( dialog.fire( 'ok', { hide: true } ).hide !== false ) - dialog.hide(); - } - }, override, true ); - }; - retval.type = 'button'; - retval.override = function( override ) { - return CKEDITOR.tools.extend( function( editor ) { - return retval( editor, override ); - }, { type: 'button' }, true ); - }; - return retval; - } )(), - - /** - * The default cancel button for dialogs. Fires the `cancel` event and - * closes the dialog if no UI element value changed. - * - * @static - * @method - */ - cancelButton: ( function() { - var retval = function( editor, override ) { - override = override || {}; - return CKEDITOR.tools.extend( { - id: 'cancel', - type: 'button', - label: editor.lang.common.cancel, - 'class': 'cke_dialog_ui_button_cancel', - onClick: function( evt ) { - var dialog = evt.data.dialog; - if ( dialog.fire( 'cancel', { hide: true } ).hide !== false ) - dialog.hide(); - } - }, override, true ); - }; - retval.type = 'button'; - retval.override = function( override ) { - return CKEDITOR.tools.extend( function( editor ) { - return retval( editor, override ); - }, { type: 'button' }, true ); - }; - return retval; - } )(), - - /** - * Registers a dialog UI element. - * - * @static - * @param {String} typeName The name of the UI element. - * @param {Function} builder The function to build the UI element. - */ - addUIElement: function( typeName, builder ) { - this._.uiElementBuilders[ typeName ] = builder; - } - } ); - - CKEDITOR.dialog._ = { - uiElementBuilders: {}, - - dialogDefinitions: {}, - - currentTop: null, - - currentZIndex: null - }; - - // "Inherit" (copy actually) from CKEDITOR.event. - CKEDITOR.event.implementOn( CKEDITOR.dialog ); - CKEDITOR.event.implementOn( CKEDITOR.dialog.prototype ); - - var defaultDialogDefinition = { - resizable: CKEDITOR.DIALOG_RESIZE_BOTH, - minWidth: 600, - minHeight: 400, - buttons: [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ] - }; - - // Tool function used to return an item from an array based on its id - // property. - var getById = function( array, id, recurse ) { - for ( var i = 0, item; - ( item = array[ i ] ); i++ ) { - if ( item.id == id ) - return item; - if ( recurse && item[ recurse ] ) { - var retval = getById( item[ recurse ], id, recurse ); - if ( retval ) - return retval; - } - } - return null; - }; - - // Tool function used to add an item into an array. - var addById = function( array, newItem, nextSiblingId, recurse, nullIfNotFound ) { - if ( nextSiblingId ) { - for ( var i = 0, item; - ( item = array[ i ] ); i++ ) { - if ( item.id == nextSiblingId ) { - array.splice( i, 0, newItem ); - return newItem; - } - - if ( recurse && item[ recurse ] ) { - var retval = addById( item[ recurse ], newItem, nextSiblingId, recurse, true ); - if ( retval ) - return retval; - } - } - - if ( nullIfNotFound ) - return null; - } - - array.push( newItem ); - return newItem; - }; - - // Tool function used to remove an item from an array based on its id. - var removeById = function( array, id, recurse ) { - for ( var i = 0, item; - ( item = array[ i ] ); i++ ) { - if ( item.id == id ) - return array.splice( i, 1 ); - if ( recurse && item[ recurse ] ) { - var retval = removeById( item[ recurse ], id, recurse ); - if ( retval ) - return retval; - } - } - return null; - }; - - /** - * This class is not really part of the API. It is the `definition` property value - * passed to `dialogDefinition` event handlers. - * - * CKEDITOR.on( 'dialogDefinition', function( evt ) { - * var definition = evt.data.definition; - * var content = definition.getContents( 'page1' ); - * // ... - * } ); - * - * @private - * @class CKEDITOR.dialog.definitionObject - * @extends CKEDITOR.dialog.definition - * @constructor Creates a definitionObject class instance. - */ - var definitionObject = function( dialog, dialogDefinition ) { - // TODO : Check if needed. - this.dialog = dialog; - - // Transform the contents entries in contentObjects. - var contents = dialogDefinition.contents; - for ( var i = 0, content; - ( content = contents[ i ] ); i++ ) - contents[ i ] = content && new contentObject( dialog, content ); - - CKEDITOR.tools.extend( this, dialogDefinition ); - }; - - definitionObject.prototype = { - /** - * Gets a content definition. - * - * @param {String} id The id of the content definition. - * @returns {CKEDITOR.dialog.definition.content} The content definition matching id. - */ - getContents: function( id ) { - return getById( this.contents, id ); - }, - - /** - * Gets a button definition. - * - * @param {String} id The id of the button definition. - * @returns {CKEDITOR.dialog.definition.button} The button definition matching id. - */ - getButton: function( id ) { - return getById( this.buttons, id ); - }, - - /** - * Adds a content definition object under this dialog definition. - * - * @param {CKEDITOR.dialog.definition.content} contentDefinition The - * content definition. - * @param {String} [nextSiblingId] The id of an existing content - * definition which the new content definition will be inserted - * before. Omit if the new content definition is to be inserted as - * the last item. - * @returns {CKEDITOR.dialog.definition.content} The inserted content definition. - */ - addContents: function( contentDefinition, nextSiblingId ) { - return addById( this.contents, contentDefinition, nextSiblingId ); - }, - - /** - * Adds a button definition object under this dialog definition. - * - * @param {CKEDITOR.dialog.definition.button} buttonDefinition The - * button definition. - * @param {String} [nextSiblingId] The id of an existing button - * definition which the new button definition will be inserted - * before. Omit if the new button definition is to be inserted as - * the last item. - * @returns {CKEDITOR.dialog.definition.button} The inserted button definition. - */ - addButton: function( buttonDefinition, nextSiblingId ) { - return addById( this.buttons, buttonDefinition, nextSiblingId ); - }, - - /** - * Removes a content definition from this dialog definition. - * - * @param {String} id The id of the content definition to be removed. - * @returns {CKEDITOR.dialog.definition.content} The removed content definition. - */ - removeContents: function( id ) { - removeById( this.contents, id ); - }, - - /** - * Removes a button definition from the dialog definition. - * - * @param {String} id The id of the button definition to be removed. - * @returns {CKEDITOR.dialog.definition.button} The removed button definition. - */ - removeButton: function( id ) { - removeById( this.buttons, id ); - } - }; - - /** - * This class is not really part of the API. It is the template of the - * objects representing content pages inside the - * CKEDITOR.dialog.definitionObject. - * - * CKEDITOR.on( 'dialogDefinition', function( evt ) { - * var definition = evt.data.definition; - * var content = definition.getContents( 'page1' ); - * content.remove( 'textInput1' ); - * // ... - * } ); - * - * @private - * @class CKEDITOR.dialog.definition.contentObject - * @constructor Creates a contentObject class instance. - */ - function contentObject( dialog, contentDefinition ) { - this._ = { - dialog: dialog - }; - - CKEDITOR.tools.extend( this, contentDefinition ); - } - - contentObject.prototype = { - /** - * Gets a UI element definition under the content definition. - * - * @param {String} id The id of the UI element definition. - * @returns {CKEDITOR.dialog.definition.uiElement} - */ - get: function( id ) { - return getById( this.elements, id, 'children' ); - }, - - /** - * Adds a UI element definition to the content definition. - * - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition The - * UI elemnet definition to be added. - * @param {String} nextSiblingId The id of an existing UI element - * definition which the new UI element definition will be inserted - * before. Omit if the new button definition is to be inserted as - * the last item. - * @returns {CKEDITOR.dialog.definition.uiElement} The element definition inserted. - */ - add: function( elementDefinition, nextSiblingId ) { - return addById( this.elements, elementDefinition, nextSiblingId, 'children' ); - }, - - /** - * Removes a UI element definition from the content definition. - * - * @param {String} id The id of the UI element definition to be removed. - * @returns {CKEDITOR.dialog.definition.uiElement} The element definition removed. - */ - remove: function( id ) { - removeById( this.elements, id, 'children' ); - } - }; - - function initDragAndDrop( dialog ) { - var lastCoords = null, - abstractDialogCoords = null, - element = dialog.getElement().getFirst(), - editor = dialog.getParentEditor(), - magnetDistance = editor.config.dialog_magnetDistance, - margins = CKEDITOR.skin.margins || [ 0, 0, 0, 0 ]; - - if ( typeof magnetDistance == 'undefined' ) - magnetDistance = 20; - - function mouseMoveHandler( evt ) { - var dialogSize = dialog.getSize(), - viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(), - x = evt.data.$.screenX, - y = evt.data.$.screenY, - dx = x - lastCoords.x, - dy = y - lastCoords.y, - realX, realY; - - lastCoords = { x: x, y: y }; - abstractDialogCoords.x += dx; - abstractDialogCoords.y += dy; - - if ( abstractDialogCoords.x + margins[ 3 ] < magnetDistance ) - realX = -margins[ 3 ]; - else if ( abstractDialogCoords.x - margins[ 1 ] > viewPaneSize.width - dialogSize.width - magnetDistance ) - realX = viewPaneSize.width - dialogSize.width + ( editor.lang.dir == 'rtl' ? 0 : margins[ 1 ] ); - else - realX = abstractDialogCoords.x; - - if ( abstractDialogCoords.y + margins[ 0 ] < magnetDistance ) - realY = -margins[ 0 ]; - else if ( abstractDialogCoords.y - margins[ 2 ] > viewPaneSize.height - dialogSize.height - magnetDistance ) - realY = viewPaneSize.height - dialogSize.height + margins[ 2 ]; - else - realY = abstractDialogCoords.y; - - dialog.move( realX, realY, 1 ); - - evt.data.preventDefault(); - } - - function mouseUpHandler( evt ) { - CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler ); - CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler ); - - if ( CKEDITOR.env.ie6Compat ) { - var coverDoc = currentCover.getChild( 0 ).getFrameDocument(); - coverDoc.removeListener( 'mousemove', mouseMoveHandler ); - coverDoc.removeListener( 'mouseup', mouseUpHandler ); - } - } - - dialog.parts.title.on( 'mousedown', function( evt ) { - lastCoords = { x: evt.data.$.screenX, y: evt.data.$.screenY }; - - CKEDITOR.document.on( 'mousemove', mouseMoveHandler ); - CKEDITOR.document.on( 'mouseup', mouseUpHandler ); - abstractDialogCoords = dialog.getPosition(); - - if ( CKEDITOR.env.ie6Compat ) { - var coverDoc = currentCover.getChild( 0 ).getFrameDocument(); - coverDoc.on( 'mousemove', mouseMoveHandler ); - coverDoc.on( 'mouseup', mouseUpHandler ); - } - - evt.data.preventDefault(); - }, dialog ); - } - - function initResizeHandles( dialog ) { - var def = dialog.definition, - resizable = def.resizable; - - if ( resizable == CKEDITOR.DIALOG_RESIZE_NONE ) - return; - - var editor = dialog.getParentEditor(); - var wrapperWidth, wrapperHeight, viewSize, origin, startSize, dialogCover; - - var mouseDownFn = CKEDITOR.tools.addFunction( function( $event ) { - startSize = dialog.getSize(); - - var content = dialog.parts.contents, - iframeDialog = content.$.getElementsByTagName( 'iframe' ).length; - - // Shim to help capturing "mousemove" over iframe. - if ( iframeDialog ) { - dialogCover = CKEDITOR.dom.element.createFromHtml( '
' ); - content.append( dialogCover ); - } - - // Calculate the offset between content and chrome size. - wrapperHeight = startSize.height - dialog.parts.contents.getSize( 'height', !( CKEDITOR.env.gecko || CKEDITOR.env.opera || CKEDITOR.env.ie && CKEDITOR.env.quirks ) ); - wrapperWidth = startSize.width - dialog.parts.contents.getSize( 'width', 1 ); - - origin = { x: $event.screenX, y: $event.screenY }; - - viewSize = CKEDITOR.document.getWindow().getViewPaneSize(); - - CKEDITOR.document.on( 'mousemove', mouseMoveHandler ); - CKEDITOR.document.on( 'mouseup', mouseUpHandler ); - - if ( CKEDITOR.env.ie6Compat ) { - var coverDoc = currentCover.getChild( 0 ).getFrameDocument(); - coverDoc.on( 'mousemove', mouseMoveHandler ); - coverDoc.on( 'mouseup', mouseUpHandler ); - } - - $event.preventDefault && $event.preventDefault(); - } ); - - // Prepend the grip to the dialog. - dialog.on( 'load', function() { - var direction = ''; - if ( resizable == CKEDITOR.DIALOG_RESIZE_WIDTH ) - direction = ' cke_resizer_horizontal'; - else if ( resizable == CKEDITOR.DIALOG_RESIZE_HEIGHT ) - direction = ' cke_resizer_vertical'; - var resizer = CKEDITOR.dom.element.createFromHtml( - '' + - // BLACK LOWER RIGHT TRIANGLE (ltr) - // BLACK LOWER LEFT TRIANGLE (rtl) - ( editor.lang.dir == 'ltr' ? '\u25E2' : '\u25E3' ) + - '' ); - dialog.parts.footer.append( resizer, 1 ); - } ); - editor.on( 'destroy', function() { - CKEDITOR.tools.removeFunction( mouseDownFn ); - } ); - - function mouseMoveHandler( evt ) { - var rtl = editor.lang.dir == 'rtl', - dx = ( evt.data.$.screenX - origin.x ) * ( rtl ? -1 : 1 ), - dy = evt.data.$.screenY - origin.y, - width = startSize.width, - height = startSize.height, - internalWidth = width + dx * ( dialog._.moved ? 1 : 2 ), - internalHeight = height + dy * ( dialog._.moved ? 1 : 2 ), - element = dialog._.element.getFirst(), - right = rtl && element.getComputedStyle( 'right' ), - position = dialog.getPosition(); - - if ( position.y + internalHeight > viewSize.height ) - internalHeight = viewSize.height - position.y; - - if ( ( rtl ? right : position.x ) + internalWidth > viewSize.width ) - internalWidth = viewSize.width - ( rtl ? right : position.x ); - - // Make sure the dialog will not be resized to the wrong side when it's in the leftmost position for RTL. - if ( ( resizable == CKEDITOR.DIALOG_RESIZE_WIDTH || resizable == CKEDITOR.DIALOG_RESIZE_BOTH ) ) - width = Math.max( def.minWidth || 0, internalWidth - wrapperWidth ); - - if ( resizable == CKEDITOR.DIALOG_RESIZE_HEIGHT || resizable == CKEDITOR.DIALOG_RESIZE_BOTH ) - height = Math.max( def.minHeight || 0, internalHeight - wrapperHeight ); - - dialog.resize( width, height ); - - if ( !dialog._.moved ) - dialog.layout(); - - evt.data.preventDefault(); - } - - function mouseUpHandler() { - CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler ); - CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler ); - - if ( dialogCover ) { - dialogCover.remove(); - dialogCover = null; - } - - if ( CKEDITOR.env.ie6Compat ) { - var coverDoc = currentCover.getChild( 0 ).getFrameDocument(); - coverDoc.removeListener( 'mouseup', mouseUpHandler ); - coverDoc.removeListener( 'mousemove', mouseMoveHandler ); - } - } - } - - var resizeCover; - // Caching resuable covers and allowing only one cover - // on screen. - var covers = {}, - currentCover; - - function cancelEvent( ev ) { - ev.data.preventDefault( 1 ); - } - - function showCover( editor ) { - var win = CKEDITOR.document.getWindow(); - var config = editor.config, - backgroundColorStyle = config.dialog_backgroundCoverColor || 'white', - backgroundCoverOpacity = config.dialog_backgroundCoverOpacity, - baseFloatZIndex = config.baseFloatZIndex, - coverKey = CKEDITOR.tools.genKey( backgroundColorStyle, backgroundCoverOpacity, baseFloatZIndex ), - coverElement = covers[ coverKey ]; - - if ( !coverElement ) { - var html = [ - '
' - ]; - - if ( CKEDITOR.env.ie6Compat ) { - // Support for custom document.domain in IE. - var iframeHtml = ''; - - html.push( '' + - '' ); - } - - html.push( '
' ); - - coverElement = CKEDITOR.dom.element.createFromHtml( html.join( '' ) ); - coverElement.setOpacity( backgroundCoverOpacity != undefined ? backgroundCoverOpacity : 0.5 ); - - coverElement.on( 'keydown', cancelEvent ); - coverElement.on( 'keypress', cancelEvent ); - coverElement.on( 'keyup', cancelEvent ); - - coverElement.appendTo( CKEDITOR.document.getBody() ); - covers[ coverKey ] = coverElement; - } else - coverElement.show(); - - // Makes the dialog cover a focus holder as well. - editor.focusManager.add( coverElement ); - - currentCover = coverElement; - var resizeFunc = function() { - var size = win.getViewPaneSize(); - coverElement.setStyles( { - width: size.width + 'px', - height: size.height + 'px' - } ); - }; - - var scrollFunc = function() { - var pos = win.getScrollPosition(), - cursor = CKEDITOR.dialog._.currentTop; - coverElement.setStyles( { - left: pos.x + 'px', - top: pos.y + 'px' - } ); - - if ( cursor ) { - do { - var dialogPos = cursor.getPosition(); - cursor.move( dialogPos.x, dialogPos.y ); - } while ( ( cursor = cursor._.parentDialog ) ); - } - }; - - resizeCover = resizeFunc; - win.on( 'resize', resizeFunc ); - resizeFunc(); - // Using Safari/Mac, focus must be kept where it is (#7027) - if ( !( CKEDITOR.env.mac && CKEDITOR.env.webkit ) ) - coverElement.focus(); - - if ( CKEDITOR.env.ie6Compat ) { - // IE BUG: win.$.onscroll assignment doesn't work.. it must be window.onscroll. - // So we need to invent a really funny way to make it work. - var myScrollHandler = function() { - scrollFunc(); - arguments.callee.prevScrollHandler.apply( this, arguments ); - }; - win.$.setTimeout( function() { - myScrollHandler.prevScrollHandler = window.onscroll || - function() {}; - window.onscroll = myScrollHandler; - }, 0 ); - scrollFunc(); - } - } - - function hideCover( editor ) { - if ( !currentCover ) - return; - - editor.focusManager.remove( currentCover ); - var win = CKEDITOR.document.getWindow(); - currentCover.hide(); - win.removeListener( 'resize', resizeCover ); - - if ( CKEDITOR.env.ie6Compat ) { - win.$.setTimeout( function() { - var prevScrollHandler = window.onscroll && window.onscroll.prevScrollHandler; - window.onscroll = prevScrollHandler || null; - }, 0 ); - } - resizeCover = null; - } - - function removeCovers() { - for ( var coverId in covers ) - covers[ coverId ].remove(); - covers = {}; - } - - var accessKeyProcessors = {}; - - var accessKeyDownHandler = function( evt ) { - var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey, - alt = evt.data.$.altKey, - shift = evt.data.$.shiftKey, - key = String.fromCharCode( evt.data.$.keyCode ), - keyProcessor = accessKeyProcessors[ ( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '' ) + ( shift ? 'SHIFT+' : '' ) + key ]; - - if ( !keyProcessor || !keyProcessor.length ) - return; - - keyProcessor = keyProcessor[ keyProcessor.length - 1 ]; - keyProcessor.keydown && keyProcessor.keydown.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key ); - evt.data.preventDefault(); - }; - - var accessKeyUpHandler = function( evt ) { - var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey, - alt = evt.data.$.altKey, - shift = evt.data.$.shiftKey, - key = String.fromCharCode( evt.data.$.keyCode ), - keyProcessor = accessKeyProcessors[ ( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '' ) + ( shift ? 'SHIFT+' : '' ) + key ]; - - if ( !keyProcessor || !keyProcessor.length ) - return; - - keyProcessor = keyProcessor[ keyProcessor.length - 1 ]; - if ( keyProcessor.keyup ) { - keyProcessor.keyup.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key ); - evt.data.preventDefault(); - } - }; - - var registerAccessKey = function( uiElement, dialog, key, downFunc, upFunc ) { - var procList = accessKeyProcessors[ key ] || ( accessKeyProcessors[ key ] = [] ); - procList.push( { - uiElement: uiElement, - dialog: dialog, - key: key, - keyup: upFunc || uiElement.accessKeyUp, - keydown: downFunc || uiElement.accessKeyDown - } ); - }; - - var unregisterAccessKey = function( obj ) { - for ( var i in accessKeyProcessors ) { - var list = accessKeyProcessors[ i ]; - for ( var j = list.length - 1; j >= 0; j-- ) { - if ( list[ j ].dialog == obj || list[ j ].uiElement == obj ) - list.splice( j, 1 ); - } - if ( list.length === 0 ) - delete accessKeyProcessors[ i ]; - } - }; - - var tabAccessKeyUp = function( dialog, key ) { - if ( dialog._.accessKeyMap[ key ] ) - dialog.selectPage( dialog._.accessKeyMap[ key ] ); - }; - - var tabAccessKeyDown = function( dialog, key ) {}; - - ( function() { - CKEDITOR.ui.dialog = { - /** - * The base class of all dialog UI elements. - * - * @class CKEDITOR.ui.dialog.uiElement - * @constructor Creates a uiElement class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition Element - * definition. - * - * Accepted fields: - * - * * `id` (Required) The id of the UI element. See {@link CKEDITOR.dialog#getContentElement}. - * * `type` (Required) The type of the UI element. The - * value to this field specifies which UI element class will be used to - * generate the final widget. - * * `title` (Optional) The popup tooltip for the UI - * element. - * * `hidden` (Optional) A flag that tells if the element - * should be initially visible. - * * `className` (Optional) Additional CSS class names - * to add to the UI element. Separated by space. - * * `style` (Optional) Additional CSS inline styles - * to add to the UI element. A semicolon (;) is required after the last - * style declaration. - * * `accessKey` (Optional) The alphanumeric access key - * for this element. Access keys are automatically prefixed by CTRL. - * * `on*` (Optional) Any UI element definition field that - * starts with `on` followed immediately by a capital letter and - * probably more letters is an event handler. Event handlers may be further - * divided into registered event handlers and DOM event handlers. Please - * refer to {@link CKEDITOR.ui.dialog.uiElement#registerEvents} and - * {@link CKEDITOR.ui.dialog.uiElement#eventProcessors} for more information. - * - * @param {Array} htmlList - * List of HTML code to be added to the dialog's content area. - * @param {Function/String} [nodeNameArg='div'] - * A function returning a string, or a simple string for the node name for - * the root DOM node. - * @param {Function/Object} [stylesArg={}] - * A function returning an object, or a simple object for CSS styles applied - * to the DOM node. - * @param {Function/Object} [attributesArg={}] - * A fucntion returning an object, or a simple object for attributes applied - * to the DOM node. - * @param {Function/String} [contentsArg=''] - * A function returning a string, or a simple string for the HTML code inside - * the root DOM node. Default is empty string. - */ - uiElement: function( dialog, elementDefinition, htmlList, nodeNameArg, stylesArg, attributesArg, contentsArg ) { - if ( arguments.length < 4 ) - return; - - var nodeName = ( nodeNameArg.call ? nodeNameArg( elementDefinition ) : nodeNameArg ) || 'div', - html = [ '<', nodeName, ' ' ], - styles = ( stylesArg && stylesArg.call ? stylesArg( elementDefinition ) : stylesArg ) || {}, - attributes = ( attributesArg && attributesArg.call ? attributesArg( elementDefinition ) : attributesArg ) || {}, - innerHTML = ( contentsArg && contentsArg.call ? contentsArg.call( this, dialog, elementDefinition ) : contentsArg ) || '', - domId = this.domId = attributes.id || CKEDITOR.tools.getNextId() + '_uiElement', - id = this.id = elementDefinition.id, - i; - - if ( elementDefinition.requiredContent && !dialog.getParentEditor().filter.check( elementDefinition.requiredContent ) ) { - styles.display = 'none'; - this.notAllowed = true; - } - - // Set the id, a unique id is required for getElement() to work. - attributes.id = domId; - - // Set the type and definition CSS class names. - var classes = {}; - if ( elementDefinition.type ) - classes[ 'cke_dialog_ui_' + elementDefinition.type ] = 1; - if ( elementDefinition.className ) - classes[ elementDefinition.className ] = 1; - if ( elementDefinition.disabled ) - classes[ 'cke_disabled' ] = 1; - - var attributeClasses = ( attributes[ 'class' ] && attributes[ 'class' ].split ) ? attributes[ 'class' ].split( ' ' ) : []; - for ( i = 0; i < attributeClasses.length; i++ ) { - if ( attributeClasses[ i ] ) - classes[ attributeClasses[ i ] ] = 1; - } - var finalClasses = []; - for ( i in classes ) - finalClasses.push( i ); - attributes[ 'class' ] = finalClasses.join( ' ' ); - - // Set the popup tooltop. - if ( elementDefinition.title ) - attributes.title = elementDefinition.title; - - // Write the inline CSS styles. - var styleStr = ( elementDefinition.style || '' ).split( ';' ); - - // Element alignment support. - if ( elementDefinition.align ) { - var align = elementDefinition.align; - styles[ 'margin-left' ] = align == 'left' ? 0 : 'auto'; - styles[ 'margin-right' ] = align == 'right' ? 0 : 'auto'; - } - - for ( i in styles ) - styleStr.push( i + ':' + styles[ i ] ); - if ( elementDefinition.hidden ) - styleStr.push( 'display:none' ); - for ( i = styleStr.length - 1; i >= 0; i-- ) { - if ( styleStr[ i ] === '' ) - styleStr.splice( i, 1 ); - } - if ( styleStr.length > 0 ) - attributes.style = ( attributes.style ? ( attributes.style + '; ' ) : '' ) + styleStr.join( '; ' ); - - // Write the attributes. - for ( i in attributes ) - html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[ i ] ) + '" ' ); - - // Write the content HTML. - html.push( '>', innerHTML, '' ); - - // Add contents to the parent HTML array. - htmlList.push( html.join( '' ) ); - - ( this._ || ( this._ = {} ) ).dialog = dialog; - - // Override isChanged if it is defined in element definition. - if ( typeof( elementDefinition.isChanged ) == 'boolean' ) - this.isChanged = function() { - return elementDefinition.isChanged; - }; - if ( typeof( elementDefinition.isChanged ) == 'function' ) - this.isChanged = elementDefinition.isChanged; - - // Overload 'get(set)Value' on definition. - if ( typeof( elementDefinition.setValue ) == 'function' ) { - this.setValue = CKEDITOR.tools.override( this.setValue, function( org ) { - return function( val ) { - org.call( this, elementDefinition.setValue.call( this, val ) ); - }; - } ); - } - - if ( typeof( elementDefinition.getValue ) == 'function' ) { - this.getValue = CKEDITOR.tools.override( this.getValue, function( org ) { - return function() { - return elementDefinition.getValue.call( this, org.call( this ) ); - }; - } ); - } - - // Add events. - CKEDITOR.event.implementOn( this ); - - this.registerEvents( elementDefinition ); - if ( this.accessKeyUp && this.accessKeyDown && elementDefinition.accessKey ) - registerAccessKey( this, dialog, 'CTRL+' + elementDefinition.accessKey ); - - var me = this; - dialog.on( 'load', function() { - var input = me.getInputElement(); - if ( input ) { - var focusClass = me.type in { 'checkbox': 1, 'ratio': 1 } && CKEDITOR.env.ie && CKEDITOR.env.version < 8 ? 'cke_dialog_ui_focused' : ''; - input.on( 'focus', function() { - dialog._.tabBarMode = false; - dialog._.hasFocus = true; - me.fire( 'focus' ); - focusClass && this.addClass( focusClass ); - - } ); - - input.on( 'blur', function() { - me.fire( 'blur' ); - focusClass && this.removeClass( focusClass ); - } ); - } - } ); - - // Completes this object with everything we have in the - // definition. - CKEDITOR.tools.extend( this, elementDefinition ); - - // Register the object as a tab focus if it can be included. - if ( this.keyboardFocusable ) { - this.tabIndex = elementDefinition.tabIndex || 0; - - this.focusIndex = dialog._.focusList.push( this ) - 1; - this.on( 'focus', function() { - dialog._.currentFocusIndex = me.focusIndex; - } ); - } - }, - - /** - * Horizontal layout box for dialog UI elements, auto-expends to available width of container. - * - * @class CKEDITOR.ui.dialog.hbox - * @extends CKEDITOR.ui.dialog.uiElement - * @constructor Creates a hbox class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {Array} childObjList - * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container. - * @param {Array} childHtmlList - * Array of HTML code that correspond to the HTML output of all the - * objects in childObjList. - * @param {Array} htmlList - * Array of HTML code that this element will output to. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `widths` (Optional) The widths of child cells. - * * `height` (Optional) The height of the layout. - * * `padding` (Optional) The padding width inside child cells. - * * `align` (Optional) The alignment of the whole layout. - */ - hbox: function( dialog, childObjList, childHtmlList, htmlList, elementDefinition ) { - if ( arguments.length < 4 ) - return; - - this._ || ( this._ = {} ); - - var children = this._.children = childObjList, - widths = elementDefinition && elementDefinition.widths || null, - height = elementDefinition && elementDefinition.height || null, - styles = {}, - i; - /** @ignore */ - var innerHTML = function() { - var html = [ '' ]; - for ( i = 0; i < childHtmlList.length; i++ ) { - var className = 'cke_dialog_ui_hbox_child', - styles = []; - if ( i === 0 ) - className = 'cke_dialog_ui_hbox_first'; - if ( i == childHtmlList.length - 1 ) - className = 'cke_dialog_ui_hbox_last'; - html.push( ' 0 ) - html.push( 'style="' + styles.join( '; ' ) + '" ' ); - html.push( '>', childHtmlList[ i ], '' ); - } - html.push( '' ); - return html.join( '' ); - }; - - var attribs = { role: 'presentation' }; - elementDefinition && elementDefinition.align && ( attribs.align = elementDefinition.align ); - - CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition || { type: 'hbox' }, htmlList, 'table', styles, attribs, innerHTML ); - }, - - /** - * Vertical layout box for dialog UI elements. - * - * @class CKEDITOR.ui.dialog.vbox - * @extends CKEDITOR.ui.dialog.hbox - * @constructor Creates a vbox class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {Array} childObjList - * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container. - * @param {Array} childHtmlList - * Array of HTML code that correspond to the HTML output of all the - * objects in childObjList. - * @param {Array} htmlList Array of HTML code that this element will output to. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `width` (Optional) The width of the layout. - * * `heights` (Optional) The heights of individual cells. - * * `align` (Optional) The alignment of the layout. - * * `padding` (Optional) The padding width inside child cells. - * * `expand` (Optional) Whether the layout should expand - * vertically to fill its container. - */ - vbox: function( dialog, childObjList, childHtmlList, htmlList, elementDefinition ) { - if ( arguments.length < 3 ) - return; - - this._ || ( this._ = {} ); - - var children = this._.children = childObjList, - width = elementDefinition && elementDefinition.width || null, - heights = elementDefinition && elementDefinition.heights || null; - /** @ignore */ - var innerHTML = function() { - var html = [ '' ); - for ( var i = 0; i < childHtmlList.length; i++ ) { - var styles = []; - html.push( '' ); - } - html.push( '
0 ) - html.push( 'style="', styles.join( '; ' ), '" ' ); - html.push( ' class="cke_dialog_ui_vbox_child">', childHtmlList[ i ], '
' ); - return html.join( '' ); - }; - CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition || { type: 'vbox' }, htmlList, 'div', null, { role: 'presentation' }, innerHTML ); - } - }; - } )(); - - /** @class CKEDITOR.ui.dialog.uiElement */ - CKEDITOR.ui.dialog.uiElement.prototype = { - /** - * Gets the root DOM element of this dialog UI object. - * - * uiElement.getElement().hide(); - * - * @returns {CKEDITOR.dom.element} Root DOM element of UI object. - */ - getElement: function() { - return CKEDITOR.document.getById( this.domId ); - }, - - /** - * Gets the DOM element that the user inputs values. - * - * This function is used by {@link #setValue}, {@link #getValue} and {@link #focus}. It should - * be overrided in child classes where the input element isn't the root - * element. - * - * var rawValue = textInput.getInputElement().$.value; - * - * @returns {CKEDITOR.dom.element} The element where the user input values. - */ - getInputElement: function() { - return this.getElement(); - }, - - /** - * Gets the parent dialog object containing this UI element. - * - * var dialog = uiElement.getDialog(); - * - * @returns {CKEDITOR.dialog} Parent dialog object. - */ - getDialog: function() { - return this._.dialog; - }, - - /** - * Sets the value of this dialog UI object. - * - * uiElement.setValue( 'Dingo' ); - * - * @chainable - * @param {Object} value The new value. - * @param {Boolean} noChangeEvent Internal commit, to supress `change` event on this element. - */ - setValue: function( value, noChangeEvent ) { - this.getInputElement().setValue( value ); - !noChangeEvent && this.fire( 'change', { value: value } ); - return this; - }, - - /** - * Gets the current value of this dialog UI object. - * - * var myValue = uiElement.getValue(); - * - * @returns {Object} The current value. - */ - getValue: function() { - return this.getInputElement().getValue(); - }, - - /** - * Tells whether the UI object's value has changed. - * - * if ( uiElement.isChanged() ) - * confirm( 'Value changed! Continue?' ); - * - * @returns {Boolean} `true` if changed, `false` if not changed. - */ - isChanged: function() { - // Override in input classes. - return false; - }, - - /** - * Selects the parent tab of this element. Usually called by focus() or overridden focus() methods. - * - * focus : function() { - * this.selectParentTab(); - * // do something else. - * } - * - * @chainable - */ - selectParentTab: function() { - var element = this.getInputElement(), - cursor = element, - tabId; - while ( ( cursor = cursor.getParent() ) && cursor.$.className.search( 'cke_dialog_page_contents' ) == -1 ) { - /*jsl:pass*/ - } - - // Some widgets don't have parent tabs (e.g. OK and Cancel buttons). - if ( !cursor ) - return this; - - tabId = cursor.getAttribute( 'name' ); - // Avoid duplicate select. - if ( this._.dialog._.currentTabId != tabId ) - this._.dialog.selectPage( tabId ); - return this; - }, - - /** - * Puts the focus to the UI object. Switches tabs if the UI object isn't in the active tab page. - * - * uiElement.focus(); - * - * @chainable - */ - focus: function() { - this.selectParentTab().getInputElement().focus(); - return this; - }, - - /** - * Registers the `on*` event handlers defined in the element definition. - * - * The default behavior of this function is: - * - * 1. If the on* event is defined in the class's eventProcesors list, - * then the registration is delegated to the corresponding function - * in the eventProcessors list. - * 2. If the on* event is not defined in the eventProcessors list, then - * register the event handler under the corresponding DOM event of - * the UI element's input DOM element (as defined by the return value - * of {@link #getInputElement}). - * - * This function is only called at UI element instantiation, but can - * be overridded in child classes if they require more flexibility. - * - * @chainable - * @param {CKEDITOR.dialog.definition.uiElement} definition The UI element - * definition. - */ - registerEvents: function( definition ) { - var regex = /^on([A-Z]\w+)/, - match; - - var registerDomEvent = function( uiElement, dialog, eventName, func ) { - dialog.on( 'load', function() { - uiElement.getInputElement().on( eventName, func, uiElement ); - } ); - }; - - for ( var i in definition ) { - if ( !( match = i.match( regex ) ) ) - continue; - if ( this.eventProcessors[ i ] ) - this.eventProcessors[ i ].call( this, this._.dialog, definition[ i ] ); - else - registerDomEvent( this, this._.dialog, match[ 1 ].toLowerCase(), definition[ i ] ); - } - - return this; - }, - - /** - * The event processor list used by - * {@link CKEDITOR.ui.dialog.uiElement#getInputElement} at UI element - * instantiation. The default list defines three `on*` events: - * - * 1. `onLoad` - Called when the element's parent dialog opens for the - * first time. - * 2. `onShow` - Called whenever the element's parent dialog opens. - * 3. `onHide` - Called whenever the element's parent dialog closes. - * - * // This connects the 'click' event in CKEDITOR.ui.dialog.button to onClick - * // handlers in the UI element's definitions. - * CKEDITOR.ui.dialog.button.eventProcessors = CKEDITOR.tools.extend( {}, - * CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors, - * { onClick : function( dialog, func ) { this.on( 'click', func ); } }, - * true - * ); - * - * @property {Object} - */ - eventProcessors: { - onLoad: function( dialog, func ) { - dialog.on( 'load', func, this ); - }, - - onShow: function( dialog, func ) { - dialog.on( 'show', func, this ); - }, - - onHide: function( dialog, func ) { - dialog.on( 'hide', func, this ); - } - }, - - /** - * The default handler for a UI element's access key down event, which - * tries to put focus to the UI element. - * - * Can be overridded in child classes for more sophisticaed behavior. - * - * @param {CKEDITOR.dialog} dialog The parent dialog object. - * @param {String} key The key combination pressed. Since access keys - * are defined to always include the `CTRL` key, its value should always - * include a `'CTRL+'` prefix. - */ - accessKeyDown: function( dialog, key ) { - this.focus(); - }, - - /** - * The default handler for a UI element's access key up event, which - * does nothing. - * - * Can be overridded in child classes for more sophisticated behavior. - * - * @param {CKEDITOR.dialog} dialog The parent dialog object. - * @param {String} key The key combination pressed. Since access keys - * are defined to always include the `CTRL` key, its value should always - * include a `'CTRL+'` prefix. - */ - accessKeyUp: function( dialog, key ) {}, - - /** - * Disables a UI element. - */ - disable: function() { - var element = this.getElement(), - input = this.getInputElement(); - input.setAttribute( 'disabled', 'true' ); - element.addClass( 'cke_disabled' ); - }, - - /** - * Enables a UI element. - */ - enable: function() { - var element = this.getElement(), - input = this.getInputElement(); - input.removeAttribute( 'disabled' ); - element.removeClass( 'cke_disabled' ); - }, - - /** - * Determines whether an UI element is enabled or not. - * - * @returns {Boolean} Whether the UI element is enabled. - */ - isEnabled: function() { - return !this.getElement().hasClass( 'cke_disabled' ); - }, - - /** - * Determines whether an UI element is visible or not. - * - * @returns {Boolean} Whether the UI element is visible. - */ - isVisible: function() { - return this.getInputElement().isVisible(); - }, - - /** - * Determines whether an UI element is focus-able or not. - * Focus-able is defined as being both visible and enabled. - * - * @returns {Boolean} Whether the UI element can be focused. - */ - isFocusable: function() { - if ( !this.isEnabled() || !this.isVisible() ) - return false; - return true; - } - }; - - /** @class CKEDITOR.ui.dialog.hbox */ - CKEDITOR.ui.dialog.hbox.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement, { - /** - * Gets a child UI element inside this container. - * - * var checkbox = hbox.getChild( [0,1] ); - * checkbox.setValue( true ); - * - * @param {Array/Number} indices An array or a single number to indicate the child's - * position in the container's descendant tree. Omit to get all the children in an array. - * @returns {Array/CKEDITOR.ui.dialog.uiElement} Array of all UI elements in the container - * if no argument given, or the specified UI element if indices is given. - */ - getChild: function( indices ) { - // If no arguments, return a clone of the children array. - if ( arguments.length < 1 ) - return this._.children.concat(); - - // If indices isn't array, make it one. - if ( !indices.splice ) - indices = [ indices ]; - - // Retrieve the child element according to tree position. - if ( indices.length < 2 ) - return this._.children[ indices[ 0 ] ]; - else - return ( this._.children[ indices[ 0 ] ] && this._.children[ indices[ 0 ] ].getChild ) ? this._.children[ indices[ 0 ] ].getChild( indices.slice( 1, indices.length ) ) : null; - } - }, true ); - - CKEDITOR.ui.dialog.vbox.prototype = new CKEDITOR.ui.dialog.hbox(); - - ( function() { - var commonBuilder = { - build: function( dialog, elementDefinition, output ) { - var children = elementDefinition.children, - child, - childHtmlList = [], - childObjList = []; - for ( var i = 0; - ( i < children.length && ( child = children[ i ] ) ); i++ ) { - var childHtml = []; - childHtmlList.push( childHtml ); - childObjList.push( CKEDITOR.dialog._.uiElementBuilders[ child.type ].build( dialog, child, childHtml ) ); - } - return new CKEDITOR.ui.dialog[ elementDefinition.type ]( dialog, childObjList, childHtmlList, output, elementDefinition ); - } - }; - - CKEDITOR.dialog.addUIElement( 'hbox', commonBuilder ); - CKEDITOR.dialog.addUIElement( 'vbox', commonBuilder ); - } )(); - - /** - * Generic dialog command. It opens a specific dialog when executed. - * - * // Register the "link" command, which opens the "link" dialog. - * editor.addCommand( 'link', new CKEDITOR.dialogCommand( 'link' ) ); - * - * @class - * @constructor Creates a dialogCommand class instance. - * @extends CKEDITOR.commandDefinition - * @param {String} dialogName The name of the dialog to open when executing - * this command. - * @param {Object} [ext] Additional command definition's properties. - */ - CKEDITOR.dialogCommand = function( dialogName, ext ) { - this.dialogName = dialogName; - CKEDITOR.tools.extend( this, ext, true ); - }; - - CKEDITOR.dialogCommand.prototype = { - exec: function( editor ) { - // Special treatment for Opera. (#8031) - CKEDITOR.env.opera ? CKEDITOR.tools.setTimeout( function() { - editor.openDialog( this.dialogName ); - }, 0, this ) : editor.openDialog( this.dialogName ); - }, - - // Dialog commands just open a dialog ui, thus require no undo logic, - // undo support should dedicate to specific dialog implementation. - canUndo: false, - - editorFocus: 1 - }; - - ( function() { - var notEmptyRegex = /^([a]|[^a])+$/, - integerRegex = /^\d*$/, - numberRegex = /^\d*(?:\.\d+)?$/, - htmlLengthRegex = /^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/, - cssLengthRegex = /^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i, - inlineStyleRegex = /^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/; - - CKEDITOR.VALIDATE_OR = 1; - CKEDITOR.VALIDATE_AND = 2; - - CKEDITOR.dialog.validate = { - functions: function() { - var args = arguments; - return function() { - /** - * It's important for validate functions to be able to accept the value - * as argument in addition to this.getValue(), so that it is possible to - * combine validate functions together to make more sophisticated - * validators. - */ - var value = this && this.getValue ? this.getValue() : args[ 0 ]; - - var msg = undefined, - relation = CKEDITOR.VALIDATE_AND, - functions = [], - i; - - for ( i = 0; i < args.length; i++ ) { - if ( typeof( args[ i ] ) == 'function' ) - functions.push( args[ i ] ); - else - break; - } - - if ( i < args.length && typeof( args[ i ] ) == 'string' ) { - msg = args[ i ]; - i++; - } - - if ( i < args.length && typeof( args[ i ] ) == 'number' ) - relation = args[ i ]; - - var passed = ( relation == CKEDITOR.VALIDATE_AND ? true : false ); - for ( i = 0; i < functions.length; i++ ) { - if ( relation == CKEDITOR.VALIDATE_AND ) - passed = passed && functions[ i ]( value ); - else - passed = passed || functions[ i ]( value ); - } - - return !passed ? msg : true; - }; - }, - - regex: function( regex, msg ) { - /* - * Can be greatly shortened by deriving from functions validator if code size - * turns out to be more important than performance. - */ - return function() { - var value = this && this.getValue ? this.getValue() : arguments[ 0 ]; - return !regex.test( value ) ? msg : true; - }; - }, - - notEmpty: function( msg ) { - return this.regex( notEmptyRegex, msg ); - }, - - integer: function( msg ) { - return this.regex( integerRegex, msg ); - }, - - 'number': function( msg ) { - return this.regex( numberRegex, msg ); - }, - - 'cssLength': function( msg ) { - return this.functions( function( val ) { - return cssLengthRegex.test( CKEDITOR.tools.trim( val ) ); - }, msg ); - }, - - 'htmlLength': function( msg ) { - return this.functions( function( val ) { - return htmlLengthRegex.test( CKEDITOR.tools.trim( val ) ); - }, msg ); - }, - - 'inlineStyle': function( msg ) { - return this.functions( function( val ) { - return inlineStyleRegex.test( CKEDITOR.tools.trim( val ) ); - }, msg ); - }, - - equals: function( value, msg ) { - return this.functions( function( val ) { - return val == value; - }, msg ); - }, - - notEqual: function( value, msg ) { - return this.functions( function( val ) { - return val != value; - }, msg ); - } - }; - - CKEDITOR.on( 'instanceDestroyed', function( evt ) { - // Remove dialog cover on last instance destroy. - if ( CKEDITOR.tools.isEmpty( CKEDITOR.instances ) ) { - var currentTopDialog; - while ( ( currentTopDialog = CKEDITOR.dialog._.currentTop ) ) - currentTopDialog.hide(); - removeCovers(); - } - - var dialogs = evt.editor._.storedDialogs; - for ( var name in dialogs ) - dialogs[ name ].destroy(); - - } ); - - } )(); - - // Extend the CKEDITOR.editor class with dialog specific functions. - CKEDITOR.tools.extend( CKEDITOR.editor.prototype, { - /** - * Loads and opens a registered dialog. - * - * CKEDITOR.instances.editor1.openDialog( 'smiley' ); - * - * @member CKEDITOR.editor - * @param {String} dialogName The registered name of the dialog. - * @param {Function} callback The function to be invoked after dialog instance created. - * @returns {CKEDITOR.dialog} The dialog object corresponding to the dialog displayed. - * `null` if the dialog name is not registered. - * @see CKEDITOR.dialog#add - */ - openDialog: function( dialogName, callback ) { - var dialog = null, dialogDefinitions = CKEDITOR.dialog._.dialogDefinitions[ dialogName ]; - - if ( CKEDITOR.dialog._.currentTop === null ) - showCover( this ); - - // If the dialogDefinition is already loaded, open it immediately. - if ( typeof dialogDefinitions == 'function' ) { - var storedDialogs = this._.storedDialogs || ( this._.storedDialogs = {} ); - - dialog = storedDialogs[ dialogName ] || ( storedDialogs[ dialogName ] = new CKEDITOR.dialog( this, dialogName ) ); - - callback && callback.call( dialog, dialog ); - dialog.show(); - - } else if ( dialogDefinitions == 'failed' ) { - hideCover( this ); - throw new Error( '[CKEDITOR.dialog.openDialog] Dialog "' + dialogName + '" failed when loading definition.' ); - } else if ( typeof dialogDefinitions == 'string' ) { - - CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( dialogDefinitions ), - function() { - var dialogDefinition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ]; - // In case of plugin error, mark it as loading failed. - if ( typeof dialogDefinition != 'function' ) - CKEDITOR.dialog._.dialogDefinitions[ dialogName ] = 'failed'; - - this.openDialog( dialogName, callback ); - }, this, 0, 1 ); - } - - CKEDITOR.skin.loadPart( 'dialog' ); - - return dialog; - } - } ); -} )(); - -CKEDITOR.plugins.add( 'dialog', { - requires: 'dialogui', - init: function( editor ) { - editor.on( 'doubleclick', function( evt ) { - if ( evt.data.dialog ) - editor.openDialog( evt.data.dialog ); - }, null, null, 999 ); - } -} ); - -// Dialog related configurations. - -/** - * The color of the dialog background cover. It should be a valid CSS color string. - * - * config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)'; - * - * @cfg {String} [dialog_backgroundCoverColor='white'] - * @member CKEDITOR.config - */ - -/** - * The opacity of the dialog background cover. It should be a number within the - * range `[0.0, 1.0]`. - * - * config.dialog_backgroundCoverOpacity = 0.7; - * - * @cfg {Number} [dialog_backgroundCoverOpacity=0.5] - * @member CKEDITOR.config - */ - -/** - * If the dialog has more than one tab, put focus into the first tab as soon as dialog is opened. - * - * config.dialog_startupFocusTab = true; - * - * @cfg {Boolean} [dialog_startupFocusTab=false] - * @member CKEDITOR.config - */ - -/** - * The distance of magnetic borders used in moving and resizing dialogs, - * measured in pixels. - * - * config.dialog_magnetDistance = 30; - * - * @cfg {Number} [dialog_magnetDistance=20] - * @member CKEDITOR.config - */ - -/** - * The guideline to follow when generating the dialog buttons. There are 3 possible options: - * - * * `'OS'` - the buttons will be displayed in the default order of the user's OS; - * * `'ltr'` - for Left-To-Right order; - * * `'rtl'` - for Right-To-Left order. - * - * Example: - * - * config.dialog_buttonsOrder = 'rtl'; - * - * @since 3.5 - * @cfg {String} [dialog_buttonsOrder='OS'] - * @member CKEDITOR.config - */ - -/** - * The dialog contents to removed. It's a string composed by dialog name and tab name with a colon between them. - * - * Separate each pair with semicolon (see example). - * - * **Note:** All names are case-sensitive. - * - * **Note:** Be cautious when specifying dialog tabs that are mandatory, - * like `'info'`, dialog functionality might be broken because of this! - * - * config.removeDialogTabs = 'flash:advanced;image:Link'; - * - * @since 3.5 - * @cfg {String} [removeDialogTabs=''] - * @member CKEDITOR.config - */ - -/** - * Tells if user should not be asked to confirm close, if any dialog field was modified. - * By default it is set to `false` meaning that the confirmation dialog will be shown. - * - * config.dialog_noConfirmCancel = true; - * - * @since 4.3 - * @cfg {Boolean} [dialog_noConfirmCancel=false] - * @member CKEDITOR.config - */ - -/** - * Fired when a dialog definition is about to be used to create a dialog into - * an editor instance. This event makes it possible to customize the definition - * before creating it. - * - * Note that this event is called only the first time a specific dialog is - * opened. Successive openings will use the cached dialog, and this event will - * not get fired. - * - * @event dialogDefinition - * @member CKEDITOR - * @param {CKEDITOR.dialog.definition} data The dialog defination that - * is being loaded. - * @param {CKEDITOR.editor} editor The editor instance that will use the dialog. - */ - -/** - * Fired when a tab is going to be selected in a dialog. - * - * @event selectPage - * @member CKEDITOR.dialog - * @param data - * @param {String} data.page The id of the page that it's gonna be selected. - * @param {String} data.currentPage The id of the current page. - */ - -/** - * Fired when the user tries to dismiss a dialog. - * - * @event cancel - * @member CKEDITOR.dialog - * @param data - * @param {Boolean} data.hide Whether the event should proceed or not. - */ - -/** - * Fired when the user tries to confirm a dialog. - * - * @event ok - * @member CKEDITOR.dialog - * @param data - * @param {Boolean} data.hide Whether the event should proceed or not. - */ - -/** - * Fired when a dialog is shown. - * - * @event show - * @member CKEDITOR.dialog - */ - -/** - * Fired when a dialog is shown. - * - * @event dialogShow - * @member CKEDITOR.editor - * @param {CKEDITOR.editor} editor This editor instance. - * @param {CKEDITOR.dialog} data The opened dialog instance. - */ - -/** - * Fired when a dialog is hidden. - * - * @event hide - * @member CKEDITOR.dialog - */ - -/** - * Fired when a dialog is hidden. - * - * @event dialogHide - * @member CKEDITOR.editor - * @param {CKEDITOR.editor} editor This editor instance. - * @param {CKEDITOR.dialog} data The hidden dialog instance. - */ - -/** - * Fired when a dialog is being resized. The event is fired on - * both the {@link CKEDITOR.dialog} object and the dialog instance - * since 3.5.3, previously it's available only in the global object. - * - * @static - * @event resize - * @member CKEDITOR.dialog - * @param data - * @param {CKEDITOR.dialog} data.dialog The dialog being resized (if - * it's fired on the dialog itself, this parameter isn't sent). - * @param {String} data.skin The skin name. - * @param {Number} data.width The new width. - * @param {Number} data.height The new height. - */ - -/** - * Fired when a dialog is being resized. The event is fired on - * both the {@link CKEDITOR.dialog} object and the dialog instance - * since 3.5.3, previously it's available only in the global object. - * - * @since 3.5 - * @event resize - * @member CKEDITOR.dialog - * @param data - * @param {Number} data.width The new width. - * @param {Number} data.height The new height. - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialogadvtab/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialogadvtab/plugin.js deleted file mode 100644 index 506e788ecc9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialogadvtab/plugin.js +++ /dev/null @@ -1,200 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -( function() { - - function setupAdvParams( element ) { - var attrName = this.att; - - var value = element && element.hasAttribute( attrName ) && element.getAttribute( attrName ) || ''; - - if ( value !== undefined ) - this.setValue( value ); - } - - function commitAdvParams() { - // Dialogs may use different parameters in the commit list, so, by - // definition, we take the first CKEDITOR.dom.element available. - var element; - - for ( var i = 0; i < arguments.length; i++ ) { - if ( arguments[ i ] instanceof CKEDITOR.dom.element ) { - element = arguments[ i ]; - break; - } - } - - if ( element ) { - var attrName = this.att, - value = this.getValue(); - - if ( value ) - element.setAttribute( attrName, value ); - else - element.removeAttribute( attrName, value ); - } - } - - var defaultTabConfig = { id: 1, dir: 1, classes: 1, styles: 1 }; - - CKEDITOR.plugins.add( 'dialogadvtab', { - requires : 'dialog', - - // Returns allowed content rule for the content created by this plugin. - allowedContent: function( tabConfig ) { - if ( !tabConfig ) - tabConfig = defaultTabConfig; - - var allowedAttrs = []; - if ( tabConfig.id ) - allowedAttrs.push( 'id' ); - if ( tabConfig.dir ) - allowedAttrs.push( 'dir' ); - - var allowed = ''; - - if ( allowedAttrs.length ) - allowed += '[' + allowedAttrs.join( ',' ) + ']'; - - if ( tabConfig.classes ) - allowed += '(*)'; - if ( tabConfig.styles ) - allowed += '{*}'; - - return allowed; - }, - - // @param tabConfig - // id, dir, classes, styles - createAdvancedTab: function( editor, tabConfig, element ) { - if ( !tabConfig ) - tabConfig = defaultTabConfig; - - var lang = editor.lang.common; - - var result = { - id: 'advanced', - label: lang.advancedTab, - title: lang.advancedTab, - elements: [ - { - type: 'vbox', - padding: 1, - children: [] - } - ] - }; - - var contents = []; - - if ( tabConfig.id || tabConfig.dir ) { - if ( tabConfig.id ) { - contents.push( { - id: 'advId', - att: 'id', - type: 'text', - requiredContent: element ? element + '[id]' : null, - label: lang.id, - setup: setupAdvParams, - commit: commitAdvParams - } ); - } - - if ( tabConfig.dir ) { - contents.push( { - id: 'advLangDir', - att: 'dir', - type: 'select', - requiredContent: element ? element + '[dir]' : null, - label: lang.langDir, - 'default': '', - style: 'width:100%', - items: [ - [ lang.notSet, '' ], - [ lang.langDirLTR, 'ltr' ], - [ lang.langDirRTL, 'rtl' ] - ], - setup: setupAdvParams, - commit: commitAdvParams - } ); - } - - result.elements[ 0 ].children.push( { - type: 'hbox', - widths: [ '50%', '50%' ], - children: [].concat( contents ) - } ); - } - - if ( tabConfig.styles || tabConfig.classes ) { - contents = []; - - if ( tabConfig.styles ) { - contents.push( { - id: 'advStyles', - att: 'style', - type: 'text', - requiredContent: element ? element + '{cke-xyz}' : null, - label: lang.styles, - 'default': '', - - validate: CKEDITOR.dialog.validate.inlineStyle( lang.invalidInlineStyle ), - onChange: function() {}, - - getStyle: function( name, defaultValue ) { - var match = this.getValue().match( new RegExp( '(?:^|;)\\s*' + name + '\\s*:\\s*([^;]*)', 'i' ) ); - return match ? match[ 1 ] : defaultValue; - }, - - updateStyle: function( name, value ) { - var styles = this.getValue(); - - var tmp = editor.document.createElement( 'span' ); - tmp.setAttribute( 'style', styles ); - tmp.setStyle( name, value ); - styles = CKEDITOR.tools.normalizeCssText( tmp.getAttribute( 'style' ) ); - - this.setValue( styles, 1 ); - }, - - setup: setupAdvParams, - - commit: commitAdvParams - - } ); - } - - if ( tabConfig.classes ) { - contents.push( { - type: 'hbox', - widths: [ '45%', '55%' ], - children: [ - { - id: 'advCSSClasses', - att: 'class', - type: 'text', - requiredContent: element ? element + '(cke-xyz)' : null, - label: lang.cssClasses, - 'default': '', - setup: setupAdvParams, - commit: commitAdvParams - - } - ] - } ); - } - - result.elements[ 0 ].children.push( { - type: 'hbox', - widths: [ '50%', '50%' ], - children: [].concat( contents ) - } ); - } - - return result; - } - } ); - -} )(); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialogui/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialogui/plugin.js deleted file mode 100644 index 4b3721c2748..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialogui/plugin.js +++ /dev/null @@ -1,1409 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview The "dialogui" plugin. - */ - -CKEDITOR.plugins.add( 'dialogui', { - onLoad: function() { - - var initPrivateObject = function( elementDefinition ) { - this._ || ( this._ = {} ); - this._[ 'default' ] = this._.initValue = elementDefinition[ 'default' ] || ''; - this._.required = elementDefinition[ 'required' ] || false; - var args = [ this._ ]; - for ( var i = 1; i < arguments.length; i++ ) - args.push( arguments[ i ] ); - args.push( true ); - CKEDITOR.tools.extend.apply( CKEDITOR.tools, args ); - return this._; - }, - textBuilder = { - build: function( dialog, elementDefinition, output ) { - return new CKEDITOR.ui.dialog.textInput( dialog, elementDefinition, output ); - } - }, - commonBuilder = { - build: function( dialog, elementDefinition, output ) { - return new CKEDITOR.ui.dialog[ elementDefinition.type ]( dialog, elementDefinition, output ); - } - }, - containerBuilder = { - build: function( dialog, elementDefinition, output ) { - var children = elementDefinition.children, - child, - childHtmlList = [], - childObjList = []; - for ( var i = 0; - ( i < children.length && ( child = children[ i ] ) ); i++ ) { - var childHtml = []; - childHtmlList.push( childHtml ); - childObjList.push( CKEDITOR.dialog._.uiElementBuilders[ child.type ].build( dialog, child, childHtml ) ); - } - return new CKEDITOR.ui.dialog[ elementDefinition.type ]( dialog, childObjList, childHtmlList, output, elementDefinition ); - } - }, - commonPrototype = { - isChanged: function() { - return this.getValue() != this.getInitValue(); - }, - - reset: function( noChangeEvent ) { - this.setValue( this.getInitValue(), noChangeEvent ); - }, - - setInitValue: function() { - this._.initValue = this.getValue(); - }, - - resetInitValue: function() { - this._.initValue = this._[ 'default' ]; - }, - - getInitValue: function() { - return this._.initValue; - } - }, - commonEventProcessors = CKEDITOR.tools.extend( {}, CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors, { - onChange: function( dialog, func ) { - if ( !this._.domOnChangeRegistered ) { - dialog.on( 'load', function() { - this.getInputElement().on( 'change', function() { - // Make sure 'onchange' doesn't get fired after dialog closed. (#5719) - if ( !dialog.parts.dialog.isVisible() ) - return; - - this.fire( 'change', { value: this.getValue() } ); - }, this ); - }, this ); - this._.domOnChangeRegistered = true; - } - - this.on( 'change', func ); - } - }, true ), - eventRegex = /^on([A-Z]\w+)/, - cleanInnerDefinition = function( def ) { - // An inner UI element should not have the parent's type, title or events. - for ( var i in def ) { - if ( eventRegex.test( i ) || i == 'title' || i == 'type' ) - delete def[ i ]; - } - return def; - }; - - CKEDITOR.tools.extend( CKEDITOR.ui.dialog, { - /** - * Base class for all dialog elements with a textual label on the left. - * - * @class CKEDITOR.ui.dialog.labeledElement - * @extends CKEDITOR.ui.dialog.uiElement - * @constructor Creates a labeledElement class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `label` (Required) The label string. - * * `labelLayout` (Optional) Put 'horizontal' here if the - * label element is to be layed out horizontally. Otherwise a vertical - * layout will be used. - * * `widths` (Optional) This applies only for horizontal - * layouts - an 2-element array of lengths to specify the widths of the - * label and the content element. - * - * @param {Array} htmlList List of HTML code to output to. - * @param {Function} contentHtml - * A function returning the HTML code string to be added inside the content - * cell. - */ - labeledElement: function( dialog, elementDefinition, htmlList, contentHtml ) { - if ( arguments.length < 4 ) - return; - - var _ = initPrivateObject.call( this, elementDefinition ); - _.labelId = CKEDITOR.tools.getNextId() + '_label'; - var children = this._.children = []; - - var innerHTML = function() { - var html = [], - requiredClass = elementDefinition.required ? ' cke_required' : ''; - if ( elementDefinition.labelLayout != 'horizontal' ) { - html.push( - '', - '
', - contentHtml.call( this, dialog, elementDefinition ), - '
' ); - } else { - var hboxDefinition = { - type: 'hbox', - widths: elementDefinition.widths, - padding: 0, - children: [ - { - type: 'html', - html: '
' - }, - { - type: 'html', - html: '' + - contentHtml.call( this, dialog, elementDefinition ) + - '' - } - ] - }; - CKEDITOR.dialog._.uiElementBuilders.hbox.build( dialog, hboxDefinition, html ); - } - return html.join( '' ); - }; - CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'div', null, { role: 'presentation' }, innerHTML ); - }, - - /** - * A text input with a label. This UI element class represents both the - * single-line text inputs and password inputs in dialog boxes. - * - * @class CKEDITOR.ui.dialog.textInput - * @extends CKEDITOR.ui.dialog.labeledElement - * @constructor Creates a textInput class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `default` (Optional) The default value. - * * `validate` (Optional) The validation function. - * * `maxLength` (Optional) The maximum length of text box contents. - * * `size` (Optional) The size of the text box. This is - * usually overridden by the size defined by the skin, however. - * - * @param {Array} htmlList List of HTML code to output to. - */ - textInput: function( dialog, elementDefinition, htmlList ) { - if ( arguments.length < 3 ) - return; - - initPrivateObject.call( this, elementDefinition ); - var domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textInput', - attributes = { 'class': 'cke_dialog_ui_input_' + elementDefinition.type, id: domId, type: elementDefinition.type }, - i; - - // Set the validator, if any. - if ( elementDefinition.validate ) - this.validate = elementDefinition.validate; - - // Set the max length and size. - if ( elementDefinition.maxLength ) - attributes.maxlength = elementDefinition.maxLength; - if ( elementDefinition.size ) - attributes.size = elementDefinition.size; - - if ( elementDefinition.inputStyle ) - attributes.style = elementDefinition.inputStyle; - - // If user presses Enter in a text box, it implies clicking OK for the dialog. - var me = this, - keyPressedOnMe = false; - dialog.on( 'load', function() { - me.getInputElement().on( 'keydown', function( evt ) { - if ( evt.data.getKeystroke() == 13 ) - keyPressedOnMe = true; - } ); - - // Lower the priority this 'keyup' since 'ok' will close the dialog.(#3749) - me.getInputElement().on( 'keyup', function( evt ) { - if ( evt.data.getKeystroke() == 13 && keyPressedOnMe ) { - dialog.getButton( 'ok' ) && setTimeout( function() { - dialog.getButton( 'ok' ).click(); - }, 0 ); - keyPressedOnMe = false; - } - }, null, null, 1000 ); - } ); - - var innerHTML = function() { - // IE BUG: Text input fields in IE at 100% would exceed a or inline - // container's width, so need to wrap it inside a
. - var html = [ '' ); - return html.join( '' ); - }; - CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML ); - }, - - /** - * A text area with a label on the top or left. - * - * @class CKEDITOR.ui.dialog.textarea - * @extends CKEDITOR.ui.dialog.labeledElement - * @constructor Creates a textarea class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * - * The element definition. Accepted fields: - * - * * `rows` (Optional) The number of rows displayed. - * Defaults to 5 if not defined. - * * `cols` (Optional) The number of cols displayed. - * Defaults to 20 if not defined. Usually overridden by skins. - * * `default` (Optional) The default value. - * * `validate` (Optional) The validation function. - * - * @param {Array} htmlList List of HTML code to output to. - */ - textarea: function( dialog, elementDefinition, htmlList ) { - if ( arguments.length < 3 ) - return; - - initPrivateObject.call( this, elementDefinition ); - var me = this, - domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textarea', - attributes = {}; - - if ( elementDefinition.validate ) - this.validate = elementDefinition.validate; - - // Generates the essential attributes for the textarea tag. - attributes.rows = elementDefinition.rows || 5; - attributes.cols = elementDefinition.cols || 20; - - attributes[ 'class' ] = 'cke_dialog_ui_input_textarea ' + ( elementDefinition[ 'class' ] || '' ); - - if ( typeof elementDefinition.inputStyle != 'undefined' ) - attributes.style = elementDefinition.inputStyle; - - if ( elementDefinition.dir ) - attributes.dir = elementDefinition.dir; - - var innerHTML = function() { - attributes[ 'aria-labelledby' ] = this._.labelId; - this._.required && ( attributes[ 'aria-required' ] = this._.required ); - var html = [ '' ); - return html.join( '' ); - }; - CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML ); - }, - - /** - * A single checkbox with a label on the right. - * - * @class CKEDITOR.ui.dialog.checkbox - * @extends CKEDITOR.ui.dialog.uiElement - * @constructor Creates a checkbox class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `checked` (Optional) Whether the checkbox is checked - * on instantiation. Defaults to false. - * * `validate` (Optional) The validation function. - * * `label` (Optional) The checkbox label. - * - * @param {Array} htmlList List of HTML code to output to. - */ - checkbox: function( dialog, elementDefinition, htmlList ) { - if ( arguments.length < 3 ) - return; - - var _ = initPrivateObject.call( this, elementDefinition, { 'default': !!elementDefinition[ 'default' ] } ); - - if ( elementDefinition.validate ) - this.validate = elementDefinition.validate; - - var innerHTML = function() { - var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition, { - id: elementDefinition.id ? elementDefinition.id + '_checkbox' : CKEDITOR.tools.getNextId() + '_checkbox' - }, true ), - html = []; - - var labelId = CKEDITOR.tools.getNextId() + '_label'; - var attributes = { 'class': 'cke_dialog_ui_checkbox_input', type: 'checkbox', 'aria-labelledby': labelId }; - cleanInnerDefinition( myDefinition ); - if ( elementDefinition[ 'default' ] ) - attributes.checked = 'checked'; - - if ( typeof myDefinition.inputStyle != 'undefined' ) - myDefinition.style = myDefinition.inputStyle; - - _.checkbox = new CKEDITOR.ui.dialog.uiElement( dialog, myDefinition, html, 'input', null, attributes ); - html.push( ' ' ); - return html.join( '' ); - }; - - CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'span', null, null, innerHTML ); - }, - - /** - * A group of radio buttons. - * - * @class CKEDITOR.ui.dialog.radio - * @extends CKEDITOR.ui.dialog.labeledElement - * @constructor Creates a radio class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `default` (Required) The default value. - * * `validate` (Optional) The validation function. - * * `items` (Required) An array of options. Each option - * is a 1- or 2-item array of format `[ 'Description', 'Value' ]`. If `'Value'` - * is missing, then the value would be assumed to be the same as the description. - * - * @param {Array} htmlList List of HTML code to output to. - */ - radio: function( dialog, elementDefinition, htmlList ) { - if ( arguments.length < 3 ) - return; - - initPrivateObject.call( this, elementDefinition ); - - if ( !this._[ 'default' ] ) - this._[ 'default' ] = this._.initValue = elementDefinition.items[ 0 ][ 1 ]; - - if ( elementDefinition.validate ) - this.validate = elementDefinition.valdiate; - - var children = [], - me = this; - - var innerHTML = function() { - var inputHtmlList = [], - html = [], - commonName = ( elementDefinition.id ? elementDefinition.id : CKEDITOR.tools.getNextId() ) + '_radio'; - - for ( var i = 0; i < elementDefinition.items.length; i++ ) { - var item = elementDefinition.items[ i ], - title = item[ 2 ] !== undefined ? item[ 2 ] : item[ 0 ], - value = item[ 1 ] !== undefined ? item[ 1 ] : item[ 0 ], - inputId = CKEDITOR.tools.getNextId() + '_radio_input', - labelId = inputId + '_label', - - inputDefinition = CKEDITOR.tools.extend( {}, elementDefinition, { - id: inputId, - title: null, - type: null - }, true ), - - labelDefinition = CKEDITOR.tools.extend( {}, inputDefinition, { - title: title - }, true ), - - inputAttributes = { - type: 'radio', - 'class': 'cke_dialog_ui_radio_input', - name: commonName, - value: value, - 'aria-labelledby': labelId - }, - - inputHtml = []; - - if ( me._[ 'default' ] == value ) - inputAttributes.checked = 'checked'; - - cleanInnerDefinition( inputDefinition ); - cleanInnerDefinition( labelDefinition ); - - if ( typeof inputDefinition.inputStyle != 'undefined' ) - inputDefinition.style = inputDefinition.inputStyle; - - // Make inputs of radio type focusable (#10866). - inputDefinition.keyboardFocusable = true; - - children.push( new CKEDITOR.ui.dialog.uiElement( dialog, inputDefinition, inputHtml, 'input', null, inputAttributes ) ); - - inputHtml.push( ' ' ); - - new CKEDITOR.ui.dialog.uiElement( dialog, labelDefinition, inputHtml, 'label', null, { - id: labelId, - 'for': inputAttributes.id - }, item[ 0 ] ); - - inputHtmlList.push( inputHtml.join( '' ) ); - } - - new CKEDITOR.ui.dialog.hbox( dialog, children, inputHtmlList, html ); - - return html.join( '' ); - }; - - CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML ); - this._.children = children; - }, - - /** - * A button with a label inside. - * - * @class CKEDITOR.ui.dialog.button - * @extends CKEDITOR.ui.dialog.uiElement - * @constructor Creates a button class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `label` (Required) The button label. - * * `disabled` (Optional) Set to true if you want the - * button to appear in disabled state. - * - * @param {Array} htmlList List of HTML code to output to. - */ - button: function( dialog, elementDefinition, htmlList ) { - if ( !arguments.length ) - return; - - if ( typeof elementDefinition == 'function' ) - elementDefinition = elementDefinition( dialog.getParentEditor() ); - - initPrivateObject.call( this, elementDefinition, { disabled: elementDefinition.disabled || false } ); - - // Add OnClick event to this input. - CKEDITOR.event.implementOn( this ); - - var me = this; - - // Register an event handler for processing button clicks. - dialog.on( 'load', function( eventInfo ) { - var element = this.getElement(); - - ( function() { - element.on( 'click', function( evt ) { - me.click(); - // #9958 - evt.data.preventDefault(); - } ); - - element.on( 'keydown', function( evt ) { - if ( evt.data.getKeystroke() in { 32: 1 } ) { - me.click(); - evt.data.preventDefault(); - } - } ); - } )(); - - element.unselectable(); - }, this ); - - var outerDefinition = CKEDITOR.tools.extend( {}, elementDefinition ); - delete outerDefinition.style; - - var labelId = CKEDITOR.tools.getNextId() + '_label'; - CKEDITOR.ui.dialog.uiElement.call( this, dialog, outerDefinition, htmlList, 'a', null, { - style: elementDefinition.style, - href: 'javascript:void(0)', - title: elementDefinition.label, - hidefocus: 'true', - 'class': elementDefinition[ 'class' ], - role: 'button', - 'aria-labelledby': labelId - }, '' + - CKEDITOR.tools.htmlEncode( elementDefinition.label ) + - '' ); - }, - - /** - * A select box. - * - * @class CKEDITOR.ui.dialog.select - * @extends CKEDITOR.ui.dialog.uiElement - * @constructor Creates a button class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `default` (Required) The default value. - * * `validate` (Optional) The validation function. - * * `items` (Required) An array of options. Each option - * is a 1- or 2-item array of format `[ 'Description', 'Value' ]`. If `'Value'` - * is missing, then the value would be assumed to be the same as the - * description. - * * `multiple` (Optional) Set this to true if you'd like - * to have a multiple-choice select box. - * * `size` (Optional) The number of items to display in - * the select box. - * - * @param {Array} htmlList List of HTML code to output to. - */ - select: function( dialog, elementDefinition, htmlList ) { - if ( arguments.length < 3 ) - return; - - var _ = initPrivateObject.call( this, elementDefinition ); - - if ( elementDefinition.validate ) - this.validate = elementDefinition.validate; - - _.inputId = CKEDITOR.tools.getNextId() + '_select'; - - var innerHTML = function() { - var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition, { - id: elementDefinition.id ? elementDefinition.id + '_select' : CKEDITOR.tools.getNextId() + '_select' - }, true ), - html = [], - innerHTML = [], - attributes = { 'id': _.inputId, 'class': 'cke_dialog_ui_input_select', 'aria-labelledby': this._.labelId }; - - html.push( '' ); - - return html.join( '' ); - }; - - CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML ); - }, - - /** - * A file upload input. - * - * @class CKEDITOR.ui.dialog.file - * @extends CKEDITOR.ui.dialog.labeledElement - * @constructor Creates a file class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `validate` (Optional) The validation function. - * - * @param {Array} htmlList List of HTML code to output to. - */ - file: function( dialog, elementDefinition, htmlList ) { - if ( arguments.length < 3 ) - return; - - if ( elementDefinition[ 'default' ] === undefined ) - elementDefinition[ 'default' ] = ''; - - var _ = CKEDITOR.tools.extend( initPrivateObject.call( this, elementDefinition ), { definition: elementDefinition, buttons: [] } ); - - if ( elementDefinition.validate ) - this.validate = elementDefinition.validate; - - /** @ignore */ - var innerHTML = function() { - _.frameId = CKEDITOR.tools.getNextId() + '_fileInput'; - - var html = [ - '' + - '' ); - - return html.join( '' ); - }; - - // IE BUG: Parent container does not resize to contain the iframe automatically. - dialog.on( 'load', function() { - var iframe = CKEDITOR.document.getById( _.frameId ), - contentDiv = iframe.getParent(); - contentDiv.addClass( 'cke_dialog_ui_input_file' ); - } ); - - CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML ); - }, - - /** - * A button for submitting the file in a file upload input. - * - * @class CKEDITOR.ui.dialog.fileButton - * @extends CKEDITOR.ui.dialog.button - * @constructor Creates a fileButton class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `for` (Required) The file input's page and element Id - * to associate to, in a 2-item array format: `[ 'page_id', 'element_id' ]`. - * * `validate` (Optional) The validation function. - * - * @param {Array} htmlList List of HTML code to output to. - */ - fileButton: function( dialog, elementDefinition, htmlList ) { - if ( arguments.length < 3 ) - return; - - var _ = initPrivateObject.call( this, elementDefinition ), - me = this; - - if ( elementDefinition.validate ) - this.validate = elementDefinition.validate; - - var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition ); - var onClick = myDefinition.onClick; - myDefinition.className = ( myDefinition.className ? myDefinition.className + ' ' : '' ) + 'cke_dialog_ui_button'; - myDefinition.onClick = function( evt ) { - var target = elementDefinition[ 'for' ]; // [ pageId, elementId ] - if ( !onClick || onClick.call( this, evt ) !== false ) { - dialog.getContentElement( target[ 0 ], target[ 1 ] ).submit(); - this.disable(); - } - }; - - dialog.on( 'load', function() { - dialog.getContentElement( elementDefinition[ 'for' ][ 0 ], elementDefinition[ 'for' ][ 1 ] )._.buttons.push( me ); - } ); - - CKEDITOR.ui.dialog.button.call( this, dialog, myDefinition, htmlList ); - }, - - html: ( function() { - var myHtmlRe = /^\s*<[\w:]+\s+([^>]*)?>/, - theirHtmlRe = /^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/, - emptyTagRe = /\/$/; - /** - * A dialog element made from raw HTML code. - * - * @class CKEDITOR.ui.dialog.html - * @extends CKEDITOR.ui.dialog.uiElement - * @constructor Creates a html class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition Element definition. - * Accepted fields: - * - * * `html` (Required) HTML code of this element. - * - * @param {Array} htmlList List of HTML code to be added to the dialog's content area. - */ - return function( dialog, elementDefinition, htmlList ) { - if ( arguments.length < 3 ) - return; - - var myHtmlList = [], - myHtml, - theirHtml = elementDefinition.html, - myMatch, theirMatch; - - // If the HTML input doesn't contain any tags at the beginning, add a tag around it. - if ( theirHtml.charAt( 0 ) != '<' ) - theirHtml = '' + theirHtml + ''; - - // Look for focus function in definition. - var focus = elementDefinition.focus; - if ( focus ) { - var oldFocus = this.focus; - this.focus = function() { - ( typeof focus == 'function' ? focus : oldFocus ).call( this ); - this.fire( 'focus' ); - }; - if ( elementDefinition.isFocusable ) { - var oldIsFocusable = this.isFocusable; - this.isFocusable = oldIsFocusable; - } - this.keyboardFocusable = true; - } - - CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, myHtmlList, 'span', null, null, '' ); - - // Append the attributes created by the uiElement call to the real HTML. - myHtml = myHtmlList.join( '' ); - myMatch = myHtml.match( myHtmlRe ); - theirMatch = theirHtml.match( theirHtmlRe ) || [ '', '', '' ]; - - if ( emptyTagRe.test( theirMatch[ 1 ] ) ) { - theirMatch[ 1 ] = theirMatch[ 1 ].slice( 0, -1 ); - theirMatch[ 2 ] = '/' + theirMatch[ 2 ]; - } - - htmlList.push( [ theirMatch[ 1 ], ' ', myMatch[ 1 ] || '', theirMatch[ 2 ] ].join( '' ) ); - }; - } )(), - - /** - * Form fieldset for grouping dialog UI elements. - * - * @class CKEDITOR.ui.dialog.fieldset - * @extends CKEDITOR.ui.dialog.uiElement - * @constructor Creates a fieldset class instance. - * @param {CKEDITOR.dialog} dialog Parent dialog object. - * @param {Array} childObjList - * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container. - * @param {Array} childHtmlList Array of HTML code that correspond to the HTML output of all the - * objects in childObjList. - * @param {Array} htmlList Array of HTML code that this element will output to. - * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition - * The element definition. Accepted fields: - * - * * `label` (Optional) The legend of the this fieldset. - * * `children` (Required) An array of dialog field definitions which will be grouped inside this fieldset. - * - */ - fieldset: function( dialog, childObjList, childHtmlList, htmlList, elementDefinition ) { - var legendLabel = elementDefinition.label; - /** @ignore */ - var innerHTML = function() { - var html = []; - legendLabel && html.push( '' + legendLabel + '' ); - for ( var i = 0; i < childHtmlList.length; i++ ) - html.push( childHtmlList[ i ] ); - return html.join( '' ); - }; - - this._ = { children: childObjList }; - CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'fieldset', null, null, innerHTML ); - } - - }, true ); - - CKEDITOR.ui.dialog.html.prototype = new CKEDITOR.ui.dialog.uiElement; - - /** @class CKEDITOR.ui.dialog.labeledElement */ - CKEDITOR.ui.dialog.labeledElement.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement, { - /** - * Sets the label text of the element. - * - * @param {String} label The new label text. - * @returns {CKEDITOR.ui.dialog.labeledElement} The current labeled element. - */ - setLabel: function( label ) { - var node = CKEDITOR.document.getById( this._.labelId ); - if ( node.getChildCount() < 1 ) - ( new CKEDITOR.dom.text( label, CKEDITOR.document ) ).appendTo( node ); - else - node.getChild( 0 ).$.nodeValue = label; - return this; - }, - - /** - * Retrieves the current label text of the elment. - * - * @returns {String} The current label text. - */ - getLabel: function() { - var node = CKEDITOR.document.getById( this._.labelId ); - if ( !node || node.getChildCount() < 1 ) - return ''; - else - return node.getChild( 0 ).getText(); - }, - - /** - * Defines the onChange event for UI element definitions. - * @property {Object} - */ - eventProcessors: commonEventProcessors - }, true ); - - /** @class CKEDITOR.ui.dialog.button */ - CKEDITOR.ui.dialog.button.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement, { - /** - * Simulates a click to the button. - * - * @returns {Object} Return value of the `click` event. - */ - click: function() { - if ( !this._.disabled ) - return this.fire( 'click', { dialog: this._.dialog } ); - return false; - }, - - /** - * Enables the button. - */ - enable: function() { - this._.disabled = false; - var element = this.getElement(); - element && element.removeClass( 'cke_disabled' ); - }, - - /** - * Disables the button. - */ - disable: function() { - this._.disabled = true; - this.getElement().addClass( 'cke_disabled' ); - }, - - /** - * @todo - */ - isVisible: function() { - return this.getElement().getFirst().isVisible(); - }, - - /** - * @todo - */ - isEnabled: function() { - return !this._.disabled; - }, - - /** - * Defines the onChange event and onClick for button element definitions. - * - * @property {Object} - */ - eventProcessors: CKEDITOR.tools.extend( {}, CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors, { - onClick: function( dialog, func ) { - this.on( 'click', function() { - func.apply( this, arguments ); - } ); - } - }, true ), - - /** - * Handler for the element's access key up event. Simulates a click to - * the button. - */ - accessKeyUp: function() { - this.click(); - }, - - /** - * Handler for the element's access key down event. Simulates a mouse - * down to the button. - */ - accessKeyDown: function() { - this.focus(); - }, - - keyboardFocusable: true - }, true ); - - /** @class CKEDITOR.ui.dialog.textInput */ - CKEDITOR.ui.dialog.textInput.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.labeledElement, { - /** - * Gets the text input DOM element under this UI object. - * - * @returns {CKEDITOR.dom.element} The DOM element of the text input. - */ - getInputElement: function() { - return CKEDITOR.document.getById( this._.inputId ); - }, - - /** - * Puts focus into the text input. - */ - focus: function() { - var me = this.selectParentTab(); - - // GECKO BUG: setTimeout() is needed to workaround invisible selections. - setTimeout( function() { - var element = me.getInputElement(); - element && element.$.focus(); - }, 0 ); - }, - - /** - * Selects all the text in the text input. - */ - select: function() { - var me = this.selectParentTab(); - - // GECKO BUG: setTimeout() is needed to workaround invisible selections. - setTimeout( function() { - var e = me.getInputElement(); - if ( e ) { - e.$.focus(); - e.$.select(); - } - }, 0 ); - }, - - /** - * Handler for the text input's access key up event. Makes a `select()` - * call to the text input. - */ - accessKeyUp: function() { - this.select(); - }, - - /** - * Sets the value of this text input object. - * - * uiElement.setValue( 'Blamo' ); - * - * @param {Object} value The new value. - * @returns {CKEDITOR.ui.dialog.textInput} The current UI element. - */ - setValue: function( value ) { - !value && ( value = '' ); - return CKEDITOR.ui.dialog.uiElement.prototype.setValue.apply( this, arguments ); - }, - - keyboardFocusable: true - }, commonPrototype, true ); - - CKEDITOR.ui.dialog.textarea.prototype = new CKEDITOR.ui.dialog.textInput(); - - /** @class CKEDITOR.ui.dialog.select */ - CKEDITOR.ui.dialog.select.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.labeledElement, { - /** - * Gets the DOM element of the select box. - * - * @returns {CKEDITOR.dom.element} The `` element of this file input. - * - * @returns {CKEDITOR.dom.element} The file input element. - */ - getInputElement: function() { - var frameDocument = CKEDITOR.document.getById( this._.frameId ).getFrameDocument(); - return frameDocument.$.forms.length > 0 ? new CKEDITOR.dom.element( frameDocument.$.forms[ 0 ].elements[ 0 ] ) : this.getElement(); - }, - - /** - * Uploads the file in the file input. - * - * @returns {CKEDITOR.ui.dialog.file} This object. - */ - submit: function() { - this.getInputElement().getParent().$.submit(); - return this; - }, - - /** - * Get the action assigned to the form. - * - * @returns {String} The value of the action. - */ - getAction: function() { - return this.getInputElement().getParent().$.action; - }, - - /** - * The events must be applied on the inner input element, and - * that must be done when the iframe & form has been loaded. - */ - registerEvents: function( definition ) { - var regex = /^on([A-Z]\w+)/, - match; - - var registerDomEvent = function( uiElement, dialog, eventName, func ) { - uiElement.on( 'formLoaded', function() { - uiElement.getInputElement().on( eventName, func, uiElement ); - } ); - }; - - for ( var i in definition ) { - if ( !( match = i.match( regex ) ) ) - continue; - - if ( this.eventProcessors[ i ] ) - this.eventProcessors[ i ].call( this, this._.dialog, definition[ i ] ); - else - registerDomEvent( this, this._.dialog, match[ 1 ].toLowerCase(), definition[ i ] ); - } - - return this; - }, - - /** - * Redraws the file input and resets the file path in the file input. - * The redraw logic is necessary because non-IE browsers tend to clear - * the `' ); - - var frameDocTpl = CKEDITOR.addTemplate( 'panel-frame-inner', '' + - '' + - '{css}' + - '' + - '<\/html>' ); - - /** @class CKEDITOR.ui.panel */ - CKEDITOR.ui.panel.prototype = { - /** - * Renders the combo. - * - * @param {CKEDITOR.editor} editor The editor instance which this button is - * to be used by. - * @param {Array} [output] The output array to which append the HTML relative - * to this button. - */ - render: function( editor, output ) { - this.getHolderElement = function() { - var holder = this._.holder; - - if ( !holder ) { - if ( this.isFramed ) { - var iframe = this.document.getById( this.id + '_frame' ), - parentDiv = iframe.getParent(), - doc = iframe.getFrameDocument(); - - // Make it scrollable on iOS. (#8308) - CKEDITOR.env.iOS && parentDiv.setStyles( { - 'overflow': 'scroll', - '-webkit-overflow-scrolling': 'touch' - } ); - - var onLoad = CKEDITOR.tools.addFunction( CKEDITOR.tools.bind( function( ev ) { - this.isLoaded = true; - if ( this.onLoad ) - this.onLoad(); - }, this ) ); - - doc.write( frameDocTpl.output( CKEDITOR.tools.extend( { - css: CKEDITOR.tools.buildStyleHtml( this.css ), - onload: 'window.parent.CKEDITOR.tools.callFunction(' + onLoad + ');' - }, data ) ) ); - - var win = doc.getWindow(); - - // Register the CKEDITOR global. - win.$.CKEDITOR = CKEDITOR; - - // Arrow keys for scrolling is only preventable with 'keypress' event in Opera (#4534). - doc.on( 'key' + ( CKEDITOR.env.opera ? 'press' : 'down' ), function( evt ) { - var keystroke = evt.data.getKeystroke(), - dir = this.document.getById( this.id ).getAttribute( 'dir' ); - - // Delegate key processing to block. - if ( this._.onKeyDown && this._.onKeyDown( keystroke ) === false ) { - evt.data.preventDefault(); - return; - } - - // ESC/ARROW-LEFT(ltr) OR ARROW-RIGHT(rtl) - if ( keystroke == 27 || keystroke == ( dir == 'rtl' ? 39 : 37 ) ) { - if ( this.onEscape && this.onEscape( keystroke ) === false ) - evt.data.preventDefault(); - } - }, this ); - - holder = doc.getBody(); - holder.unselectable(); - CKEDITOR.env.air && CKEDITOR.tools.callFunction( onLoad ); - } else - holder = this.document.getById( this.id ); - - this._.holder = holder; - } - - return holder; - }; - - var data = { - editorId: editor.id, - id: this.id, - langCode: editor.langCode, - dir: editor.lang.dir, - cls: this.className, - frame: '', - env: CKEDITOR.env.cssClass, - 'z-index': editor.config.baseFloatZIndex + 1 - }; - - if ( this.isFramed ) { - // With IE, the custom domain has to be taken care at first, - // for other browers, the 'src' attribute should be left empty to - // trigger iframe's 'load' event. - var src = - CKEDITOR.env.air ? 'javascript:void(0)' : - CKEDITOR.env.ie ? 'javascript:void(function(){' + encodeURIComponent( - 'document.open();' + - // In IE, the document domain must be set any time we call document.open(). - '(' + CKEDITOR.tools.fixDomain + ')();' + - 'document.close();' - ) + '}())' : - ''; - - data.frame = frameTpl.output( { - id: this.id + '_frame', - src: src - } ); - } - - var html = panelTpl.output( data ); - - if ( output ) - output.push( html ); - - return html; - }, - - /** - * @todo - */ - addBlock: function( name, block ) { - block = this._.blocks[ name ] = block instanceof CKEDITOR.ui.panel.block ? block : new CKEDITOR.ui.panel.block( this.getHolderElement(), block ); - - if ( !this._.currentBlock ) - this.showBlock( name ); - - return block; - }, - - /** - * @todo - */ - getBlock: function( name ) { - return this._.blocks[ name ]; - }, - - /** - * @todo - */ - showBlock: function( name ) { - var blocks = this._.blocks, - block = blocks[ name ], - current = this._.currentBlock; - - // ARIA role works better in IE on the body element, while on the iframe - // for FF. (#8864) - var holder = !this.forceIFrame || CKEDITOR.env.ie ? this._.holder : this.document.getById( this.id + '_frame' ); - - if ( current ) - current.hide(); - - this._.currentBlock = block; - - CKEDITOR.fire( 'ariaWidget', holder ); - - // Reset the focus index, so it will always go into the first one. - block._.focusIndex = -1; - - this._.onKeyDown = block.onKeyDown && CKEDITOR.tools.bind( block.onKeyDown, block ); - - block.show(); - - return block; - }, - - /** - * @todo - */ - destroy: function() { - this.element && this.element.remove(); - } - }; - - /** - * @class - * - * @todo class and all methods - */ - CKEDITOR.ui.panel.block = CKEDITOR.tools.createClass( { - /** - * Creates a block class instances. - * - * @constructor - * @todo - */ - $: function( blockHolder, blockDefinition ) { - this.element = blockHolder.append( blockHolder.getDocument().createElement( 'div', { - attributes: { - 'tabindex': -1, - 'class': 'cke_panel_block' - }, - styles: { - display: 'none' - } - } ) ); - - // Copy all definition properties to this object. - if ( blockDefinition ) - CKEDITOR.tools.extend( this, blockDefinition ); - - // Set the a11y attributes of this element ... - this.element.setAttributes( { - 'role': this.attributes.role || 'presentation', - 'aria-label': this.attributes[ 'aria-label' ], - 'title': this.attributes.title || this.attributes[ 'aria-label' ] - } ); - - this.keys = {}; - - this._.focusIndex = -1; - - // Disable context menu for panels. - this.element.disableContextMenu(); - }, - - _: { - - /** - * Mark the item specified by the index as current activated. - */ - markItem: function( index ) { - if ( index == -1 ) - return; - var links = this.element.getElementsByTag( 'a' ); - var item = links.getItem( this._.focusIndex = index ); - - // Safari need focus on the iframe window first(#3389), but we need - // lock the blur to avoid hiding the panel. - if ( CKEDITOR.env.webkit || CKEDITOR.env.opera ) - item.getDocument().getWindow().focus(); - item.focus(); - - this.onMark && this.onMark( item ); - } - }, - - proto: { - show: function() { - this.element.setStyle( 'display', '' ); - }, - - hide: function() { - if ( !this.onHide || this.onHide.call( this ) !== true ) - this.element.setStyle( 'display', 'none' ); - }, - - onKeyDown: function( keystroke, noCycle ) { - var keyAction = this.keys[ keystroke ]; - switch ( keyAction ) { - // Move forward. - case 'next': - var index = this._.focusIndex, - links = this.element.getElementsByTag( 'a' ), - link; - - while ( ( link = links.getItem( ++index ) ) ) { - // Move the focus only if the element is marked with - // the _cke_focus and it it's visible (check if it has - // width). - if ( link.getAttribute( '_cke_focus' ) && link.$.offsetWidth ) { - this._.focusIndex = index; - link.focus(); - break; - } - } - - // If no link was found, cycle and restart from the top. (#11125) - if ( !link && !noCycle ) { - this._.focusIndex = -1; - return this.onKeyDown( keystroke, 1 ); - } - - return false; - - // Move backward. - case 'prev': - index = this._.focusIndex; - links = this.element.getElementsByTag( 'a' ); - - while ( index > 0 && ( link = links.getItem( --index ) ) ) { - // Move the focus only if the element is marked with - // the _cke_focus and it it's visible (check if it has - // width). - if ( link.getAttribute( '_cke_focus' ) && link.$.offsetWidth ) { - this._.focusIndex = index; - link.focus(); - break; - } - - // Make sure link is null when the loop ends and nothing was - // found (#11125). - link = null; - } - - // If no link was found, cycle and restart from the bottom. (#11125) - if ( !link && !noCycle ) { - this._.focusIndex = links.count(); - return this.onKeyDown( keystroke, 1 ); - } - - return false; - - case 'click': - case 'mouseup': - index = this._.focusIndex; - link = index >= 0 && this.element.getElementsByTag( 'a' ).getItem( index ); - - if ( link ) - link.$[ keyAction ] ? link.$[ keyAction ]() : link.$[ 'on' + keyAction ](); - - return false; - } - - return true; - } - } - } ); - -} )(); - -/** - * Fired when a panel is added to the document. - * - * @event ariaWidget - * @member CKEDITOR - * @param {Object} data The element wrapping the panel. - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/panelbutton/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/panelbutton/plugin.js deleted file mode 100644 index 6698ffe0319..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/panelbutton/plugin.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -CKEDITOR.plugins.add( 'panelbutton', { - requires: 'button', - onLoad: function() { - function clickFn( editor ) { - var _ = this._; - - if ( _.state == CKEDITOR.TRISTATE_DISABLED ) - return; - - this.createPanel( editor ); - - if ( _.on ) { - _.panel.hide(); - return; - } - - _.panel.showBlock( this._.id, this.document.getById( this._.id ), 4 ); - } - - /** - * @class - * @extends CKEDITOR.ui.button - * @todo class and methods - */ - CKEDITOR.ui.panelButton = CKEDITOR.tools.createClass( { - base: CKEDITOR.ui.button, - - /** - * Creates a panelButton class instance. - * - * @constructor - */ - $: function( definition ) { - // We don't want the panel definition in this object. - var panelDefinition = definition.panel || {}; - delete definition.panel; - - this.base( definition ); - - this.document = ( panelDefinition.parent && panelDefinition.parent.getDocument() ) || CKEDITOR.document; - - panelDefinition.block = { - attributes: panelDefinition.attributes - }; - panelDefinition.toolbarRelated = true; - - this.hasArrow = true; - - this.click = clickFn; - - this._ = { - panelDefinition: panelDefinition - }; - }, - - statics: { - handler: { - create: function( definition ) { - return new CKEDITOR.ui.panelButton( definition ); - } - } - }, - - proto: { - createPanel: function( editor ) { - var _ = this._; - - if ( _.panel ) - return; - - var panelDefinition = this._.panelDefinition, - panelBlockDefinition = this._.panelDefinition.block, - panelParentElement = panelDefinition.parent || CKEDITOR.document.getBody(), - panel = this._.panel = new CKEDITOR.ui.floatPanel( editor, panelParentElement, panelDefinition ), - block = panel.addBlock( _.id, panelBlockDefinition ), - me = this; - - panel.onShow = function() { - if ( me.className ) - this.element.addClass( me.className + '_panel' ); - - me.setState( CKEDITOR.TRISTATE_ON ); - - _.on = 1; - - me.editorFocus && editor.focus(); - - if ( me.onOpen ) - me.onOpen(); - }; - - panel.onHide = function( preventOnClose ) { - if ( me.className ) - this.element.getFirst().removeClass( me.className + '_panel' ); - - me.setState( me.modes && me.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED ); - - _.on = 0; - - if ( !preventOnClose && me.onClose ) - me.onClose(); - }; - - panel.onEscape = function() { - panel.hide( 1 ); - me.document.getById( _.id ).focus(); - }; - - if ( this.onBlock ) - this.onBlock( panel, block ); - - block.onHide = function() { - _.on = 0; - me.setState( CKEDITOR.TRISTATE_OFF ); - }; - } - } - } ); - - }, - beforeInit: function( editor ) { - editor.ui.addHandler( CKEDITOR.UI_PANELBUTTON, CKEDITOR.ui.panelButton.handler ); - } -} ); - -/** - * Button UI element. - * - * @readonly - * @property {String} [='panelbutton'] - * @member CKEDITOR - */ -CKEDITOR.UI_PANELBUTTON = 'panelbutton'; diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/filter/default.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/filter/default.js deleted file mode 100644 index 66ec929b12b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/filter/default.js +++ /dev/null @@ -1,1210 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -( function() { - var fragmentPrototype = CKEDITOR.htmlParser.fragment.prototype, - elementPrototype = CKEDITOR.htmlParser.element.prototype; - - fragmentPrototype.onlyChild = elementPrototype.onlyChild = function() { - var children = this.children, - count = children.length, - firstChild = ( count == 1 ) && children[ 0 ]; - return firstChild || null; - }; - - elementPrototype.removeAnyChildWithName = function( tagName ) { - var children = this.children, - childs = [], - child; - - for ( var i = 0; i < children.length; i++ ) { - child = children[ i ]; - if ( !child.name ) - continue; - - if ( child.name == tagName ) { - childs.push( child ); - children.splice( i--, 1 ); - } - childs = childs.concat( child.removeAnyChildWithName( tagName ) ); - } - return childs; - }; - - elementPrototype.getAncestor = function( tagNameRegex ) { - var parent = this.parent; - while ( parent && !( parent.name && parent.name.match( tagNameRegex ) ) ) - parent = parent.parent; - return parent; - }; - - fragmentPrototype.firstChild = elementPrototype.firstChild = function( evaluator ) { - var child; - - for ( var i = 0; i < this.children.length; i++ ) { - child = this.children[ i ]; - if ( evaluator( child ) ) - return child; - else if ( child.name ) { - child = child.firstChild( evaluator ); - if ( child ) - return child; - } - } - - return null; - }; - - // Adding a (set) of styles to the element's 'style' attributes. - elementPrototype.addStyle = function( name, value, isPrepend ) { - var styleText, - addingStyleText = ''; - // name/value pair. - if ( typeof value == 'string' ) - addingStyleText += name + ':' + value + ';'; - else { - // style literal. - if ( typeof name == 'object' ) { - for ( var style in name ) { - if ( name.hasOwnProperty( style ) ) - addingStyleText += style + ':' + name[ style ] + ';'; - } - } - // raw style text form. - else - addingStyleText += name; - - isPrepend = value; - } - - if ( !this.attributes ) - this.attributes = {}; - - styleText = this.attributes.style || ''; - - styleText = ( isPrepend ? [ addingStyleText, styleText ] : [ styleText, addingStyleText ] ).join( ';' ); - - this.attributes.style = styleText.replace( /^;|;(?=;)/, '' ); - }; - - // Retrieve a style property value of the element. - elementPrototype.getStyle = function( name ) { - var styles = this.attributes.style; - if ( styles ) { - styles = CKEDITOR.tools.parseCssText( styles, 1 ); - return styles[ name ]; - } - }; - - /** - * Return the DTD-valid parent tag names of the specified one. - * - * @member CKEDITOR.dtd - * @param {String} tagName - * @returns {Object} - */ - CKEDITOR.dtd.parentOf = function( tagName ) { - var result = {}; - for ( var tag in this ) { - if ( tag.indexOf( '$' ) == -1 && this[ tag ][ tagName ] ) - result[ tag ] = 1; - } - return result; - }; - - // 1. move consistent list item styles up to list root. - // 2. clear out unnecessary list item numbering. - function postProcessList( list ) { - var children = list.children, - child, attrs, - count = list.children.length, - match, mergeStyle, - styleTypeRegexp = /list-style-type:(.*?)(?:;|$)/, - stylesFilter = CKEDITOR.plugins.pastefromword.filters.stylesFilter; - - attrs = list.attributes; - if ( styleTypeRegexp.exec( attrs.style ) ) - return; - - for ( var i = 0; i < count; i++ ) { - child = children[ i ]; - - if ( child.attributes.value && Number( child.attributes.value ) == i + 1 ) - delete child.attributes.value; - - match = styleTypeRegexp.exec( child.attributes.style ); - - if ( match ) { - if ( match[ 1 ] == mergeStyle || !mergeStyle ) - mergeStyle = match[ 1 ]; - else { - mergeStyle = null; - break; - } - } - } - - if ( mergeStyle ) { - for ( i = 0; i < count; i++ ) { - attrs = children[ i ].attributes; - attrs.style && ( attrs.style = stylesFilter( [ [ 'list-style-type' ] ] )( attrs.style ) || '' ); - } - - list.addStyle( 'list-style-type', mergeStyle ); - } - } - - var cssLengthRelativeUnit = /^([.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz){1}?/i; - var emptyMarginRegex = /^(?:\b0[^\s]*\s*){1,4}$/; // e.g. 0px 0pt 0px - var romanLiternalPattern = '^m{0,4}(cm|cd|d?c{0,3})(xc|xl|l?x{0,3})(ix|iv|v?i{0,3})$', - lowerRomanLiteralRegex = new RegExp( romanLiternalPattern ), - upperRomanLiteralRegex = new RegExp( romanLiternalPattern.toUpperCase() ); - - var orderedPatterns = { 'decimal': /\d+/, 'lower-roman': lowerRomanLiteralRegex, 'upper-roman': upperRomanLiteralRegex, 'lower-alpha': /^[a-z]+$/, 'upper-alpha': /^[A-Z]+$/ }, - unorderedPatterns = { 'disc': /[l\u00B7\u2002]/, 'circle': /[\u006F\u00D8]/, 'square': /[\u006E\u25C6]/ }, - listMarkerPatterns = { 'ol': orderedPatterns, 'ul': unorderedPatterns }, - romans = [ [ 1000, 'M' ], [ 900, 'CM' ], [ 500, 'D' ], [ 400, 'CD' ], [ 100, 'C' ], [ 90, 'XC' ], [ 50, 'L' ], [ 40, 'XL' ], [ 10, 'X' ], [ 9, 'IX' ], [ 5, 'V' ], [ 4, 'IV' ], [ 1, 'I' ] ], - alpahbets = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; - - // Convert roman numbering back to decimal. - function fromRoman( str ) { - str = str.toUpperCase(); - var l = romans.length, - retVal = 0; - for ( var i = 0; i < l; ++i ) { - for ( var j = romans[ i ], k = j[ 1 ].length; str.substr( 0, k ) == j[ 1 ]; str = str.substr( k ) ) - retVal += j[ 0 ]; - } - return retVal; - } - - // Convert alphabet numbering back to decimal. - function fromAlphabet( str ) { - str = str.toUpperCase(); - var l = alpahbets.length, - retVal = 1; - for ( var x = 1; str.length > 0; x *= l ) { - retVal += alpahbets.indexOf( str.charAt( str.length - 1 ) ) * x; - str = str.substr( 0, str.length - 1 ); - } - return retVal; - } - - var listBaseIndent = 0, - previousListItemMargin = null, - previousListId; - - var plugin = ( CKEDITOR.plugins.pastefromword = { - utils: { - // Create a which indicate an list item type. - createListBulletMarker: function( bullet, bulletText ) { - var marker = new CKEDITOR.htmlParser.element( 'cke:listbullet' ); - marker.attributes = { 'cke:listsymbol': bullet[ 0 ] }; - marker.add( new CKEDITOR.htmlParser.text( bulletText ) ); - return marker; - }, - - isListBulletIndicator: function( element ) { - var styleText = element.attributes && element.attributes.style; - if ( /mso-list\s*:\s*Ignore/i.test( styleText ) ) - return true; - }, - - isContainingOnlySpaces: function( element ) { - var text; - return ( ( text = element.onlyChild() ) && ( /^(:?\s| )+$/ ).test( text.value ) ); - }, - - resolveList: function( element ) { - // indicate a list item. - var attrs = element.attributes, - listMarker; - - if ( ( listMarker = element.removeAnyChildWithName( 'cke:listbullet' ) ) && listMarker.length && ( listMarker = listMarker[ 0 ] ) ) { - element.name = 'cke:li'; - - if ( attrs.style ) { - attrs.style = plugin.filters.stylesFilter( [ - // Text-indent is not representing list item level any more. - [ 'text-indent' ], - [ 'line-height' ], - // First attempt is to resolve indent level from on a constant margin increment. - [ ( /^margin(:?-left)?$/ ), null, function( margin ) { - // Deal with component/short-hand form. - var values = margin.split( ' ' ); - margin = CKEDITOR.tools.convertToPx( values[ 3 ] || values[ 1 ] || values[ 0 ] ); - - // Figure out the indent unit by checking the first time of incrementation. - if ( !listBaseIndent && previousListItemMargin !== null && margin > previousListItemMargin ) - listBaseIndent = margin - previousListItemMargin; - - previousListItemMargin = margin; - - attrs[ 'cke:indent' ] = listBaseIndent && ( Math.ceil( margin / listBaseIndent ) + 1 ) || 1; - } ], - // The best situation: "mso-list:l0 level1 lfo2" tells the belonged list root, list item indentation, etc. - [ ( /^mso-list$/ ), null, function( val ) { - val = val.split( ' ' ); - var listId = Number( val[ 0 ].match( /\d+/ ) ), - indent = Number( val[ 1 ].match( /\d+/ ) ); - - if ( indent == 1 ) { - listId !== previousListId && ( attrs[ 'cke:reset' ] = 1 ); - previousListId = listId; - } - attrs[ 'cke:indent' ] = indent; - } ] - ] )( attrs.style, element ) || ''; - } - - // First level list item might be presented without a margin. - - - // In case all above doesn't apply. - if ( !attrs[ 'cke:indent' ] ) { - previousListItemMargin = 0; - attrs[ 'cke:indent' ] = 1; - } - - // Inherit attributes from bullet. - CKEDITOR.tools.extend( attrs, listMarker.attributes ); - return true; - } - // Current list disconnected. - else - previousListId = previousListItemMargin = listBaseIndent = null; - - return false; - }, - - // Providing a shorthand style then retrieve one or more style component values. - getStyleComponents: ( function() { - var calculator = CKEDITOR.dom.element.createFromHtml( '
', CKEDITOR.document ); - CKEDITOR.document.getBody().append( calculator ); - - return function( name, styleValue, fetchList ) { - calculator.setStyle( name, styleValue ); - var styles = {}, - count = fetchList.length; - for ( var i = 0; i < count; i++ ) - styles[ fetchList[ i ] ] = calculator.getStyle( fetchList[ i ] ); - - return styles; - }; - } )(), - - listDtdParents: CKEDITOR.dtd.parentOf( 'ol' ) - }, - - filters: { - // Transform a normal list into flat list items only presentation. - // E.g.
  • level1
    1. level2
  • => - // level1 - // level2 - flattenList: function( element, level ) { - level = typeof level == 'number' ? level : 1; - - var attrs = element.attributes, - listStyleType; - - // All list items are of the same type. - switch ( attrs.type ) { - case 'a': - listStyleType = 'lower-alpha'; - break; - case '1': - listStyleType = 'decimal'; - break; - // TODO: Support more list style type from MS-Word. - } - - var children = element.children, - child; - - for ( var i = 0; i < children.length; i++ ) { - child = children[ i ]; - - if ( child.name in CKEDITOR.dtd.$listItem ) { - var attributes = child.attributes, - listItemChildren = child.children, - count = listItemChildren.length, - last = listItemChildren[ count - 1 ]; - - // Move out nested list. - if ( last.name in CKEDITOR.dtd.$list ) { - element.add( last, i + 1 ); - - // Remove the parent list item if it's just a holder. - if ( !--listItemChildren.length ) - children.splice( i--, 1 ); - } - - child.name = 'cke:li'; - - // Inherit numbering from list root on the first list item. - attrs.start && !i && ( attributes.value = attrs.start ); - - plugin.filters.stylesFilter( [ - [ 'tab-stops', null, function( val ) { - var margin = val.split( ' ' )[ 1 ].match( cssLengthRelativeUnit ); - margin && ( previousListItemMargin = CKEDITOR.tools.convertToPx( margin[ 0 ] ) ); - } ], - ( level == 1 ? [ 'mso-list', null, function( val ) { - val = val.split( ' ' ); - var listId = Number( val[ 0 ].match( /\d+/ ) ); - listId !== previousListId && ( attributes[ 'cke:reset' ] = 1 ); - previousListId = listId; - } ] : null ) - ] )( attributes.style ); - - attributes[ 'cke:indent' ] = level; - attributes[ 'cke:listtype' ] = element.name; - attributes[ 'cke:list-style-type' ] = listStyleType; - } - // Flatten sub list. - else if ( child.name in CKEDITOR.dtd.$list ) { - // Absorb sub list children. - arguments.callee.apply( this, [ child, level + 1 ] ); - children = children.slice( 0, i ).concat( child.children ).concat( children.slice( i + 1 ) ); - element.children = []; - for ( var j = 0, num = children.length; j < num; j++ ) - element.add( children[ j ] ); - - children = element.children; - } - } - - delete element.name; - - // We're loosing tag name here, signalize this element as a list. - attrs[ 'cke:list' ] = 1; - }, - - // Try to collect all list items among the children and establish one - // or more HTML list structures for them. - // @param element - assembleList: function( element ) { - var children = element.children, - child, listItem, // The current processing cke:li element. - listItemAttrs, listItemIndent, // Indent level of current list item. - lastIndent, lastListItem, // The previous one just been added to the list. - list, // Current staging list and it's parent list if any. - openedLists = [], - previousListStyleType, previousListType; - - // Properties of the list item are to be resolved from the list bullet. - var bullet, listType, listStyleType, itemNumeric; - - for ( var i = 0; i < children.length; i++ ) { - child = children[ i ]; - - if ( 'cke:li' == child.name ) { - child.name = 'li'; - listItem = child; - listItemAttrs = listItem.attributes; - bullet = listItemAttrs[ 'cke:listsymbol' ]; - bullet = bullet && bullet.match( /^(?:[(]?)([^\s]+?)([.)]?)$/ ); - listType = listStyleType = itemNumeric = null; - - if ( listItemAttrs[ 'cke:ignored' ] ) { - children.splice( i--, 1 ); - continue; - } - - - // This's from a new list root. - listItemAttrs[ 'cke:reset' ] && ( list = lastIndent = lastListItem = null ); - - // List item indent level might come from a real list indentation or - // been resolved from a pseudo list item's margin value, even get - // no indentation at all. - listItemIndent = Number( listItemAttrs[ 'cke:indent' ] ); - - // We're moving out of the current list, cleaning up. - if ( listItemIndent != lastIndent ) - previousListType = previousListStyleType = null; - - // List type and item style are already resolved. - if ( !bullet ) { - listType = listItemAttrs[ 'cke:listtype' ] || 'ol'; - listStyleType = listItemAttrs[ 'cke:list-style-type' ]; - } else { - // Probably share the same list style type with previous list item, - // give it priority to avoid ambiguous between C(Alpha) and C.(Roman). - if ( previousListType && listMarkerPatterns[ previousListType ][ previousListStyleType ].test( bullet[ 1 ] ) ) { - listType = previousListType; - listStyleType = previousListStyleType; - } else { - for ( var type in listMarkerPatterns ) { - for ( var style in listMarkerPatterns[ type ] ) { - if ( listMarkerPatterns[ type ][ style ].test( bullet[ 1 ] ) ) { - // Small numbering has higher priority, when dealing with ambiguous - // between C(Alpha) and C.(Roman). - if ( type == 'ol' && ( /alpha|roman/ ).test( style ) ) { - var num = /roman/.test( style ) ? fromRoman( bullet[ 1 ] ) : fromAlphabet( bullet[ 1 ] ); - if ( !itemNumeric || num < itemNumeric ) { - itemNumeric = num; - listType = type; - listStyleType = style; - } - } else { - listType = type; - listStyleType = style; - break; - } - } - } - } - } - - // Simply use decimal/disc for the rest forms of unrepresentable - // numerals, e.g. Chinese..., but as long as there a second part - // included, it has a bigger chance of being a order list ;) - !listType && ( listType = bullet[ 2 ] ? 'ol' : 'ul' ); - } - - previousListType = listType; - previousListStyleType = listStyleType || ( listType == 'ol' ? 'decimal' : 'disc' ); - if ( listStyleType && listStyleType != ( listType == 'ol' ? 'decimal' : 'disc' ) ) - listItem.addStyle( 'list-style-type', listStyleType ); - - // Figure out start numbering. - if ( listType == 'ol' && bullet ) { - switch ( listStyleType ) { - case 'decimal': - itemNumeric = Number( bullet[ 1 ] ); - break; - case 'lower-roman': - case 'upper-roman': - itemNumeric = fromRoman( bullet[ 1 ] ); - break; - case 'lower-alpha': - case 'upper-alpha': - itemNumeric = fromAlphabet( bullet[ 1 ] ); - break; - } - - // Always create the numbering, swipe out unnecessary ones later. - listItem.attributes.value = itemNumeric; - } - - // Start the list construction. - if ( !list ) { - openedLists.push( list = new CKEDITOR.htmlParser.element( listType ) ); - list.add( listItem ); - children[ i ] = list; - } else { - if ( listItemIndent > lastIndent ) { - openedLists.push( list = new CKEDITOR.htmlParser.element( listType ) ); - list.add( listItem ); - lastListItem.add( list ); - } else if ( listItemIndent < lastIndent ) { - // There might be a negative gap between two list levels. (#4944) - var diff = lastIndent - listItemIndent, - parent; - while ( diff-- && ( parent = list.parent ) ) - list = parent.parent; - - list.add( listItem ); - } else - list.add( listItem ); - - children.splice( i--, 1 ); - } - - lastListItem = listItem; - lastIndent = listItemIndent; - } else if ( list ) - list = lastIndent = lastListItem = null; - } - - for ( i = 0; i < openedLists.length; i++ ) - postProcessList( openedLists[ i ] ); - - list = lastIndent = lastListItem = previousListId = previousListItemMargin = listBaseIndent = null; - }, - - // A simple filter which always rejecting. - falsyFilter: function( value ) { - return false; - }, - - // A filter dedicated on the 'style' attribute filtering, e.g. dropping/replacing style properties. - // @param styles {Array} in form of [ styleNameRegexp, styleValueRegexp, - // newStyleValue/newStyleGenerator, newStyleName ] where only the first - // parameter is mandatory. - // @param whitelist {Boolean} Whether the {@param styles} will be considered as a white-list. - stylesFilter: function( styles, whitelist ) { - return function( styleText, element ) { - var rules = []; - // html-encoded quote might be introduced by 'font-family' - // from MS-Word which confused the following regexp. e.g. - //'font-family: "Lucida, Console"' - ( styleText || '' ).replace( /"/g, '"' ).replace( /\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g, function( match, name, value ) { - name = name.toLowerCase(); - name == 'font-family' && ( value = value.replace( /["']/g, '' ) ); - - var namePattern, valuePattern, newValue, newName; - for ( var i = 0; i < styles.length; i++ ) { - if ( styles[ i ] ) { - namePattern = styles[ i ][ 0 ]; - valuePattern = styles[ i ][ 1 ]; - newValue = styles[ i ][ 2 ]; - newName = styles[ i ][ 3 ]; - - if ( name.match( namePattern ) && ( !valuePattern || value.match( valuePattern ) ) ) { - name = newName || name; - whitelist && ( newValue = newValue || value ); - - if ( typeof newValue == 'function' ) - newValue = newValue( value, element, name ); - - // Return an couple indicate both name and value - // changed. - if ( newValue && newValue.push ) - name = newValue[ 0 ], newValue = newValue[ 1 ]; - - if ( typeof newValue == 'string' ) - rules.push( [ name, newValue ] ); - return; - } - } - } - - !whitelist && rules.push( [ name, value ] ); - - } ); - - for ( var i = 0; i < rules.length; i++ ) - rules[ i ] = rules[ i ].join( ':' ); - return rules.length ? ( rules.join( ';' ) + ';' ) : false; - }; - }, - - // Migrate the element by decorate styles on it. - // @param styleDefinition - // @param variables - elementMigrateFilter: function( styleDefinition, variables ) { - return styleDefinition ? function( element ) { - var styleDef = variables ? new CKEDITOR.style( styleDefinition, variables )._.definition : styleDefinition; - element.name = styleDef.element; - CKEDITOR.tools.extend( element.attributes, CKEDITOR.tools.clone( styleDef.attributes ) ); - element.addStyle( CKEDITOR.style.getStyleText( styleDef ) ); - } : function() {}; - }, - - // Migrate styles by creating a new nested stylish element. - // @param styleDefinition - styleMigrateFilter: function( styleDefinition, variableName ) { - - var elementMigrateFilter = this.elementMigrateFilter; - return styleDefinition ? function( value, element ) { - // Build an stylish element first. - var styleElement = new CKEDITOR.htmlParser.element( null ), - variables = {}; - - variables[ variableName ] = value; - elementMigrateFilter( styleDefinition, variables )( styleElement ); - // Place the new element inside the existing span. - styleElement.children = element.children; - element.children = [ styleElement ]; - - // #10285 - later on styleElement will replace element if element won't have any attributes. - // However, in some cases styleElement is identical to element and therefore should not be filtered - // to avoid inf loop. Unfortunately calling element.filterChildren() does not prevent from that (#10327). - // However, we can assume that we don't need to filter styleElement at all, so it is safe to replace - // its filter method. - styleElement.filter = function() {}; - styleElement.parent = element; - } : function() {}; - }, - - // A filter which remove cke-namespaced-attribute on - // all none-cke-namespaced elements. - // @param value - // @param element - bogusAttrFilter: function( value, element ) { - if ( element.name.indexOf( 'cke:' ) == -1 ) - return false; - }, - - // A filter which will be used to apply inline css style according the stylesheet - // definition rules, is generated lazily when filtering. - applyStyleFilter: null - - }, - - getRules: function( editor, filter ) { - var dtd = CKEDITOR.dtd, - blockLike = CKEDITOR.tools.extend( {}, dtd.$block, dtd.$listItem, dtd.$tableContent ), - config = editor.config, - filters = this.filters, - falsyFilter = filters.falsyFilter, - stylesFilter = filters.stylesFilter, - elementMigrateFilter = filters.elementMigrateFilter, - styleMigrateFilter = CKEDITOR.tools.bind( this.filters.styleMigrateFilter, this.filters ), - createListBulletMarker = this.utils.createListBulletMarker, - flattenList = filters.flattenList, - assembleList = filters.assembleList, - isListBulletIndicator = this.utils.isListBulletIndicator, - containsNothingButSpaces = this.utils.isContainingOnlySpaces, - resolveListItem = this.utils.resolveList, - convertToPx = function( value ) { - value = CKEDITOR.tools.convertToPx( value ); - return isNaN( value ) ? value : value + 'px'; - }, - getStyleComponents = this.utils.getStyleComponents, - listDtdParents = this.utils.listDtdParents, - removeFontStyles = config.pasteFromWordRemoveFontStyles !== false, - removeStyles = config.pasteFromWordRemoveStyles !== false; - - return { - - elementNames: [ - // Remove script, meta and link elements. - [ ( /meta|link|script/ ), '' ] - ], - - root: function( element ) { - element.filterChildren( filter ); - assembleList( element ); - }, - - elements: { - '^': function( element ) { - // Transform CSS style declaration to inline style. - var applyStyleFilter; - if ( CKEDITOR.env.gecko && ( applyStyleFilter = filters.applyStyleFilter ) ) - applyStyleFilter( element ); - }, - - $: function( element ) { - var tagName = element.name || '', - attrs = element.attributes; - - // Convert length unit of width/height on blocks to - // a more editor-friendly way (px). - if ( tagName in blockLike && attrs.style ) - attrs.style = stylesFilter( [ [ ( /^(:?width|height)$/ ), null, convertToPx ] ] )( attrs.style ) || ''; - - // Processing headings. - if ( tagName.match( /h\d/ ) ) { - element.filterChildren( filter ); - // Is the heading actually a list item? - if ( resolveListItem( element ) ) - return; - - // Adapt heading styles to editor's convention. - elementMigrateFilter( config[ 'format_' + tagName ] )( element ); - } - // Remove inline elements which contain only empty spaces. - else if ( tagName in dtd.$inline ) { - element.filterChildren( filter ); - if ( containsNothingButSpaces( element ) ) - delete element.name; - } - // Remove element with ms-office namespace, - // with it's content preserved, e.g. 'o:p'. - else if ( tagName.indexOf( ':' ) != -1 && tagName.indexOf( 'cke' ) == -1 ) { - element.filterChildren( filter ); - - // Restore image real link from vml. - if ( tagName == 'v:imagedata' ) { - var href = element.attributes[ 'o:href' ]; - if ( href ) - element.attributes.src = href; - element.name = 'img'; - return; - } - delete element.name; - } - - // Assembling list items into a whole list. - if ( tagName in listDtdParents ) { - element.filterChildren( filter ); - assembleList( element ); - } - }, - - // We'll drop any style sheet, but Firefox conclude - // certain styles in a single style element, which are - // required to be changed into inline ones. - 'style': function( element ) { - if ( CKEDITOR.env.gecko ) { - // Grab only the style definition section. - var styleDefSection = element.onlyChild().value.match( /\/\* Style Definitions \*\/([\s\S]*?)\/\*/ ), - styleDefText = styleDefSection && styleDefSection[ 1 ], - rules = {}; // Storing the parsed result. - - if ( styleDefText ) { - styleDefText - // Remove line-breaks. - .replace( /[\n\r]/g, '' ) - // Extract selectors and style properties. - .replace( /(.+?)\{(.+?)\}/g, function( rule, selectors, styleBlock ) { - selectors = selectors.split( ',' ); - var length = selectors.length, - selector; - for ( var i = 0; i < length; i++ ) { - // Assume MS-Word mostly generate only simple - // selector( [Type selector][Class selector]). - CKEDITOR.tools.trim( selectors[ i ] ).replace( /^(\w+)(\.[\w-]+)?$/g, function( match, tagName, className ) { - tagName = tagName || '*'; - className = className.substring( 1, className.length ); - - // Reject MS-Word Normal styles. - if ( className.match( /MsoNormal/ ) ) - return; - - if ( !rules[ tagName ] ) - rules[ tagName ] = {}; - if ( className ) - rules[ tagName ][ className ] = styleBlock; - else - rules[ tagName ] = styleBlock; - } ); - } - } ); - - filters.applyStyleFilter = function( element ) { - var name = rules[ '*' ] ? '*' : element.name, - className = element.attributes && element.attributes[ 'class' ], - style; - if ( name in rules ) { - style = rules[ name ]; - if ( typeof style == 'object' ) - style = style[ className ]; - // Maintain style rules priorities. - style && element.addStyle( style, true ); - } - }; - } - } - return false; - }, - - 'p': function( element ) { - // A a fall-back approach to resolve list item in browsers - // that doesn't include "mso-list:Ignore" on list bullets, - // note it's not perfect as not all list style (e.g. "heading list") is shipped - // with this pattern. (#6662) - if ( ( /MsoListParagraph/i ).exec( element.attributes[ 'class' ] ) || element.getStyle( 'mso-list' ) ) { - var bulletText = element.firstChild( function( node ) { - return node.type == CKEDITOR.NODE_TEXT && !containsNothingButSpaces( node.parent ); - } ); - - var bullet = bulletText && bulletText.parent; - if ( bullet ) - bullet.addStyle( 'mso-list', 'Ignore' ); - - } - - element.filterChildren( filter ); - - // Is the paragraph actually a list item? - if ( resolveListItem( element ) ) - return; - - // Adapt paragraph formatting to editor's convention - // according to enter-mode. - if ( config.enterMode == CKEDITOR.ENTER_BR ) { - // We suffer from attribute/style lost in this situation. - delete element.name; - element.add( new CKEDITOR.htmlParser.element( 'br' ) ); - } else - elementMigrateFilter( config[ 'format_' + ( config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ] )( element ); - }, - - 'div': function( element ) { - // Aligned table with no text surrounded is represented by a wrapper div, from which - // table cells inherit as text-align styles, which is wrong. - // Instead we use a clear-float div after the table to properly achieve the same layout. - var singleChild = element.onlyChild(); - if ( singleChild && singleChild.name == 'table' ) { - var attrs = element.attributes; - singleChild.attributes = CKEDITOR.tools.extend( singleChild.attributes, attrs ); - attrs.style && singleChild.addStyle( attrs.style ); - - var clearFloatDiv = new CKEDITOR.htmlParser.element( 'div' ); - clearFloatDiv.addStyle( 'clear', 'both' ); - element.add( clearFloatDiv ); - delete element.name; - } - }, - - 'td': function( element ) { - // 'td' in 'thead' is actually . - if ( element.getAncestor( 'thead' ) ) - element.name = 'th'; - }, - - // MS-Word sometimes present list as a mixing of normal list - // and pseudo-list, normalize the previous ones into pseudo form. - 'ol': flattenList, - 'ul': flattenList, - 'dl': flattenList, - - 'font': function( element ) { - // Drop the font tag if it comes from list bullet text. - if ( isListBulletIndicator( element.parent ) ) { - delete element.name; - return; - } - - element.filterChildren( filter ); - - var attrs = element.attributes, - styleText = attrs.style, - parent = element.parent; - - if ( 'font' == parent.name ) // Merge nested tags. - { - CKEDITOR.tools.extend( parent.attributes, element.attributes ); - styleText && parent.addStyle( styleText ); - delete element.name; - } - // Convert the merged into a span with all attributes preserved. - else { - styleText = styleText || ''; - // IE's having those deprecated attributes, normalize them. - if ( attrs.color ) { - attrs.color != '#000000' && ( styleText += 'color:' + attrs.color + ';' ); - delete attrs.color; - } - if ( attrs.face ) { - styleText += 'font-family:' + attrs.face + ';'; - delete attrs.face; - } - // TODO: Mapping size in ranges of xx-small, - // x-small, small, medium, large, x-large, xx-large. - if ( attrs.size ) { - styleText += 'font-size:' + - ( attrs.size > 3 ? 'large' : ( attrs.size < 3 ? 'small' : 'medium' ) ) + ';'; - delete attrs.size; - } - - element.name = 'span'; - element.addStyle( styleText ); - } - }, - - 'span': function( element ) { - // Remove the span if it comes from list bullet text. - if ( isListBulletIndicator( element.parent ) ) - return false; - - element.filterChildren( filter ); - if ( containsNothingButSpaces( element ) ) { - delete element.name; - return null; - } - - // List item bullet type is supposed to be indicated by - // the text of a span with style 'mso-list : Ignore' or an image. - if ( isListBulletIndicator( element ) ) { - var listSymbolNode = element.firstChild( function( node ) { - return node.value || node.name == 'img'; - } ); - - var listSymbol = listSymbolNode && ( listSymbolNode.value || 'l.' ), - listType = listSymbol && listSymbol.match( /^(?:[(]?)([^\s]+?)([.)]?)$/ ); - - if ( listType ) { - var marker = createListBulletMarker( listType, listSymbol ); - // Some non-existed list items might be carried by an inconsequential list, indicate by "mso-hide:all/display:none", - // those are to be removed later, now mark it with "cke:ignored". - var ancestor = element.getAncestor( 'span' ); - if ( ancestor && ( / mso-hide:\s*all|display:\s*none / ).test( ancestor.attributes.style ) ) - marker.attributes[ 'cke:ignored' ] = 1; - return marker; - } - } - - // Update the src attribute of image element with href. - var children = element.children, - attrs = element.attributes, - styleText = attrs && attrs.style, - firstChild = children && children[ 0 ]; - - // Assume MS-Word mostly carry font related styles on , - // adapting them to editor's convention. - if ( styleText ) { - attrs.style = stylesFilter( [ - // Drop 'inline-height' style which make lines overlapping. - [ 'line-height' ], - [ ( /^font-family$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'font_style' ], 'family' ) : null ], - [ ( /^font-size$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'fontSize_style' ], 'size' ) : null ], - [ ( /^color$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'colorButton_foreStyle' ], 'color' ) : null ], - [ ( /^background-color$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'colorButton_backStyle' ], 'color' ) : null ] - ] )( styleText, element ) || ''; - } - - if ( !attrs.style ) - delete attrs.style; - - if ( CKEDITOR.tools.isEmpty( attrs ) ) - delete element.name; - - return null; - }, - - // Migrate basic style formats to editor configured ones. - b: elementMigrateFilter( config[ 'coreStyles_bold' ] ), - i: elementMigrateFilter( config[ 'coreStyles_italic' ] ), - u: elementMigrateFilter( config[ 'coreStyles_underline' ] ), - s: elementMigrateFilter( config[ 'coreStyles_strike' ] ), - sup: elementMigrateFilter( config[ 'coreStyles_superscript' ] ), - sub: elementMigrateFilter( config[ 'coreStyles_subscript' ] ), - - // Remove full paths from links to anchors. - a: function( element ) { - var attrs = element.attributes; - if ( attrs.href && attrs.href.match( /^file:\/\/\/[\S]+#/i ) ) - attrs.href = attrs.href.replace( /^file:\/\/\/[^#]+/i, '' ); - }, - - 'cke:listbullet': function( element ) { - if ( element.getAncestor( /h\d/ ) && !config.pasteFromWordNumberedHeadingToList ) - delete element.name; - } - }, - - attributeNames: [ - // Remove onmouseover and onmouseout events (from MS Word comments effect) - [ ( /^onmouse(:?out|over)/ ), '' ], - // Onload on image element. - [ ( /^onload$/ ), '' ], - // Remove office and vml attribute from elements. - [ ( /(?:v|o):\w+/ ), '' ], - // Remove lang/language attributes. - [ ( /^lang/ ), '' ] - ], - - attributes: { - 'style': stylesFilter( removeStyles ? - // Provide a white-list of styles that we preserve, those should - // be the ones that could later be altered with editor tools. - [ - // Leave list-style-type - [ ( /^list-style-type$/ ), null ], - - // Preserve margin-left/right which used as default indent style in the editor. - [ ( /^margin$|^margin-(?!bottom|top)/ ), null, function( value, element, name ) { - if ( element.name in { p: 1, div: 1 } ) { - var indentStyleName = config.contentsLangDirection == 'ltr' ? 'margin-left' : 'margin-right'; - - // Extract component value from 'margin' shorthand. - if ( name == 'margin' ) - value = getStyleComponents( name, value, [ indentStyleName ] )[ indentStyleName ]; - else if ( name != indentStyleName ) - return null; - - if ( value && !emptyMarginRegex.test( value ) ) - return [ indentStyleName, value ]; - } - - return null; - } ], - - // Preserve clear float style. - [ ( /^clear$/ ) ], - - [ ( /^border.*|margin.*|vertical-align|float$/ ), null, function( value, element ) { - if ( element.name == 'img' ) - return value; - } ], - - [ ( /^width|height$/ ), null, function( value, element ) { - if ( element.name in { table: 1, td: 1, th: 1, img: 1 } ) - return value; - } ] - ] : - // Otherwise provide a black-list of styles that we remove. - [ - [ ( /^mso-/ ) ], - // Fixing color values. - [ ( /-color$/ ), null, function( value ) { - if ( value == 'transparent' ) - return false; - if ( CKEDITOR.env.gecko ) - return value.replace( /-moz-use-text-color/g, 'transparent' ); - } ], - // Remove empty margin values, e.g. 0.00001pt 0em 0pt - [ ( /^margin$/ ), emptyMarginRegex ], - [ 'text-indent', '0cm' ], - [ 'page-break-before' ], - [ 'tab-stops' ], - [ 'display', 'none' ], - removeFontStyles ? [ ( /font-?/ ) ] : null - ], removeStyles ), - - // Prefer width styles over 'width' attributes. - 'width': function( value, element ) { - if ( element.name in dtd.$tableContent ) - return false; - }, - // Prefer border styles over table 'border' attributes. - 'border': function( value, element ) { - if ( element.name in dtd.$tableContent ) - return false; - }, - - // Only Firefox carry style sheet from MS-Word, which - // will be applied by us manually. For other browsers - // the css className is useless. - 'class': falsyFilter, - - // MS-Word always generate 'background-color' along with 'bgcolor', - // simply drop the deprecated attributes. - 'bgcolor': falsyFilter, - - // Deprecate 'valign' attribute in favor of 'vertical-align'. - 'valign': removeStyles ? falsyFilter : function( value, element ) { - element.addStyle( 'vertical-align', value ); - return false; - } - }, - - // Fore none-IE, some useful data might be buried under these IE-conditional - // comments where RegExp were the right approach to dig them out where usual approach - // is transform it into a fake element node which hold the desired data. - comment: !CKEDITOR.env.ie ? function( value, node ) { - var imageInfo = value.match( // ), - listInfo = value.match( /^\[if !supportLists\]([\s\S]*?)\[endif\]$/ ); - - // Seek for list bullet indicator. - if ( listInfo ) { - // Bullet symbol could be either text or an image. - var listSymbol = listInfo[ 1 ] || ( imageInfo && 'l.' ), - listType = listSymbol && listSymbol.match( />(?:[(]?)([^\s]+?)([.)]?) element in conditional comments for Firefox. - if ( CKEDITOR.env.gecko && imageInfo ) { - var img = CKEDITOR.htmlParser.fragment.fromHtml( imageInfo[ 0 ] ).children[ 0 ], - previousComment = node.previous, - // Try to dig the real image link from vml markup from previous comment text. - imgSrcInfo = previousComment && previousComment.value.match( /]*o:href=['"](.*?)['"]/ ), - imgSrc = imgSrcInfo && imgSrcInfo[ 1 ]; - - // Is there a real 'src' url to be used? - imgSrc && ( img.attributes.src = imgSrc ); - return img; - } - - return false; - } : falsyFilter - }; - } - } ); - - // The paste processor here is just a reduced copy of html data processor. - var pasteProcessor = function() { - this.dataFilter = new CKEDITOR.htmlParser.filter(); - }; - - pasteProcessor.prototype = { - toHtml: function( data ) { - var fragment = CKEDITOR.htmlParser.fragment.fromHtml( data ), - writer = new CKEDITOR.htmlParser.basicWriter(); - - fragment.writeHtml( writer, this.dataFilter ); - return writer.getHtml( true ); - } - }; - - CKEDITOR.cleanWord = function( data, editor ) { - // Firefox will be confused by those downlevel-revealed IE conditional - // comments, fixing them first( convert it to upperlevel-revealed one ). - // e.g. ... - if ( CKEDITOR.env.gecko ) - data = data.replace( /(([\S\s]*?))/gi, '$1$2$3' ); - - // #9456 - Webkit doesn't wrap list number with span, which is crucial for filter to recognize list. - // - //

    - // - // 3.       - // Test3 - //

    - // - // Transform to: - // - //

    - // - // - // 3.       - // - // Test3 - //

    - if ( CKEDITOR.env.webkit ) - data = data.replace( /(class="MsoListParagraph[^>]+>)([^<]+)()/gi, '$1$2$3' ); - - var dataProcessor = new pasteProcessor(), - dataFilter = dataProcessor.dataFilter; - - // These rules will have higher priorities than default ones. - dataFilter.addRules( CKEDITOR.plugins.pastefromword.getRules( editor, dataFilter ) ); - - // Allow extending data filter rules. - editor.fire( 'beforeCleanWord', { filter: dataFilter } ); - - try { - data = dataProcessor.toHtml( data ); - } catch ( e ) { - alert( editor.lang.pastefromword.error ); - } - - // Below post processing those things that are unable to delivered by filter rules. - - // Remove 'cke' namespaced attribute used in filter rules as marker. - data = data.replace( /cke:.*?".*?"/g, '' ); - - // Remove empty style attribute. - data = data.replace( /style=""/g, '' ); - - // Remove the dummy spans ( having no inline style ). - data = data.replace( //g, '' ); - - return data; - }; -} )(); - -/** - * Whether to ignore all font related formatting styles, including: - * - * * font size; - * * font family; - * * font foreground/background color. - * - * config.pasteFromWordRemoveFontStyles = false; - * - * @since 3.1 - * @cfg {Boolean} [pasteFromWordRemoveFontStyles=true] - * @member CKEDITOR.config - */ - -/** - * Whether to transform MS Word outline numbered headings into lists. - * - * config.pasteFromWordNumberedHeadingToList = true; - * - * @since 3.1 - * @cfg {Boolean} [pasteFromWordNumberedHeadingToList=false] - * @member CKEDITOR.config - */ - -/** - * Whether to remove element styles that can't be managed with the editor. Note - * that this doesn't handle the font specific styles, which depends on the - * {@link #pasteFromWordRemoveFontStyles} setting instead. - * - * config.pasteFromWordRemoveStyles = false; - * - * @since 3.1 - * @cfg {Boolean} [pasteFromWordRemoveStyles=true] - * @member CKEDITOR.config - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/hidpi/pastefromword-rtl.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/hidpi/pastefromword-rtl.png deleted file mode 100644 index 142bd569526..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/hidpi/pastefromword-rtl.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/hidpi/pastefromword.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/hidpi/pastefromword.png deleted file mode 100644 index ac043cddb89..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/hidpi/pastefromword.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/pastefromword-rtl.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/pastefromword-rtl.png deleted file mode 100644 index 7b69c5550c3..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/pastefromword-rtl.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/pastefromword.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/pastefromword.png deleted file mode 100644 index 61a0ae43f58..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/icons/pastefromword.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/af.js deleted file mode 100644 index 8bc74995ab4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/af.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'af', { - confirmCleanup: 'Die teks wat u wil plak lyk asof dit uit Word gekopiëer is. Wil u dit eers skoonmaak voordat dit geplak word?', - error: 'Die geplakte teks kon nie skoongemaak word nie, weens \'n interne fout', - title: 'Plak vanuit Word', - toolbar: 'Plak vanuit Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ar.js deleted file mode 100644 index b76b67310a9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ar.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'ar', { - confirmCleanup: 'يبدو أن النص المراد لصقه منسوخ من برنامج وورد. هل تود تنظيفه قبل الشروع في عملية اللصق؟', - error: 'لم يتم مسح المعلومات الملصقة لخلل داخلي', - title: 'لصق من وورد', - toolbar: 'لصق من وورد' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/bg.js deleted file mode 100644 index 4e3242615c6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/bg.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'bg', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'Вмъкни от MS Word', - toolbar: 'Вмъкни от MS Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/bn.js deleted file mode 100644 index b08873c394c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/bn.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'bn', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'পেস্ট (শব্দ)', - toolbar: 'পেস্ট (শব্দ)' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/bs.js deleted file mode 100644 index b97009ff974..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/bs.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'bs', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'Zalijepi iz Word-a', - toolbar: 'Zalijepi iz Word-a' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ca.js deleted file mode 100644 index 4691df182ca..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ca.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'ca', { - confirmCleanup: 'El text que voleu enganxar sembla provenir de Word. Voleu netejar aquest text abans que sigui enganxat?', - error: 'No ha estat possible netejar les dades enganxades degut a un error intern', - title: 'Enganxa des del Word', - toolbar: 'Enganxa des del Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/cs.js deleted file mode 100644 index c88d752cfe5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/cs.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'cs', { - confirmCleanup: 'Jak je vidět, vkládaný text je kopírován z Wordu. Chcete jej před vložením vyčistit?', - error: 'Z důvodu vnitřní chyby nebylo možné provést vyčištění vkládaného textu.', - title: 'Vložit z Wordu', - toolbar: 'Vložit z Wordu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/cy.js deleted file mode 100644 index ccb22d92ddc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/cy.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'cy', { - confirmCleanup: 'Mae\'r testun rydych chi am ludo wedi\'i gopïo o Word. Ydych chi am ei lanhau cyn ei ludo?', - error: 'Doedd dim modd glanhau y data a ludwyd oherwydd gwall mewnol', - title: 'Gludo o Word', - toolbar: 'Gludo o Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/da.js deleted file mode 100644 index cb9cf93a48e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/da.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'da', { - confirmCleanup: 'Den tekst du forsøger at indsætte ser ud til at komme fra Word. Vil du rense teksten før den indsættes?', - error: 'Det var ikke muligt at fjerne formatteringen på den indsatte tekst grundet en intern fejl', - title: 'Indsæt fra Word', - toolbar: 'Indsæt fra Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/de.js deleted file mode 100644 index 79edb2ecb95..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/de.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'de', { - confirmCleanup: 'Der Text, den Sie einfügen möchten, scheint aus MS-Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?', - error: 'Aufgrund eines internen Fehlers war es nicht möglich die eingefügten Daten zu bereinigen', - title: 'Aus MS-Word einfügen', - toolbar: 'Aus MS-Word einfügen' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/el.js deleted file mode 100644 index 456acc8f61c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/el.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'el', { - confirmCleanup: 'Το κείμενο που επικολλάται φαίνεται να είναι αντιγραμμένο από το Word. Μήπως θα θέλατε να καθαριστεί προτού επικολληθεί;', - error: 'Δεν ήταν δυνατό να καθαριστούν τα δεδομένα λόγω ενός εσωτερικού σφάλματος', - title: 'Επικόλληση από το Word', - toolbar: 'Επικόλληση από το Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en-au.js deleted file mode 100644 index 6f67a542be8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en-au.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'en-au', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'Paste from Word', - toolbar: 'Paste from Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en-ca.js deleted file mode 100644 index a3a528aeb5c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en-ca.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'en-ca', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'Paste from Word', - toolbar: 'Paste from Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en-gb.js deleted file mode 100644 index 3648d257bf5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en-gb.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'en-gb', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', - error: 'It was not possible to clean up the pasted data due to an internal error', - title: 'Paste from Word', - toolbar: 'Paste from Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en.js deleted file mode 100644 index d484c6a4aa8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/en.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'en', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', - error: 'It was not possible to clean up the pasted data due to an internal error', - title: 'Paste from Word', - toolbar: 'Paste from Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/eo.js deleted file mode 100644 index e1a588fac22..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/eo.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'eo', { - confirmCleanup: 'La teksto, kiun vi volas interglui, ŝajnas esti kopiita el Word. Ĉu vi deziras purigi ĝin antaŭ intergluo?', - error: 'Ne eblis purigi la intergluitajn datenojn pro interna eraro', - title: 'Interglui el Word', - toolbar: 'Interglui el Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/es.js deleted file mode 100644 index e7220a9ee7f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/es.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'es', { - confirmCleanup: 'El texto que desea parece provenir de Word.\r\n¿Desea depurarlo antes de pegarlo?', - error: 'No ha sido posible limpiar los datos debido a un error interno', - title: 'Pegar desde Word', - toolbar: 'Pegar desde Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/et.js deleted file mode 100644 index c2f694e76a9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/et.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'et', { - confirmCleanup: 'Tekst, mida tahad asetada näib pärinevat Wordist. Kas tahad selle enne asetamist puhastada?', - error: 'Asetatud andmete puhastamine ei olnud sisemise vea tõttu võimalik', - title: 'Asetamine Wordist', - toolbar: 'Asetamine Wordist' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/eu.js deleted file mode 100644 index 769d0f66ec4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/eu.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'eu', { - confirmCleanup: 'Itsatsi nahi duzun testua Wordetik hartua dela dirudi. Itsatsi baino lehen garbitu nahi duzu?', - error: 'Barneko errore bat dela eta ezin izan da testua garbitu', - title: 'Itsatsi Word-etik', - toolbar: 'Itsatsi Word-etik' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fa.js deleted file mode 100644 index 6893a0141db..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fa.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'fa', { - confirmCleanup: 'متنی که میخواهید بچسبانید به نظر میرسد که از Word کپی شده است. آیا میخواهید قبل از چسباندن آن را پاکسازی کنید؟', - error: 'به دلیل بروز خطای داخلی امکان پاکسازی اطلاعات بازنشانی شده وجود ندارد.', - title: 'چسباندن از Word', - toolbar: 'چسباندن از Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fi.js deleted file mode 100644 index 994988a5b26..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fi.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'fi', { - confirmCleanup: 'Liittämäsi teksti näyttäisi olevan Word-dokumentista. Haluatko siivota sen ennen liittämistä? (Suositus: Kyllä)', - error: 'Liitetyn tiedon siivoaminen ei onnistunut sisäisen virheen takia', - title: 'Liitä Word-dokumentista', - toolbar: 'Liitä Word-dokumentista' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fo.js deleted file mode 100644 index 6ae4a08d6b4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fo.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'fo', { - confirmCleanup: 'Teksturin, tú roynir at seta inn, sýnist at stava frá Word. Skal teksturin reinsast fyrst?', - error: 'Tað eydnaðist ikki at reinsa tekstin vegna ein internan feil', - title: 'Innrita frá Word', - toolbar: 'Innrita frá Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fr-ca.js deleted file mode 100644 index 4e0b2c32f62..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fr-ca.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'fr-ca', { - confirmCleanup: 'Le texte que vous tentez de coller semble provenir de Word. Désirez vous le nettoyer avant de coller?', - error: 'Il n\'a pas été possible de nettoyer les données collées du à une erreur interne', - title: 'Coller de Word', - toolbar: 'Coller de Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fr.js deleted file mode 100644 index 92e5b9f2c27..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/fr.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'fr', { - confirmCleanup: 'Le texte à coller semble provenir de Word. Désirez-vous le nettoyer avant de coller?', - error: 'Il n\'a pas été possible de nettoyer les données collées à la suite d\'une erreur interne.', - title: 'Coller depuis Word', - toolbar: 'Coller depuis Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/gl.js deleted file mode 100644 index e0402c94711..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/gl.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'gl', { - confirmCleanup: 'O texto que quere pegar semella ser copiado desde o Word. Quere depuralo antes de pegalo?', - error: 'Non foi posíbel depurar os datos pegados por mor dun erro interno', - title: 'Pegar desde Word', - toolbar: 'Pegar desde Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/gu.js deleted file mode 100644 index bbc9830c2c3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/gu.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'gu', { - confirmCleanup: 'તમે જે ટેક્ષ્ત્ કોપી કરી રહ્યા છો ટે વર્ડ ની છે. કોપી કરતા પેહલા સાફ કરવી છે?', - error: 'પેસ્ટ કરેલો ડેટા ઇન્ટરનલ એરર ના લીથે સાફ કરી શકાયો નથી.', - title: 'પેસ્ટ (વડૅ ટેક્સ્ટ)', - toolbar: 'પેસ્ટ (વડૅ ટેક્સ્ટ)' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/he.js deleted file mode 100644 index f7249692539..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/he.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'he', { - confirmCleanup: 'נראה הטקסט שבכוונתך להדביק מקורו בקובץ וורד. האם ברצונך לנקות אותו טרם ההדבקה?', - error: 'לא ניתן היה לנקות את המידע בשל תקלה פנימית.', - title: 'הדבקה מ-Word', - toolbar: 'הדבקה מ-Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/hi.js deleted file mode 100644 index 138f8420986..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/hi.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'hi', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'पेस्ट (वर्ड से)', - toolbar: 'पेस्ट (वर्ड से)' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/hr.js deleted file mode 100644 index 4b9909790e4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/hr.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'hr', { - confirmCleanup: 'Tekst koji želite zalijepiti čini se da je kopiran iz Worda. Želite li prije očistiti tekst?', - error: 'Nije moguće očistiti podatke za ljepljenje zbog interne greške', - title: 'Zalijepi iz Worda', - toolbar: 'Zalijepi iz Worda' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/hu.js deleted file mode 100644 index 91d62d2770d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/hu.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'hu', { - confirmCleanup: 'Úgy tűnik a beillesztett szöveget Word-ből másolt át. Meg szeretné tisztítani a szöveget? (ajánlott)', - error: 'Egy belső hiba miatt nem sikerült megtisztítani a szöveget', - title: 'Beillesztés Word-ből', - toolbar: 'Beillesztés Word-ből' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/id.js deleted file mode 100644 index f55f762e653..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/id.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'id', { - confirmCleanup: 'Teks yang ingin anda tempel sepertinya di salin dari Word. Apakah anda mau membersihkannya sebelum menempel?', - error: 'Tidak mungkin membersihkan data yang ditempel dikerenakan kesalahan internal', - title: 'Tempel dari Word', - toolbar: 'Tempel dari Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/is.js deleted file mode 100644 index 0e506040ddd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/is.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'is', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'Líma úr Word', - toolbar: 'Líma úr Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/it.js deleted file mode 100644 index f3d59e0210e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/it.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'it', { - confirmCleanup: 'Il testo da incollare sembra provenire da Word. Desideri pulirlo prima di incollare?', - error: 'Non è stato possibile eliminare il testo incollato a causa di un errore interno.', - title: 'Incolla da Word', - toolbar: 'Incolla da Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ja.js deleted file mode 100644 index 051375db221..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ja.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'ja', { - confirmCleanup: '貼り付けを行うテキストはワード文章からコピーされようとしています。貼り付ける前にクリーニングを行いますか?', - error: '内部エラーにより貼り付けたデータをクリアできませんでした', - title: 'ワード文章から貼り付け', - toolbar: 'ワード文章から貼り付け' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ka.js deleted file mode 100644 index 0f84dc0661a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ka.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'ka', { - confirmCleanup: 'ჩასასმელი ტექსტი ვორდიდან გადმოტანილს გავს - გინდათ მისი წინასწარ გაწმენდა?', - error: 'შიდა შეცდომის გამო ვერ მოხერხდა ტექსტის გაწმენდა', - title: 'ვორდიდან ჩასმა', - toolbar: 'ვორდიდან ჩასმა' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/km.js deleted file mode 100644 index a3f6c200c49..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/km.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'km', { - confirmCleanup: 'អត្ថបទ​ដែល​អ្នក​ចង់​បិទ​ភ្ជាប់​នេះ ទំនង​ដូច​ជា​ចម្លង​មក​ពី Word។ តើ​អ្នក​ចង់​សម្អាត​វា​មុន​បិទ​ភ្ជាប់​ទេ?', - error: 'ដោយ​សារ​មាន​បញ្ហា​ផ្នែក​ក្នុង​ធ្វើ​ឲ្យ​មិន​អាច​សម្អាត​ទិន្នន័យ​ដែល​បាន​បិទ​ភ្ជាប់', - title: 'បិទ​ភ្ជាប់​ពី Word', - toolbar: 'បិទ​ភ្ជាប់​ពី Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ko.js deleted file mode 100644 index fa47e8fcde5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ko.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'ko', { - confirmCleanup: '붙여 넣기 할 텍스트는 MS Word에서 복사 한 것입니다. 붙여 넣기 전에 MS Word 포멧을 삭제 하시겠습니까?', - error: '내부 오류로 붙여 넣은 데이터를 정리 할 수 없습니다.', - title: 'MS Word 형식에서 붙여넣기', - toolbar: 'MS Word 형식에서 붙여넣기' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ku.js deleted file mode 100644 index a32b856cfe9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ku.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'ku', { - confirmCleanup: 'ئەم دەقەی بەتەمای بیلکێنی پێدەچێت له word هێنرابێت. دەتەوێت پاکی بکەیوه پێش ئەوەی بیلکێنی؟', - error: 'هیچ ڕێگەیەك نەبوو لەلکاندنی دەقەکه بەهۆی هەڵەیەکی ناوەخۆیی', - title: 'لکاندنی لەلایەن Word', - toolbar: 'لکاندنی لەڕێی Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/lt.js deleted file mode 100644 index 3acd2a0a940..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/lt.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'lt', { - confirmCleanup: 'Tekstas, kurį įkeliate yra kopijuojamas iš Word. Ar norite jį išvalyti prieš įkeliant?', - error: 'Dėl vidinių sutrikimų, nepavyko išvalyti įkeliamo teksto', - title: 'Įdėti iš Word', - toolbar: 'Įdėti iš Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/lv.js deleted file mode 100644 index 3ebbcaf5b1f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/lv.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'lv', { - confirmCleanup: 'Teksts, kuru vēlaties ielīmēt, izskatās ir nokopēts no Word. Vai vēlaties to iztīrīt pirms ielīmēšanas?', - error: 'Iekšējas kļūdas dēļ, neizdevās iztīrīt ielīmētos datus.', - title: 'Ievietot no Worda', - toolbar: 'Ievietot no Worda' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/mk.js deleted file mode 100644 index c0e68ffedcc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/mk.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'mk', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'Paste from Word', // MISSING - toolbar: 'Paste from Word' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/mn.js deleted file mode 100644 index c444adc61e4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/mn.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'mn', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'Word-оос буулгах', - toolbar: 'Word-оос буулгах' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ms.js deleted file mode 100644 index 6b41567693b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ms.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'ms', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'Tampal dari Word', - toolbar: 'Tampal dari Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/nb.js deleted file mode 100644 index ec74628bfb4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/nb.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'nb', { - confirmCleanup: 'Teksten du limer inn ser ut til å være kopiert fra Word. Vil du renske den før du limer den inn?', - error: 'Det var ikke mulig å renske den innlimte teksten på grunn av en intern feil', - title: 'Lim inn fra Word', - toolbar: 'Lim inn fra Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/nl.js deleted file mode 100644 index 2845e6886b8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/nl.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'nl', { - confirmCleanup: 'De tekst die u wilt plakken lijkt gekopieerd te zijn vanuit Word. Wilt u de tekst opschonen voordat deze geplakt wordt?', - error: 'Het was niet mogelijk om de geplakte tekst op te schonen door een interne fout', - title: 'Plakken vanuit Word', - toolbar: 'Plakken vanuit Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/no.js deleted file mode 100644 index 4dc5f7e1450..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/no.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'no', { - confirmCleanup: 'Teksten du limer inn ser ut til å være kopiert fra Word. Vil du renske den før du limer den inn?', - error: 'Det var ikke mulig å renske den innlimte teksten på grunn av en intern feil', - title: 'Lim inn fra Word', - toolbar: 'Lim inn fra Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/pl.js deleted file mode 100644 index 7bfdca4d599..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/pl.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'pl', { - confirmCleanup: 'Tekst, który chcesz wkleić, prawdopodobnie pochodzi z programu Microsoft Word. Czy chcesz go wyczyścić przed wklejeniem?', - error: 'Wyczyszczenie wklejonych danych nie było możliwe z powodu wystąpienia błędu.', - title: 'Wklej z programu MS Word', - toolbar: 'Wklej z programu MS Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/pt-br.js deleted file mode 100644 index 04bf4933917..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/pt-br.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'pt-br', { - confirmCleanup: 'O texto que você deseja colar parece ter sido copiado do Word. Você gostaria de remover a formatação antes de colar?', - error: 'Não foi possível limpar os dados colados devido a um erro interno', - title: 'Colar do Word', - toolbar: 'Colar do Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/pt.js deleted file mode 100644 index 120fd58669c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/pt.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'pt', { - confirmCleanup: 'O texto que pretende colar parece ter sido copiado do Word. Deseja limpá-lo antes de colar?', - error: 'Não foi possivel limpar a informação colada decido a um erro interno.', - title: 'Colar do Word', - toolbar: 'Colar do Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ro.js deleted file mode 100644 index 6fdcaee78bd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ro.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'ro', { - confirmCleanup: 'Textul pe care doriți să-l lipiți este din Word. Doriți curățarea textului înante de a-l adăuga?', - error: 'Nu a fost posibilă curățarea datelor adăugate datorită unei erori interne', - title: 'Adaugă din Word', - toolbar: 'Adaugă din Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ru.js deleted file mode 100644 index 75ac456082d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ru.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'ru', { - confirmCleanup: 'Текст, который вы желаете вставить, по всей видимости, был скопирован из Word. Следует ли очистить его перед вставкой?', - error: 'Невозможно очистить вставленные данные из-за внутренней ошибки', - title: 'Вставить из Word', - toolbar: 'Вставить из Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/si.js deleted file mode 100644 index 7d4074edb59..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/si.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'si', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'වචන වලින් අලවන්න', - toolbar: 'වචන වලින් අලවන්න' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sk.js deleted file mode 100644 index 4d295d0818d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sk.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'sk', { - confirmCleanup: 'Vkladaný text vyzerá byť skopírovaný z Wordu. Chcete ho automaticky vyčistiť pred vkladaním?', - error: 'Nebolo možné vyčistiť vložené dáta kvôli internej chybe', - title: 'Vložiť z Wordu', - toolbar: 'Vložiť z Wordu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sl.js deleted file mode 100644 index 970ae9cc9ea..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sl.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'sl', { - confirmCleanup: 'Besedilo, ki ga želite prilepiti je kopirano iz Word-a. Ali ga želite očistiti, preden ga prilepite?', - error: 'Ni bilo mogoče očistiti prilepljenih podatkov zaradi notranje napake', - title: 'Prilepi iz Worda', - toolbar: 'Prilepi iz Worda' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sq.js deleted file mode 100644 index 6112fb45677..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sq.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'sq', { - confirmCleanup: 'Teksti që dëshironi të e hidhni siç duket është kopjuar nga Word-i. Dëshironi të e pastroni para se të e hidhni?', - error: 'Nuk ishte e mundur të fshiheshin të dhënat e hedhura për shkak të një gabimi të brendshëm', - title: 'Hidhe nga Word-i', - toolbar: 'Hidhe nga Word-i' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sr-latn.js deleted file mode 100644 index 3161dabb68e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sr-latn.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'sr-latn', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'Zalepi iz Worda', - toolbar: 'Zalepi iz Worda' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sr.js deleted file mode 100644 index fb444b9c065..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sr.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'sr', { - confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING - error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING - title: 'Залепи из Worda', - toolbar: 'Залепи из Worda' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sv.js deleted file mode 100644 index 89ea3d6a74d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/sv.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'sv', { - confirmCleanup: 'Texten du vill klistra in verkar vara kopierad från Word. Vill du rensa den innan du klistrar in den?', - error: 'Det var inte möjligt att städa upp den inklistrade data på grund av ett internt fel', - title: 'Klistra in från Word', - toolbar: 'Klistra in från Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/th.js deleted file mode 100644 index d15e8d5c893..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/th.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'th', { - confirmCleanup: 'ข้อความที่คุณต้องการวางลงไปเป็นข้อความที่คัดลอกมาจากโปรแกรมไมโครซอฟท์เวิร์ด คุณต้องการล้างค่าข้อความดังกล่าวก่อนวางลงไปหรือไม่?', - error: 'ไม่สามารถล้างข้อมูลที่ต้องการวางได้เนื่องจากเกิดข้อผิดพลาดภายในระบบ', - title: 'วางสำเนาจากตัวอักษรเวิร์ด', - toolbar: 'วางสำเนาจากตัวอักษรเวิร์ด' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/tr.js deleted file mode 100644 index 2af6518db55..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/tr.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'tr', { - confirmCleanup: 'Yapıştırmaya çalıştığınız metin Word\'den kopyalanmıştır. Yapıştırmadan önce silmek istermisiniz?', - error: 'Yapıştırmadaki veri bilgisi hata düzelene kadar silinmeyecektir', - title: 'Word\'den Yapıştır', - toolbar: 'Word\'den Yapıştır' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ug.js deleted file mode 100644 index da221441f97..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/ug.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'ug', { - confirmCleanup: 'سىز چاپلىماقچى بولغان مەزمۇن MS Word تىن كەلگەندەك قىلىدۇ، MS Word پىچىمىنى تازىلىۋەتكەندىن كېيىن ئاندىن چاپلامدۇ؟', - error: 'ئىچكى خاتالىق سەۋەبىدىن چاپلايدىغان سانلىق مەلۇماتنى تازىلىيالمايدۇ', - title: 'MS Word تىن چاپلا', - toolbar: 'MS Word تىن چاپلا' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/uk.js deleted file mode 100644 index a73d07c3fba..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/uk.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'uk', { - confirmCleanup: 'Текст, що Ви намагаєтесь вставити, схожий на скопійований з Word. Бажаєте очистити його форматування перед вставлянням?', - error: 'Неможливо очистити форматування через внутрішню помилку.', - title: 'Вставити з Word', - toolbar: 'Вставити з Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/vi.js deleted file mode 100644 index bde635463fd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/vi.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'vi', { - confirmCleanup: 'Văn bản bạn muốn dán có kèm định dạng của Word. Bạn có muốn loại bỏ định dạng Word trước khi dán?', - error: 'Không thể để làm sạch các dữ liệu dán do một lỗi nội bộ', - title: 'Dán với định dạng Word', - toolbar: 'Dán với định dạng Word' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/zh-cn.js deleted file mode 100644 index 653cb18da3a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/zh-cn.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'zh-cn', { - confirmCleanup: '您要粘贴的内容好像是来自 MS Word,是否要清除 MS Word 格式后再粘贴?', - error: '由于内部错误无法清理要粘贴的数据', - title: '从 MS Word 粘贴', - toolbar: '从 MS Word 粘贴' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/zh.js deleted file mode 100644 index 53274b58a6a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/lang/zh.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastefromword', 'zh', { - confirmCleanup: '您想貼上的文字似乎是自 Word 複製而來,請問您是否要先清除 Word 的格式後再行貼上?', - error: '由於發生內部錯誤,無法清除清除 Word 的格式。', - title: '自 Word 貼上', - toolbar: '自 Word 貼上' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/plugin.js deleted file mode 100644 index 169ad65a719..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastefromword/plugin.js +++ /dev/null @@ -1,145 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -( function() { - CKEDITOR.plugins.add( 'pastefromword', { - requires: 'clipboard', - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - icons: 'pastefromword,pastefromword-rtl', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - init: function( editor ) { - var commandName = 'pastefromword', - // Flag indicate this command is actually been asked instead of a generic pasting. - forceFromWord = 0, - path = this.path; - - editor.addCommand( commandName, { - // Snapshots are done manually by editable.insertXXX methods. - canUndo: false, - async: true, - - exec: function( editor ) { - var cmd = this; - - forceFromWord = 1; - // Force html mode for incomming paste events sequence. - editor.once( 'beforePaste', forceHtmlMode ); - - editor.getClipboardData( { title: editor.lang.pastefromword.title }, function( data ) { - // Do not use editor#paste, because it would start from beforePaste event. - data && editor.fire( 'paste', { type: 'html', dataValue: data.dataValue } ); - - editor.fire( 'afterCommandExec', { - name: commandName, - command: cmd, - returnValue: !!data - } ); - } ); - } - } ); - - // Register the toolbar button. - editor.ui.addButton && editor.ui.addButton( 'PasteFromWord', { - label: editor.lang.pastefromword.toolbar, - command: commandName, - toolbar: 'clipboard,50' - } ); - - editor.on( 'pasteState', function( evt ) { - editor.getCommand( commandName ).setState( evt.data ); - } ); - - // Features bring by this command beside the normal process: - // 1. No more bothering of user about the clean-up. - // 2. Perform the clean-up even if content is not from MS-Word. - // (e.g. from a MS-Word similar application.) - // 3. Listen with high priority (3), so clean up is done before content - // type sniffing (priority = 6). - editor.on( 'paste', function( evt ) { - var data = evt.data, - mswordHtml = data.dataValue; - - // MS-WORD format sniffing. - if ( mswordHtml && ( forceFromWord || ( /(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/ ).test( mswordHtml ) ) ) { - // If filter rules aren't loaded then cancel 'paste' event, - // load them and when they'll get loaded fire new paste event - // for which data will be filtered in second execution of - // this listener. - var isLazyLoad = loadFilterRules( editor, path, function() { - // Event continuation with the original data. - if ( isLazyLoad ) - editor.fire( 'paste', data ); - else if ( !editor.config.pasteFromWordPromptCleanup || ( forceFromWord || confirm( editor.lang.pastefromword.confirmCleanup ) ) ) - data.dataValue = CKEDITOR.cleanWord( mswordHtml, editor ); - - } ); - - // The cleanup rules are to be loaded, we should just cancel - // this event. - isLazyLoad && evt.cancel(); - } - }, null, null, 3 ); - - function resetFromWord( evt ) { - evt && evt.removeListener(); - editor.removeListener( 'beforePaste', forceHtmlMode ); - forceFromWord && setTimeout( function() { - forceFromWord = 0; - }, 0 ); - } - } - - } ); - - function loadFilterRules( editor, path, callback ) { - var isLoaded = CKEDITOR.cleanWord; - - if ( isLoaded ) - callback(); - else { - var filterFilePath = CKEDITOR.getUrl( editor.config.pasteFromWordCleanupFile || ( path + 'filter/default.js' ) ); - - // Load with busy indicator. - CKEDITOR.scriptLoader.load( filterFilePath, callback, null, true ); - } - - return !isLoaded; - } - - function forceHtmlMode( evt ) { - evt.data.type = 'html'; - } -} )(); - - -/** - * Whether to prompt the user about the clean up of content being pasted from MS Word. - * - * config.pasteFromWordPromptCleanup = true; - * - * @since 3.1 - * @cfg {Boolean} [pasteFromWordPromptCleanup=false] - * @member CKEDITOR.config - */ - -/** - * The file that provides the MS Word cleanup function for pasting operations. - * - * **Note:** This is a global configuration shared by all editor instances present - * in the page. - * - * // Load from 'pastefromword' plugin 'filter' sub folder (custom.js file) using path relative to CKEditor installation folder. - * CKEDITOR.config.pasteFromWordCleanupFile = 'plugins/pastefromword/filter/custom.js'; - * - * // Load from 'pastefromword' plugin 'filter' sub folder (custom.js file) using full path (including CKEditor installation folder). - * CKEDITOR.config.pasteFromWordCleanupFile = '/ckeditor/plugins/pastefromword/filter/custom.js'; - * - * // Load custom.js file from 'customFilerts' folder (located in server's root) using full URL. - * CKEDITOR.config.pasteFromWordCleanupFile = 'http://my.example.com/customFilerts/custom.js'; - * - * @since 3.1 - * @cfg {String} [pasteFromWordCleanupFile= + 'filter/default.js'] - * @member CKEDITOR.config - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/hidpi/pastetext-rtl.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/hidpi/pastetext-rtl.png deleted file mode 100644 index 35354a5f8d9..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/hidpi/pastetext-rtl.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/hidpi/pastetext.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/hidpi/pastetext.png deleted file mode 100644 index f82900fa997..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/hidpi/pastetext.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/pastetext-rtl.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/pastetext-rtl.png deleted file mode 100644 index 9393b347f19..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/pastetext-rtl.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/pastetext.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/pastetext.png deleted file mode 100644 index 20816a4f460..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/icons/pastetext.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/af.js deleted file mode 100644 index a0031f4577a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/af.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'af', { - button: 'Plak as eenvoudige teks', - title: 'Plak as eenvoudige teks' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ar.js deleted file mode 100644 index be045b120ce..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ar.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'ar', { - button: 'لصق كنص بسيط', - title: 'لصق كنص بسيط' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/bg.js deleted file mode 100644 index 1873d317814..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/bg.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'bg', { - button: 'Вмъкни като чист текст', - title: 'Вмъкни като чист текст' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/bn.js deleted file mode 100644 index 0e217f9660b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/bn.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'bn', { - button: 'সাদা টেক্সট হিসেবে পেস্ট কর', - title: 'সাদা টেক্সট হিসেবে পেস্ট কর' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/bs.js deleted file mode 100644 index 02c842c2487..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/bs.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'bs', { - button: 'Zalijepi kao obièan tekst', - title: 'Zalijepi kao obièan tekst' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ca.js deleted file mode 100644 index 4af8c0b5a18..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ca.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'ca', { - button: 'Enganxa com a text no formatat', - title: 'Enganxa com a text no formatat' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/cs.js deleted file mode 100644 index e679e39273d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/cs.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'cs', { - button: 'Vložit jako čistý text', - title: 'Vložit jako čistý text' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/cy.js deleted file mode 100644 index 0a43afab9f1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/cy.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'cy', { - button: 'Gludo fel testun plaen', - title: 'Gludo fel Testun Plaen' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/da.js deleted file mode 100644 index ca9b276047f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/da.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'da', { - button: 'Indsæt som ikke-formateret tekst', - title: 'Indsæt som ikke-formateret tekst' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/de.js deleted file mode 100644 index e8cfa181f8b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/de.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'de', { - button: 'Als Text einfügen', - title: 'Als Text einfügen' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/el.js deleted file mode 100644 index 2cad2123cb4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/el.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'el', { - button: 'Επικόλληση ως απλό κείμενο', - title: 'Επικόλληση ως απλό κείμενο' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en-au.js deleted file mode 100644 index 937c84eb674..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en-au.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'en-au', { - button: 'Paste as plain text', - title: 'Paste as Plain Text' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en-ca.js deleted file mode 100644 index 3a2faf569ae..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en-ca.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'en-ca', { - button: 'Paste as plain text', - title: 'Paste as Plain Text' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en-gb.js deleted file mode 100644 index 99cea29807d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en-gb.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'en-gb', { - button: 'Paste as plain text', - title: 'Paste as Plain Text' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en.js deleted file mode 100644 index b853dc25706..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/en.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'en', { - button: 'Paste as plain text', - title: 'Paste as Plain Text' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/eo.js deleted file mode 100644 index 4792440d668..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/eo.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'eo', { - button: 'Interglui kiel platan tekston', - title: 'Interglui kiel platan tekston' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/es.js deleted file mode 100644 index 5fd80f62b64..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/es.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'es', { - button: 'Pegar como Texto Plano', - title: 'Pegar como Texto Plano' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/et.js deleted file mode 100644 index 9d43d9f2b0c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/et.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'et', { - button: 'Asetamine tavalise tekstina', - title: 'Asetamine tavalise tekstina' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/eu.js deleted file mode 100644 index c4d57612ee8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/eu.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'eu', { - button: 'Testu Arrunta bezala Itsatsi', - title: 'Testu Arrunta bezala Itsatsi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fa.js deleted file mode 100644 index 3e31061a8e2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fa.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'fa', { - button: 'چسباندن به عنوان متن ساده', - title: 'چسباندن به عنوان متن ساده' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fi.js deleted file mode 100644 index 3fe2c709bf3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fi.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'fi', { - button: 'Liitä tekstinä', - title: 'Liitä tekstinä' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fo.js deleted file mode 100644 index 7b394dd824c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fo.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'fo', { - button: 'Innrita som reinan tekst', - title: 'Innrita som reinan tekst' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fr-ca.js deleted file mode 100644 index 60626a96697..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fr-ca.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'fr-ca', { - button: 'Coller comme texte', - title: 'Coller comme texte' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fr.js deleted file mode 100644 index c554ecb1b56..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/fr.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'fr', { - button: 'Coller comme texte sans mise en forme', - title: 'Coller comme texte sans mise en forme' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/gl.js deleted file mode 100644 index 01523b3157d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/gl.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'gl', { - button: 'Pegar como texto simple', - title: 'Pegar como texto simple' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/gu.js deleted file mode 100644 index 4a464fc3575..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/gu.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'gu', { - button: 'પેસ્ટ (ટેક્સ્ટ)', - title: 'પેસ્ટ (ટેક્સ્ટ)' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/he.js deleted file mode 100644 index 767616be1d7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/he.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'he', { - button: 'הדבקה כטקסט פשוט', - title: 'הדבקה כטקסט פשוט' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/hi.js deleted file mode 100644 index 78bf6eceac5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/hi.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'hi', { - button: 'पेस्ट (सादा टॅक्स्ट)', - title: 'पेस्ट (सादा टॅक्स्ट)' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/hr.js deleted file mode 100644 index 003470000d4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/hr.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'hr', { - button: 'Zalijepi kao čisti tekst', - title: 'Zalijepi kao čisti tekst' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/hu.js deleted file mode 100644 index f689a3c3765..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/hu.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'hu', { - button: 'Beillesztés formázatlan szövegként', - title: 'Beillesztés formázatlan szövegként' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/id.js deleted file mode 100644 index 6976336fe1d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/id.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'id', { - button: 'Tempel sebagai teks polos', - title: 'Tempel sebagai Teks Polos' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/is.js deleted file mode 100644 index 99562a4e350..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/is.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'is', { - button: 'Líma sem ósniðinn texta', - title: 'Líma sem ósniðinn texta' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/it.js deleted file mode 100644 index 2ae5140a381..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/it.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'it', { - button: 'Incolla come testo semplice', - title: 'Incolla come testo semplice' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ja.js deleted file mode 100644 index 52f32556813..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ja.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'ja', { - button: 'プレーンテキストとして貼り付け', - title: 'プレーンテキストとして貼り付け' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ka.js deleted file mode 100644 index 761a2191f1d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ka.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'ka', { - button: 'მხოლოდ ტექსტის ჩასმა', - title: 'მხოლოდ ტექსტის ჩასმა' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/km.js deleted file mode 100644 index f77ed641290..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/km.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'km', { - button: 'បិទ​ភ្ជាប់​ជា​អត្ថបទ​ធម្មតា', - title: 'បិទ​ភ្ជាប់​ជា​អត្ថបទ​ធម្មតា' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ko.js deleted file mode 100644 index 4cdfeb65c38..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ko.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'ko', { - button: '텍스트로 붙여넣기', - title: '텍스트로 붙여넣기' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ku.js deleted file mode 100644 index d5570678e0a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ku.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'ku', { - button: 'لکاندنی وەك دەقی ڕوون', - title: 'لکاندنی وەك دەقی ڕوون' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/lt.js deleted file mode 100644 index c7ed2c56c87..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/lt.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'lt', { - button: 'Įdėti kaip gryną tekstą', - title: 'Įdėti kaip gryną tekstą' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/lv.js deleted file mode 100644 index f86582b3ddd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/lv.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'lv', { - button: 'Ievietot kā vienkāršu tekstu', - title: 'Ievietot kā vienkāršu tekstu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/mk.js deleted file mode 100644 index ddf45ca6608..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/mk.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'mk', { - button: 'Paste as plain text', // MISSING - title: 'Paste as Plain Text' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/mn.js deleted file mode 100644 index 9b4fbcd918f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/mn.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'mn', { - button: 'Энгийн бичвэрээр буулгах', - title: 'Энгийн бичвэрээр буулгах' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ms.js deleted file mode 100644 index b1c7c22ab95..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ms.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'ms', { - button: 'Tampal sebagai text biasa', - title: 'Tampal sebagai text biasa' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/nb.js deleted file mode 100644 index f727779d6c1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/nb.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'nb', { - button: 'Lim inn som ren tekst', - title: 'Lim inn som ren tekst' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/nl.js deleted file mode 100644 index e0c99fd8e84..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/nl.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'nl', { - button: 'Plakken als platte tekst', - title: 'Plakken als platte tekst' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/no.js deleted file mode 100644 index 533d8fd8b67..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/no.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'no', { - button: 'Lim inn som ren tekst', - title: 'Lim inn som ren tekst' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/pl.js deleted file mode 100644 index 91670d4e3ec..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/pl.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'pl', { - button: 'Wklej jako czysty tekst', - title: 'Wklej jako czysty tekst' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/pt-br.js deleted file mode 100644 index 863c07d82cf..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/pt-br.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'pt-br', { - button: 'Colar como Texto sem Formatação', - title: 'Colar como Texto sem Formatação' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/pt.js deleted file mode 100644 index 9fab63ec778..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/pt.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'pt', { - button: 'Colar como Texto Simples', - title: 'Colar como Texto Simples' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ro.js deleted file mode 100644 index f88013d885f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ro.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'ro', { - button: 'Adaugă ca text simplu (Plain Text)', - title: 'Adaugă ca text simplu (Plain Text)' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ru.js deleted file mode 100644 index 83457889407..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ru.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'ru', { - button: 'Вставить только текст', - title: 'Вставить только текст' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/si.js deleted file mode 100644 index 9ee9c8bd8d0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/si.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'si', { - button: 'සාමාන්‍ය අක්ෂර ලෙස අලවන්න', - title: 'සාමාන්‍ය අක්ෂර ලෙස අලවන්න' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sk.js deleted file mode 100644 index 31d15d0c522..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sk.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'sk', { - button: 'Vložiť ako čistý text', - title: 'Vložiť ako čistý text' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sl.js deleted file mode 100644 index 41240862861..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sl.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'sl', { - button: 'Prilepi kot golo besedilo', - title: 'Prilepi kot golo besedilo' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sq.js deleted file mode 100644 index dca7461bc72..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sq.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'sq', { - button: 'Hidhe si tekst të thjeshtë', - title: 'Hidhe si Tekst të Thjeshtë' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sr-latn.js deleted file mode 100644 index e86bd1af05e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sr-latn.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'sr-latn', { - button: 'Zalepi kao čist tekst', - title: 'Zalepi kao čist tekst' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sr.js deleted file mode 100644 index 4667bd25aaa..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sr.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'sr', { - button: 'Залепи као чист текст', - title: 'Залепи као чист текст' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sv.js deleted file mode 100644 index 9b85b254bc8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/sv.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'sv', { - button: 'Klistra in som vanlig text', - title: 'Klistra in som vanlig text' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/th.js deleted file mode 100644 index 0051e0c374b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/th.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'th', { - button: 'วางแบบตัวอักษรธรรมดา', - title: 'วางแบบตัวอักษรธรรมดา' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/tr.js deleted file mode 100644 index bc9802021ae..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/tr.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'tr', { - button: 'Düz Metin Olarak Yapıştır', - title: 'Düz Metin Olarak Yapıştır' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ug.js deleted file mode 100644 index 64f676a7643..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/ug.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'ug', { - button: 'پىچىمى يوق تېكىست سۈپىتىدە چاپلا', - title: 'پىچىمى يوق تېكىست سۈپىتىدە چاپلا' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/uk.js deleted file mode 100644 index 7767c23f742..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/uk.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'uk', { - button: 'Вставити тільки текст', - title: 'Вставити тільки текст' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/vi.js deleted file mode 100644 index 65a8308b76a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/vi.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'vi', { - button: 'Dán theo định dạng văn bản thuần', - title: 'Dán theo định dạng văn bản thuần' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/zh-cn.js deleted file mode 100644 index d70b88475a7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/zh-cn.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'zh-cn', { - button: '粘贴为无格式文本', - title: '粘贴为无格式文本' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/zh.js deleted file mode 100644 index b8811d7a9c6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/lang/zh.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'pastetext', 'zh', { - button: '貼成純文字', - title: '貼成純文字' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/plugin.js deleted file mode 100644 index a9f4bde93b4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/pastetext/plugin.js +++ /dev/null @@ -1,76 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview Paste as plain text plugin. - */ - -( function() { - // The pastetext command definition. - var pasteTextCmd = { - // Snapshots are done manually by editable.insertXXX methods. - canUndo: false, - async: true, - - exec: function( editor ) { - editor.getClipboardData( { title: editor.lang.pastetext.title }, function( data ) { - // Do not use editor#paste, because it would start from beforePaste event. - data && editor.fire( 'paste', { type: 'text', dataValue: data.dataValue } ); - - editor.fire( 'afterCommandExec', { - name: 'pastetext', - command: pasteTextCmd, - returnValue: !!data - } ); - } ); - } - }; - - // Register the plugin. - CKEDITOR.plugins.add( 'pastetext', { - requires: 'clipboard', - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - icons: 'pastetext,pastetext-rtl', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - init: function( editor ) { - var commandName = 'pastetext'; - - editor.addCommand( commandName, pasteTextCmd ); - - editor.ui.addButton && editor.ui.addButton( 'PasteText', { - label: editor.lang.pastetext.button, - command: commandName, - toolbar: 'clipboard,40' - } ); - - if ( editor.config.forcePasteAsPlainText ) { - editor.on( 'beforePaste', function( evt ) { - // Do NOT overwrite if HTML format is explicitly requested. - // This allows pastefromword dominates over pastetext. - if ( evt.data.type != 'html' ) - evt.data.type = 'text'; - } ); - } - - editor.on( 'pasteState', function( evt ) { - editor.getCommand( commandName ).setState( evt.data ); - } ); - } - } ); -} )(); - - -/** - * Whether to force all pasting operations to insert on plain text into the - * editor, loosing any formatting information possibly available in the source - * text. - * - * **Note:** paste from word (dialog) is not affected by this configuration. - * - * config.forcePasteAsPlainText = true; - * - * @cfg {Boolean} [forcePasteAsPlainText=false] - * @member CKEDITOR.config - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/popup/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/popup/plugin.js deleted file mode 100644 index 7657ede2c96..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/popup/plugin.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -CKEDITOR.plugins.add( 'popup' ); - -CKEDITOR.tools.extend( CKEDITOR.editor.prototype, { - /** - * Opens Browser in a popup. The `width` and `height` parameters accept - * numbers (pixels) or percent (of screen size) values. - * - * @member CKEDITOR.editor - * @param {String} url The url of the external file browser. - * @param {Number/String} [width='80%'] Popup window width. - * @param {Number/String} [height='70%'] Popup window height. - * @param {String} [options='location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes'] - * Popup window features. - */ - popup: function( url, width, height, options ) { - width = width || '80%'; - height = height || '70%'; - - if ( typeof width == 'string' && width.length > 1 && width.substr( width.length - 1, 1 ) == '%' ) - width = parseInt( window.screen.width * parseInt( width, 10 ) / 100, 10 ); - - if ( typeof height == 'string' && height.length > 1 && height.substr( height.length - 1, 1 ) == '%' ) - height = parseInt( window.screen.height * parseInt( height, 10 ) / 100, 10 ); - - if ( width < 640 ) - width = 640; - - if ( height < 420 ) - height = 420; - - var top = parseInt( ( window.screen.height - height ) / 2, 10 ), - left = parseInt( ( window.screen.width - width ) / 2, 10 ); - - options = ( options || 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes' ) + ',width=' + width + - ',height=' + height + - ',top=' + top + - ',left=' + left; - - var popupWindow = window.open( '', null, options, true ); - - // Blocked by a popup blocker. - if ( !popupWindow ) - return false; - - try { - // Chrome is problematic with moveTo/resizeTo, but it's not really needed here (#8855). - var ua = navigator.userAgent.toLowerCase(); - if ( ua.indexOf( ' chrome/' ) == -1 ) { - popupWindow.moveTo( left, top ); - popupWindow.resizeTo( width, height ); - } - popupWindow.focus(); - popupWindow.location.href = url; - } catch ( e ) { - popupWindow = window.open( url, null, options, true ); - } - - return true; - } -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/hidpi/preview-rtl.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/hidpi/preview-rtl.png deleted file mode 100644 index cd64e19a87a..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/hidpi/preview-rtl.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/hidpi/preview.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/hidpi/preview.png deleted file mode 100644 index 402db20e277..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/hidpi/preview.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/preview-rtl.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/preview-rtl.png deleted file mode 100644 index 1c9d97874ca..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/preview-rtl.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/preview.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/preview.png deleted file mode 100644 index 162b44b845a..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/icons/preview.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/af.js deleted file mode 100644 index f4b3d3305a5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/af.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'af', { - preview: 'Voorbeeld' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ar.js deleted file mode 100644 index 867fa02b679..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ar.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'ar', { - preview: 'معاينة الصفحة' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/bg.js deleted file mode 100644 index 62c8dc7ce4a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/bg.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'bg', { - preview: 'Преглед' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/bn.js deleted file mode 100644 index 70271c60824..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/bn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'bn', { - preview: 'প্রিভিউ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/bs.js deleted file mode 100644 index 1348729fa18..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/bs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'bs', { - preview: 'Prikaži' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ca.js deleted file mode 100644 index 2680eb3db98..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'ca', { - preview: 'Visualització prèvia' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/cs.js deleted file mode 100644 index ea626dd4da3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/cs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'cs', { - preview: 'Náhled' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/cy.js deleted file mode 100644 index 6bd4eac5170..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/cy.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'cy', { - preview: 'Rhagolwg' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/da.js deleted file mode 100644 index bd785c00240..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/da.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'da', { - preview: 'Vis eksempel' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/de.js deleted file mode 100644 index 8ba8be7453b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/de.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'de', { - preview: 'Vorschau' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/el.js deleted file mode 100644 index 8621b9b12f7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/el.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'el', { - preview: 'Προεπισκόπιση' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en-au.js deleted file mode 100644 index 5f5e91c9cc3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en-au.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'en-au', { - preview: 'Preview' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en-ca.js deleted file mode 100644 index 2227b5579c1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'en-ca', { - preview: 'Preview' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en-gb.js deleted file mode 100644 index aca84ca52f7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en-gb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'en-gb', { - preview: 'Preview' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en.js deleted file mode 100644 index 93063b547bc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/en.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'en', { - preview: 'Preview' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/eo.js deleted file mode 100644 index 3b8c10afd2c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/eo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'eo', { - preview: 'Vidigi Aspekton' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/es.js deleted file mode 100644 index 3a210c176dd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/es.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'es', { - preview: 'Vista Previa' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/et.js deleted file mode 100644 index 5075f03610d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/et.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'et', { - preview: 'Eelvaade' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/eu.js deleted file mode 100644 index edaf049a836..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/eu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'eu', { - preview: 'Aurrebista' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fa.js deleted file mode 100644 index aeebf192317..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fa.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'fa', { - preview: 'پیشنمایش' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fi.js deleted file mode 100644 index e5dacd9c251..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'fi', { - preview: 'Esikatsele' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fo.js deleted file mode 100644 index 6aea652b390..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'fo', { - preview: 'Frumsýning' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fr-ca.js deleted file mode 100644 index 22569e09a7a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fr-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'fr-ca', { - preview: 'Prévisualiser' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fr.js deleted file mode 100644 index da3f58e8c8d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/fr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'fr', { - preview: 'Aperçu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/gl.js deleted file mode 100644 index 14247141456..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/gl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'gl', { - preview: 'Vista previa' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/gu.js deleted file mode 100644 index 4b25f0f5c7a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/gu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'gu', { - preview: 'પૂર્વદર્શન' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/he.js deleted file mode 100644 index 0c6998b8f5d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/he.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'he', { - preview: 'תצוגה מקדימה' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/hi.js deleted file mode 100644 index e9cbee95633..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/hi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'hi', { - preview: 'प्रीव्यू' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/hr.js deleted file mode 100644 index ad04d674e22..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/hr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'hr', { - preview: 'Pregledaj' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/hu.js deleted file mode 100644 index bdc63a1b05c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/hu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'hu', { - preview: 'Előnézet' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/id.js deleted file mode 100644 index b342777ebcb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/id.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'id', { - preview: 'Pratinjau' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/is.js deleted file mode 100644 index d0089427c8b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/is.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'is', { - preview: 'Forskoða' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/it.js deleted file mode 100644 index f5d01cbca19..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/it.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'it', { - preview: 'Anteprima' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ja.js deleted file mode 100644 index d7ccf2c0770..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ja.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'ja', { - preview: 'プレビュー' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ka.js deleted file mode 100644 index 69842f125b9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ka.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'ka', { - preview: 'გადახედვა' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/km.js deleted file mode 100644 index 221adccd0e3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/km.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'km', { - preview: 'មើល​ជា​មុន' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ko.js deleted file mode 100644 index 21532606f4b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ko.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'ko', { - preview: '미리보기' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ku.js deleted file mode 100644 index 7fb85abc8fe..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ku.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'ku', { - preview: 'پێشبینین' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/lt.js deleted file mode 100644 index da129eb20a0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/lt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'lt', { - preview: 'Peržiūra' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/lv.js deleted file mode 100644 index 20866253e03..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/lv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'lv', { - preview: 'Priekšskatīt' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/mk.js deleted file mode 100644 index 2835d592afe..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/mk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'mk', { - preview: 'Preview' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/mn.js deleted file mode 100644 index f6c73052a12..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/mn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'mn', { - preview: 'Уридчлан харах' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ms.js deleted file mode 100644 index e478dab1d7d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ms.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'ms', { - preview: 'Prebiu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/nb.js deleted file mode 100644 index c8c48c3833d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/nb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'nb', { - preview: 'Forhåndsvis' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/nl.js deleted file mode 100644 index b16350e2aa7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/nl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'nl', { - preview: 'Voorbeeld' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/no.js deleted file mode 100644 index 0ab22d9c735..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/no.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'no', { - preview: 'Forhåndsvis' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/pl.js deleted file mode 100644 index 071a0348ba3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/pl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'pl', { - preview: 'Podgląd' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/pt-br.js deleted file mode 100644 index 40b22b4f0d2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/pt-br.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'pt-br', { - preview: 'Visualizar' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/pt.js deleted file mode 100644 index 57ca859d3c0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/pt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'pt', { - preview: 'Pré-visualizar' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ro.js deleted file mode 100644 index ecbf1890dcc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ro.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'ro', { - preview: 'Previzualizare' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ru.js deleted file mode 100644 index 2da475efbac..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ru.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'ru', { - preview: 'Предварительный просмотр' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/si.js deleted file mode 100644 index b1a58527fe1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/si.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'si', { - preview: 'නැවත ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sk.js deleted file mode 100644 index 6f94275b27a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'sk', { - preview: 'Náhľad' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sl.js deleted file mode 100644 index 7f8ee9a5c7f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'sl', { - preview: 'Predogled' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sq.js deleted file mode 100644 index a98d1c4b43c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sq.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'sq', { - preview: 'Parashiko' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sr-latn.js deleted file mode 100644 index 46e4f259e42..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sr-latn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'sr-latn', { - preview: 'Izgled stranice' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sr.js deleted file mode 100644 index 3be54551ec4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'sr', { - preview: 'Изглед странице' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sv.js deleted file mode 100644 index 4602f090d59..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/sv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'sv', { - preview: 'Förhandsgranska' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/th.js deleted file mode 100644 index 70e7ae490a9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/th.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'th', { - preview: 'ดูหน้าเอกสารตัวอย่าง' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/tr.js deleted file mode 100644 index 8b0872ab824..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/tr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'tr', { - preview: 'Ön İzleme' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ug.js deleted file mode 100644 index 9336cda119b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/ug.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'ug', { - preview: 'ئالدىن كۆزەت' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/uk.js deleted file mode 100644 index 27df09cb8f8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/uk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'uk', { - preview: 'Попередній перегляд' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/vi.js deleted file mode 100644 index 148f8fba93f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/vi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'vi', { - preview: 'Xem trước' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/zh-cn.js deleted file mode 100644 index 329642fc3c1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/zh-cn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'zh-cn', { - preview: '预览' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/zh.js deleted file mode 100644 index 769858c8182..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/zh.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'preview', 'zh', { - preview: '預覽' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/plugin.js deleted file mode 100644 index f86a6bbfc0e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/plugin.js +++ /dev/null @@ -1,141 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview Preview plugin. - */ - -( function() { - var pluginPath; - - var previewCmd = { modes: { wysiwyg: 1, source: 1 }, - canUndo: false, - readOnly: 1, - exec: function( editor ) { - var sHTML, - config = editor.config, - baseTag = config.baseHref ? '' : '', - eventData; - - if ( config.fullPage ) - sHTML = editor.getData().replace( //, '$&' + baseTag ).replace( /[^>]*(?=<\/title>)/, '$& — ' + editor.lang.preview.preview ); - else { - var bodyHtml = '' + - '' + - baseTag + - '' + editor.lang.preview.preview + '' + - CKEDITOR.tools.buildStyleHtml( editor.config.contentsCss ) + - '' + bodyHtml + - editor.getData() + - ''; - } - - var iWidth = 640, - // 800 * 0.8, - iHeight = 420, - // 600 * 0.7, - iLeft = 80; // (800 - 0.8 * 800) /2 = 800 * 0.1. - try { - var screen = window.screen; - iWidth = Math.round( screen.width * 0.8 ); - iHeight = Math.round( screen.height * 0.7 ); - iLeft = Math.round( screen.width * 0.1 ); - } catch ( e ) {} - - // (#9907) Allow data manipulation before preview is displayed. - // Also don't open the preview window when event cancelled. - if ( editor.fire( 'contentPreview', eventData = { dataValue: sHTML } ) === false ) - return false; - - var sOpenUrl = '', - ieLocation; - - if ( CKEDITOR.env.ie ) { - window._cke_htmlToLoad = eventData.dataValue; - ieLocation = 'javascript:void( (function(){' + - 'document.open();' + - // Support for custom document.domain. - // Strip comments and replace parent with window.opener in the function body. - ( '(' + CKEDITOR.tools.fixDomain + ')();' ).replace( /\/\/.*?\n/g, '' ).replace( /parent\./g, 'window.opener.' ) + - 'document.write( window.opener._cke_htmlToLoad );' + - 'document.close();' + - 'window.opener._cke_htmlToLoad = null;' + - '})() )'; - // For IE we should use window.location rather than setting url in window.open. (#11146) - sOpenUrl = ''; - } - - // With Firefox only, we need to open a special preview page, so - // anchors will work properly on it. (#9047) - if ( CKEDITOR.env.gecko ) { - window._cke_htmlToLoad = eventData.dataValue; - sOpenUrl = pluginPath + 'preview.html'; - } - - var oWindow = window.open( sOpenUrl, null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=' + - iWidth + ',height=' + iHeight + ',left=' + iLeft ); - - if ( CKEDITOR.env.ie ) - oWindow.location = ieLocation; - - if ( !CKEDITOR.env.ie && !CKEDITOR.env.gecko ) { - var doc = oWindow.document; - doc.open(); - doc.write( eventData.dataValue ); - doc.close(); - } - - return true; - } - }; - - var pluginName = 'preview'; - - // Register a plugin named "preview". - CKEDITOR.plugins.add( pluginName, { - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - icons: 'preview,preview-rtl', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - init: function( editor ) { - - // Preview is not used for the inline creator. - if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE ) - return; - - pluginPath = this.path; - - editor.addCommand( pluginName, previewCmd ); - editor.ui.addButton && editor.ui.addButton( 'Preview', { - label: editor.lang.preview.preview, - command: pluginName, - toolbar: 'document,40' - } ); - } - } ); -} )(); - -/** - * Event fired when executing `preview` command, which allows additional data manipulation. - * With this event, the raw HTML content of the preview window to be displayed can be altered - * or modified. - * - * @event contentPreview - * @member CKEDITOR - * @param {CKEDITOR.editor} editor This editor instance. - * @param data - * @param {String} data.dataValue The data that will go to the preview. - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/preview.html b/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/preview.html deleted file mode 100644 index 5745b7abaa6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/preview.html +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/icons/hidpi/print.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/icons/hidpi/print.png deleted file mode 100644 index 4b72460dd4f..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/icons/hidpi/print.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/icons/print.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/icons/print.png deleted file mode 100644 index 06f797dc728..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/icons/print.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/af.js deleted file mode 100644 index d3c820c9068..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/af.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'af', { - toolbar: 'Druk' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ar.js deleted file mode 100644 index 69159198ee4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ar.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'ar', { - toolbar: 'طباعة' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/bg.js deleted file mode 100644 index f0ebff456d6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/bg.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'bg', { - toolbar: 'Печат' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/bn.js deleted file mode 100644 index 4673c949f6f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/bn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'bn', { - toolbar: 'প্রিন্ট' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/bs.js deleted file mode 100644 index bf5da0685e3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/bs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'bs', { - toolbar: 'Štampaj' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ca.js deleted file mode 100644 index fd5736fa696..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'ca', { - toolbar: 'Imprimeix' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/cs.js deleted file mode 100644 index 2ed58ee6bf2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/cs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'cs', { - toolbar: 'Tisk' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/cy.js deleted file mode 100644 index ec4d3c399c2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/cy.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'cy', { - toolbar: 'Argraffu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/da.js deleted file mode 100644 index a0b182d3dc5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/da.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'da', { - toolbar: 'Udskriv' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/de.js deleted file mode 100644 index b8baaca6475..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/de.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'de', { - toolbar: 'Drucken' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/el.js deleted file mode 100644 index 54fa596e94c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/el.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'el', { - toolbar: 'Εκτύπωση' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en-au.js deleted file mode 100644 index 6c71cf077e2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en-au.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'en-au', { - toolbar: 'Print' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en-ca.js deleted file mode 100644 index 4228e13b715..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'en-ca', { - toolbar: 'Print' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en-gb.js deleted file mode 100644 index fbb20334605..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en-gb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'en-gb', { - toolbar: 'Print' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en.js deleted file mode 100644 index b4e01b29b47..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/en.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'en', { - toolbar: 'Print' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/eo.js deleted file mode 100644 index 8248d3d5e7e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/eo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'eo', { - toolbar: 'Presi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/es.js deleted file mode 100644 index 026a2984c40..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/es.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'es', { - toolbar: 'Imprimir' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/et.js deleted file mode 100644 index a686d4fb33e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/et.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'et', { - toolbar: 'Printimine' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/eu.js deleted file mode 100644 index 7b84786daa2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/eu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'eu', { - toolbar: 'Inprimatu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fa.js deleted file mode 100644 index 7badbb3c605..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fa.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'fa', { - toolbar: 'چاپ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fi.js deleted file mode 100644 index 91ac4603644..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'fi', { - toolbar: 'Tulosta' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fo.js deleted file mode 100644 index 90c3c48ae77..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'fo', { - toolbar: 'Prenta' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fr-ca.js deleted file mode 100644 index 8d653c21140..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fr-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'fr-ca', { - toolbar: 'Imprimer' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fr.js deleted file mode 100644 index 36c9b83639c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/fr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'fr', { - toolbar: 'Imprimer' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/gl.js deleted file mode 100644 index ef7fccc0a79..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/gl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'gl', { - toolbar: 'Imprimir' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/gu.js deleted file mode 100644 index 31f629f97a6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/gu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'gu', { - toolbar: 'પ્રિન્ટ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/he.js deleted file mode 100644 index bf93418752c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/he.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'he', { - toolbar: 'הדפסה' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/hi.js deleted file mode 100644 index e4522ea73a6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/hi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'hi', { - toolbar: 'प्रिन्ट' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/hr.js deleted file mode 100644 index e18c1337a28..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/hr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'hr', { - toolbar: 'Ispiši' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/hu.js deleted file mode 100644 index 5a9bce5c049..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/hu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'hu', { - toolbar: 'Nyomtatás' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/id.js deleted file mode 100644 index eb2ac75d548..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/id.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'id', { - toolbar: 'Cetak' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/is.js deleted file mode 100644 index 5e49f0b2a77..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/is.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'is', { - toolbar: 'Prenta' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/it.js deleted file mode 100644 index 1df4ab12739..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/it.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'it', { - toolbar: 'Stampa' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ja.js deleted file mode 100644 index fee31735c88..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ja.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'ja', { - toolbar: '印刷' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ka.js deleted file mode 100644 index 916163919d5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ka.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'ka', { - toolbar: 'ბეჭდვა' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/km.js deleted file mode 100644 index b2d93705ad0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/km.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'km', { - toolbar: 'បោះពុម្ព' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ko.js deleted file mode 100644 index 95b845e7236..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ko.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'ko', { - toolbar: '인쇄하기' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ku.js deleted file mode 100644 index 076a369253f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ku.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'ku', { - toolbar: 'چاپکردن' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/lt.js deleted file mode 100644 index dd8bb405145..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/lt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'lt', { - toolbar: 'Spausdinti' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/lv.js deleted file mode 100644 index e8f81744f9b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/lv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'lv', { - toolbar: 'Drukāt' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/mk.js deleted file mode 100644 index bfd94843968..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/mk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'mk', { - toolbar: 'Print' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/mn.js deleted file mode 100644 index 7e2dc60fbf9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/mn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'mn', { - toolbar: 'Хэвлэх' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ms.js deleted file mode 100644 index 0aa07dbbabc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ms.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'ms', { - toolbar: 'Cetak' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/nb.js deleted file mode 100644 index 66c2e22f700..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/nb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'nb', { - toolbar: 'Skriv ut' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/nl.js deleted file mode 100644 index 4a5eaf445db..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/nl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'nl', { - toolbar: 'Afdrukken' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/no.js deleted file mode 100644 index ecac2983810..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/no.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'no', { - toolbar: 'Skriv ut' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/pl.js deleted file mode 100644 index 86b5857efee..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/pl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'pl', { - toolbar: 'Drukuj' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/pt-br.js deleted file mode 100644 index 51ef5967eed..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/pt-br.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'pt-br', { - toolbar: 'Imprimir' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/pt.js deleted file mode 100644 index e10f38922be..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/pt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'pt', { - toolbar: 'Imprimir' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ro.js deleted file mode 100644 index bac3032a273..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ro.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'ro', { - toolbar: 'Printează' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ru.js deleted file mode 100644 index df3948401c8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ru.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'ru', { - toolbar: 'Печать' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/si.js deleted file mode 100644 index a0a0f4b5c34..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/si.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'si', { - toolbar: 'මුද්‍රණය කරන්න' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sk.js deleted file mode 100644 index 5dfdc2ce492..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'sk', { - toolbar: 'Tlač' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sl.js deleted file mode 100644 index 473cc636b2c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'sl', { - toolbar: 'Natisni' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sq.js deleted file mode 100644 index 2729d949e53..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sq.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'sq', { - toolbar: 'Shtype' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sr-latn.js deleted file mode 100644 index 8376cf29ccc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sr-latn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'sr-latn', { - toolbar: 'Štampa' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sr.js deleted file mode 100644 index a5ba4ad30be..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'sr', { - toolbar: 'Штампа' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sv.js deleted file mode 100644 index 193069ef824..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/sv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'sv', { - toolbar: 'Skriv ut' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/th.js deleted file mode 100644 index f24f7d293a5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/th.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'th', { - toolbar: 'สั่งพิมพ์' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/tr.js deleted file mode 100644 index 5c804105176..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/tr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'tr', { - toolbar: 'Yazdır' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ug.js deleted file mode 100644 index db85fab461a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/ug.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'ug', { - toolbar: 'باس ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/uk.js deleted file mode 100644 index 64957a35c6e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/uk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'uk', { - toolbar: 'Друк' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/vi.js deleted file mode 100644 index 8f03df93dd5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/vi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'vi', { - toolbar: 'In' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/zh-cn.js deleted file mode 100644 index 620452a799e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/zh-cn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'zh-cn', { - toolbar: '打印' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/zh.js deleted file mode 100644 index 7628b1f6de0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/zh.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'print', 'zh', { - toolbar: '列印' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/plugin.js deleted file mode 100644 index e77808ec145..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/print/plugin.js +++ /dev/null @@ -1,45 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview Print Plugin - */ - -CKEDITOR.plugins.add( 'print', { - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - icons: 'print,', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - init: function( editor ) { - // Print plugin isn't available in inline mode yet. - if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE ) - return; - - var pluginName = 'print'; - - // Register the command. - var command = editor.addCommand( pluginName, CKEDITOR.plugins.print ); - - // Register the toolbar button. - editor.ui.addButton && editor.ui.addButton( 'Print', { - label: editor.lang.print.toolbar, - command: pluginName, - toolbar: 'document,50' - } ); - } -} ); - -CKEDITOR.plugins.print = { - exec: function( editor ) { - if ( CKEDITOR.env.opera ) - return; - else if ( CKEDITOR.env.gecko ) - editor.window.$.print(); - else - editor.document.$.execCommand( "Print" ); - }, - canUndo: false, - readOnly: 1, - modes: { wysiwyg: !( CKEDITOR.env.opera ) } // It is imposible to print the inner document in Opera. -}; diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/icons/hidpi/removeformat.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/icons/hidpi/removeformat.png deleted file mode 100644 index 910b0a3c8f5..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/icons/hidpi/removeformat.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/icons/removeformat.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/icons/removeformat.png deleted file mode 100644 index 1bc9b38601a..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/icons/removeformat.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/af.js deleted file mode 100644 index af433e6a600..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/af.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'af', { - toolbar: 'Verwyder opmaak' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ar.js deleted file mode 100644 index 8895c0f454e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ar.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'ar', { - toolbar: 'إزالة التنسيقات' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/bg.js deleted file mode 100644 index b53cb875567..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/bg.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'bg', { - toolbar: 'Премахване на форматирането' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/bn.js deleted file mode 100644 index c18984124ab..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/bn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'bn', { - toolbar: 'ফরমেট সরাও' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/bs.js deleted file mode 100644 index 333e6269e9b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/bs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'bs', { - toolbar: 'Poništi format' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ca.js deleted file mode 100644 index b079ef48e72..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'ca', { - toolbar: 'Elimina Format' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/cs.js deleted file mode 100644 index e9ce318d592..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/cs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'cs', { - toolbar: 'Odstranit formátování' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/cy.js deleted file mode 100644 index 46337bbbaa5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/cy.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'cy', { - toolbar: 'Tynnu Fformat' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/da.js deleted file mode 100644 index 8ad3e26bbc0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/da.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'da', { - toolbar: 'Fjern formatering' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/de.js deleted file mode 100644 index 1b44705a05c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/de.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'de', { - toolbar: 'Formatierungen entfernen' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/el.js deleted file mode 100644 index f53565b84f6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/el.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'el', { - toolbar: 'Εκκαθάριση Μορφοποίησης' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-au.js deleted file mode 100644 index 8af1299ee8f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-au.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'en-au', { - toolbar: 'Remove Format' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-ca.js deleted file mode 100644 index 10b8b92168c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'en-ca', { - toolbar: 'Remove Format' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-gb.js deleted file mode 100644 index b7989952e80..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-gb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'en-gb', { - toolbar: 'Remove Format' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en.js deleted file mode 100644 index a41396214b3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'en', { - toolbar: 'Remove Format' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/eo.js deleted file mode 100644 index e40d303ae7a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/eo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'eo', { - toolbar: 'Forigi Formaton' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/es.js deleted file mode 100644 index dca483a6089..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/es.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'es', { - toolbar: 'Eliminar Formato' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/et.js deleted file mode 100644 index 137b2627af4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/et.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'et', { - toolbar: 'Vormingu eemaldamine' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/eu.js deleted file mode 100644 index 0db92808a7c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/eu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'eu', { - toolbar: 'Kendu Formatua' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fa.js deleted file mode 100644 index 31378a4dffd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fa.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'fa', { - toolbar: 'برداشتن فرمت' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fi.js deleted file mode 100644 index e2760e2f7db..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'fi', { - toolbar: 'Poista muotoilu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fo.js deleted file mode 100644 index 19b84b1ed82..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'fo', { - toolbar: 'Strika sniðgeving' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fr-ca.js deleted file mode 100644 index 4343a0e61ff..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fr-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'fr-ca', { - toolbar: 'Supprimer le formatage' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fr.js deleted file mode 100644 index 8fb45d52032..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/fr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'fr', { - toolbar: 'Supprimer la mise en forme' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/gl.js deleted file mode 100644 index 4abf0ab563f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/gl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'gl', { - toolbar: 'Retirar o formato' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/gu.js deleted file mode 100644 index a19dc35e057..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/gu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'gu', { - toolbar: 'ફૉર્મટ કાઢવું' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/he.js deleted file mode 100644 index 3658b058cb1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/he.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'he', { - toolbar: 'הסרת העיצוב' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/hi.js deleted file mode 100644 index 3c23586a3f1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/hi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'hi', { - toolbar: 'फ़ॉर्मैट हटायें' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/hr.js deleted file mode 100644 index a452ac718d6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/hr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'hr', { - toolbar: 'Ukloni formatiranje' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/hu.js deleted file mode 100644 index b3d0833ee72..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/hu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'hu', { - toolbar: 'Formázás eltávolítása' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/id.js deleted file mode 100644 index fc7e0cf2e42..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/id.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'id', { - toolbar: 'Hapus Format' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/is.js deleted file mode 100644 index 24bd7096175..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/is.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'is', { - toolbar: 'Fjarlægja snið' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/it.js deleted file mode 100644 index fefb9d2dee1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/it.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'it', { - toolbar: 'Elimina formattazione' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ja.js deleted file mode 100644 index e1fa1693266..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ja.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'ja', { - toolbar: '書式を解除' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ka.js deleted file mode 100644 index fe7081c318e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ka.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'ka', { - toolbar: 'ფორმატირების მოხსნა' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/km.js deleted file mode 100644 index 1b889d04bbd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/km.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'km', { - toolbar: 'ជម្រះ​ទ្រង់​ទ្រាយ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ko.js deleted file mode 100644 index e6338cbb711..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ko.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'ko', { - toolbar: '포맷 지우기' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ku.js deleted file mode 100644 index 12f562ae5db..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ku.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'ku', { - toolbar: 'لابردنی داڕشتەکە' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/lt.js deleted file mode 100644 index 156ad64879f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/lt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'lt', { - toolbar: 'Panaikinti formatą' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/lv.js deleted file mode 100644 index 3511ee81774..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/lv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'lv', { - toolbar: 'Noņemt stilus' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/mk.js deleted file mode 100644 index 62804036480..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/mk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'mk', { - toolbar: 'Remove Format' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/mn.js deleted file mode 100644 index 1402bca12c8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/mn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'mn', { - toolbar: 'Параргафын загварыг авч хаях' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ms.js deleted file mode 100644 index cc872b3d06a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ms.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'ms', { - toolbar: 'Buang Format' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/nb.js deleted file mode 100644 index d42e07e86c8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/nb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'nb', { - toolbar: 'Fjern formatering' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/nl.js deleted file mode 100644 index 223c6833ed3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/nl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'nl', { - toolbar: 'Opmaak verwijderen' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/no.js deleted file mode 100644 index f6b6004c0ee..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/no.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'no', { - toolbar: 'Fjern formatering' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/pl.js deleted file mode 100644 index 52de13ef8e2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/pl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'pl', { - toolbar: 'Usuń formatowanie' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/pt-br.js deleted file mode 100644 index 5d26f506bbd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/pt-br.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'pt-br', { - toolbar: 'Remover Formatação' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/pt.js deleted file mode 100644 index e0f48babc15..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/pt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'pt', { - toolbar: 'Eliminar Formato' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ro.js deleted file mode 100644 index e8e2408ad95..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ro.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'ro', { - toolbar: 'Înlătură formatarea' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ru.js deleted file mode 100644 index a2b4665dd47..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ru.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'ru', { - toolbar: 'Убрать форматирование' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/si.js deleted file mode 100644 index 26a33d21c03..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/si.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'si', { - toolbar: 'සැකසීම වෙනස් කරන්න' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sk.js deleted file mode 100644 index 198c5519154..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'sk', { - toolbar: 'Odstrániť formátovanie' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sl.js deleted file mode 100644 index 92b3a302b4c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'sl', { - toolbar: 'Odstrani oblikovanje' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sq.js deleted file mode 100644 index 9c23fed4afc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sq.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'sq', { - toolbar: 'Largo Formatin' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sr-latn.js deleted file mode 100644 index 1b379978682..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sr-latn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'sr-latn', { - toolbar: 'Ukloni formatiranje' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sr.js deleted file mode 100644 index d6ddbd90386..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'sr', { - toolbar: 'Уклони форматирање' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sv.js deleted file mode 100644 index 186fc760002..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/sv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'sv', { - toolbar: 'Radera formatering' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/th.js deleted file mode 100644 index 6fea757b4ab..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/th.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'th', { - toolbar: 'ล้างรูปแบบ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/tr.js deleted file mode 100644 index d6017af6c6e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/tr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'tr', { - toolbar: 'Biçimi Kaldır' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ug.js deleted file mode 100644 index 19e13c378ca..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/ug.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'ug', { - toolbar: 'پىچىمنى چىقىرىۋەت' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/uk.js deleted file mode 100644 index b742d5319c7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/uk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'uk', { - toolbar: 'Очистити форматування' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/vi.js deleted file mode 100644 index 669315d2437..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/vi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'vi', { - toolbar: 'Xoá định dạng' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/zh-cn.js deleted file mode 100644 index 45e134cf5ff..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/zh-cn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'zh-cn', { - toolbar: '清除格式' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/zh.js deleted file mode 100644 index e3c05d51be8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/zh.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'removeformat', 'zh', { - toolbar: '移除格式' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/plugin.js deleted file mode 100644 index 6b36850d18c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/plugin.js +++ /dev/null @@ -1,174 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -CKEDITOR.plugins.add( 'removeformat', { - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - icons: 'removeformat', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - init: function( editor ) { - editor.addCommand( 'removeFormat', CKEDITOR.plugins.removeformat.commands.removeformat ); - editor.ui.addButton && editor.ui.addButton( 'RemoveFormat', { - label: editor.lang.removeformat.toolbar, - command: 'removeFormat', - toolbar: 'cleanup,10' - } ); - } -} ); - -CKEDITOR.plugins.removeformat = { - commands: { - removeformat: { - exec: function( editor ) { - var tagsRegex = editor._.removeFormatRegex || ( editor._.removeFormatRegex = new RegExp( '^(?:' + editor.config.removeFormatTags.replace( /,/g, '|' ) + ')$', 'i' ) ); - - var removeAttributes = editor._.removeAttributes || ( editor._.removeAttributes = editor.config.removeFormatAttributes.split( ',' ) ); - - var filter = CKEDITOR.plugins.removeformat.filter; - var ranges = editor.getSelection().getRanges( 1 ), - iterator = ranges.createIterator(), - range; - - while ( ( range = iterator.getNextRange() ) ) { - if ( !range.collapsed ) - range.enlarge( CKEDITOR.ENLARGE_ELEMENT ); - - // Bookmark the range so we can re-select it after processing. - var bookmark = range.createBookmark(), - // The style will be applied within the bookmark boundaries. - startNode = bookmark.startNode, - endNode = bookmark.endNode, - currentNode; - - // We need to check the selection boundaries (bookmark spans) to break - // the code in a way that we can properly remove partially selected nodes. - // For example, removing a style from - // This is [some text to show the] problem - // ... where [ and ] represent the selection, must result: - // This is [some text to show the] problem - // The strategy is simple, we just break the partial nodes before the - // removal logic, having something that could be represented this way: - // This is [some text to show the] problem - - var breakParent = function( node ) { - // Let's start checking the start boundary. - var path = editor.elementPath( node ), - pathElements = path.elements; - - for ( var i = 1, pathElement; pathElement = pathElements[ i ]; i++ ) { - if ( pathElement.equals( path.block ) || pathElement.equals( path.blockLimit ) ) - break; - - // If this element can be removed (even partially). - if ( tagsRegex.test( pathElement.getName() ) && filter( editor, pathElement ) ) - node.breakParent( pathElement ); - } - }; - - breakParent( startNode ); - if ( endNode ) { - breakParent( endNode ); - - // Navigate through all nodes between the bookmarks. - currentNode = startNode.getNextSourceNode( true, CKEDITOR.NODE_ELEMENT ); - - while ( currentNode ) { - // If we have reached the end of the selection, stop looping. - if ( currentNode.equals( endNode ) ) - break; - - // Cache the next node to be processed. Do it now, because - // currentNode may be removed. - var nextNode = currentNode.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT ); - - // This node must not be a fake element. - if ( !( currentNode.getName() == 'img' && currentNode.data( 'cke-realelement' ) ) && filter( editor, currentNode ) ) { - // Remove elements nodes that match with this style rules. - if ( tagsRegex.test( currentNode.getName() ) ) - currentNode.remove( 1 ); - else { - currentNode.removeAttributes( removeAttributes ); - editor.fire( 'removeFormatCleanup', currentNode ); - } - } - - currentNode = nextNode; - } - } - - range.moveToBookmark( bookmark ); - } - - // The selection path may not changed, but we should force a selection - // change event to refresh command states, due to the above attribution change. (#9238) - editor.forceNextSelectionCheck(); - editor.getSelection().selectRanges( ranges ); - } - } - }, - - // Perform the remove format filters on the passed element. - // @param {CKEDITOR.editor} editor - // @param {CKEDITOR.dom.element} element - filter: function( editor, element ) { - // If editor#addRemoveFotmatFilter hasn't been executed yet value is not initialized. - var filters = editor._.removeFormatFilters || []; - for ( var i = 0; i < filters.length; i++ ) { - if ( filters[ i ]( element ) === false ) - return false; - } - return true; - } -}; - -/** - * Add to a collection of functions to decide whether a specific - * element should be considered as formatting element and thus - * could be removed during `removeFormat` command. - * - * **Note:** Only available with the existence of `removeformat` plugin. - * - * // Don't remove empty span. - * editor.addRemoveFormatFilter( function( element ) { - * return !( element.is( 'span' ) && CKEDITOR.tools.isEmpty( element.getAttributes() ) ); - * } ); - * - * @since 3.3 - * @member CKEDITOR.editor - * @param {Function} func The function to be called, which will be passed a {CKEDITOR.dom.element} element to test. - */ -CKEDITOR.editor.prototype.addRemoveFormatFilter = function( func ) { - if ( !this._.removeFormatFilters ) - this._.removeFormatFilters = []; - - this._.removeFormatFilters.push( func ); -}; - -/** - * A comma separated list of elements to be removed when executing the `remove - * format` command. Note that only inline elements are allowed. - * - * @cfg - * @member CKEDITOR.config - */ -CKEDITOR.config.removeFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,s,samp,small,span,strike,strong,sub,sup,tt,u,var'; - -/** - * A comma separated list of elements attributes to be removed when executing - * the `remove format` command. - * - * @cfg - * @member CKEDITOR.config - */ -CKEDITOR.config.removeFormatAttributes = 'class,style,lang,width,height,align,hspace,valign'; - -/** - * Fired after an element was cleaned by the removeFormat plugin. - * - * @event removeFormatCleanup - * @member CKEDITOR.editor - * @param {CKEDITOR.editor} editor This editor instance. - * @param data - * @param {CKEDITOR.dom.element} data.element The element that was cleaned up. - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/resize/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/resize/plugin.js deleted file mode 100644 index 7ff173e730b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/resize/plugin.js +++ /dev/null @@ -1,169 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -CKEDITOR.plugins.add( 'resize', { - init: function( editor ) { - var config = editor.config; - var spaceId = editor.ui.spaceId( 'resizer' ); - - // Resize in the same direction of chrome, - // which is identical to dir of editor element. (#6614) - var resizeDir = editor.element ? editor.element.getDirection( 1 ) : 'ltr'; - - !config.resize_dir && ( config.resize_dir = 'vertical' ); - ( config.resize_maxWidth == undefined ) && ( config.resize_maxWidth = 3000 ); - ( config.resize_maxHeight == undefined ) && ( config.resize_maxHeight = 3000 ); - ( config.resize_minWidth == undefined ) && ( config.resize_minWidth = 750 ); - ( config.resize_minHeight == undefined ) && ( config.resize_minHeight = 250 ); - - if ( config.resize_enabled !== false ) { - var container = null, - origin, startSize, - resizeHorizontal = ( config.resize_dir == 'both' || config.resize_dir == 'horizontal' ) && ( config.resize_minWidth != config.resize_maxWidth ), - resizeVertical = ( config.resize_dir == 'both' || config.resize_dir == 'vertical' ) && ( config.resize_minHeight != config.resize_maxHeight ); - - function dragHandler( evt ) { - var dx = evt.data.$.screenX - origin.x, - dy = evt.data.$.screenY - origin.y, - width = startSize.width, - height = startSize.height, - internalWidth = width + dx * ( resizeDir == 'rtl' ? -1 : 1 ), - internalHeight = height + dy; - - if ( resizeHorizontal ) - width = Math.max( config.resize_minWidth, Math.min( internalWidth, config.resize_maxWidth ) ); - - if ( resizeVertical ) - height = Math.max( config.resize_minHeight, Math.min( internalHeight, config.resize_maxHeight ) ); - - // DO NOT impose fixed size with single direction resize. (#6308) - editor.resize( resizeHorizontal ? width : null, height ); - } - - function dragEndHandler( evt ) { - CKEDITOR.document.removeListener( 'mousemove', dragHandler ); - CKEDITOR.document.removeListener( 'mouseup', dragEndHandler ); - - if ( editor.document ) { - editor.document.removeListener( 'mousemove', dragHandler ); - editor.document.removeListener( 'mouseup', dragEndHandler ); - } - } - - var mouseDownFn = CKEDITOR.tools.addFunction( function( $event ) { - if ( !container ) - container = editor.getResizable(); - - startSize = { width: container.$.offsetWidth || 0, height: container.$.offsetHeight || 0 }; - origin = { x: $event.screenX, y: $event.screenY }; - - config.resize_minWidth > startSize.width && ( config.resize_minWidth = startSize.width ); - config.resize_minHeight > startSize.height && ( config.resize_minHeight = startSize.height ); - - CKEDITOR.document.on( 'mousemove', dragHandler ); - CKEDITOR.document.on( 'mouseup', dragEndHandler ); - - if ( editor.document ) { - editor.document.on( 'mousemove', dragHandler ); - editor.document.on( 'mouseup', dragEndHandler ); - } - - $event.preventDefault && $event.preventDefault(); - } ); - - editor.on( 'destroy', function() { - CKEDITOR.tools.removeFunction( mouseDownFn ); - } ); - - editor.on( 'uiSpace', function( event ) { - if ( event.data.space == 'bottom' ) { - var direction = ''; - if ( resizeHorizontal && !resizeVertical ) - direction = ' cke_resizer_horizontal'; - if ( !resizeHorizontal && resizeVertical ) - direction = ' cke_resizer_vertical'; - - var resizerHtml = - '' + - // BLACK LOWER RIGHT TRIANGLE (ltr) - // BLACK LOWER LEFT TRIANGLE (rtl) - ( resizeDir == 'ltr' ? '\u25E2' : '\u25E3' ) + - ''; - - // Always sticks the corner of botttom space. - resizeDir == 'ltr' && direction == 'ltr' ? event.data.html += resizerHtml : event.data.html = resizerHtml + event.data.html; - } - }, editor, null, 100 ); - - // Toggle the visibility of the resizer when an editor is being maximized or minimized. - editor.on( 'maximize', function( event ) { - editor.ui.space( 'resizer' )[ event.data == CKEDITOR.TRISTATE_ON ? 'hide' : 'show' ](); - } ); - } - } -} ); - -/** - * The minimum editor width, in pixels, when resizing the editor interface by using the resize handle. - * Note: It falls back to editor's actual width if it is smaller than the default value. - * - * config.resize_minWidth = 500; - * - * @cfg {Number} [resize_minWidth=750] - * @member CKEDITOR.config - */ - -/** - * The minimum editor height, in pixels, when resizing the editor interface by using the resize handle. - * Note: It falls back to editor's actual height if it is smaller than the default value. - * - * config.resize_minHeight = 600; - * - * @cfg {Number} [resize_minHeight=250] - * @member CKEDITOR.config - */ - -/** - * The maximum editor width, in pixels, when resizing the editor interface by using the resize handle. - * - * config.resize_maxWidth = 750; - * - * @cfg {Number} [resize_maxWidth=3000] - * @member CKEDITOR.config - */ - -/** - * The maximum editor height, in pixels, when resizing the editor interface by using the resize handle. - * - * config.resize_maxHeight = 600; - * - * @cfg {Number} [resize_maxHeight=3000] - * @member CKEDITOR.config - */ - -/** - * Whether to enable the resizing feature. If this feature is disabled, the resize handle will not be visible. - * - * config.resize_enabled = false; - * - * @cfg {Boolean} [resize_enabled=true] - * @member CKEDITOR.config - */ - -/** - * The dimensions for which the editor resizing is enabled. Possible values - * are `both`, `vertical`, and `horizontal`. - * - * config.resize_dir = 'both'; - * - * @since 3.3 - * @cfg {String} [resize_dir='vertical'] - * @member CKEDITOR.config - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/richcombo/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/richcombo/plugin.js deleted file mode 100644 index 49d0e9d647b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/richcombo/plugin.js +++ /dev/null @@ -1,440 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -CKEDITOR.plugins.add( 'richcombo', { - requires: 'floatpanel,listblock,button', - - beforeInit: function( editor ) { - editor.ui.addHandler( CKEDITOR.UI_RICHCOMBO, CKEDITOR.ui.richCombo.handler ); - } -} ); - -( function() { - var template = '' + - '{label}' + - '= 10900 && !CKEDITOR.env.hc ? '' : '" href="javascript:void(\'{titleJs}\')"' ) + - ' hidefocus="true"' + - ' role="button"' + - ' aria-labelledby="{id}_label"' + - ' aria-haspopup="true"'; - - // Some browsers don't cancel key events in the keydown but in the - // keypress. - // TODO: Check if really needed for Gecko+Mac. - if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) ) - template += ' onkeypress="return false;"'; - - // With Firefox, we need to force the button to redraw, otherwise it - // will remain in the focus state. - if ( CKEDITOR.env.gecko ) - template += ' onblur="this.style.cssText = this.style.cssText;"'; - - template += - ' onkeydown="return CKEDITOR.tools.callFunction({keydownFn},event,this);"' + - ' onmousedown="return CKEDITOR.tools.callFunction({mousedownFn},event);" ' + - ' onfocus="return CKEDITOR.tools.callFunction({focusFn},event);" ' + - ( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) + // #188 - '="CKEDITOR.tools.callFunction({clickFn},this);return false;">' + - '{label}' + - '' + - '' + - // BLACK DOWN-POINTING TRIANGLE - ( CKEDITOR.env.hc ? '▼' : CKEDITOR.env.air ? ' ' : '' ) + - '' + - '' + - '' + - ''; - - var rcomboTpl = CKEDITOR.addTemplate( 'combo', template ); - - /** - * Button UI element. - * - * @readonly - * @property {String} [='richcombo'] - * @member CKEDITOR - */ - CKEDITOR.UI_RICHCOMBO = 'richcombo'; - - /** - * @class - * @todo - */ - CKEDITOR.ui.richCombo = CKEDITOR.tools.createClass( { - $: function( definition ) { - // Copy all definition properties to this object. - CKEDITOR.tools.extend( this, definition, - // Set defaults. - { - // The combo won't participate in toolbar grouping. - canGroup: false, - title: definition.label, - modes: { wysiwyg: 1 }, - editorFocus: 1 - } ); - - // We don't want the panel definition in this object. - var panelDefinition = this.panel || {}; - delete this.panel; - - this.id = CKEDITOR.tools.getNextNumber(); - - this.document = ( panelDefinition.parent && panelDefinition.parent.getDocument() ) || CKEDITOR.document; - - panelDefinition.className = 'cke_combopanel'; - panelDefinition.block = { - multiSelect: panelDefinition.multiSelect, - attributes: panelDefinition.attributes - }; - panelDefinition.toolbarRelated = true; - - this._ = { - panelDefinition: panelDefinition, - items: {} - }; - }, - - proto: { - renderHtml: function( editor ) { - var output = []; - this.render( editor, output ); - return output.join( '' ); - }, - - /** - * Renders the combo. - * - * @param {CKEDITOR.editor} editor The editor instance which this button is - * to be used by. - * @param {Array} output The output array to which append the HTML relative - * to this button. - */ - render: function( editor, output ) { - var env = CKEDITOR.env; - - var id = 'cke_' + this.id; - var clickFn = CKEDITOR.tools.addFunction( function( el ) { - // Restore locked selection in Opera. - if ( selLocked ) { - editor.unlockSelection( 1 ); - selLocked = 0; - } - instance.execute( el ); - }, this ); - - var combo = this; - var instance = { - id: id, - combo: this, - focus: function() { - var element = CKEDITOR.document.getById( id ).getChild( 1 ); - element.focus(); - }, - execute: function( el ) { - var _ = combo._; - - if ( _.state == CKEDITOR.TRISTATE_DISABLED ) - return; - - combo.createPanel( editor ); - - if ( _.on ) { - _.panel.hide(); - return; - } - - combo.commit(); - var value = combo.getValue(); - if ( value ) - _.list.mark( value ); - else - _.list.unmarkAll(); - - _.panel.showBlock( combo.id, new CKEDITOR.dom.element( el ), 4 ); - }, - clickFn: clickFn - }; - - function updateState() { - var state = this.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED; - - if ( editor.readOnly && !this.readOnly ) - state = CKEDITOR.TRISTATE_DISABLED; - - this.setState( state ); - this.setValue( '' ); - - // Let plugin to disable button. - if ( state != CKEDITOR.TRISTATE_DISABLED && this.refresh ) - this.refresh(); - } - - // Update status when activeFilter, mode or readOnly changes. - editor.on( 'activeFilterChange', updateState, this ); - editor.on( 'mode', updateState, this ); - // If this combo is sensitive to readOnly state, update it accordingly. - !this.readOnly && editor.on( 'readOnly', updateState, this ); - - var keyDownFn = CKEDITOR.tools.addFunction( function( ev, element ) { - ev = new CKEDITOR.dom.event( ev ); - - var keystroke = ev.getKeystroke(); - - // ARROW-DOWN - // This call is duplicated in plugins/toolbar/plugin.js in itemKeystroke(). - // Move focus to the first element after drop down was opened by the arrow down key. - if ( keystroke == 40 ) { - editor.once( 'panelShow', function( evt ) { - evt.data._.panel._.currentBlock.onKeyDown( 40 ); - } ); - } - - switch ( keystroke ) { - case 13: // ENTER - case 32: // SPACE - case 40: // ARROW-DOWN - // Show panel - CKEDITOR.tools.callFunction( clickFn, element ); - break; - default: - // Delegate the default behavior to toolbar button key handling. - instance.onkey( instance, keystroke ); - } - - // Avoid subsequent focus grab on editor document. - ev.preventDefault(); - } ); - - var focusFn = CKEDITOR.tools.addFunction( function() { - instance.onfocus && instance.onfocus(); - } ); - - var selLocked = 0; - var mouseDownFn = CKEDITOR.tools.addFunction( function() { - // Opera: lock to prevent loosing editable text selection when clicking on button. - if ( CKEDITOR.env.opera ) { - var edt = editor.editable(); - if ( edt.isInline() && edt.hasFocus ) { - editor.lockSelection(); - selLocked = 1; - } - } - } ); - - // For clean up - instance.keyDownFn = keyDownFn; - - var params = { - id: id, - name: this.name || this.command, - label: this.label, - title: this.title, - cls: this.className || '', - titleJs: env.gecko && env.version >= 10900 && !env.hc ? '' : ( this.title || '' ).replace( "'", '' ), - keydownFn: keyDownFn, - mousedownFn: mouseDownFn, - focusFn: focusFn, - clickFn: clickFn - }; - - rcomboTpl.output( params, output ); - - if ( this.onRender ) - this.onRender(); - - return instance; - }, - - createPanel: function( editor ) { - if ( this._.panel ) - return; - - var panelDefinition = this._.panelDefinition, - panelBlockDefinition = this._.panelDefinition.block, - panelParentElement = panelDefinition.parent || CKEDITOR.document.getBody(), - namedPanelCls = 'cke_combopanel__' + this.name, - panel = new CKEDITOR.ui.floatPanel( editor, panelParentElement, panelDefinition ), - list = panel.addListBlock( this.id, panelBlockDefinition ), - me = this; - - panel.onShow = function() { - this.element.addClass( namedPanelCls ); - - me.setState( CKEDITOR.TRISTATE_ON ); - - me._.on = 1; - - me.editorFocus && !editor.focusManager.hasFocus && editor.focus(); - - if ( me.onOpen ) - me.onOpen(); - - // The "panelShow" event is fired assinchronously, after the - // onShow method call. - editor.once( 'panelShow', function() { - list.focus( !list.multiSelect && me.getValue() ); - } ); - }; - - panel.onHide = function( preventOnClose ) { - this.element.removeClass( namedPanelCls ); - - me.setState( me.modes && me.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED ); - - me._.on = 0; - - if ( !preventOnClose && me.onClose ) - me.onClose(); - }; - - panel.onEscape = function() { - // Hide drop-down with focus returned. - panel.hide( 1 ); - }; - - list.onClick = function( value, marked ) { - - if ( me.onClick ) - me.onClick.call( me, value, marked ); - - panel.hide(); - }; - - this._.panel = panel; - this._.list = list; - - panel.getBlock( this.id ).onHide = function() { - me._.on = 0; - me.setState( CKEDITOR.TRISTATE_OFF ); - }; - - if ( this.init ) - this.init(); - }, - - setValue: function( value, text ) { - this._.value = value; - - var textElement = this.document.getById( 'cke_' + this.id + '_text' ); - if ( textElement ) { - if ( !( value || text ) ) { - text = this.label; - textElement.addClass( 'cke_combo_inlinelabel' ); - } else - textElement.removeClass( 'cke_combo_inlinelabel' ); - - textElement.setText( typeof text != 'undefined' ? text : value ); - } - }, - - getValue: function() { - return this._.value || ''; - }, - - unmarkAll: function() { - this._.list.unmarkAll(); - }, - - mark: function( value ) { - this._.list.mark( value ); - }, - - hideItem: function( value ) { - this._.list.hideItem( value ); - }, - - hideGroup: function( groupTitle ) { - this._.list.hideGroup( groupTitle ); - }, - - showAll: function() { - this._.list.showAll(); - }, - - add: function( value, html, text ) { - this._.items[ value ] = text || value; - this._.list.add( value, html, text ); - }, - - startGroup: function( title ) { - this._.list.startGroup( title ); - }, - - commit: function() { - if ( !this._.committed ) { - this._.list.commit(); - this._.committed = 1; - CKEDITOR.ui.fire( 'ready', this ); - } - this._.committed = 1; - }, - - setState: function( state ) { - if ( this._.state == state ) - return; - - var el = this.document.getById( 'cke_' + this.id ); - el.setState( state, 'cke_combo' ); - - state == CKEDITOR.TRISTATE_DISABLED ? - el.setAttribute( 'aria-disabled', true ) : - el.removeAttribute( 'aria-disabled' ); - - this._.state = state; - }, - - getState: function() { - return this._.state; - }, - - enable: function() { - if ( this._.state == CKEDITOR.TRISTATE_DISABLED ) - this.setState( this._.lastState ); - }, - - disable: function() { - if ( this._.state != CKEDITOR.TRISTATE_DISABLED ) { - this._.lastState = this._.state; - this.setState( CKEDITOR.TRISTATE_DISABLED ); - } - } - }, - - /** - * Represents richCombo handler object. - * - * @class CKEDITOR.ui.richCombo.handler - * @singleton - * @extends CKEDITOR.ui.handlerDefinition - */ - statics: { - handler: { - /** - * Transforms a richCombo definition in a {@link CKEDITOR.ui.richCombo} instance. - * - * @param {Object} definition - * @returns {CKEDITOR.ui.richCombo} - */ - create: function( definition ) { - return new CKEDITOR.ui.richCombo( definition ); - } - } - } - } ); - - /** - * @param {String} name - * @param {Object} definition - * @member CKEDITOR.ui - * @todo - */ - CKEDITOR.ui.prototype.addRichCombo = function( name, definition ) { - this.add( name, CKEDITOR.UI_RICHCOMBO, definition ); - }; - -} )(); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/icons/hidpi/save.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/icons/hidpi/save.png deleted file mode 100644 index fc59f677aa3..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/icons/hidpi/save.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/icons/save.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/icons/save.png deleted file mode 100644 index 51b8f6ee11e..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/icons/save.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/af.js deleted file mode 100644 index 000d2db49fe..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/af.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'af', { - toolbar: 'Bewaar' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ar.js deleted file mode 100644 index ef9575451fd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ar.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'ar', { - toolbar: 'حفظ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/bg.js deleted file mode 100644 index f2f70dfe995..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/bg.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'bg', { - toolbar: 'Запис' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/bn.js deleted file mode 100644 index 6c1e37661f0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/bn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'bn', { - toolbar: 'সংরক্ষন কর' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/bs.js deleted file mode 100644 index 77595cb4612..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/bs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'bs', { - toolbar: 'Snimi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ca.js deleted file mode 100644 index 9ebab18fec2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'ca', { - toolbar: 'Desa' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/cs.js deleted file mode 100644 index ef4f393c89e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/cs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'cs', { - toolbar: 'Uložit' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/cy.js deleted file mode 100644 index 7b3cbf0e5de..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/cy.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'cy', { - toolbar: 'Cadw' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/da.js deleted file mode 100644 index 56aaed49bcc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/da.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'da', { - toolbar: 'Gem' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/de.js deleted file mode 100644 index a9e48588330..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/de.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'de', { - toolbar: 'Speichern' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/el.js deleted file mode 100644 index 3b5b468df27..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/el.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'el', { - toolbar: 'Αποθήκευση' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en-au.js deleted file mode 100644 index 84aa9703c5a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en-au.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'en-au', { - toolbar: 'Save' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en-ca.js deleted file mode 100644 index 602ef47d6c6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'en-ca', { - toolbar: 'Save' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en-gb.js deleted file mode 100644 index 597f80ba938..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en-gb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'en-gb', { - toolbar: 'Save' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en.js deleted file mode 100644 index 6ab1b9eec64..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/en.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'en', { - toolbar: 'Save' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/eo.js deleted file mode 100644 index 6795247973c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/eo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'eo', { - toolbar: 'Konservi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/es.js deleted file mode 100644 index 1a2a26ede62..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/es.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'es', { - toolbar: 'Guardar' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/et.js deleted file mode 100644 index 71d31b9454e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/et.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'et', { - toolbar: 'Salvestamine' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/eu.js deleted file mode 100644 index 6b9deea8240..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/eu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'eu', { - toolbar: 'Gorde' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fa.js deleted file mode 100644 index e3946bd41bb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fa.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'fa', { - toolbar: 'ذخیره' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fi.js deleted file mode 100644 index a51c4cb13c4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'fi', { - toolbar: 'Tallenna' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fo.js deleted file mode 100644 index 6ded6ebdd56..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'fo', { - toolbar: 'Goym' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fr-ca.js deleted file mode 100644 index 06aae020123..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fr-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'fr-ca', { - toolbar: 'Sauvegarder' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fr.js deleted file mode 100644 index 756ef06268e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/fr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'fr', { - toolbar: 'Enregistrer' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/gl.js deleted file mode 100644 index 97aa7ee6642..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/gl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'gl', { - toolbar: 'Gardar' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/gu.js deleted file mode 100644 index 69bc9145dc4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/gu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'gu', { - toolbar: 'સેવ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/he.js deleted file mode 100644 index 5312f96f739..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/he.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'he', { - toolbar: 'שמירה' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/hi.js deleted file mode 100644 index 47b31b2244d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/hi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'hi', { - toolbar: 'सेव' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/hr.js deleted file mode 100644 index 432d3b22284..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/hr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'hr', { - toolbar: 'Snimi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/hu.js deleted file mode 100644 index bb9a797a01c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/hu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'hu', { - toolbar: 'Mentés' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/id.js deleted file mode 100644 index 294664c94c7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/id.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'id', { - toolbar: 'Simpan' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/is.js deleted file mode 100644 index d7b973aa0b3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/is.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'is', { - toolbar: 'Vista' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/it.js deleted file mode 100644 index 52724b989e9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/it.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'it', { - toolbar: 'Salva' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ja.js deleted file mode 100644 index a19f39bed85..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ja.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'ja', { - toolbar: '保存' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ka.js deleted file mode 100644 index 12236f2cfe7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ka.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'ka', { - toolbar: 'ჩაწერა' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/km.js deleted file mode 100644 index 9f04a3e6152..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/km.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'km', { - toolbar: 'រក្សាទុក' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ko.js deleted file mode 100644 index 57a64332051..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ko.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'ko', { - toolbar: '저장하기' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ku.js deleted file mode 100644 index d20ce581288..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ku.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'ku', { - toolbar: 'پاشکەوتکردن' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/lt.js deleted file mode 100644 index 891b62d5e86..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/lt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'lt', { - toolbar: 'Išsaugoti' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/lv.js deleted file mode 100644 index a9c749561d4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/lv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'lv', { - toolbar: 'Saglabāt' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/mk.js deleted file mode 100644 index be8f27d45ee..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/mk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'mk', { - toolbar: 'Save' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/mn.js deleted file mode 100644 index 99003411a46..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/mn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'mn', { - toolbar: 'Хадгалах' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ms.js deleted file mode 100644 index 94034346660..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ms.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'ms', { - toolbar: 'Simpan' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/nb.js deleted file mode 100644 index 983b598f72b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/nb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'nb', { - toolbar: 'Lagre' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/nl.js deleted file mode 100644 index 915ded9a2ea..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/nl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'nl', { - toolbar: 'Opslaan' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/no.js deleted file mode 100644 index 0d54a159bf6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/no.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'no', { - toolbar: 'Lagre' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/pl.js deleted file mode 100644 index eefec2389bb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/pl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'pl', { - toolbar: 'Zapisz' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/pt-br.js deleted file mode 100644 index 68934b8c09d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/pt-br.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'pt-br', { - toolbar: 'Salvar' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/pt.js deleted file mode 100644 index ac2b9115c8f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/pt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'pt', { - toolbar: 'Guardar' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ro.js deleted file mode 100644 index 7af85d5f8fb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ro.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'ro', { - toolbar: 'Salvează' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ru.js deleted file mode 100644 index 4ced0182e8f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ru.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'ru', { - toolbar: 'Сохранить' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/si.js deleted file mode 100644 index b14424b710c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/si.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'si', { - toolbar: 'ආරක්ෂා කරන්න' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sk.js deleted file mode 100644 index 7e3c4a9ea9f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'sk', { - toolbar: 'Uložiť' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sl.js deleted file mode 100644 index 48e08f3d66d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'sl', { - toolbar: 'Shrani' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sq.js deleted file mode 100644 index e612069f7aa..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sq.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'sq', { - toolbar: 'Ruaje' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sr-latn.js deleted file mode 100644 index 32e92ada523..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sr-latn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'sr-latn', { - toolbar: 'Sačuvaj' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sr.js deleted file mode 100644 index ad837915cab..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'sr', { - toolbar: 'Сачувај' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sv.js deleted file mode 100644 index c33cef115ce..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/sv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'sv', { - toolbar: 'Spara' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/th.js deleted file mode 100644 index e261cb49dc8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/th.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'th', { - toolbar: 'บันทึก' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/tr.js deleted file mode 100644 index 334dd0b49e1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/tr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'tr', { - toolbar: 'Kaydet' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ug.js deleted file mode 100644 index 7784426e556..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/ug.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'ug', { - toolbar: 'ساقلا' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/uk.js deleted file mode 100644 index 372009206ab..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/uk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'uk', { - toolbar: 'Зберегти' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/vi.js deleted file mode 100644 index edbd188c539..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/vi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'vi', { - toolbar: 'Lưu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/zh-cn.js deleted file mode 100644 index 1312bba82c8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/zh-cn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'zh-cn', { - toolbar: '保存' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/zh.js deleted file mode 100644 index d072f7992e4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/lang/zh.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'save', 'zh', { - toolbar: '儲存' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/plugin.js deleted file mode 100644 index 2bd2f0b52df..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/save/plugin.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview The Save plugin. - */ - -( function() { - var saveCmd = { - readOnly: 1, - - exec: function( editor ) { - if ( editor.fire( 'save' ) ) { - var $form = editor.element.$.form; - - if ( $form ) { - try { - $form.submit(); - } catch ( e ) { - // If there's a button named "submit" then the form.submit - // function is masked and can't be called in IE/FF, so we - // call the click() method of that button. - if ( $form.submit.click ) - $form.submit.click(); - } - } - } - } - }; - - var pluginName = 'save'; - - // Register a plugin named "save". - CKEDITOR.plugins.add( pluginName, { - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - icons: 'save', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - init: function( editor ) { - // Save plugin is for replace mode only. - if ( editor.elementMode != CKEDITOR.ELEMENT_MODE_REPLACE ) - return; - - var command = editor.addCommand( pluginName, saveCmd ); - command.modes = { wysiwyg: !!( editor.element.$.form ) }; - - editor.ui.addButton && editor.ui.addButton( 'Save', { - label: editor.lang.save.toolbar, - command: pluginName, - toolbar: 'document,10' - } ); - } - } ); -} )(); - -/** - * Fired when the user clicks the Save button on the editor toolbar. - * This event allows to overwrite the default Save button behavior. - * - * @since 4.2 - * @event save - * @member CKEDITOR.editor - * @param {CKEDITOR.editor} editor This editor instance. - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/LICENSE.md b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/LICENSE.md deleted file mode 100644 index 610c807808b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/LICENSE.md +++ /dev/null @@ -1,28 +0,0 @@ -Software License Agreement -========================== - -**CKEditor SCAYT Plugin** -Copyright © 2012, [CKSource](http://cksource.com) - Frederico Knabben. All rights reserved. - -Licensed under the terms of any of the following licenses at your choice: - -* GNU General Public License Version 2 or later (the "GPL"): - http://www.gnu.org/licenses/gpl.html - -* GNU Lesser General Public License Version 2.1 or later (the "LGPL"): - http://www.gnu.org/licenses/lgpl.html - -* Mozilla Public License Version 1.1 or later (the "MPL"): - http://www.mozilla.org/MPL/MPL-1.1.html - -You are not required to, but if you want to explicitly declare the license you have chosen to be bound to when using, reproducing, modifying and distributing this software, just include a text file titled "legal.txt" in your version of this software, indicating your license choice. - -Sources of Intellectual Property Included in this plugin --------------------------------------------------------- - -Where not otherwise indicated, all plugin content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, the plugin will incorporate work done by developers outside of CKSource with their express permission. - -Trademarks ----------- - -CKEditor is a trademark of CKSource - Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders. diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/README.md b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/README.md deleted file mode 100644 index 3b1ad94cb57..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/README.md +++ /dev/null @@ -1,25 +0,0 @@ -CKEditor SCAYT Plugin -===================== - -This plugin brings Spell Check As You Type (SCAYT) into CKEditor. - -SCAYT is a "installation-less", using the web-services of [WebSpellChecker.net](http://www.webspellchecker.net/). It's an out of the box solution. - -Installation ------------- - -1. Clone/copy this repository contents in a new "plugins/scayt" folder in your CKEditor installation. -2. Enable the "scayt" plugin in the CKEditor configuration file (config.js): - - config.extraPlugins = 'scayt'; - -That's all. SCAYT will appear on the editor toolbar and will be ready to use. - -License -------- - -Licensed under the terms of any of the following licenses at your choice: [GPL](http://www.gnu.org/licenses/gpl.html), [LGPL](http://www.gnu.org/licenses/lgpl.html) and [MPL](http://www.mozilla.org/MPL/MPL-1.1.html). - -See LICENSE.md for more information. - -Developed in cooperation with [WebSpellChecker.net](http://www.webspellchecker.net/). diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/dialogs/options.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/dialogs/options.js deleted file mode 100644 index 2dddc9ce414..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/dialogs/options.js +++ /dev/null @@ -1,473 +0,0 @@ -/** - * @license Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.html or http://ckeditor.com/license - */ - -CKEDITOR.dialog.add( 'scaytcheck', function( editor ) { - var firstLoad = true, - captions, - doc = CKEDITOR.document, - editorName = editor.name, - tags = CKEDITOR.plugins.scayt.getUiTabs( editor ), - i, - contents = [], - userDicActive = 0, - dic_buttons = [ - // [0] contains buttons for creating - "dic_create_" + editorName + ",dic_restore_" + editorName, - // [1] contains buton for manipulation - "dic_rename_" + editorName + ",dic_delete_" + editorName - ], - optionsIds = [ 'mixedCase', 'mixedWithDigits', 'allCaps', 'ignoreDomainNames' ]; - - // common operations - - function getBOMAllOptions() { - if ( typeof document.forms[ "optionsbar_" + editorName ] != "undefined" ) - return document.forms[ "optionsbar_" + editorName ][ "options" ]; - return []; - } - - function getBOMAllLangs() { - if ( typeof document.forms[ "languagesbar_" + editorName ] != "undefined" ) - return document.forms[ "languagesbar_" + editorName ][ "scayt_lang" ]; - return []; - } - - function setCheckedValue( radioObj, newValue ) { - if ( !radioObj ) - return; - var radioLength = radioObj.length; - if ( radioLength == undefined ) { - radioObj.checked = radioObj.value == newValue.toString(); - return; - } - for ( var i = 0; i < radioLength; i++ ) { - radioObj[ i ].checked = false; - if ( radioObj[ i ].value == newValue.toString() ) - radioObj[ i ].checked = true; - } - } - - var lang = editor.lang.scayt; - var tags_contents = [ - { - id: 'options', - label: lang.optionsTab, - elements: [ - { - type: 'html', - id: 'options', - html: '
    ' + - '
    ' + - '
    ' + - ' ' + - ' ' + - '
    ' + - '
    ' + - ' ' + - ' ' + - '
    ' + - '
    ' + - ' ' + - ' ' + - '
    ' + - '
    ' + - ' ' + - ' ' + - '
    ' + - '
    ' - } - ] - }, - { - id: 'langs', - label: lang.languagesTab, - elements: [ - { - type: 'html', - id: 'langs', - html: '
    ' + - '
    ' + - '
    ' + - '
    ' + - '
    ' - } - ] - }, - { - id: 'dictionaries', - label: lang.dictionariesTab, - elements: [ - { - type: 'html', - style: '', - id: 'dictionaries', - html: '
    ' + - '
    ' + - '
    ' + - ' Dictionary name
    ' + - ' ' + - '
    ' + - ' ' + - '
    ' + - '
    ' + - ' ' + - ' ' + - ' ' + - ' ' + - '
    ' + - '
    ' + - '
    ' - } - ] - }, - { - id: 'about', - label: lang.aboutTab, - elements: [ - { - type: 'html', - id: 'about', - style: 'margin: 5px 5px;', - html: '
    ' - } - ] - } - ]; - - var dialogDefiniton = { - title: lang.title, - minWidth: 360, - minHeight: 220, - onShow: function() { - var dialog = this; - dialog.data = editor.fire( 'scaytDialog', {} ); - dialog.options = dialog.data.scayt_control.option(); - dialog.chosed_lang = dialog.sLang = dialog.data.scayt_control.sLang; - - if ( !dialog.data || !dialog.data.scayt || !dialog.data.scayt_control ) { - alert( 'Error loading application service' ); - dialog.hide(); - return; - } - - var stop = 0; - if ( firstLoad ) { - dialog.data.scayt.getCaption( editor.langCode || 'en', function( caps ) { - if ( stop++ > 0 ) // Once only - return; - captions = caps; - init_with_captions.apply( dialog ); - reload.apply( dialog ); - firstLoad = false; - }); - } else - reload.apply( dialog ); - - dialog.selectPage( dialog.data.tab ); - }, - onOk: function() { - var scayt_control = this.data.scayt_control; - scayt_control.option( this.options ); - // Setup language if it was changed. - var csLang = this.chosed_lang; - scayt_control.setLang( csLang ); - scayt_control.refresh(); - }, - onCancel: function() { - var o = getBOMAllOptions(); - for ( var i in o ) - o[ i ].checked = false; - - setCheckedValue( getBOMAllLangs(), "" ); - }, - contents: contents - }; - - var scayt_control = CKEDITOR.plugins.scayt.getScayt( editor ); - - for ( i = 0; i < tags.length; i++ ) { - if ( tags[ i ] == 1 ) - contents[ contents.length ] = tags_contents[ i ]; - } - if ( tags[ 2 ] == 1 ) - userDicActive = 1; - - var init_with_captions = function() { - var dialog = this, - lang_list = dialog.data.scayt.getLangList(), - buttonCaptions = [ 'dic_create', 'dic_delete', 'dic_rename', 'dic_restore' ], - buttonIds = [], - langList = [], - labels = optionsIds, - i; - - // Add buttons titles - if ( userDicActive ) { - for ( i = 0; i < buttonCaptions.length; i++ ) { - buttonIds[ i ] = buttonCaptions[ i ] + "_" + editorName; - doc.getById( buttonIds[ i ] ).setHtml( '' + captions[ 'button_' + buttonCaptions[ i ] ] + '' ); - } - doc.getById( 'dic_info_' + editorName ).setHtml( captions[ 'dic_info' ] ); - } - - // Fill options and dictionary labels. - if ( tags[ 0 ] == 1 ) { - for ( i in labels ) { - var labelCaption = 'label_' + labels[ i ], - labelId = labelCaption + '_' + editorName, - labelElement = doc.getById( labelId ); - - if ( 'undefined' != typeof labelElement && 'undefined' != typeof captions[ labelCaption ] && 'undefined' != typeof dialog.options[ labels[ i ] ] ) { - labelElement.setHtml( captions[ labelCaption ] ); - var labelParent = labelElement.getParent(); - labelParent.$.style.display = "block"; - } - } - } - - var about = '

    ' + - '

    ' + captions[ 'version' ] + window.scayt.getAboutInfo().version.toString() + '

    ' + - '

    ' + captions[ 'about_throwt_copy' ] + '

    '; - - doc.getById( 'scayt_about_' + editorName ).setHtml( about ); - - // Create languages tab. - var createOption = function( option, list ) { - var label = doc.createElement( 'label' ); - label.setAttribute( 'for', 'cke_option' + option ); - label.setStyle('display', 'inline'); - label.setHtml( list[ option ] ); - - if ( dialog.sLang == option ) // Current. - dialog.chosed_lang = option; - - var div = doc.createElement( 'div' ); - var radio = CKEDITOR.dom.element.createFromHtml( '' ); - - radio.on( 'click', function() { - this.$.checked = true; - dialog.chosed_lang = option; - }); - - div.append( radio ); - div.append( label ); - - return { - lang: list[ option ], - code: option, - radio: div - }; - }; - - if ( tags[ 1 ] == 1 ) { - for ( i in lang_list.rtl ) - langList[ langList.length ] = createOption( i, lang_list.ltr ); - - for ( i in lang_list.ltr ) - langList[ langList.length ] = createOption( i, lang_list.ltr ); - - langList.sort( function( lang1, lang2 ) { - return ( lang2.lang > lang1.lang ) ? -1 : 1; - }); - - var fieldL = doc.getById( 'scayt_lcol_' + editorName ), - fieldR = doc.getById( 'scayt_rcol_' + editorName ); - for ( i = 0; i < langList.length; i++ ) { - var field = ( i < langList.length / 2 ) ? fieldL : fieldR; - field.append( langList[ i ].radio ); - } - } - - // user dictionary handlers - var dic = {}; - dic.dic_create = function( el, dic_name, dic_buttons ) { - // comma separated button's ids include repeats if exists - var all_buttons = dic_buttons[ 0 ] + ',' + dic_buttons[ 1 ]; - - var err_massage = captions[ "err_dic_create" ]; - var suc_massage = captions[ "succ_dic_create" ]; - - window.scayt.createUserDictionary( dic_name, function( arg ) { - hide_dic_buttons( all_buttons ); - display_dic_buttons( dic_buttons[ 1 ] ); - suc_massage = suc_massage.replace( "%s", arg.dname ); - dic_success_message( suc_massage ); - }, function( arg ) { - err_massage = err_massage.replace( "%s", arg.dname ); - dic_error_message( err_massage + "( " + ( arg.message || "" ) + ")" ); - }); - - }; - - dic.dic_rename = function( el, dic_name ) { - // - // try to rename dictionary - var err_massage = captions[ "err_dic_rename" ] || ""; - var suc_massage = captions[ "succ_dic_rename" ] || ""; - window.scayt.renameUserDictionary( dic_name, function( arg ) { - suc_massage = suc_massage.replace( "%s", arg.dname ); - set_dic_name( dic_name ); - dic_success_message( suc_massage ); - }, function( arg ) { - err_massage = err_massage.replace( "%s", arg.dname ); - set_dic_name( dic_name ); - dic_error_message( err_massage + "( " + ( arg.message || "" ) + " )" ); - }); - }; - - dic.dic_delete = function( el, dic_name, dic_buttons ) { - var all_buttons = dic_buttons[ 0 ] + ',' + dic_buttons[ 1 ]; - var err_massage = captions[ "err_dic_delete" ]; - var suc_massage = captions[ "succ_dic_delete" ]; - - // try to delete dictionary - window.scayt.deleteUserDictionary( function( arg ) { - suc_massage = suc_massage.replace( "%s", arg.dname ); - hide_dic_buttons( all_buttons ); - display_dic_buttons( dic_buttons[ 0 ] ); - set_dic_name( "" ); // empty input field - dic_success_message( suc_massage ); - }, function( arg ) { - err_massage = err_massage.replace( "%s", arg.dname ); - dic_error_message( err_massage ); - }); - }; - - dic.dic_restore = dialog.dic_restore || - function( el, dic_name, dic_buttons ) { - // try to restore existing dictionary - var all_buttons = dic_buttons[ 0 ] + ',' + dic_buttons[ 1 ]; - var err_massage = captions[ "err_dic_restore" ]; - var suc_massage = captions[ "succ_dic_restore" ]; - - window.scayt.restoreUserDictionary( dic_name, function( arg ) { - suc_massage = suc_massage.replace( "%s", arg.dname ); - hide_dic_buttons( all_buttons ); - display_dic_buttons( dic_buttons[ 1 ] ); - dic_success_message( suc_massage ); - }, function( arg ) { - err_massage = err_massage.replace( "%s", arg.dname ); - dic_error_message( err_massage ); - }); - }; - - function onDicButtonClick( ev ) { - var dic_name = doc.getById( 'dic_name_' + editorName ).getValue(); - if ( !dic_name ) { - dic_error_message( " Dictionary name should not be empty. " ); - return false; - } - try { - var el = ev.data.getTarget().getParent(); - var id = /(dic_\w+)_[\w\d]+/.exec( el.getId() )[ 1 ]; - dic[ id ].apply( null, [ el, dic_name, dic_buttons ] ); - } catch ( err ) { - dic_error_message( " Dictionary error. " ); - } - - return true; - } - - // ** bind event listeners - var arr_buttons = ( dic_buttons[ 0 ] + ',' + dic_buttons[ 1 ] ).split( ',' ), - l; - - for ( i = 0, l = arr_buttons.length; i < l; i += 1 ) { - var dic_button = doc.getById( arr_buttons[ i ] ); - if ( dic_button ) - dic_button.on( 'click', onDicButtonClick, this ); - } - }; - - var reload = function() { - var dialog = this; - // for enabled options tab - if ( tags[ 0 ] == 1 ) { - var opto = getBOMAllOptions(); - - // Animate options. - for ( var k = 0, l = opto.length; k < l; k++ ) { - - var i = opto[ k ].id; - var checkbox = doc.getById( i ); - - if ( checkbox ) { - opto[ k ].checked = false; - //alert (opto[k].removeAttribute) - if ( dialog.options[ i.split( "_" )[ 0 ] ] == 1 ) { - opto[ k ].checked = true; - } - - - // Bind events. Do it only once. - if ( firstLoad ) { - checkbox.on( 'click', function() { - dialog.options[ this.getId().split( "_" )[ 0 ] ] = this.$.checked ? 1 : 0; - }); - } - } - } - } - - //for enabled languages tab - if ( tags[ 1 ] == 1 ) { - var domLang = doc.getById( "cke_option" + dialog.sLang ); - setCheckedValue( domLang.$, dialog.sLang ); - } - - // * user dictionary - if ( userDicActive ) { - window.scayt.getNameUserDictionary( function( o ) { - var dic_name = o.dname; - hide_dic_buttons( dic_buttons[ 0 ] + ',' + dic_buttons[ 1 ] ); - if ( dic_name ) { - doc.getById( 'dic_name_' + editorName ).setValue( dic_name ); - display_dic_buttons( dic_buttons[ 1 ] ); - } else - display_dic_buttons( dic_buttons[ 0 ] ); - - }, function() { - doc.getById( 'dic_name_' + editorName ).setValue( "" ); - }); - dic_success_message( "" ); - } - - }; - - function dic_error_message( m ) { - doc.getById( 'dic_message_' + editorName ).setHtml( '' + m + '' ); - } - - function dic_success_message( m ) { - doc.getById( 'dic_message_' + editorName ).setHtml( '' + m + '' ); - } - - function display_dic_buttons( sIds ) { - sIds = String( sIds ); - var aIds = sIds.split( ',' ); - for ( var i = 0, l = aIds.length; i < l; i += 1 ) - doc.getById( aIds[ i ] ).$.style.display = "inline"; - } - - function hide_dic_buttons( sIds ) { - sIds = String( sIds ); - var aIds = sIds.split( ',' ); - for ( var i = 0, l = aIds.length; i < l; i += 1 ) - doc.getById( aIds[ i ] ).$.style.display = "none"; - } - - function set_dic_name( dic_name ) { - doc.getById( 'dic_name_' + editorName ).$.value = dic_name; - } - - return dialogDefiniton; -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/dialogs/toolbar.css b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/dialogs/toolbar.css deleted file mode 100644 index 861f43e3b47..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +++ /dev/null @@ -1,71 +0,0 @@ -a -{ - text-decoration:none; - padding: 2px 4px 4px 6px; - display : block; - border-width: 1px; - border-style: solid; - margin : 0px; -} - -a.cke_scayt_toogle:hover, -a.cke_scayt_toogle:focus, -a.cke_scayt_toogle:active -{ - border-color: #316ac5; - background-color: #dff1ff; - color : #000; - cursor: pointer; - margin : 0px; -} -a.cke_scayt_toogle { - color : #316ac5; - border-color: #fff; -} -.scayt_enabled a.cke_scayt_item { - color : #316ac5; - border-color: #fff; - margin : 0px; -} -.scayt_disabled a.cke_scayt_item { - color : gray; - border-color : #fff; -} -.scayt_enabled a.cke_scayt_item:hover, -.scayt_enabled a.cke_scayt_item:focus, -.scayt_enabled a.cke_scayt_item:active -{ - border-color: #316ac5; - background-color: #dff1ff; - color : #000; - cursor: pointer; -} -.scayt_disabled a.cke_scayt_item:hover, -.scayt_disabled a.cke_scayt_item:focus, -.scayt_disabled a.cke_scayt_item:active -{ - border-color: gray; - background-color: #dff1ff; - color : gray; - cursor: no-drop; -} -.cke_scayt_set_on, .cke_scayt_set_off -{ - display: none; -} -.scayt_enabled .cke_scayt_set_on -{ - display: none; -} -.scayt_disabled .cke_scayt_set_on -{ - display: inline; -} -.scayt_disabled .cke_scayt_set_off -{ - display: none; -} -.scayt_enabled .cke_scayt_set_off -{ - display: inline; -} diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/icons/hidpi/scayt.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/icons/hidpi/scayt.png deleted file mode 100644 index 58a9f4c1328..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/icons/hidpi/scayt.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/icons/scayt.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/icons/scayt.png deleted file mode 100644 index 2b50c5c65d0..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/icons/scayt.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/af.js deleted file mode 100644 index a224176e603..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/af.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'af', { - about: 'SCAYT info', - aboutTab: 'Info', - addWord: 'Voeg woord by', - allCaps: 'Ignoreer woorde in hoofletters', - dic_create: 'Skep', - dic_delete: 'Verwijder', - dic_field_name: 'Naam van woordeboek', - dic_info: 'Aanvanklik word die gebruikerswoordeboek in \'n koekie gestoor. Koekies is egter beperk in grootte. Wanneer die gebruikerswoordeboek te groot vir \'n koekie geword het, kan dit op ons bediener gestoor word. Om u persoonlike woordeboek op ons bediener te stoor, gee asb. \'n naam vir u woordeboek. Indien u alreeds \'n gestoorde woordeboek het, tik die naam en kliek op die Herstel knop.', - dic_rename: 'Hernoem', - dic_restore: 'Herstel', - dictionariesTab: 'Woordeboeke', - disable: 'SCAYT af', - emptyDic: 'Woordeboeknaam mag nie leeg wees nie.', - enable: 'SCAYT aan', - ignore: 'Ignoreer', - ignoreAll: 'Ignoreer alles', - ignoreDomainNames: 'Ignoreer domeinname', - langs: 'Tale', - languagesTab: 'Tale', - mixedCase: 'Ignoreer woorde met hoof- en kleinletters', - mixedWithDigits: 'Ignoreer woorde met syfers', - moreSuggestions: 'Meer voorstelle', - opera_title: 'Nie ondersteun deur Opera nie', - options: 'Opsies', - optionsTab: 'Opsies', - title: 'Speltoets terwyl u tik', - toggle: 'SCAYT wissel aan/af', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ar.js deleted file mode 100644 index 66e424b1ce3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ar.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'ar', { - about: 'عن SCAYT', - aboutTab: 'عن', - addWord: 'إضافة كلمة', - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'قواميس', - disable: 'تعطيل SCAYT', - emptyDic: 'اسم القاموس يجب ألا يكون فارغاً.', - enable: 'تفعيل SCAYT', - ignore: 'تجاهل', - ignoreAll: 'تجاهل الكل', - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'لغات', - languagesTab: 'لغات', - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'المزيد من المقترحات', - opera_title: 'Not supported by Opera', // MISSING - options: 'خيارات', - optionsTab: 'خيارات', - title: 'تدقيق إملائي أثناء الكتابة', - toggle: 'تثبيت SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/bg.js deleted file mode 100644 index 1529f42902d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/bg.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'bg', { - about: 'About SCAYT', // MISSING - aboutTab: 'Относно', - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Нов', - dic_delete: 'Изтриване', - dic_field_name: 'Име на речнк', - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Преименуване', - dic_restore: 'Възтановяване', - dictionariesTab: 'Речници', - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Езици', - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Игнорирани думи и цифри', - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/bn.js deleted file mode 100644 index 99f4f9986fe..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/bn.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'bn', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/bs.js deleted file mode 100644 index a479351f2b2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/bs.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'bs', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ca.js deleted file mode 100644 index e39e83c80fc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ca.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'ca', { - about: 'Quant a l\'SCAYT', - aboutTab: 'Quant a', - addWord: 'Afegeix una paraula', - allCaps: 'Ignora paraules en majúscules', - dic_create: 'Crea', - dic_delete: 'Elimina', - dic_field_name: 'Nom del diccionari', - dic_info: 'Inicialment el diccionari d\'usuari s\'emmagatzema en una galeta. De totes maneres, les galetes tenen la mida limitada. Quan el diccionari creix massa, llavors el diccionari es pot emmagatzemar al nostre servidor. Per desar el vostre diccionari personal al nostre servidor heu d.\'especificar un nom pel diccionari. Si ja heu desat un diccionari, teclegeu si us plau el seu nom i cliqueu el botó de restauració.', - dic_rename: 'Canvia el nom', - dic_restore: 'Restaura', - dictionariesTab: 'Diccionaris', - disable: 'Deshabilita SCAYT', - emptyDic: 'El nom del diccionari no hauria d\'estar buit.', - enable: 'Habilitat l\'SCAYT', - ignore: 'Ignora', - ignoreAll: 'Ignora\'ls tots', - ignoreDomainNames: 'Ignora els noms de domini', - langs: 'Idiomes', - languagesTab: 'Idiomes', - mixedCase: 'Ignora paraules amb majúscules i minúscules', - mixedWithDigits: 'Ignora paraules amb números ', - moreSuggestions: 'Més suggerències', - opera_title: 'No és compatible amb l\'Opera', - options: 'Opcions', - optionsTab: 'Opcions', - title: 'Spell Check As You Type', - toggle: 'Commuta l\'SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/cs.js deleted file mode 100644 index d555d4aab19..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/cs.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'cs', { - about: 'O aplikaci SCAYT', - aboutTab: 'O aplikaci', - addWord: 'Přidat slovo', - allCaps: 'Ignorovat slova tvořená velkými písmeny', - dic_create: 'Vytvořit', - dic_delete: 'Smazat', - dic_field_name: 'Název slovníku', - dic_info: 'Zpočátku se uživatelský slovník ukládá do cookies ve vašem prohlížeči. Ovšem cookies mají omezenou velikost, takže když slovník dosáhne velikosti, kdy se již do cookies nevejde, může být uložen na našem serveru. Chcete-li uložit váš osobní slovník na našem serveru, je třeba slovník nejdříve pojmenovat. Máte-li již slovník pojmenován a uložen, zadejte jeho název a klepněte na tlačítko Obnovit.', - dic_rename: 'Přejmenovat', - dic_restore: 'Obnovit', - dictionariesTab: 'Slovníky', - disable: 'Vypnout SCAYT', - emptyDic: 'Název slovníku nesmí být prázdný.', - enable: 'Zapnout SCAYT', - ignore: 'Přeskočit', - ignoreAll: 'Přeskočit vše', - ignoreDomainNames: 'Ignorovat doménová jména', - langs: 'Jazyky', - languagesTab: 'Jazyky', - mixedCase: 'Ignorovat slova obsahující různou velikost písma', - mixedWithDigits: 'Ignorovat slova obsahující čísla', - moreSuggestions: 'Více návrhů', - opera_title: 'Toto Opera nepodporuje', - options: 'Nastavení', - optionsTab: 'Nastavení', - title: 'Kontrola pravopisu během psaní (SCAYT)', - toggle: 'Vypínač SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/cy.js deleted file mode 100644 index 86507db55d1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/cy.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'cy', { - about: 'Ynghylch SCAYT', - aboutTab: 'Ynghylch', - addWord: 'Ychwanegu Gair', - allCaps: 'Anwybyddu Geiriau Nodau Uwch i Gyd', - dic_create: 'Creu', - dic_delete: 'Dileu', - dic_field_name: 'Enw\'r geiriadur', - dic_info: 'Ar y cychwyn, caiff y Geiriadur ei storio mewn Cwci. Er, mae terfyn ar faint cwcis. Pan fydd Gweiriadur Defnyddiwr yn tyfu tu hwnt i gyfyngiadau maint Cwci, caiff y geiriadur ei storio ar ein gweinydd ni. er mwyn storio eich geiriadur poersonol chi ar ein gweinydd, bydd angen i chi osod enw ar gyfer y geiriadur. Os oes geiriadur \'da chi ar ein gweinydd yn barod, teipiwch ei enw a chliciwch y botwm Adfer.', - dic_rename: 'Ailenwi', - dic_restore: 'Adfer', - dictionariesTab: 'Geiriaduron', - disable: 'Analluogi SCAYT', - emptyDic: 'Ni ddylai enw\'r geiriadur fod yn wag.', - enable: 'Galluogi SCAYT', - ignore: 'Anwybyddu', - ignoreAll: 'Anwybyddu pob', - ignoreDomainNames: 'Anwybyddu Enwau Parth', - langs: 'Ieithoedd', - languagesTab: 'Ieithoedd', - mixedCase: 'Anwybyddu Geiriau â Chymysgedd Nodau Uwch ac Is', - mixedWithDigits: 'Anwybyddu Geiriau â Rhifau', - moreSuggestions: 'Awgrymiadau pellach', - opera_title: 'Heb ei gynnal gan Opera', - options: 'Opsiynau', - optionsTab: 'Opsiynau', - title: 'Gwirio\'r Sillafu Wrth Deipio', - toggle: 'Togl SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/da.js deleted file mode 100644 index 43eb49ac8ac..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/da.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'da', { - about: 'Om SCAYT', - aboutTab: 'Om', - addWord: 'Tilføj ord', - allCaps: 'Ignorer alle store bogstaver', - dic_create: 'Opret', - dic_delete: 'Slet', - dic_field_name: 'Navn på ordbog', - dic_info: 'Til start er brugerordbogen gemt i en Cookie. Dog har Cookies en begrænsning på størrelse. Når ordbogen når en bestemt størrelse kan den blive gemt på vores server. For at gemme din personlige ordbog på vores server skal du angive et navn for denne. Såfremt du allerede har gemt en ordbog, skriv navnet på denne og klik på Gendan knappen.', - dic_rename: 'Omdøb', - dic_restore: 'Gendan', - dictionariesTab: 'Ordbøger', - disable: 'Deaktivér SCAYT', - emptyDic: 'Ordbogsnavn må ikke være tom.', - enable: 'Aktivér SCAYT', - ignore: 'Ignorér', - ignoreAll: 'Ignorér alle', - ignoreDomainNames: 'Ignorér domænenavne', - langs: 'Sprog', - languagesTab: 'Sprog', - mixedCase: 'Ignorer ord med store og små bogstaver', - mixedWithDigits: 'Ignorér ord med numre', - moreSuggestions: 'Flere forslag', - opera_title: 'Ikke supporteret af Opera', - options: 'Indstillinger', - optionsTab: 'Indstillinger', - title: 'Stavekontrol mens du skriver', - toggle: 'Skift/toggle SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/de.js deleted file mode 100644 index c058230e388..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/de.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'de', { - about: 'Über SCAYT', - aboutTab: 'Über', - addWord: 'Wort hinzufügen', - allCaps: 'Groß geschriebenen Wörter ignorieren', - dic_create: 'Erzeugen', - dic_delete: 'Löschen', - dic_field_name: 'Wörterbuchname', - dic_info: 'Anfangs wird das Benutzerwörterbuch in einem Cookie gespeichert. Allerdings sind Cookies in der Größe begrenzt. Wenn das Benutzerwörterbuch bis zu einem Punkt wächst, wo es nicht mehr in einem Cookie gespeichert werden kann, wird das Benutzerwörterbuch auf dem Server gespeichert. Um Ihr persönliches Wörterbuch auf dem Server zu speichern, müssen Sie einen Namen für das Wörterbuch angeben. Falls Sie schon ein gespeicherte Wörterbuch haben, geben Sie bitte dessen Namen ein und klicken Sie auf die Schaltfläche Wiederherstellen.', - dic_rename: 'Umbenennen', - dic_restore: 'Wiederherstellen', - dictionariesTab: 'Wörterbücher', - disable: 'SCAYT ausschalten', - emptyDic: 'Wörterbuchname sollte leer sein.', - enable: 'SCAYT einschalten', - ignore: 'Ignorieren', - ignoreAll: 'Alle ignorieren', - ignoreDomainNames: 'Domain-Namen ignorieren', - langs: 'Sprachen', - languagesTab: 'Sprachen', - mixedCase: 'Wörter mit gemischte Setzkasten ignorieren', - mixedWithDigits: 'Wörter mit Zahlen ignorieren', - moreSuggestions: 'Mehr Vorschläge', - opera_title: 'Nicht von Opera unterstützt', - options: 'Optionen', - optionsTab: 'Optionen', - title: 'Rechtschreibprüfung während der Texteingabe (SCAYT)', - toggle: 'SCAYT umschalten', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/el.js deleted file mode 100644 index afa5b3374ee..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/el.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'el', { - about: 'About SCAYT', // MISSING - aboutTab: 'Περί', - addWord: 'Προσθήκη στο λεξικό', - allCaps: 'Να αγνοούνται όλες οι λέξεις σε κεφαλαία', - dic_create: 'Δημιουργία', - dic_delete: 'Διαγραφή', - dic_field_name: 'Όνομα λεξικού', - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Μετονομασία', - dic_restore: 'Ανάκτηση', - dictionariesTab: 'Λεξικά', - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Το όνομα του λεξικού δεν πρέπει να είναι κενό.', - enable: 'Enable SCAYT', // MISSING - ignore: 'Αγνόησε το', - ignoreAll: 'Να αγνοηθούν όλα', - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Γλώσσες', - languagesTab: 'Γλώσσες', - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'Περισσότερες προτάσεις', - opera_title: 'Not supported by Opera', // MISSING - options: 'Επιλογές', - optionsTab: 'Επιλογές', - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en-au.js deleted file mode 100644 index 7262c5b3d44..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en-au.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'en-au', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT',// MISSING - noSuggestions: 'No suggestion' // MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en-ca.js deleted file mode 100644 index ffff6c8bd62..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en-ca.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'en-ca', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT',// MISSING - noSuggestions: 'No suggestion' // MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en-gb.js deleted file mode 100644 index 2693a1b4444..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en-gb.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'en-gb', { - about: 'About SCAYT', - aboutTab: 'About', - addWord: 'Add Word', - allCaps: 'Ignore All-Caps Words', - dic_create: 'Create', - dic_delete: 'Delete', - dic_field_name: 'Dictionary name', - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', - dic_rename: 'Rename', - dic_restore: 'Restore', - dictionariesTab: 'Dictionaries', - disable: 'Disable SCAYT', - emptyDic: 'Dictionary name should not be empty.', - enable: 'Enable SCAYT', - ignore: 'Ignore', - ignoreAll: 'Ignore All', - ignoreDomainNames: 'Ignore Domain Names', - langs: 'Languages', - languagesTab: 'Languages', - mixedCase: 'Ignore Words with Mixed Case', - mixedWithDigits: 'Ignore Words with Numbers', - moreSuggestions: 'More suggestions', - opera_title: 'Not supported by Opera', - options: 'Options', - optionsTab: 'Options', - title: 'Spell Check As You Type', - toggle: 'Toggle SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en.js deleted file mode 100644 index 59fab5dd84d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/en.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'en', { - about: 'About SCAYT', - aboutTab: 'About', - addWord: 'Add Word', - allCaps: 'Ignore All-Caps Words', - dic_create: 'Create', - dic_delete: 'Delete', - dic_field_name: 'Dictionary name', - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', - dic_rename: 'Rename', - dic_restore: 'Restore', - dictionariesTab: 'Dictionaries', - disable: 'Disable SCAYT', - emptyDic: 'Dictionary name should not be empty.', - enable: 'Enable SCAYT', - ignore: 'Ignore', - ignoreAll: 'Ignore All', - ignoreDomainNames: 'Ignore Domain Names', - langs: 'Languages', - languagesTab: 'Languages', - mixedCase: 'Ignore Words with Mixed Case', - mixedWithDigits: 'Ignore Words with Numbers', - moreSuggestions: 'More suggestions', - opera_title: 'Not supported by Opera', - options: 'Options', - optionsTab: 'Options', - title: 'Spell Check As You Type', - toggle: 'Toggle SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/eo.js deleted file mode 100644 index e320537fdbf..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/eo.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'eo', { - about: 'Pri OKDVT', - aboutTab: 'Pri', - addWord: 'Almeti la vorton', - allCaps: 'Ignori la vortojn skribitajn nur per ĉefliteroj', - dic_create: 'Krei', - dic_delete: 'Forigi', - dic_field_name: 'Vortaronomo', - dic_info: 'Komence la vortaro de la uzanto estas konservita en kuketo. Tamen la kuketgrando estas limigita. Kiam la vortaro de la uzanto atingas grandon, kiu ne plu ebligas konservi ĝin en kuketo, tiam la vortaro povas esti konservata en niaj serviloj. Por konservi vian personan vortaron en nian servilon, vi devas indiki nomon por tiu vortaro. Se vi jam havas konservitan vortaron, bonvolu entajpi ties nomon kaj alklaki la restaŭrbutonon.', - dic_rename: 'Renomi', - dic_restore: 'Restaŭri', - dictionariesTab: 'Vortaroj', - disable: 'Malebligi OKDVT', - emptyDic: 'La vortaronomo ne devus esti malplena.', - enable: 'Ebligi OKDVT', - ignore: 'Ignori', - ignoreAll: 'Ignori ĉion', - ignoreDomainNames: 'Ignori domajnajn nomojn', - langs: 'Lingvoj', - languagesTab: 'Lingvoj', - mixedCase: 'Ignori vortojn kun miksa uskleco', - mixedWithDigits: 'Ignori vortojn kun nombroj', - moreSuggestions: 'Pli da sugestoj', - opera_title: 'Ne subportata de Opera', - options: 'Opcioj', - optionsTab: 'Opcioj', - title: 'OrtografiKontrolado Dum Vi Tajpas (OKDVT)', - toggle: 'Baskuligi OKDVT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/es.js deleted file mode 100644 index b78bf362a12..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/es.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'es', { - about: 'Acerca de Corrector', - aboutTab: 'Acerca de', - addWord: 'Añadir palabra', - allCaps: 'Omitir palabras en MAYÚSCULAS', - dic_create: 'Crear', - dic_delete: 'Borrar', - dic_field_name: 'Nombre del diccionario', - dic_info: 'Inicialmente el Diccionario de usuario se guarda en una Cookie. Sin embargo, las cookies están limitadas en tamaño. Cuando el diccionario crece a un punto en el que no se puede guardar en una Cookie, el diccionario puede ser almacenado en nuestro servidor. Para almacenar su diccionario personalizado en nuestro servidor debe especificar un nombre para su diccionario. Si ya ha guardado un diccionaro, por favor, escriba su nombre y pulse el botón Recuperar', - dic_rename: 'Renombrar', - dic_restore: 'Recuperar', - dictionariesTab: 'Diccionarios', - disable: 'Desactivar Corrector', - emptyDic: 'El nombre del diccionario no puede estar en blanco.', - enable: 'Activar Corrector', - ignore: 'Ignorar', - ignoreAll: 'Ignorar Todas', - ignoreDomainNames: 'Omitir nombres de dominio', - langs: 'Idiomas', - languagesTab: 'Idiomas', - mixedCase: 'Ignorar palabras con combinación de mayúsculas y minúsculas', - mixedWithDigits: 'Omitir palabras con números', - moreSuggestions: 'Más sugerencias', - opera_title: 'No soportado en Opera', - options: 'Opciones', - optionsTab: 'Opciones', - title: 'Comprobar Ortografía Mientras Escribe', - toggle: 'Cambiar Corrector', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/et.js deleted file mode 100644 index b8ed3975c13..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/et.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'et', { - about: 'SCAYT-ist lähemalt', - aboutTab: 'Lähemalt', - addWord: 'Lisa sõna', - allCaps: 'Läbivate suurtähtedega sõnade eiramine', - dic_create: 'Loo', - dic_delete: 'Kustuta', - dic_field_name: 'Sõnaraamatu nimi', - dic_info: 'Alguses säilitatakse kasutaja sõnaraamatut küpsises. Küpsise suurus on piiratud. Pärast sõnaraamatu kasvamist nii suureks, et see küpsisesse ei mahu, võib sõnaraamatut hoida meie serveris. Oma isikliku sõnaraamatu hoidmiseks meie serveris pead andma sellele nime. Kui sa juba oled sõnaraamatu salvestanud, sisesta selle nimi ja klõpsa taastamise nupule.', - dic_rename: 'Nimeta ümber', - dic_restore: 'Taasta', - dictionariesTab: 'Sõnaraamatud', - disable: 'SCAYT keelatud', - emptyDic: 'Sõnaraamatu nimi ei tohi olla tühi.', - enable: 'SCAYT lubatud', - ignore: 'Eira', - ignoreAll: 'Eira kõiki', - ignoreDomainNames: 'Domeeninimede eiramine', - langs: 'Keeled', - languagesTab: 'Keeled', - mixedCase: 'Tavapäratu tõstuga sõnade eiramine', - mixedWithDigits: 'Numbreid sisaldavate sõnade eiramine', - moreSuggestions: 'Veel soovitusi', - opera_title: 'Operas pole toetatud', - options: 'Valikud', - optionsTab: 'Valikud', - title: 'Õigekirjakontroll kirjutamise ajal', - toggle: 'SCAYT sisse/välja lülitamine', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/eu.js deleted file mode 100644 index 78011702274..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/eu.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'eu', { - about: 'SCAYTi buruz', - aboutTab: 'Honi buruz', - addWord: 'Hitza Gehitu', - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Hiztegiak', - disable: 'Desgaitu SCAYT', - emptyDic: 'Hiztegiaren izena ezin da hutsik egon.', - enable: 'Gaitu SCAYT', - ignore: 'Baztertu', - ignoreAll: 'Denak baztertu', - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Hizkuntzak', - languagesTab: 'Hizkuntzak', - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'Iradokizun gehiago', - opera_title: 'Not supported by Opera', // MISSING - options: 'Aukerak', - optionsTab: 'Aukerak', - title: 'Ortografia Zuzenketa Idatzi Ahala (SCAYT)', - toggle: 'SCAYT aldatu', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fa.js deleted file mode 100644 index 7a3381d5e29..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fa.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'fa', { - about: 'درباره SCAYT', - aboutTab: 'درباره', - addWord: 'افزودن Word', - allCaps: 'نادیده گرفتن همه کلاه-واژهها', - dic_create: 'ایجاد', - dic_delete: 'حذف', - dic_field_name: 'نام دیکشنری', - dic_info: 'در ابتدا دیکشنری کاربر در کوکی ذخیره میشود. با این حال، کوکیها در اندازه محدود شدهاند. وقتی که دیکشنری کاربری بزرگ میشود و به نقطهای که نمیتواند در کوکی ذخیره شود، پس از آن دیکشنری ممکن است بر روی سرور ما ذخیره شود. برای ذخیره دیکشنری شخصی شما بر روی سرور ما، باید یک نام برای دیکشنری خود مشخص نمایید. اگر شما قبلا یک دیکشنری روی سرور ما ذخیره کردهاید، لطفا نام آنرا درج و روی دکمه بازیافت کلیک نمایید.', - dic_rename: 'تغییر نام', - dic_restore: 'بازیافت', - dictionariesTab: 'دیکشنریها', - disable: 'غیرفعالسازی SCAYT', - emptyDic: 'نام دیکشنری نباید خالی باشد.', - enable: 'فعالسازی SCAYT', - ignore: 'عبور کردن', - ignoreAll: 'عبور کردن از همه', - ignoreDomainNames: 'عبور از نامهای دامنه', - langs: 'زبانها', - languagesTab: 'زبانها', - mixedCase: 'عبور از کلماتی مرکب از حروف بزرگ و کوچک', - mixedWithDigits: 'عبور از کلمات به همراه عدد', - moreSuggestions: 'پیشنهادهای بیشتر', - opera_title: 'توسط اپرا پشتیبانی نمیشود', - options: 'گزینهها', - optionsTab: 'گزینهها', - title: 'بررسی املای تایپ شما', - toggle: 'ضامن SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fi.js deleted file mode 100644 index d88231be189..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fi.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'fi', { - about: 'Tietoja oikoluvusta kirjoitetaessa', - aboutTab: 'Tietoa', - addWord: 'Lisää sana', - allCaps: 'Ohita sanat, jotka on kirjoitettu kokonaan isoilla kirjaimilla', - dic_create: 'Luo', - dic_delete: 'Poista', - dic_field_name: 'Sanakirjan nimi', - dic_info: 'Oletuksena sanakirjat tallennetaan evästeeseen, mutta evästeiden koko on kuitenkin rajallinen. Sanakirjan kasvaessa niin suureksi, ettei se enää mahdu evästeeseen, sanakirja täytyy tallentaa palvelimellemme. Tallentaaksesi sanakirjasi palvelimellemme tulee sinun antaa sille nimi. Jos olet jo tallentanut sanakirjan, anna sen nimi ja klikkaa Palauta-painiketta', - dic_rename: 'Nimeä uudelleen', - dic_restore: 'Palauta', - dictionariesTab: 'Sanakirjat', - disable: 'Poista käytöstä oikoluku kirjoitetaessa', - emptyDic: 'Sanakirjan nimi on annettava.', - enable: 'Ota käyttöön oikoluku kirjoitettaessa', - ignore: 'Ohita', - ignoreAll: 'Ohita kaikki', - ignoreDomainNames: 'Ohita verkkotunnukset', - langs: 'Kielet', - languagesTab: 'Kielet', - mixedCase: 'Ohita sanat, joissa on sekoitettu isoja ja pieniä kirjaimia', - mixedWithDigits: 'Ohita sanat, joissa on numeroita', - moreSuggestions: 'Lisää ehdotuksia', - opera_title: 'Opera ei tue tätä ominaisuutta', - options: 'Asetukset', - optionsTab: 'Asetukset', - title: 'Oikolue kirjoitettaessa', - toggle: 'Vaihda oikoluku kirjoittaessa tilaa', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fo.js deleted file mode 100644 index 4c89b6be610..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fo.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'fo', { - about: 'Um SCAYT', - aboutTab: 'Um', - addWord: 'Legg orð afturat', - allCaps: 'Loyp orð við bert stórum stavum um', - dic_create: 'Upprætta nýggja', - dic_delete: 'Strika', - dic_field_name: 'Orðabókanavn', - dic_info: 'Upprunaliga er brúkara-orðabókin goymd í eini cookie í tínum egna kaga. Men hesar cookies eru avmarkaðar í stødd. Tá brúkara-orðabókin veksur seg ov stóra til eina cookie, so er møguligt at goyma hana á ambætara okkara. Fyri at goyma persónligu orðabókina á ambætaranum eigur tú at velja eitt navn til tína skuffu. Hevur tú longu goymt eina orðabók, so vinarliga skriva navnið og klikk á knøttin Endurskapa.', - dic_rename: 'Broyt', - dic_restore: 'Endurskapa', - dictionariesTab: 'Orðabøkur', - disable: 'Nokta SCAYT', - emptyDic: 'Heiti á orðabók eigur ikki at vera tómt.', - enable: 'Loyv SCAYT', - ignore: 'Ignorera', - ignoreAll: 'Ignorera alt', - ignoreDomainNames: 'loyp økisnøvn um', - langs: 'Tungumál', - languagesTab: 'Tungumál', - mixedCase: 'Loyp orð við blandaðum smáum og stórum stavum um', - mixedWithDigits: 'Loyp orð við tølum um', - moreSuggestions: 'Fleiri tilráðingar', - opera_title: 'Ikki stuðlað í Opera', - options: 'Uppseting', - optionsTab: 'Uppseting', - title: 'Kanna stavseting, meðan tú skrivar', - toggle: 'Toggle SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fr-ca.js deleted file mode 100644 index 6022a87b701..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fr-ca.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'fr-ca', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fr.js deleted file mode 100644 index 7a82a691104..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/fr.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'fr', { - about: 'A propos de SCAYT', - aboutTab: 'À propos de', - addWord: 'Ajouter le mot', - allCaps: 'Ignorer les mots entièrement en majuscules', - dic_create: 'Créer', - dic_delete: 'Effacer', - dic_field_name: 'Nom du dictionnaire', - dic_info: 'Initialement, le dictionnaire de l\'utilisateur est stocké dans un cookie. Cependant, les cookies sont limités en taille. Quand le dictionnaire atteint une taille qu\'il n\'est plus possible de stocker dans un cookie, il peut alors être stocké sur nos serveurs. Afin de stocker votre dictionnaire personnel sur nos serveurs, vous devez spécifier un nom pour ce dictionnaire. Si vous avez déjà un dictionnaire stocké, merci de taper son nom puis cliquer sur Restaurer pour le récupérer.', - dic_rename: 'Renommer', - dic_restore: 'Restaurer', - dictionariesTab: 'Dictionnaires', - disable: 'Désactiver SCAYT', - emptyDic: 'Le nom du dictionnaire ne devrait pas être vide.', - enable: 'Activer SCAYT', - ignore: 'Ignorer', - ignoreAll: 'Ignorer Tout', - ignoreDomainNames: 'Ignorer les noms de domaines', - langs: 'Langues', - languagesTab: 'Langues', - mixedCase: 'Ignorer les mots à casse multiple', - mixedWithDigits: 'Ignorer les mots contenant des chiffres', - moreSuggestions: 'Plus de suggestions', - opera_title: 'Non supporté par Opera', - options: 'Options', - optionsTab: 'Options', - title: 'Vérification de l\'Orthographe en Cours de Frappe (SCAYT)', - toggle: 'Activer/Désactiver SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/gl.js deleted file mode 100644 index dce2c9ff537..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/gl.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'gl', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/gu.js deleted file mode 100644 index 7ded05f2ef9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/gu.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'gu', { - about: 'SCAYT વિષે', - aboutTab: 'વિષે', - addWord: 'શબ્દ ઉમેરવો', - allCaps: 'ઓલ-કેપ્સ વર્ડ છોડી દો.', - dic_create: 'બનાવવું', - dic_delete: 'કાઢી નાખવું', - dic_field_name: 'શબ્દકોશ નામ', - dic_info: 'પેહલા User Dictionary, Cookie તરીકે સ્ટોર થાય છે. પણ Cookie ની સમતા ઓછી છે. જયારે User Dictionary, Cookie તરીકે સ્ટોર ના કરી શકાય, ત્યારે તે અમારા સર્વર પર સ્ટોર થાય છે. તમારી વ્યતિગત ડીકસ્નરી ને સર્વર પર સ્ટોર કરવા માટે તમારે તેનું નામ આપવું પડશે. જો તમે તમારી ડીકસ્નરી નું નામ આપેલું હોય તો તમે રિસ્ટોર બટન ક્લીક કરી શકો.', - dic_rename: 'નવું નામ આપવું', - dic_restore: 'પાછું ', - dictionariesTab: 'શબ્દકોશ', - disable: 'SCAYT ડિસેબલ કરવું', - emptyDic: 'ડિક્સનરીનું નામ ખાલી ના હોય.', - enable: 'SCAYT એનેબલ કરવું', - ignore: 'ઇગ્નોર', - ignoreAll: 'બધા ઇગ્નોર ', - ignoreDomainNames: 'ડોમેન નામ છોડી દો.', - langs: 'ભાષાઓ', - languagesTab: 'ભાષા', - mixedCase: 'મિક્સ કેસ વર્ડ છોડી દો.', - mixedWithDigits: 'આંકડા વાળા શબ્દ છોડી દો.', - moreSuggestions: 'વધારે વિકલ્પો', - opera_title: 'ઓપેરામાં સપોર્ટ નથી', - options: 'વિકલ્પો', - optionsTab: 'વિકલ્પો', - title: 'ટાઈપ કરતા સ્પેલ તપાસો', - toggle: 'SCAYT ટોગલ', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/he.js deleted file mode 100644 index 977f788fb09..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/he.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'he', { - about: 'אודות SCAYT', - aboutTab: 'אודות', - addWord: 'הוספת מילה', - allCaps: 'התעלם ממילים שכל אותיותיהן גדולות', - dic_create: 'יצירה', - dic_delete: 'מחיקה', - dic_field_name: 'שם המילון', - dic_info: 'בהתחלה מילון המשתמש מאוחסן בעוגיה, אך עוגיות מוגבלות במקום. כאשר המילון מגיע לגודל בו הוא אינו יכול להתאכסן בעוגיה, המילון צריך להתאכסן בשרתנו. לשם כך עליך לתת שם למילון. אם כבר יש לך מילון מאוחסן, יש להכניס את שמו וללחוץ על כפתור השחזור.', - dic_rename: 'שינוי שם', - dic_restore: 'שחזור', - dictionariesTab: 'מילון', - disable: 'בטל SCAYT', - emptyDic: 'יש לבחור מילון.', - enable: 'אפשר SCAYT', - ignore: 'התעלמות', - ignoreAll: 'התעלמות מהכל', - ignoreDomainNames: 'התעלם משמות מתחם', - langs: 'שפות', - languagesTab: 'שפות', - mixedCase: 'התעלם ממילים עם אותיות גדולות וקטנות ביחד', - mixedWithDigits: 'התעלם ממילים עם מספרים', - moreSuggestions: 'הצעות נוספות', - opera_title: 'לא זמין בדפדפן אופרה', - options: 'אפשרויות', - optionsTab: 'אפשרויות', - title: 'בדיקת איות בזמן כתיבה (SCAYT)', - toggle: 'שינוי SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/hi.js deleted file mode 100644 index 3e8e8af28b0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/hi.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'hi', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/hr.js deleted file mode 100644 index f0ebff9fe7d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/hr.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'hr', { - about: 'O SCAYT', - aboutTab: 'O SCAYT', - addWord: 'Dodaj riječ', - allCaps: 'Ignoriraj riječi s velikim slovima', - dic_create: 'Napravi', - dic_delete: 'Obriši', - dic_field_name: 'Naziv riječnika', - dic_info: 'Na početku se korisnički Riječnik sprema u Cookie. Nažalost, veličina im je ograničena. Kada korisnički Riječnik naraste preko te veličine, Riječnik će biti smješten na naš server. Kako bi se korisnički Riječnik spremio na naš server morate odabrati naziv Vašeg Riječnika. Ukoliko ste već prije spremali Riječnik na naše servere, unesite naziv Riječnika i pritisnite na Povrati.', - dic_rename: 'Promijeni naziv', - dic_restore: 'Povrati', - dictionariesTab: 'Rječnici', - disable: 'Onemogući SCAYT', - emptyDic: 'Naziv rječnika ne smije biti prazno.', - enable: 'Omogući SCAYT', - ignore: 'Zanemari', - ignoreAll: 'Zanemari sve', - ignoreDomainNames: 'Ignoriraj nazive domena', - langs: 'Jezici', - languagesTab: 'Jezici', - mixedCase: 'Ignoriraj riječi s miješanim slovima', - mixedWithDigits: 'Ignoriraj riječi s brojevima', - moreSuggestions: 'Više prijedloga', - opera_title: 'Nije podržano u Operi', - options: 'Opcije', - optionsTab: 'Opcije', - title: 'Provjeri pravopis tijekom tipkanja (SCAYT)', - toggle: 'Omoguću/Onemogući SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/hu.js deleted file mode 100644 index 05802b6571e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/hu.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'hu', { - about: 'SCAYT névjegy', - aboutTab: 'Névjegy', - addWord: 'Szó hozzáadása', - allCaps: 'Nagybetűs szavak kihagyása', - dic_create: 'Létrehozás', - dic_delete: 'Törlés', - dic_field_name: 'Szótár neve', - dic_info: 'Kezdetben a felhasználói szótár böngésző sütiben tárolódik. Azonban a sütik maximális mérete korlátozott. Amikora a szótár akkora lesz, hogy már sütiben nem lehet tárolni, akkor a szótárat tárolhatja a szerveren is. Ehhez egy nevet kell megadni a szótárhoz. Amennyiben már van szerveren tárolt szótára, adja meg a nevét és kattintson a visszaállítás gombra.', - dic_rename: 'Átnevezés', - dic_restore: 'Visszaállítás', - dictionariesTab: 'Szótár', - disable: 'SCAYT letiltása', - emptyDic: 'A szótár nevét meg kell adni.', - enable: 'SCAYT engedélyezése', - ignore: 'Kihagy', - ignoreAll: 'Összes kihagyása', - ignoreDomainNames: 'Domain nevek kihagyása', - langs: 'Nyelvek', - languagesTab: 'Nyelvek', - mixedCase: 'Kis és nagybetűt is tartalmazó szavak kihagyása', - mixedWithDigits: 'Számokat tartalmazó szavak kihagyása', - moreSuggestions: 'További javaslatok', - opera_title: 'Az Opera nem támogatja', - options: 'Beállítások', - optionsTab: 'Beállítások', - title: 'Helyesírás ellenőrzés gépelés közben', - toggle: 'SCAYT kapcsolása', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/is.js deleted file mode 100644 index dc3aa70332e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/is.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'is', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/it.js deleted file mode 100644 index 97f3e9374be..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/it.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'it', { - about: 'About COMS', - aboutTab: 'Info', - addWord: 'Aggiungi Parola', - allCaps: 'Ignora Parole in maiuscolo', - dic_create: 'Crea', - dic_delete: 'Cancella', - dic_field_name: 'Nome del dizionario', - dic_info: 'Inizialmente il dizionario utente è memorizzato in un Cookie. I Cookie però hanno una dimensioni massima limitata. Quando il dizionario utente creasce a tal punto da non poter più essere memorizzato in un Cookie, allora il dizionario può essere memorizzato sul nostro server. Per memorizzare il proprio dizionario personale sul nostro server, è necessario specificare un nome per il proprio dizionario. Se avete già memorizzato un dizionario, inserite il nome che gli avete dato e premete il pulsante Ripristina.', - dic_rename: 'Rinomina', - dic_restore: 'Ripristina', - dictionariesTab: 'Dizionari', - disable: 'Disabilita COMS', - emptyDic: 'Il nome del dizionario non può essere vuoto.', - enable: 'Abilita COMS', - ignore: 'Ignora', - ignoreAll: 'Ignora tutti', - ignoreDomainNames: 'Ignora nomi di dominio', - langs: 'Lingue', - languagesTab: 'Lingue', - mixedCase: 'Ignora parole con maiuscole e minuscole', - mixedWithDigits: 'Ignora parole con numeri', - moreSuggestions: 'Altri suggerimenti', - opera_title: 'Non supportato da Opera', - options: 'Opzioni', - optionsTab: 'Opzioni', - title: 'Controllo Ortografico Mentre Scrivi', - toggle: 'Inverti abilitazione SCOMS', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ja.js deleted file mode 100644 index b89ad04c976..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ja.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'ja', { - about: 'SCAYTバージョン', - aboutTab: 'バージョン情報', - addWord: '語句追加', - allCaps: '全て大文字の単語を無視', - dic_create: '登録', - dic_delete: '削除', - dic_field_name: '辞書名', - dic_info: '始めユーザーディレクトリは、Cookieに保存されます。但し Cookie はサイズに制限があります。ユーザーディレクトリがCookieに保存できないサイズに到達するとディレクトリはサーバー上に保存されます。個人のディレクトリをサーバー上に保存するには、ディレクトリ名を明示する必要があります。もし既に保存されたディレクトリがある場合、その名前を入力し、元に戻すボタンを押してください。', - dic_rename: '名前変更', - dic_restore: '元に戻す', - dictionariesTab: '辞書', - disable: 'SCAYT無効', - emptyDic: '辞書名は必ず入力してください', - enable: 'SCAYT有効', - ignore: '無視', - ignoreAll: 'すべて無視', - ignoreDomainNames: 'ドメイン名を無視', - langs: '言語', - languagesTab: '言語', - mixedCase: '大文字小文字混在の単語を無視', - mixedWithDigits: '数字付き単語を無視', - moreSuggestions: '他の候補', - opera_title: 'Operaではサポートされません', - options: 'オプション', - optionsTab: 'オプション', - title: 'スペルチェック設定(SCAYT)', - toggle: 'SCAYT切替', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ka.js deleted file mode 100644 index 28bf7d44ec1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ka.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'ka', { - about: 'SCAYT-ის შესახებ', - aboutTab: 'ინფორმაცია', - addWord: 'სიტყვის დამატება', - allCaps: 'დიდი ასოებით დაწერილი სიტყვების უგულებელყოფა', - dic_create: 'შექმნა', - dic_delete: 'წაშლა', - dic_field_name: 'ლექსიკონის სახელი', - dic_info: 'თავდაპირველად მომხმარებლის ლექსიკონი ინახება Cookie-ში. თუმცა Cookie შეზღუდულია ზომაში. როცა ლექსიკონის ზომა გაიზრდება საკმაოდ ის შეიძლება შევინახოთ ჩვენს სერვერზე. ჩვენს სერვერზე ლექსიკონს შესანახად უნდა მიუთითოთ მისი სახელი. თუ უკე გაქვთ ლექსიკონი, აკრიფეთ მისი სახელი და დააჭირეთ "დაბრუნების" ღილაკს.', - dic_rename: 'გადარქმევა', - dic_restore: 'დაბრუნება', - dictionariesTab: 'ლექსიკონები', - disable: 'SCAYT-ის გამორთვა', - emptyDic: 'ლექსიკონის სიტყვა არ უნდა იყოს ცარიელი.', - enable: 'SCAYT-ის ჩართვა', - ignore: 'უგულებელყოფა', - ignoreAll: 'ყველას უგულებელყოფა', - ignoreDomainNames: 'დომენური სახელების უგულებელყოფა', - langs: 'ენები', - languagesTab: 'ენები', - mixedCase: 'შერეული ასოებანი სიტყვების უგულებელყოფა', - mixedWithDigits: 'ციფრებიანი სიტყვების უგულებელყოფა', - moreSuggestions: 'მეტი შემოთავაზება', - opera_title: 'არაა მხარდაჭერილი Opera-ს მიერ', - options: 'პარამეტრები', - optionsTab: 'პარამეტრები', - title: 'მართლწერის შემოწმება კრეფისას', - toggle: 'SCAYT-ის გადართვა', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/km.js deleted file mode 100644 index a0c5833ad6b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/km.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'km', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ko.js deleted file mode 100644 index 65aacc50906..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ko.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'ko', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ku.js deleted file mode 100644 index 8067717007c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ku.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'ku', { - about: 'دهربارهی SCAYT', - aboutTab: 'دهربارهی', - addWord: 'زیادکردنی ووشه', - allCaps: 'پشتگوێخستنی وشانهی پێکهاتووه لهپیتی گهوره', - dic_create: 'درووستکردن', - dic_delete: 'سڕینهوه', - dic_field_name: 'ناوی فهرههنگ', - dic_info: 'لهبنچینهدا فهرههنگی بهکارهێنهر کۆگاکردن کراوه له شهکرۆکه Cookie, ههرچۆنێك بێت شهکۆرکه سنووردار کراوه له قهباره کۆگاکردن.کاتێك فهرههنگی بهکارهێنهر گهیشته ئهم خاڵهی کهناتوانرێت زیاتر کۆگاکردن بکرێت له شهکرۆکه، ئهوسا فهرههنگهکه پێویسته کۆگابکرێت له ڕاژهکهی ئێمه. بۆ کۆگاکردنی زانیاری تایبهتی فهرههنگهکه له ڕاژهکهی ئێمه, پێویسته ناوێك ههڵبژێریت بۆ فهرههنگهکه. گهر تۆ فهرههنگێکی کۆگاکراوت ههیه, تکایه ناوی فهرههنگهکه بنووسه وه کلیکی دوگمهی گهڕاندنهوه بکه.', - dic_rename: 'گۆڕینی ناو', - dic_restore: 'گهڕاندنهوه', - dictionariesTab: 'فهرههنگهکان', - disable: 'ناچالاککردنی SCAYT', - emptyDic: 'ناوی فهرههنگ نابێت خاڵی بێت.', - enable: 'چالاککردنی SCAYT', - ignore: 'پشتگوێخستن', - ignoreAll: 'پشتگوێخستنی ههمووی', - ignoreDomainNames: 'پشتگوێخستنی دۆمهین', - langs: 'زمانهکان', - languagesTab: 'زمانهکان', - mixedCase: 'پشتگوێخستنی وشانهی پێکهاتووه لهپیتی گهورهو بچووك', - mixedWithDigits: 'پشتگوێخستنی وشانهی پێکهاتووه لهژماره', - moreSuggestions: 'پێشنیاری زیاتر', - opera_title: 'پشتیوانی نهکراوه لهلایهن Opera', - options: 'ههڵبژارده', - optionsTab: 'ههڵبژارده', - title: 'پشکنینی نووسه لهکاتی نووسین', - toggle: 'گۆڕینی SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/lt.js deleted file mode 100644 index 674d7ec80d2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/lt.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'lt', { - about: 'Apie SCAYT', - aboutTab: 'Apie', - addWord: 'Pridėti žodį', - allCaps: 'Ignoruoti visas didžiąsias raides', - dic_create: 'Sukurti', - dic_delete: 'Ištrinti', - dic_field_name: 'Žodyno pavadinimas', - dic_info: 'Paprastai žodynas yra saugojamas sausainėliuose (cookies), kurių dydis, bet kokiu atveju, yra apribotas. Esant sausainėlių apimties pervišiui, viskas bus saugoma serveryje. Jei norite iš kart viską saugoti serveryje, turite sugalvoti žodynui pavadinimą. Jei jau turite žodyną, įrašykite pavadinimą ir nuspauskite Atstatyti mygtuką.', - dic_rename: 'Pervadinti', - dic_restore: 'Atstatyti', - dictionariesTab: 'Žodynai', - disable: 'Išjungti SCAYT', - emptyDic: 'Žodyno vardas neturėtų būti tuščias.', - enable: 'Įjungti SCAYT', - ignore: 'Ignoruoti', - ignoreAll: 'Ignoruoti viską', - ignoreDomainNames: 'Ignoruoti domenų vardus', - langs: 'Kalbos', - languagesTab: 'Kalbos', - mixedCase: 'Ignoruoti maišyto dydžio raides', - mixedWithDigits: 'Ignoruoti raides su skaičiais', - moreSuggestions: 'Daugiau patarimų', - opera_title: 'Nepalaikoma naršyklėje Opera', - options: 'Parametrai', - optionsTab: 'Parametrai', - title: 'Tikrinti klaidas kai rašoma', - toggle: 'Perjungti SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/lv.js deleted file mode 100644 index 4ff65218e6a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/lv.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'lv', { - about: 'Par SCAYT', - aboutTab: 'Par', - addWord: 'Pievienot vārdu', - allCaps: 'Ignorēt vārdus ar lielajiem burtiem', - dic_create: 'Izveidot', - dic_delete: 'Dzēst', - dic_field_name: 'Vārdnīcas nosaukums', - dic_info: 'Sākumā lietotāja vārdnīca tiek glabāta Cookie. Diemžēl, Cookie ir ierobežots izmērs. Kad vārdnīca sasniegs izmēru, ka to vairs nevar glabāt Cookie, tā tiks noglabāta uz servera. Lai saglabātu personīgo vārdnīcu uz jūsu servera, jums jānorāda tās nosaukums. Ja jūs jau esiet noglabājuši vārdnīcu, lūdzu ierakstiet tās nosaukum un nospiediet Atjaunot pogu.', - dic_rename: 'Pārsaukt', - dic_restore: 'Atjaunot', - dictionariesTab: 'Vārdnīcas', - disable: 'Atslēgt SCAYT', - emptyDic: 'Vārdnīcas nosaukums nevar būt tukšs.', - enable: 'Ieslēgt SCAYT', - ignore: 'Ignorēt', - ignoreAll: 'Ignorēt visu', - ignoreDomainNames: 'Ignorēt domēnu nosaukumus', - langs: 'Valodas', - languagesTab: 'Valodas', - mixedCase: 'Ignorēt vārdus ar jauktu reģistru burtiem', - mixedWithDigits: 'Ignorēt vārdus ar skaitļiem', - moreSuggestions: 'Vairāk ieteikumi', - opera_title: 'Opera neatbalsta', - options: 'Uzstādījumi', - optionsTab: 'Uzstādījumi', - title: 'Pārbaudīt gramatiku rakstot', - toggle: 'Pārslēgt SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/mk.js deleted file mode 100644 index 757e173077f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/mk.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'mk', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/mn.js deleted file mode 100644 index 90ff9106c6a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/mn.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'mn', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Бий болгох', - dic_delete: 'Устгах', - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Нэрийг солих', - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Толь бичгүүд', - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Хэлүүд', - languagesTab: 'Хэлүүд', - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Сонголт', - optionsTab: 'Сонголт', - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ms.js deleted file mode 100644 index a7b14f33130..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ms.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'ms', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/nb.js deleted file mode 100644 index 12344b3e7d6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/nb.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'nb', { - about: 'Om SCAYT', - aboutTab: 'Om', - addWord: 'Legg til ord', - allCaps: 'Ikke kontroller ord med kun store bokstaver', - dic_create: 'Opprett', - dic_delete: 'Slett', - dic_field_name: 'Ordboknavn', - dic_info: 'Brukerordboken lagres først i en informasjonskapsel på din maskin, men det er en begrensning på hvor mye som kan lagres her. Når ordboken blir for stor til å lagres i en informasjonskapsel, vil vi i stedet lagre ordboken på vår server. For å lagre din personlige ordbok på vår server, burde du velge et navn for ordboken din. Hvis du allerede har lagret en ordbok, vennligst skriv inn ordbokens navn og klikk på Gjenopprett-knappen.', - dic_rename: 'Gi nytt navn', - dic_restore: 'Gjenopprett', - dictionariesTab: 'Ordbøker', - disable: 'Slå av SCAYT', - emptyDic: 'Ordboknavn bør ikke være tom.', - enable: 'Slå på SCAYT', - ignore: 'Ignorer', - ignoreAll: 'Ignorer Alle', - ignoreDomainNames: 'Ikke kontroller domenenavn', - langs: 'Språk', - languagesTab: 'Språk', - mixedCase: 'Ikke kontroller ord med blandet små og store bokstaver', - mixedWithDigits: 'Ikke kontroller ord som inneholder tall', - moreSuggestions: 'Flere forslag', - opera_title: 'Ikke støttet av Opera', - options: 'Valg', - optionsTab: 'Valg', - title: 'Stavekontroll mens du skriver', - toggle: 'Veksle SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/nl.js deleted file mode 100644 index c054c36a20d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/nl.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'nl', { - about: 'Over SCAYT', - aboutTab: 'Over', - addWord: 'Woord toevoegen', - allCaps: 'Negeer woorden helemaal in hoofdletters', - dic_create: 'Aanmaken', - dic_delete: 'Verwijderen', - dic_field_name: 'Naam woordenboek', - dic_info: 'Initieel wordt het gebruikerswoordenboek opgeslagen in een cookie. Cookies zijn echter beperkt in grootte. Zodra het gebruikerswoordenboek het punt bereikt waarop het niet meer in een cookie opgeslagen kan worden, dan wordt het woordenboek op de server opgeslagen. Om je persoonlijke woordenboek op je eigen server op te slaan, moet je een mapnaam opgeven. Indien je al een woordenboek hebt opgeslagen, typ dan de naam en klik op de Terugzetten knop.', - dic_rename: 'Hernoemen', - dic_restore: 'Terugzetten', - dictionariesTab: 'Woordenboeken', - disable: 'SCAYT uitschakelen', - emptyDic: 'De naam van het woordenboek mag niet leeg zijn.', - enable: 'SCAYT inschakelen', - ignore: 'Negeren', - ignoreAll: 'Alles negeren', - ignoreDomainNames: 'Negeer domeinnamen', - langs: 'Talen', - languagesTab: 'Talen', - mixedCase: 'Negeer woorden met hoofd- en kleine letters', - mixedWithDigits: 'Negeer woorden met cijfers', - moreSuggestions: 'Meer suggesties', - opera_title: 'Niet ondersteund door Opera', - options: 'Opties', - optionsTab: 'Opties', - title: 'Controleer de spelling tijdens het typen', - toggle: 'SCAYT in/uitschakelen', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/no.js deleted file mode 100644 index 822d3b47aad..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/no.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'no', { - about: 'Om SCAYT', - aboutTab: 'Om', - addWord: 'Legg til ord', - allCaps: 'Ikke kontroller ord med kun store bokstaver', - dic_create: 'Opprett', - dic_delete: 'Slett', - dic_field_name: 'Ordboknavn', - dic_info: 'Brukerordboken lagres først i en informasjonskapsel på din maskin, men det er en begrensning på hvor mye som kan lagres her. Når ordboken blir for stor til å lagres i en informasjonskapsel, vil vi i stedet lagre ordboken på vår server. For å lagre din personlige ordbok på vår server, burde du velge et navn for ordboken din. Hvis du allerede har lagret en ordbok, vennligst skriv inn ordbokens navn og klikk på Gjenopprett-knappen.', - dic_rename: 'Gi nytt navn', - dic_restore: 'Gjenopprett', - dictionariesTab: 'Ordbøker', - disable: 'Slå av SCAYT', - emptyDic: 'Ordboknavn bør ikke være tom.', - enable: 'Slå på SCAYT', - ignore: 'Ignorer', - ignoreAll: 'Ignorer Alle', - ignoreDomainNames: 'Ikke kontroller domenenavn', - langs: 'Språk', - languagesTab: 'Språk', - mixedCase: 'Ikke kontroller ord med blandet små og store bokstaver', - mixedWithDigits: 'Ikke kontroller ord som inneholder tall', - moreSuggestions: 'Flere forslag', - opera_title: 'Ikke støttet av Opera', - options: 'Valg', - optionsTab: 'Valg', - title: 'Stavekontroll mens du skriver', - toggle: 'Veksle SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/pl.js deleted file mode 100644 index a367e273089..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/pl.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'pl', { - about: 'Informacje o SCAYT', - aboutTab: 'Informacje o SCAYT', - addWord: 'Dodaj słowo', - allCaps: 'Ignoruj wyrazy pisane dużymi literami', - dic_create: 'Utwórz', - dic_delete: 'Usuń', - dic_field_name: 'Nazwa słownika', - dic_info: 'Początkowo słownik użytkownika przechowywany jest w cookie. Pliki cookie mają jednak ograniczoną pojemność. Jeśli słownik użytkownika przekroczy wielkość dopuszczalną dla pliku cookie, możliwe jest przechowanie go na naszym serwerze. W celu zapisania słownika na serwerze niezbędne jest nadanie mu nazwy. Jeśli słownik został już zapisany na serwerze, wystarczy podać jego nazwę i nacisnąć przycisk Przywróć.', - dic_rename: 'Zmień nazwę', - dic_restore: 'Przywróć', - dictionariesTab: 'Słowniki', - disable: 'Wyłącz SCAYT', - emptyDic: 'Nazwa słownika nie może być pusta.', - enable: 'Włącz SCAYT', - ignore: 'Ignoruj', - ignoreAll: 'Ignoruj wszystkie', - ignoreDomainNames: 'Ignoruj nazwy domen', - langs: 'Języki', - languagesTab: 'Języki', - mixedCase: 'Ignoruj wyrazy pisane dużymi i małymi literami', - mixedWithDigits: 'Ignoruj wyrazy zawierające cyfry', - moreSuggestions: 'Więcej sugestii', - opera_title: 'Funkcja nie jest obsługiwana przez przeglądarkę Opera', - options: 'Opcje', - optionsTab: 'Opcje', - title: 'Sprawdź pisownię podczas pisania (SCAYT)', - toggle: 'Przełącz SCAYT', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/pt-br.js deleted file mode 100644 index 46ce9292af1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/pt-br.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'pt-br', { - about: 'Sobre a correção ortográfica durante a digitação', - aboutTab: 'Sobre', - addWord: 'Adicionar palavra', - allCaps: 'Ignorar palavras maiúsculas', - dic_create: 'Criar', - dic_delete: 'Excluir', - dic_field_name: 'Nome do Dicionário', - dic_info: 'Inicialmente, o dicionário do usuário fica armazenado em um Cookie. Porém, Cookies tem tamanho limitado, portanto quand o dicionário do usuário atingir o tamanho limite poderá ser armazenado no nosso servidor. Para armazenar seu dicionário pessoal no nosso servidor deverá especificar um nome para ele. Se já tiver um dicionário armazenado por favor especifique o seu nome e clique em Restaurar.', - dic_rename: 'Renomear', - dic_restore: 'Restaurar', - dictionariesTab: 'Dicionários', - disable: 'Desabilitar correção ortográfica durante a digitação', - emptyDic: 'O nome do dicionário não deveria estar vazio.', - enable: 'Habilitar correção ortográfica durante a digitação', - ignore: 'Ignorar', - ignoreAll: 'Ignorar todas', - ignoreDomainNames: 'Ignorar nomes de domínio', - langs: 'Idiomas', - languagesTab: 'Idiomas', - mixedCase: 'Ignorar palavras com maiúsculas e minúsculas misturadas', - mixedWithDigits: 'Ignorar palavras com números', - moreSuggestions: 'Mais sugestões', - opera_title: 'Não suportado no Opera', - options: 'Opções', - optionsTab: 'Opções', - title: 'Correção ortográfica durante a digitação', - toggle: 'Ativar/desativar correção ortográfica durante a digitação', - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/pt.js deleted file mode 100644 index ade424e5ea5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/pt.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'pt', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ro.js deleted file mode 100644 index b5bdba03f47..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ro.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'ro', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT', // MISSING - noSuggestions: 'No suggestion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ru.js deleted file mode 100644 index 2fb8df57242..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ru.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'ru', { - about: 'О SCAYT', - aboutTab: 'О SCAYT', - addWord: 'Добавить слово', - allCaps: 'Игнорировать слова из заглавных букв', - dic_create: 'Создать', - dic_delete: 'Удалить', - dic_field_name: 'Название словаря', - dic_info: 'Изначально, пользовательский словарь хранится в cookie, которые ограничены в размере. Когда словарь пользователя вырастает до размеров, что его невозможно хранить в cookie, он переносится на хранение на наш сервер. Чтобы сохранить ваш словарь на нашем сервере, вам следует указать название вашего словаря. Если у вас уже был словарь, который вы сохраняли на нашем сервере, то укажите здесь его название и нажмите кнопку Восстановить.', - dic_rename: 'Переименовать', - dic_restore: 'Восстановить', - dictionariesTab: 'Словари', - disable: 'Отключить SCAYT', - emptyDic: 'Вы должны указать название словаря.', - enable: 'Включить SCAYT', - ignore: 'Пропустить', - ignoreAll: 'Пропустить всё', - ignoreDomainNames: 'Игнорировать доменные имена', - langs: 'Языки', - languagesTab: 'Языки', - mixedCase: 'Игнорировать слова из букв в разном регистре', - mixedWithDigits: 'Игнорировать слова, содержащие цифры', - moreSuggestions: 'Ещё варианты', - opera_title: 'Не поддерживается Opera', - options: 'Настройки', - optionsTab: 'Параметры', - title: 'Проверка орфографии по мере ввода (SCAYT)', - toggle: 'Переключить SCAYT', - noSuggestions: 'Нет вариантов' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sk.js deleted file mode 100644 index e3ae5ebaa40..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sk.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'sk', { - about: 'O KPPP (Kontrola pravopisu počas písania)', - aboutTab: 'O', - addWord: 'Pridať slovo', - allCaps: 'Ignorovať slová písané veľkými písmenami', - dic_create: 'Vytvoriť', - dic_delete: 'Vymazať', - dic_field_name: 'Názov slovníka', - dic_info: 'Spočiatku je užívateľský slovník uložený v cookie. Cookie však majú obmedzenú veľkosť. Keď užívateľský slovník narastie do bodu, kedy nemôže byť uložený v cookie, potom musí byť slovník uložený na našom serveri. Pre uloženie vášho osobného slovníka na náš server by ste mali zadať názov pre váš slovník. Ak už máte uložený slovník, prosíme, napíšte jeho názov a kliknite tlačidlo Obnoviť.', - dic_rename: 'Premenovať', - dic_restore: 'Obnoviť', - dictionariesTab: 'Slovníky', - disable: 'Zakázať KPPP (Kontrola pravopisu počas písania)', - emptyDic: 'Názov slovníka by nemal byť prázdny.', - enable: 'Povoliť KPPP (Kontrola pravopisu počas písania)', - ignore: 'Ignorovať', - ignoreAll: 'Ignorovať všetko', - ignoreDomainNames: 'Iznorovať názvy domén', - langs: 'Jazyky', - languagesTab: 'Jazyky', - mixedCase: 'Ignorovať slová so smiešanými veľkými a malými písmenami', - mixedWithDigits: 'Ignorovať slová s číslami', - moreSuggestions: 'Viac návrhov', - opera_title: 'Nepodporované Operou', - options: 'Možnosti', - optionsTab: 'Možnosti', - title: 'Kontrola pravopisu počas písania', - toggle: 'Prepnúť KPPP (Kontrola pravopisu počas písania)', - noSuggestions: 'No suggestion'// MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sl.js deleted file mode 100644 index 94ca56f5091..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sl.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'sl', { - about: 'O storitvi SCAYT', - aboutTab: 'O storitvi', - addWord: 'Dodaj besedo', - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Slovarji', - disable: 'Onemogoči SCAYT', - emptyDic: 'Ime slovarja ne more biti prazno.', - enable: 'Omogoči SCAYT', - ignore: 'Prezri', - ignoreAll: 'Prezri vse', - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Jeziki', - languagesTab: 'Jeziki', - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'Več predlogov', - opera_title: 'Not supported by Opera', // MISSING - options: 'Možnosti', - optionsTab: 'Možnosti', - title: 'Črkovanje med tipkanjem', - toggle: 'Preklopi SCAYT', - noSuggestions: 'No suggestion'// MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sr-latn.js deleted file mode 100644 index a45b7739bd2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sr-latn.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'sr-latn', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT',// MISSING - noSuggestions: 'No suggestion' // MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sr.js deleted file mode 100644 index 6a42eb0c952..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sr.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'sr', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT',// MISSING - noSuggestions: 'No suggestion' // MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sv.js deleted file mode 100644 index 1439455e6fb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/sv.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'sv', { - about: 'Om SCAYT', - aboutTab: 'Om', - addWord: 'Lägg till ord', - allCaps: 'Ignorera alla ord med enbart versaler', - dic_create: 'Skapa', - dic_delete: 'Ta bort', - dic_field_name: 'Ordlistans namn', - dic_info: 'Inledningsvis lagras ordlistan i en cookie. När ordlista växer till en punkt där det inte kan lagras i en cookie, lagras den på vår server. För att lagra din personliga ordlista på vår server du ska ange ett namn för din ordbok. Om du redan har en lagrad ordbok, skriv namnet och klicka på knappen Återställ.', - dic_rename: 'Byt namn', - dic_restore: 'Återställ', - dictionariesTab: 'Ordlistor', - disable: 'Inaktivera SCAYT', - emptyDic: 'Ordlistans namn får ej vara tomt.', - enable: 'Aktivera SCAYT', - ignore: 'Ignorera', - ignoreAll: 'Ignorera alla', - ignoreDomainNames: 'Ignorera domännamn', - langs: 'Språk', - languagesTab: 'Språk', - mixedCase: 'Ignorera ord med blandat shiftläge', - mixedWithDigits: 'Ignorera ord med nummer', - moreSuggestions: 'Fler förslag', - opera_title: 'Stöds ej av Opera', - options: 'Inställningar', - optionsTab: 'Inställningar', - title: 'Stavningskontroll medan du skriver', - toggle: 'Växla SCAYT', - noSuggestions: 'No suggestion'// MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/th.js deleted file mode 100644 index 3339bec3ae9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/th.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'th', { - about: 'About SCAYT', // MISSING - aboutTab: 'About', // MISSING - addWord: 'Add Word', // MISSING - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: 'Dictionaries', // MISSING - disable: 'Disable SCAYT', // MISSING - emptyDic: 'Dictionary name should not be empty.', // MISSING - enable: 'Enable SCAYT', // MISSING - ignore: 'Ignore', // MISSING - ignoreAll: 'Ignore All', // MISSING - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: 'Languages', // MISSING - languagesTab: 'Languages', // MISSING - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: 'More suggestions', // MISSING - opera_title: 'Not supported by Opera', // MISSING - options: 'Options', // MISSING - optionsTab: 'Options', // MISSING - title: 'Spell Check As You Type', // MISSING - toggle: 'Toggle SCAYT',// MISSING - noSuggestions: 'No suggestion' // MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/tr.js deleted file mode 100644 index 52c169b0f17..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/tr.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'tr', { - about: 'SCAYT\'ı hakkında', - aboutTab: 'Hakkında', - addWord: 'Kelime Ekle', - allCaps: 'Tüm büyük küçük kelimeleri yoksay', - dic_create: 'Oluştur', - dic_delete: 'Sil', - dic_field_name: 'Sözlük adı', - dic_info: 'Başlangıçta Kullanıcı Sözlüğü bir çerezde saklanır. Ancak, Çerezler boyutu sınırlıdır. Kullanıcı Sözlüğü, çerezin içinde saklanamayacağı bir noktada, bizim sunucularımızın içindeki sözlükte saklanabilir. Bizim sunucu üzerinde kişisel Sözlük saklamanız için, Sözlüğe bir ad belirtmelisiniz. Eğer zaten bir saklı Sözlük varsa, lütfen adını yazın ve Geri Yükle düğmesini tıklayın.', - dic_rename: 'Yeniden adlandır', - dic_restore: 'Geri al', - dictionariesTab: 'Sözlükler', - disable: 'SCAYT\'ı pasifleştir', - emptyDic: 'Sözlük adı boş olamaz.', - enable: 'SCAYT\'ı etkinleştir', - ignore: 'Yoksay', - ignoreAll: 'Tümünü Yoksay', - ignoreDomainNames: 'Domain adlarını yoksay', - langs: 'Diller', - languagesTab: 'Diller', - mixedCase: 'Karışık büyüklük ile Sözcükler yoksay', - mixedWithDigits: 'Sayılarla Kelimeler yoksay', - moreSuggestions: 'Daha fazla öneri', - opera_title: 'Opera tarafından desteklenmemektedir', - options: 'Seçenekler', - optionsTab: 'Seçenekler', - title: 'Girmiş olduğunuz kelime denetimi', - toggle: 'SCAYT\'ı değiştir', - noSuggestions: 'No suggestion'// MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ug.js deleted file mode 100644 index 06bcbfc689f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/ug.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'ug', { - about: 'شۇئان ئىملا تەكشۈرۈش ھەققىدە', - aboutTab: 'ھەققىدە', - addWord: 'سۆز قوش', - allCaps: 'چوڭ ھەرپتە يېزىلغان ھەممە سۆزگە پەرۋا قىلما', - dic_create: 'قۇر', - dic_delete: 'ئۆچۈر', - dic_field_name: 'لۇغەت ئاتى', - dic_info: 'باشلىنىشتا ئىشلەتكۈچى لۇغىتى Cookie غا ساقلىنىدۇ ئەمما Cookie نىڭ سىغىمى چەكلىك بولغاچقا، ئىشلەتكۈچى لۇغىتى كۆپىيىپ Cookie چەكلىمىسىدىن ئېشىپ كەتكەندە ساقلىغىلى بولمايدۇ، بۇ چاغدا لۇغىتىڭىزنى مۇلازىمېتىرىمىزغا ساقلىسىڭىز بولىدۇ. شەخسىي لۇغىتىڭىزنى مۇلازىمېتىرىمىزغا ساقلىماقچى بولسىڭىز لۇغىتىڭىزگە ئاتتىن بىرنى قويۇڭ، ئەگەر مۇلازىمتېرىمىزدا سىزنىڭ لۇغىتىڭىزدىن بىرسى بولسا لۇغەت ئاتىنى كىرگۈزۈپ ئەسلىگە قايتۇر توپچىسىنى بېسىڭ.', - dic_rename: 'ئات ئۆزگەرت', - dic_restore: 'ئەسلىگە كەلتۈر', - dictionariesTab: 'لۇغەت', - disable: 'شۇئان ئىملا تەكشۈرۈشنى چەكلە', - emptyDic: 'لۇغەت ئاتى بوش قالمايدۇ', - enable: 'شۇئان ئىملا تەكشۈرۈشنى قوزغات', - ignore: 'پەرۋا قىلما', - ignoreAll: 'ھەممىسىگە پەرۋا قىلما', - ignoreDomainNames: 'دائىرە ئاتىغا پەرۋا قىلما', - langs: 'تىل', - languagesTab: 'تىل', - mixedCase: 'چوڭ كىچىك ھەرپ بىلەن ئارىلاش يېزىلغان سۆزگە پەرۋا قىلما', - mixedWithDigits: 'سان بار سۆزگە پەرۋا قىلما', - moreSuggestions: 'تېخىمۇ كۆپ ئىملا تەۋسىيەسى', - opera_title: 'Opera توركۆرگۈنى قوللىمايدۇ', - options: 'تاللانما', - optionsTab: 'تاللانما', - title: 'شۇئان ئىملا تەكشۈر', - toggle: 'شۇئان ئىملا تەكشۈرۈشنى ۋاقىتلىق توختات/قوزغات', - noSuggestions: 'No suggestion'// MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/uk.js deleted file mode 100644 index 3e8c6c0a7ae..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/uk.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'uk', { - about: 'Про SCAYT', - aboutTab: 'Про SCAYT', - addWord: 'Додати слово', - allCaps: 'Пропустити прописні слова', - dic_create: 'Створити', - dic_delete: 'Видалити', - dic_field_name: 'Назва словника', - dic_info: 'Як правило, користувацькі словники зберігаються у cookie-файлах. Однак, cookie-файли мають обмеження на розмір. Якщо користувацький словник зростає в обсязі настільки, що вже не може бути збережений у cookie-файлі, тоді його можна зберегти на нашому сервері. Щоб зберегти Ваш персональний словник на нашому сервері необхідно вказати назву словника. Якщо Ви вже зберігали словник на сервері, будь ласка, вкажіть назву збереженого словника і натисніть кнопку Відновити.', - dic_rename: 'Перейменувати', - dic_restore: 'Відновити', - dictionariesTab: 'Словники', - disable: 'Вимкнути SCAYT', - emptyDic: 'Назва словника повинна бути вказана.', - enable: 'Ввімкнути SCAYT', - ignore: 'Пропустити', - ignoreAll: 'Пропустити всі', - ignoreDomainNames: 'Пропустити доменні назви', - langs: 'Мови', - languagesTab: 'Мови', - mixedCase: 'Пропустити слова зі змішаним регістром', - mixedWithDigits: 'Пропустити слова, що містять цифри', - moreSuggestions: 'Більше варіантів', - opera_title: 'Не підтримується в Opera', - options: 'Опції', - optionsTab: 'Опції', - title: 'Перефірка орфографії по мірі набору', - toggle: 'Перемкнути SCAYT', - noSuggestions: 'No suggestion'// MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/vi.js deleted file mode 100644 index 75cf4fe4480..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/vi.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'vi', { - about: 'Thông tin về SCAYT', - aboutTab: 'Thông tin', - addWord: 'Thêm từ', - allCaps: 'Không phân biệt chữ HOA chữ thường', - dic_create: 'Tạo', - dic_delete: 'Xóa', - dic_field_name: 'Tên từ điển', - dic_info: 'Ban đầu, từ điển người dùng được lưu trữ trong một cookie. Tuy nhiên, kích thước cookie bị giới hạn. Khi người sử dụng từ điển phát triển đến điểm không thể được lưu trữ trong cookie, từ điển sẽ được lưu trữ trên máy chủ của chúng tôi. Để lưu trữ từ điển cá nhân của bạn trên máy chủ của chúng tôi, bạn nên xác định một tên cho từ điển của bạn. Nếu bạn đã có một cuốn từ điển được lưu trữ, xin vui lòng gõ tên của nó và nhấn vào nút Khôi phục.', - dic_rename: 'Thay tên', - dic_restore: 'Phục hồi', - dictionariesTab: 'Từ điển', - disable: 'Tắt SCAYT', - emptyDic: 'Tên của từ điển không được để trống.', - enable: 'Bật SCAYT', - ignore: 'Bỏ qua', - ignoreAll: 'Bỏ qua tất cả', - ignoreDomainNames: 'Bỏ qua tên miền', - langs: 'Ngôn ngữ', - languagesTab: 'Tab ngôn ngữ', - mixedCase: 'Không phân biệt loại chữ', - mixedWithDigits: 'Không phân biệt chữ và số', - moreSuggestions: 'Đề xuất thêm', - opera_title: 'Không hỗ trợ trên trình duyệt Opera', - options: 'Tùy chọn', - optionsTab: 'Tùy chọn', - title: 'Kiểm tra chính tả ngay khi gõ chữ (SCAYT)', - toggle: 'Bật tắt SCAYT', - noSuggestions: 'No suggestion'// MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/zh-cn.js deleted file mode 100644 index 5911c5fbc64..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/zh-cn.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'zh-cn', { - about: '关于即时拼写检查', - aboutTab: '关于', - addWord: '添加单词', - allCaps: '忽略所有大写单词', - dic_create: '创建', - dic_delete: '删除', - dic_field_name: '字典名称', - dic_info: '一开始用户词典储存在 Cookie 中, 但是 Cookies 的容量是有限的, 当用户词典增长到超出 Cookie 限制时就无法再储存了, 这时您可以将词典储存到我们的服务器上. 要把您的个人词典到储存到我们的服务器上的话, 需要为您的词典指定一个名称, 如果您在我们的服务器上已经有储存有一个词典, 请输入词典名称并按还原按钮.', - dic_rename: '重命名', - dic_restore: '还原', - dictionariesTab: '字典', - disable: '禁用即时拼写检查', - emptyDic: '字典名不应为空.', - enable: '启用即时拼写检查', - ignore: '忽略', - ignoreAll: '全部忽略', - ignoreDomainNames: '忽略域名', - langs: '语言', - languagesTab: '语言', - mixedCase: '忽略大小写混合的单词', - mixedWithDigits: '忽略带数字的单词', - moreSuggestions: '更多拼写建议', - opera_title: '不支持 Opera 浏览器', - options: '选项', - optionsTab: '选项', - title: '即时拼写检查', - toggle: '暂停/启用即时拼写检查', - noSuggestions: 'No suggestion'// MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/zh.js deleted file mode 100644 index 7ff304b8359..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/lang/zh.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'scayt', 'zh', { - about: '關於即時拼寫檢查', - aboutTab: '關於', - addWord: '添加單詞', - allCaps: 'Ignore All-Caps Words', // MISSING - dic_create: 'Create', // MISSING - dic_delete: 'Delete', // MISSING - dic_field_name: 'Dictionary name', // MISSING - dic_info: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING - dic_rename: 'Rename', // MISSING - dic_restore: 'Restore', // MISSING - dictionariesTab: '字典', - disable: '關閉即時拼寫檢查', - emptyDic: '字典名不應為空.', - enable: '啟用即時拼寫檢查', - ignore: '忽略', - ignoreAll: '全部忽略', - ignoreDomainNames: 'Ignore Domain Names', // MISSING - langs: '語言', - languagesTab: '語言', - mixedCase: 'Ignore Words with Mixed Case', // MISSING - mixedWithDigits: 'Ignore Words with Numbers', // MISSING - moreSuggestions: '更多拼寫建議', - opera_title: 'Not supported by Opera', // MISSING - options: '選項', - optionsTab: '選項', - title: '即時拼寫檢查', - toggle: '啟用/關閉即時拼寫檢查', - noSuggestions: 'No suggestion'// MISSING -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/plugin.js deleted file mode 100644 index 8829f486eb7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/scayt/plugin.js +++ /dev/null @@ -1,929 +0,0 @@ -/** - * @license Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.html or http://ckeditor.com/license - */ - -/** - * @fileOverview Spell Check As You Type (SCAYT). - * Button name : Scayt. - */ - -(function() { - var commandName = 'scaytcheck', - wscCommandName = 'checkspell', - openPage = ''; - - // Checks if a value exists in an array - function in_array( needle, haystack ) { - var found = 0, - key; - for ( key in haystack ) { - if ( haystack[ key ] == needle ) { - found = 1; - break; - } - } - return found; - } - - var onEngineLoad = function() { - var editor = this; - - var createInstance = function( ev ) // Create new instance every time Document is created. - { - if ( typeof plugin.instances[ editor.name ] != 'undefined' || plugin.instances[ editor.name ] != null ) - return; - - var config = editor.config; - // Initialise Scayt instance. - var oParams = {}; - // Get the iframe. - - if(editor.editable().$.nodeName == 'BODY') - oParams.srcNodeRef = editor.document.getWindow().$.frameElement; - else - oParams.srcNodeRef = editor.editable().$; - - // syntax : AppName.AppVersion@AppRevision - oParams.assocApp = 'CKEDITOR.' + CKEDITOR.version + '@' + CKEDITOR.revision; - oParams.customerid = config.scayt_customerid || '1:WvF0D4-UtPqN1-43nkD4-NKvUm2-daQqk3-LmNiI-z7Ysb4-mwry24-T8YrS3-Q2tpq2'; - oParams.customDictionaryIds = config.scayt_customDictionaryIds || ''; - oParams.userDictionaryName = config.scayt_userDictionaryName || ''; - oParams.sLang = config.scayt_sLang || 'en_US'; - - // Introduce SCAYT onLoad callback. (#5632) - oParams.onLoad = function() { - // Draw down word marker to avoid being covered by background-color style.(#5466) - if ( !( CKEDITOR.env.ie && CKEDITOR.env.version < 8 ) ) - this.addStyle( this.selectorCss(), 'padding-bottom: 2px !important;' ); - - // Call scayt_control.focus when SCAYT loaded - // and only if editor has focus and scayt control creates at first time (#5720) - if ( editor.editable().hasFocus && !plugin.isControlRestored( editor ) ) - this.focus(); - - }; - - /* - ** commented due to #23630 BCG: IE 9: SCAYT plugin for CKEditor 4: checkDirty issue - ** We redefined checkDirty of CKEDITOR already - so this is waste functionality, that - ** cause recursive calling of checkDirty in IE - */ - // oParams.onBeforeChange = function() { - // if ( plugin.getScayt( editor ) && !editor.checkDirty() ) { - // setTimeout( function() { - // editor.resetDirty(); - // }, 0 ); - // } - // }; - - var scayt_custom_params = window.scayt_custom_params; - if ( typeof scayt_custom_params == 'object' ) { - for ( var k in scayt_custom_params ) - oParams[ k ] = scayt_custom_params[ k ]; - } - // needs for restoring a specific scayt control settings - if ( plugin.getControlId( editor ) ) - oParams.id = plugin.getControlId( editor ); - - var scayt_control = new window.scayt( oParams ); - - scayt_control.afterMarkupRemove.push( function( node ) { - ( new CKEDITOR.dom.element( node, scayt_control.document ) ).mergeSiblings(); - }); - - // Copy config. - var lastInstance = plugin.instances[ editor.name ]; - if ( lastInstance ) { - scayt_control.sLang = lastInstance.sLang; - scayt_control.option( lastInstance.option() ); - scayt_control.paused = lastInstance.paused; - } - - plugin.instances[ editor.name ] = scayt_control; - - try { - scayt_control.setDisabled( plugin.isPaused( editor ) === false ); - } catch ( e ) {} - - editor.fire( 'showScaytState' ); - }; - - function bindInlineModeEvents() { - editor.once( 'focus', createInstance ); - editor.once( 'blur', destroyInstance ); - } - - function destroyInstance( ev ) { - var editor = ev.editor, - scayt_instance = plugin.getScayt( editor ), - inline_mode = ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE ); - - // SCAYT instance might already get destroyed by mode switch (#5744). - if ( !scayt_instance ) - return; - - plugin.setPaused( editor, !scayt_instance.disabled ); - // store a control id for restore a specific scayt control settings - plugin.setControlId( editor, scayt_instance.id ); - scayt_instance.destroy( true ); - delete plugin.instances[ editor.name ]; - - if ( inline_mode ) bindInlineModeEvents(); - } - - ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE ) ? bindInlineModeEvents() : editor.on( 'contentDom', createInstance ); - - editor.on( 'contentDomUnload', function() { - // Remove scripts. - var scripts = CKEDITOR.document.getElementsByTag( 'script' ), - scaytIdRegex = /^dojoIoScript(\d+)$/i, - scaytSrcRegex = /^https?:\/\/svc\.webspellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i; - - for ( var i = 0; i < scripts.count(); i++ ) { - var script = scripts.getItem( i ), - id = script.getId(), - src = script.getAttribute( 'src' ); - - if ( id && src && id.match( scaytIdRegex ) && src.match( scaytSrcRegex ) ) - script.remove(); - } - }); - - editor.on( 'beforeCommandExec', function( ev ) // Disable SCAYT before Source command execution. - { - if ( ev.data.name == 'source' && editor.mode == 'source' ) - plugin.markControlRestore( editor ); - }); - - editor.on( 'afterCommandExec', function( ev ) { - if ( !plugin.isScaytEnabled( editor ) ) - return; - - if ( editor.mode == 'wysiwyg' && ( ev.data.name == 'undo' || ev.data.name == 'redo' ) ) { - plugin.getScayt( editor ).setDisabled(true); - if (plugin.refresh_timeout) { - window.clearTimeout(plugin.refresh_timeout); - } - plugin.refresh_timeout = window.setTimeout( function() { - plugin.getScayt( editor ).setDisabled(false); - - plugin.getScayt( editor ).focus(); - plugin.getScayt( editor ).refresh(); - }, 10 ); - } - }); - - editor.on( 'destroy', destroyInstance ); - - // Listen to data manipulation to reflect scayt markup. - editor.on( 'setData', destroyInstance ); - - // Reload spell-checking for current word after insertion completed. - editor.on( 'insertElement', function() { - var scayt_instance = plugin.getScayt( editor ); - if ( plugin.isScaytEnabled( editor ) ) { - // Unlock the selection before reload, SCAYT will take - // care selection update. - if ( CKEDITOR.env.ie ) - editor.getSelection().unlock( true ); - - // Return focus to the editor and refresh SCAYT markup (#5573). - window.setTimeout( function() { - scayt_instance.focus(); - scayt_instance.refresh(); - }, 10 ); - } - }, this, null, 50 ); - - editor.on( 'insertHtml', function() { - var scayt_instance = plugin.getScayt( editor ); - if ( plugin.isScaytEnabled( editor ) ) { - // Unlock the selection before reload, SCAYT will take - // care selection update. - if ( CKEDITOR.env.ie ) - editor.getSelection().unlock( true ); - - // Return focus to the editor (#5573) - // Refresh SCAYT markup - window.setTimeout( function() { - scayt_instance.focus(); - scayt_instance.refresh(); - }, 10 ); - } - }, this, null, 50 ); - - editor.on( 'scaytDialog', function( ev ) // Communication with dialog. - { - ev.data.djConfig = window.djConfig; - ev.data.scayt_control = plugin.getScayt( editor ); - ev.data.tab = openPage; - ev.data.scayt = window.scayt; - }); - - var dataProcessor = editor.dataProcessor, - htmlFilter = dataProcessor && dataProcessor.htmlFilter; - - if ( htmlFilter ) { - htmlFilter.addRules({ - elements: { - span: function( element ) { - if ( element.attributes[ 'data-scayt_word' ] && element.attributes[ 'data-scaytid' ] ) { - delete element.name; // Write children, but don't write this node. - return element; - } - } - } - }); - } - - // Override Image.equals method avoid CK snapshot module to add SCAYT markup to snapshots. (#5546) - var undoImagePrototype = CKEDITOR.plugins.undo.Image.prototype; - - // add backword compatibility for CKEDITOR 4.2. method equals was repleced on other method - var equalsContentMethodName = (typeof undoImagePrototype.equalsContent == "function") ? 'equalsContent' : 'equals'; - - undoImagePrototype[equalsContentMethodName] = CKEDITOR.tools.override( undoImagePrototype[equalsContentMethodName], function( org ) { - return function( otherImage ) { - // - var thisContents = this.contents, - otherContents = otherImage.contents; - var scayt_instance = plugin.getScayt( this.editor ); - // Making the comparison based on content without SCAYT word markers. - if ( scayt_instance && plugin.isScaytReady( this.editor ) ) { - // scayt::reset might return value undefined. (#5742) - this.contents = scayt_instance.reset( thisContents ) || ''; - otherImage.contents = scayt_instance.reset( otherContents ) || ''; - } - - var retval = org.apply( this, arguments ); - - this.contents = thisContents; - otherImage.contents = otherContents; - return retval; - }; - }); - - // added due to #23630 (checkDirty wrong behaviour on SCAYT load) - var editorPrototype = CKEDITOR.editor.prototype; - // Override editor.checkDirty method avoid CK checkDirty functionality to fix SCAYT issues with incorrect checkDirty behavior. - editorPrototype.checkDirty = CKEDITOR.tools.override(editorPrototype.checkDirty, function( org ){ - return function() { - var retval = null, - scayt_instance = plugin.getScayt( this ); - - if ( scayt_instance && plugin.isScaytReady( this ) ) { - var currentData = scayt_instance.reset(this.getSnapshot()); - var prevData = scayt_instance.reset(this._.previousValue); - retval = ( currentData !== prevData ); - } else { - retval = org.apply(this); - } - - return retval; - } - }); - - if(editor.document && (editor.elementMode != CKEDITOR.ELEMENT_MODE_INLINE || editor.focusManager.hasFocus)){ - createInstance(); - } - }; - - CKEDITOR.plugins.scayt = { - engineLoaded: false, - instances: {}, - // Data storage for SCAYT control, based on editor instances - controlInfo: {}, - setControlInfo: function( editor, o ) { - if ( editor && editor.name && typeof( this.controlInfo[ editor.name ] ) != 'object' ) - this.controlInfo[ editor.name ] = {}; - - for ( var infoOpt in o ) - this.controlInfo[ editor.name ][ infoOpt ] = o[ infoOpt ]; - }, - isControlRestored: function( editor ) { - if ( editor && editor.name && this.controlInfo[ editor.name ] ) { - return this.controlInfo[ editor.name ].restored; - } - return false; - }, - markControlRestore: function( editor ) { - this.setControlInfo( editor, { restored: true } ); - }, - setControlId: function( editor, id ) { - this.setControlInfo( editor, { id: id } ); - }, - getControlId: function( editor ) { - if ( editor && editor.name && this.controlInfo[ editor.name ] && this.controlInfo[ editor.name ].id ) { - return this.controlInfo[ editor.name ].id; - } - return null; - }, - setPaused: function( editor, bool ) { - this.setControlInfo( editor, { paused: bool } ); - }, - isPaused: function( editor ) { - if ( editor && editor.name && this.controlInfo[ editor.name ] ) { - return this.controlInfo[ editor.name ].paused; - } - return undefined; - }, - getScayt: function( editor ) { - return this.instances[ editor.name ]; - }, - isScaytReady: function( editor ) { - return this.engineLoaded === true && 'undefined' !== typeof window.scayt && this.getScayt( editor ); - }, - isScaytEnabled: function( editor ) { - var scayt_instance = this.getScayt( editor ); - return ( scayt_instance ) ? scayt_instance.disabled === false : false; - }, - getUiTabs: function( editor ) { - var uiTabs = []; - - // read UI tabs value from config - var configUiTabs = editor.config.scayt_uiTabs || "1,1,1"; - - // convert string to array - configUiTabs = configUiTabs.split( ',' ); - - // "About us" should be always shown for standard config - configUiTabs[ 3 ] = "1"; - - for ( var i = 0; i < 4; i++ ) { - uiTabs[ i ] = ( typeof window.scayt != "undefined" && typeof window.scayt.uiTags != "undefined" ) ? ( parseInt( configUiTabs[ i ], 10 ) && window.scayt.uiTags[ i ] ) : parseInt( configUiTabs[ i ], 10 ); - } - - if(typeof editor.plugins.wsc == "object") - uiTabs.push(1); - else - uiTabs.push(0); - - return uiTabs; - }, - loadEngine: function( editor ) { - // SCAYT doesn't work with Firefox2, Opera and AIR. - if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 || CKEDITOR.env.opera || CKEDITOR.env.air ) - return editor.fire( 'showScaytState' ); - - if ( this.engineLoaded === true ) - return onEngineLoad.apply( editor ); // Add new instance. - else if ( this.engineLoaded == -1 ) // We are waiting. - return CKEDITOR.on( 'scaytReady', function() { - onEngineLoad.apply( editor ); - }); // Use function(){} to avoid rejection as duplicate. - - CKEDITOR.on( 'scaytReady', onEngineLoad, editor ); - CKEDITOR.on( 'scaytReady', function() { - this.engineLoaded = true; - }, this, null, 0 ); // First to run. - - this.engineLoaded = -1; // Loading in progress. - - // compose scayt url - var protocol = document.location.protocol; - // Default to 'http' for unknown. - protocol = protocol.search( /https?:/ ) != -1 ? protocol : 'http:'; - var baseUrl = 'svc.webspellchecker.net/scayt26/loader__base.js'; - - var scaytUrl = editor.config.scayt_srcUrl || ( protocol + '//' + baseUrl ); - var scaytConfigBaseUrl = plugin.parseUrl( scaytUrl ).path + '/'; - - if ( window.scayt == undefined ) { - CKEDITOR._djScaytConfig = { - baseUrl: scaytConfigBaseUrl, - addOnLoad: [ - function() - { - CKEDITOR.fireOnce( 'scaytReady' ); - } - ], - isDebug: false - }; - // Append javascript code. - CKEDITOR.document.getHead().append( CKEDITOR.document.createElement( 'script', { - attributes: { - type: 'text/javascript', - async: 'true', - src: scaytUrl - } - })); - } else - CKEDITOR.fireOnce( 'scaytReady' ); - - return null; - }, - parseUrl: function( data ) { - var match; - if ( data.match && ( match = data.match( /(.*)[\/\\](.*?\.\w+)$/ ) ) ) - return { path: match[ 1 ], file: match[ 2 ] }; - else - return data; - } - }; - - var plugin = CKEDITOR.plugins.scayt; - - // Context menu constructing. - var addButtonCommand = function( editor, buttonName, buttonLabel, commandName, command, menugroup, menuOrder ) { - editor.addCommand( commandName, command ); - - // If the "menu" plugin is loaded, register the menu item. - editor.addMenuItem( commandName, { - label: buttonLabel, - command: commandName, - group: menugroup, - order: menuOrder - }); - }; - - var commandDefinition = { - preserveState: true, - editorFocus: false, - canUndo: false, - - exec: function( editor ) { - if ( plugin.isScaytReady( editor ) ) { - var isEnabled = plugin.isScaytEnabled( editor ); - - this.setState( isEnabled ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_ON ); - - var scayt_control = plugin.getScayt( editor ); - // the place where the status of editor focus should be restored - // after there will be ability to store its state before SCAYT button click - // if (storedFocusState is focused ) - // scayt_control.focus(); - // - // now focus is set certainly - scayt_control.focus(); - scayt_control.setDisabled( isEnabled ); - } else if ( !editor.config.scayt_autoStartup && plugin.engineLoaded >= 0 ) // Load first time - { - editor.focus(); - this.setState( CKEDITOR.TRISTATE_DISABLED ); - plugin.loadEngine( editor ); - } - } - }; - - // Add scayt plugin. - CKEDITOR.plugins.add( 'scayt', { - requires: 'menubutton,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: 'scayt', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - - beforeInit: function( editor ) { - - var items_order = editor.config.scayt_contextMenuItemsOrder || 'suggest|moresuggest|control', - items_order_str = ""; - - items_order = items_order.split( '|' ); - - if ( items_order && items_order.length ) { - for ( var pos = 0; pos < items_order.length; pos++ ) - items_order_str += 'scayt_' + items_order[ pos ] + ( items_order.length != parseInt( pos, 10 ) + 1 ? ',' : '' ); - } - - // Put it on top of all context menu items (#5717) - editor.config.menu_groups = items_order_str + ',' + editor.config.menu_groups; - }, - - checkEnvironment: function(){ - return ( CKEDITOR.env.opera || CKEDITOR.env.air ) ? 0 : 1; - }, - - init: function( editor ) { - - var self = this; - // Delete span[data-scaytid] when text pasting in editor (#6921) - var dataFilter = editor.dataProcessor && editor.dataProcessor.dataFilter; - var dataFilterRules = { - elements: { - span: function( element ) { - var attrs = element.attributes; - if ( attrs && attrs[ 'data-scaytid' ] ) - delete element.name; - } - } - }; - dataFilter && dataFilter.addRules( dataFilterRules ); - - var moreSuggestions = {}, - mainSuggestions = {}; - - // Scayt command. - var command = editor.addCommand( commandName, commandDefinition ); - - // Add Options dialog. - CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/options.js' ) ); - - var uiTabs = plugin.getUiTabs( editor ); - - var menuGroup = 'scaytButton'; - editor.addMenuGroup( menuGroup ); - // Temporary hack - place scayt's groups at the beginning of the context menu. - editor.addMenuGroup( 'scayt_suggest', -10 ); - editor.addMenuGroup( 'scayt_moresuggest', -9 ); - editor.addMenuGroup( 'scayt_control', -8 ); - - // combine menu items to render - var uiMenuItems = {}; - - var lang = editor.lang.scayt; - - // always added - uiMenuItems.scaytToggle = { - label: lang.enable, - command: commandName, - group: menuGroup - }; - - if ( uiTabs[ 0 ] == 1 ) - uiMenuItems.scaytOptions = { - label: lang.options, - group: menuGroup, - onClick: function() { - openPage = 'options'; - editor.openDialog( commandName ); - } - }; - - if ( uiTabs[ 1 ] == 1 ) - uiMenuItems.scaytLangs = { - label: lang.langs, - group: menuGroup, - onClick: function() { - openPage = 'langs'; - editor.openDialog( commandName ); - } - }; - if ( uiTabs[ 2 ] == 1 ) - uiMenuItems.scaytDict = { - label: lang.dictionariesTab, - group: menuGroup, - onClick: function() { - openPage = 'dictionaries'; - editor.openDialog( commandName ); - } - }; - // always added - uiMenuItems.scaytAbout = { - label: editor.lang.scayt.about, - group: menuGroup, - onClick: function() { - openPage = 'about'; - editor.openDialog( commandName ); - } - }; - - if ( uiTabs[4] == 1 ) - uiMenuItems.scaytWSC = { - label : editor.lang.wsc.toolbar, - group : menuGroup, - command : wscCommandName - }; - - editor.addMenuItems( uiMenuItems ); - - editor.ui.add( 'Scayt', CKEDITOR.UI_MENUBUTTON, { - label: lang.title, - title: CKEDITOR.env.opera ? lang.opera_title : lang.title, - modes: { wysiwyg: self.checkEnvironment() }, - toolbar: 'spellchecker,20', - onRender: function() { - command.on( 'state', function() { - this.setState( command.state ); - }, this ); - }, - onMenu: function() { - var isEnabled = plugin.isScaytEnabled( editor ); - - editor.getMenuItem( 'scaytToggle' ).label = lang[ isEnabled ? 'disable' : 'enable' ]; - - var uiTabs = plugin.getUiTabs( editor ); - - return { - scaytToggle: CKEDITOR.TRISTATE_OFF, - scaytOptions: isEnabled && uiTabs[ 0 ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED, - scaytLangs: isEnabled && uiTabs[ 1 ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED, - scaytDict: isEnabled && uiTabs[ 2 ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED, - scaytAbout: isEnabled && uiTabs[ 3 ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED, - scaytWSC: uiTabs[4] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED - }; - } - }); - - // If the "contextmenu" plugin is loaded, register the listeners. - if ( editor.contextMenu && editor.addMenuItems ) { - editor.contextMenu.addListener( function( element, selection ) { - if ( !plugin.isScaytEnabled( editor ) || selection.getRanges()[ 0 ].checkReadOnly() ) - return null; - - var scayt_control = plugin.getScayt( editor ), - node = scayt_control.getScaytNode(); - - if ( !node ) - return null; - - var word = scayt_control.getWord( node ); - - if ( !word ) - return null; - - var sLang = scayt_control.getLang(), - _r = {}, contextCommands = editor.config.scayt_contextCommands || 'all', - items_suggestion = window.scayt.getSuggestion( word, sLang ); - - contextCommands = contextCommands.split( '|' ); - - // Remove unused commands and menuitems - - for ( var m in moreSuggestions ) { - delete editor._.menuItems[ m ]; - delete editor.commands[ m ]; - } - for ( m in mainSuggestions ) { - delete editor._.menuItems[ m ]; - delete editor.commands[ m ]; - } - - if ( !items_suggestion || !items_suggestion.length ){ - var no_sugg = { - exec: function() {} - }; - addButtonCommand( editor, 'no_sugg', lang.noSuggestions, 'scayt_no_sugg', no_sugg, 'scayt_control', 1, true ); - mainSuggestions[ 'scayt_no_sugg' ] = CKEDITOR.TRISTATE_OFF; - }else{ - // Reset items. - moreSuggestions = {}; - mainSuggestions = {}; - - var moreSuggestionsUnable = editor.config.scayt_moreSuggestions || 'on'; - var moreSuggestionsUnableAdded = false; - - var maxSuggestions = editor.config.scayt_maxSuggestions; - ( typeof maxSuggestions != 'number' ) && ( maxSuggestions = 5 ); - !maxSuggestions && ( maxSuggestions = items_suggestion.length ); - - for ( var i = 0, l = items_suggestion.length; i < l; i += 1 ) { - var commandName = 'scayt_suggestion_' + items_suggestion[ i ].replace( ' ', '_' ); - var exec = (function( el, s ) { - return { - exec: function() { - scayt_control.replace( el, s ); - } - }; - })( node, items_suggestion[ i ] ); - - if ( i < maxSuggestions ) { - addButtonCommand( editor, 'button_' + commandName, items_suggestion[ i ], commandName, exec, 'scayt_suggest', i + 1 ); - _r[ commandName ] = CKEDITOR.TRISTATE_OFF; - mainSuggestions[ commandName ] = CKEDITOR.TRISTATE_OFF; - } else if ( moreSuggestionsUnable == 'on' ) { - addButtonCommand( editor, 'button_' + commandName, items_suggestion[ i ], commandName, exec, 'scayt_moresuggest', i + 1 ); - moreSuggestions[ commandName ] = CKEDITOR.TRISTATE_OFF; - moreSuggestionsUnableAdded = true; - } - } - - if ( moreSuggestionsUnableAdded ) { - // Register the More suggestions group; - editor.addMenuItem( 'scayt_moresuggest', { - label: lang.moreSuggestions, - group: 'scayt_moresuggest', - order: 10, - getItems: function() { - return moreSuggestions; - } - }); - mainSuggestions[ 'scayt_moresuggest' ] = CKEDITOR.TRISTATE_OFF; - } - } - - if ( in_array( 'all', contextCommands ) || in_array( 'ignore', contextCommands ) ) { - var ignore_command = { - exec: function() { - scayt_control.ignore( node ); - } - }; - addButtonCommand( editor, 'ignore', lang.ignore, 'scayt_ignore', ignore_command, 'scayt_control', 2 ); - mainSuggestions[ 'scayt_ignore' ] = CKEDITOR.TRISTATE_OFF; - } - - if ( in_array( 'all', contextCommands ) || in_array( 'ignoreall', contextCommands ) ) { - var ignore_all_command = { - exec: function() { - scayt_control.ignoreAll( node ); - } - }; - addButtonCommand( editor, 'ignore_all', lang.ignoreAll, 'scayt_ignore_all', ignore_all_command, 'scayt_control', 3 ); - mainSuggestions[ 'scayt_ignore_all' ] = CKEDITOR.TRISTATE_OFF; - } - - if ( in_array( 'all', contextCommands ) || in_array( 'add', contextCommands ) ) { - var addword_command = { - exec: function() { - window.scayt.addWordToUserDictionary( node ); - } - }; - addButtonCommand( editor, 'add_word', lang.addWord, 'scayt_add_word', addword_command, 'scayt_control', 4 ); - mainSuggestions[ 'scayt_add_word' ] = CKEDITOR.TRISTATE_OFF; - } - - if ( scayt_control.fireOnContextMenu ) - scayt_control.fireOnContextMenu( editor ); - - return mainSuggestions; - }); - } - - var showInitialState = function( evt ) { - evt.removeListener(); - if ( CKEDITOR.env.opera || CKEDITOR.env.air ) - command.setState( CKEDITOR.TRISTATE_DISABLED ); - else - command.setState( plugin.isScaytEnabled( editor ) ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF ); - }; - - editor.on( 'showScaytState', showInitialState ); - editor.on( 'instanceReady', showInitialState ); - - // Start plugin - if ( editor.config.scayt_autoStartup ) { - editor.on( 'instanceReady', function() { - plugin.loadEngine( editor ); - }); - } - }, - - afterInit: function( editor ) { - - // Prevent word marker line from displaying in elements path and been removed when cleaning format. (#3570) (#4125) - var elementsPathFilters, - scaytFilter = function( element ) { - if ( element.hasAttribute( 'data-scaytid' ) ) - return false; - }; - - if ( editor._.elementsPath && ( elementsPathFilters = editor._.elementsPath.filters ) ) - elementsPathFilters.push( scaytFilter ); - - editor.addRemoveFormatFilter && editor.addRemoveFormatFilter( scaytFilter ); - - } - }); -})(); - -/** - * If enabled (set to `true`), turns on SCAYT automatically - * after loading the editor. - * - * config.scayt_autoStartup = true; - * - * @cfg {Boolean} [scayt_autoStartup=false] - * @member CKEDITOR.config - */ - -/** - * Defines the number of SCAYT suggestions to show in the main context menu. - * Possible values are: - * - * * `0` (zero) – All suggestions are displayed in the main context menu. - * * Positive number – The maximum number of suggestions to show in the context - * menu. Other entries will be shown in the "More Suggestions" sub-menu. - * * Negative number – No suggestions are shown in the main context menu. All - * entries will be listed in the the "Suggestions" sub-menu. - * - * Examples: - * - * // Display only three suggestions in the main context menu. - * config.scayt_maxSuggestions = 3; - * - * // Do not show the suggestions directly. - * config.scayt_maxSuggestions = -1; - * - * @cfg {Number} [scayt_maxSuggestions=5] - * @member CKEDITOR.config - */ - -/** - * Sets the customer ID for SCAYT. Required for migration from free, - * ad-supported version to paid, ad-free version. - * - * // Load SCAYT using my customer ID. - * config.scayt_customerid = 'your-encrypted-customer-id'; - * - * @cfg {String} [scayt_customerid=''] - * @example - * @member CKEDITOR.config - */ - -/** - * Enables/disables the "More Suggestions" sub-menu in the context menu. - * Possible values are `'on'` and `'off'`. - * - * // Disables the "More Suggestions" sub-menu. - * config.scayt_moreSuggestions = 'off'; - * - * @cfg {String} [scayt_moreSuggestions='on'] - * @member CKEDITOR.config - */ - -/** - * Customizes the display of SCAYT context menu commands ("Add Word", "Ignore" - * and "Ignore All"). This must be a string with one or more of the following - * words separated by a pipe character (`'|'`): - * - * * `off` – disables all options. - * * `all` – enables all options. - * * `ignore` – enables the "Ignore" option. - * * `ignoreall` – enables the "Ignore All" option. - * * `add` – enables the "Add Word" option. - * - * Example: - * - * // Show only "Add Word" and "Ignore All" in the context menu. - * config.scayt_contextCommands = 'add|ignoreall'; - * - * @cfg {String} [scayt_contextCommands='all'] - * @member CKEDITOR.config - */ - -/** - * Sets the default spell checking language for SCAYT. Possible values are: - * `'en_US'`, `'en_GB'`, `'pt_BR'`, `'da_DK'`, - * `'nl_NL'`, `'en_CA'`, `'fi_FI'`, `'fr_FR'`, - * `'fr_CA'`, `'de_DE'`, `'el_GR'`, `'it_IT'`, - * `'nb_NO'`, `'pt_PT'`, `'es_ES'`, `'sv_SE'`. - * - * // Sets SCAYT to German. - * config.scayt_sLang = 'de_DE'; - * - * @cfg {String} [scayt_sLang='en_US'] - * @member CKEDITOR.config - */ - -/** - * Sets the visibility of particular tabs in the SCAYT dialog window and toolbar - * button. This setting must contain a `1` (enabled) or `0` - * (disabled) value for each of the following entries, in this precise order, - * separated by a comma (`','`): `'Options'`, `'Languages'`, and `'Dictionary'`. - * - * // Hides the "Languages" tab. - * config.scayt_uiTabs = '1,0,1'; - * - * @cfg {String} [scayt_uiTabs='1,1,1'] - * @member CKEDITOR.config - */ - - -/** - * Sets the URL to SCAYT core. Required to switch to the licensed version of SCAYT application. - * - * Further details available at [http://wiki.webspellchecker.net/doku.php?id=migration:hosredfreetolicensedck](http://wiki.webspellchecker.net/doku.php?id=migration:hosredfreetolicensedck) - * - * config.scayt_srcUrl = "http://my-host/spellcheck/lf/scayt/scayt.js"; - * - * @cfg {String} [scayt_srcUrl=''] - * @member CKEDITOR.config - */ - -/** - * Links SCAYT to custom dictionaries. This is a string containing dictionary IDs - * separared 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.scayt_customDictionaryIds = '3021,3456,3478"'; - * - * @cfg {String} [scayt_customDictionaryIds=''] - * @member CKEDITOR.config - */ - -/** - * Makes it possible to activate a custom dictionary in SCAYT. The user - * dictionary name must be used. Available only for the licensed version. - * - * config.scayt_userDictionaryName = 'MyDictionary'; - * - * @cfg {String} [scayt_userDictionaryName=''] - * @member CKEDITOR.config - */ - -/** - * Defines the order SCAYT context menu items by groups. - * This must be a string with one or more of the following - * words separated by a pipe character (`'|'`): - * - * * `suggest` – main suggestion word list, - * * `moresuggest` – more suggestions word list, - * * `control` – SCAYT commands, such as "Ignore" and "Add Word". - * - * Example: - * - * config.scayt_contextMenuItemsOrder = 'moresuggest|control|suggest'; - * - * @cfg {String} [scayt_contextMenuItemsOrder='suggest|moresuggest|control'] - * @member CKEDITOR.config - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/icons/hidpi/selectall.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/icons/hidpi/selectall.png deleted file mode 100644 index c67f64ddebb..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/icons/hidpi/selectall.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/icons/selectall.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/icons/selectall.png deleted file mode 100644 index 0d1e8160e42..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/icons/selectall.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/af.js deleted file mode 100644 index 965515c3a10..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/af.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'af', { - toolbar: 'Selekteer alles' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ar.js deleted file mode 100644 index afcd11c02f7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ar.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'ar', { - toolbar: 'تحديد الكل' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/bg.js deleted file mode 100644 index fd33ecbb2f7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/bg.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'bg', { - toolbar: 'Избери всичко' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/bn.js deleted file mode 100644 index 212a018066d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/bn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'bn', { - toolbar: 'সব সিলেক্ট কর' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/bs.js deleted file mode 100644 index 21cfc71cbae..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/bs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'bs', { - toolbar: 'Selektuj sve' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ca.js deleted file mode 100644 index 1777077503b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'ca', { - toolbar: 'Selecciona-ho tot' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/cs.js deleted file mode 100644 index a35e47734be..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/cs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'cs', { - toolbar: 'Vybrat vše' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/cy.js deleted file mode 100644 index 8a6e05233dc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/cy.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'cy', { - toolbar: 'Dewis Popeth' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/da.js deleted file mode 100644 index 3bb61ebc90d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/da.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'da', { - toolbar: 'Vælg alt' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/de.js deleted file mode 100644 index 42b70cbd378..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/de.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'de', { - toolbar: 'Alles auswählen' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/el.js deleted file mode 100644 index 7142480a6de..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/el.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'el', { - toolbar: 'Επιλογή όλων' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en-au.js deleted file mode 100644 index 17fa6261230..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en-au.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'en-au', { - toolbar: 'Select All' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en-ca.js deleted file mode 100644 index 3020b83f84a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'en-ca', { - toolbar: 'Select All' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en-gb.js deleted file mode 100644 index ee79a812ee3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en-gb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'en-gb', { - toolbar: 'Select All' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en.js deleted file mode 100644 index 0bebdc82837..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/en.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'en', { - toolbar: 'Select All' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/eo.js deleted file mode 100644 index 50d12193ca8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/eo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'eo', { - toolbar: 'Elekti ĉion' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/es.js deleted file mode 100644 index 545d6c0012b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/es.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'es', { - toolbar: 'Seleccionar Todo' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/et.js deleted file mode 100644 index 673feb7cf60..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/et.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'et', { - toolbar: 'Kõige valimine' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/eu.js deleted file mode 100644 index d04e41b30f0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/eu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'eu', { - toolbar: 'Hautatu dena' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fa.js deleted file mode 100644 index 2e6bb9eccb0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fa.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'fa', { - toolbar: 'گزینش همه' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fi.js deleted file mode 100644 index 457e810ed82..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'fi', { - toolbar: 'Valitse kaikki' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fo.js deleted file mode 100644 index 8b4cd114c37..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'fo', { - toolbar: 'Markera alt' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fr-ca.js deleted file mode 100644 index dc9e62c49ac..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fr-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'fr-ca', { - toolbar: 'Sélectionner tout' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fr.js deleted file mode 100644 index 28870de56d1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/fr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'fr', { - toolbar: 'Tout sélectionner' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/gl.js deleted file mode 100644 index 7e1d0e00bf2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/gl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'gl', { - toolbar: 'Seleccionar todo' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/gu.js deleted file mode 100644 index e9e5529327e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/gu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'gu', { - toolbar: 'બઘું પસંદ કરવું' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/he.js deleted file mode 100644 index 45c5ddabe09..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/he.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'he', { - toolbar: 'בחירת הכל' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/hi.js deleted file mode 100644 index 7966d961b60..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/hi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'hi', { - toolbar: 'सब सॅलॅक्ट करें' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/hr.js deleted file mode 100644 index bd72541da58..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/hr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'hr', { - toolbar: 'Odaberi sve' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/hu.js deleted file mode 100644 index 3e4c3842ee2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/hu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'hu', { - toolbar: 'Mindent kijelöl' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/id.js deleted file mode 100644 index ba6d4af7c07..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/id.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'id', { - toolbar: 'Pilih Semua' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/is.js deleted file mode 100644 index 75f4e5e80a3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/is.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'is', { - toolbar: 'Velja allt' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/it.js deleted file mode 100644 index e0c06b63049..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/it.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'it', { - toolbar: 'Seleziona tutto' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ja.js deleted file mode 100644 index c74f95d5a55..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ja.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'ja', { - toolbar: 'すべて選択' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ka.js deleted file mode 100644 index af5049d0326..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ka.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'ka', { - toolbar: 'ყველაფრის მონიშნვა' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/km.js deleted file mode 100644 index d3c913bb762..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/km.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'km', { - toolbar: 'រើស​ទាំង​អស់' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ko.js deleted file mode 100644 index de7b0f3e56c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ko.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'ko', { - toolbar: '전체선택' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ku.js deleted file mode 100644 index 390049a11d3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ku.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'ku', { - toolbar: 'دیاریکردنی هەمووی' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/lt.js deleted file mode 100644 index 4306a3789bb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/lt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'lt', { - toolbar: 'Pažymėti viską' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/lv.js deleted file mode 100644 index 2ae1beab894..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/lv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'lv', { - toolbar: 'Iezīmēt visu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/mk.js deleted file mode 100644 index 0912b73e321..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/mk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'mk', { - toolbar: 'Select All' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/mn.js deleted file mode 100644 index 1547f7f370f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/mn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'mn', { - toolbar: 'Бүгдийг нь сонгох' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ms.js deleted file mode 100644 index c4c90e7ff58..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ms.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'ms', { - toolbar: 'Pilih Semua' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/nb.js deleted file mode 100644 index 843d889853d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/nb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'nb', { - toolbar: 'Merk alt' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/nl.js deleted file mode 100644 index fe0b464ee98..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/nl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'nl', { - toolbar: 'Alles selecteren' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/no.js deleted file mode 100644 index 91106c34703..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/no.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'no', { - toolbar: 'Merk alt' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/pl.js deleted file mode 100644 index 2f8b4d46885..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/pl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'pl', { - toolbar: 'Zaznacz wszystko' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/pt-br.js deleted file mode 100644 index 05e4a8f442b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/pt-br.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'pt-br', { - toolbar: 'Selecionar Tudo' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/pt.js deleted file mode 100644 index 814faf4a2fe..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/pt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'pt', { - toolbar: 'Selecionar Tudo' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ro.js deleted file mode 100644 index 26ff58d59c5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ro.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'ro', { - toolbar: 'Selectează tot' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ru.js deleted file mode 100644 index 8ff0eca17ad..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ru.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'ru', { - toolbar: 'Выделить все' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/si.js deleted file mode 100644 index 39ae6391c7d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/si.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'si', { - toolbar: 'සියල්ලම ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sk.js deleted file mode 100644 index d927fa016cf..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'sk', { - toolbar: 'Vybrať všetko' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sl.js deleted file mode 100644 index b22aab87b6b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'sl', { - toolbar: 'Izberi vse' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sq.js deleted file mode 100644 index 8efd8f47d60..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sq.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'sq', { - toolbar: 'Përzgjidh të Gjitha' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sr-latn.js deleted file mode 100644 index 012114394b6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sr-latn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'sr-latn', { - toolbar: 'Označi sve' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sr.js deleted file mode 100644 index 63c026cb5d8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'sr', { - toolbar: 'Означи све' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sv.js deleted file mode 100644 index 83790071fdb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/sv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'sv', { - toolbar: 'Markera allt' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/th.js deleted file mode 100644 index 38af8b2108e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/th.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'th', { - toolbar: 'เลือกทั้งหมด' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/tr.js deleted file mode 100644 index 66ec9a9e5d0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/tr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'tr', { - toolbar: 'Tümünü Seç' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ug.js deleted file mode 100644 index f455916d27d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/ug.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'ug', { - toolbar: 'ھەممىنى تاللا' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/uk.js deleted file mode 100644 index bd92f828d61..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/uk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'uk', { - toolbar: 'Виділити все' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/vi.js deleted file mode 100644 index b237ff0d9f4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/vi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'vi', { - toolbar: 'Chọn tất cả' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/zh-cn.js deleted file mode 100644 index ac32510067b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/zh-cn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'zh-cn', { - toolbar: '全选' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/zh.js deleted file mode 100644 index 3c12dcdd480..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/lang/zh.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'selectall', 'zh', { - toolbar: '全選' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/plugin.js deleted file mode 100644 index af1e498d7f9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/selectall/plugin.js +++ /dev/null @@ -1,58 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview The "selectall" plugin provides an editor command that - * allows selecting the entire content of editable area. - * This plugin also enables a toolbar button for the feature. - */ - -( function() { - CKEDITOR.plugins.add( 'selectall', { - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - icons: 'selectall', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - init: function( editor ) { - editor.addCommand( 'selectAll', { modes: { wysiwyg: 1, source: 1 }, - exec: function( editor ) { - var editable = editor.editable(); - - if ( editable.is( 'textarea' ) ) { - var textarea = editable.$; - - if ( CKEDITOR.env.ie ) - textarea.createTextRange().execCommand( 'SelectAll' ); - else { - textarea.selectionStart = 0; - textarea.selectionEnd = textarea.value.length; - } - - textarea.focus(); - } else { - if ( editable.is( 'body' ) ) - editor.document.$.execCommand( 'SelectAll', false, null ); - else { - var range = editor.createRange(); - range.selectNodeContents( editable ); - range.select(); - } - - // Force triggering selectionChange (#7008) - editor.forceNextSelectionCheck(); - editor.selectionChange(); - } - - }, - canUndo: false - } ); - - editor.ui.addButton && editor.ui.addButton( 'SelectAll', { - label: editor.lang.selectall.toolbar, - command: 'selectAll', - toolbar: 'selection,10' - } ); - } - } ); -} )(); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/hidpi/showblocks-rtl.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/hidpi/showblocks-rtl.png deleted file mode 100644 index c88abcb6dbe..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/hidpi/showblocks-rtl.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/hidpi/showblocks.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/hidpi/showblocks.png deleted file mode 100644 index a776fcc139f..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/hidpi/showblocks.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/showblocks-rtl.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/showblocks-rtl.png deleted file mode 100644 index cd87d3e258e..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/showblocks-rtl.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/showblocks.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/showblocks.png deleted file mode 100644 index 41b5f3466d2..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/icons/showblocks.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_address.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_address.png deleted file mode 100644 index 1ee67aa245f..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_address.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_blockquote.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_blockquote.png deleted file mode 100644 index cae3aec621a..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_blockquote.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_div.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_div.png deleted file mode 100644 index c71f397880c..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_div.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h1.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h1.png deleted file mode 100644 index 3a64347350e..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h1.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h2.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h2.png deleted file mode 100644 index 8062ebe8e4b..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h2.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h3.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h3.png deleted file mode 100644 index 5b6a4030284..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h3.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h4.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h4.png deleted file mode 100644 index 6c7f7951d49..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h4.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h5.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h5.png deleted file mode 100644 index e153de09988..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h5.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h6.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h6.png deleted file mode 100644 index c8d993a9d23..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h6.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_p.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_p.png deleted file mode 100644 index 4e6035d209b..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_p.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_pre.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_pre.png deleted file mode 100644 index d11a0fffbe6..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/images/block_pre.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/af.js deleted file mode 100644 index 554256ce27d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/af.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'af', { - toolbar: 'Toon blokke' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ar.js deleted file mode 100644 index 3c1442336ee..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ar.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'ar', { - toolbar: 'مخطط تفصيلي' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/bg.js deleted file mode 100644 index a3ce0da8830..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/bg.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'bg', { - toolbar: 'Показва блокове' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/bn.js deleted file mode 100644 index 2d2f11a9b12..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/bn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'bn', { - toolbar: 'Show Blocks' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/bs.js deleted file mode 100644 index 8cfca3b623d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/bs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'bs', { - toolbar: 'Show Blocks' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ca.js deleted file mode 100644 index e096e63b9af..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'ca', { - toolbar: 'Mostra els blocs' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/cs.js deleted file mode 100644 index 6fab93a0a50..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/cs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'cs', { - toolbar: 'Ukázat bloky' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/cy.js deleted file mode 100644 index c23ec94d252..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/cy.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'cy', { - toolbar: 'Dangos Blociau' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/da.js deleted file mode 100644 index 72cfa4b5aea..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/da.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'da', { - toolbar: 'Vis afsnitsmærker' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/de.js deleted file mode 100644 index d19df25cc9e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/de.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'de', { - toolbar: 'Blöcke anzeigen' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/el.js deleted file mode 100644 index 2a6c9d772a7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/el.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'el', { - toolbar: 'Προβολή Τμημάτων' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en-au.js deleted file mode 100644 index 0fde652f216..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en-au.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'en-au', { - toolbar: 'Show Blocks' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en-ca.js deleted file mode 100644 index e4b9d6716ed..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'en-ca', { - toolbar: 'Show Blocks' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en-gb.js deleted file mode 100644 index 46eaabc9889..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en-gb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'en-gb', { - toolbar: 'Show Blocks' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en.js deleted file mode 100644 index 8d2648dee42..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/en.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'en', { - toolbar: 'Show Blocks' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/eo.js deleted file mode 100644 index 8211f5d456b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/eo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'eo', { - toolbar: 'Montri la blokojn' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/es.js deleted file mode 100644 index 38990f03fce..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/es.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'es', { - toolbar: 'Mostrar bloques' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/et.js deleted file mode 100644 index 0aeff7dc4f4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/et.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'et', { - toolbar: 'Blokkide näitamine' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/eu.js deleted file mode 100644 index e557925bbf0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/eu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'eu', { - toolbar: 'Blokeak erakutsi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fa.js deleted file mode 100644 index 510ddfdc3a1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fa.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'fa', { - toolbar: 'نمایش بلوکها' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fi.js deleted file mode 100644 index 5e09affff7c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'fi', { - toolbar: 'Näytä elementit' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fo.js deleted file mode 100644 index cc1c9e8c070..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'fo', { - toolbar: 'Vís blokkar' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fr-ca.js deleted file mode 100644 index 3b26cbb7fa0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fr-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'fr-ca', { - toolbar: 'Afficher les blocs' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fr.js deleted file mode 100644 index a32559f5e75..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/fr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'fr', { - toolbar: 'Afficher les blocs' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/gl.js deleted file mode 100644 index f2606ee6783..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/gl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'gl', { - toolbar: 'Amosar os bloques' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/gu.js deleted file mode 100644 index c83ce8d3316..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/gu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'gu', { - toolbar: 'બ્લૉક બતાવવું' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/he.js deleted file mode 100644 index 7c40640bf63..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/he.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'he', { - toolbar: 'הצגת בלוקים' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/hi.js deleted file mode 100644 index e060a370495..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/hi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'hi', { - toolbar: 'ब्लॉक दिखायें' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/hr.js deleted file mode 100644 index b1e2afef3a0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/hr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'hr', { - toolbar: 'Prikaži blokove' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/hu.js deleted file mode 100644 index 41fe0aa4619..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/hu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'hu', { - toolbar: 'Blokkok megjelenítése' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/id.js deleted file mode 100644 index 01817ad665b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/id.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'id', { - toolbar: 'Perlihatkan Blok' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/is.js deleted file mode 100644 index 91dd63b49b0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/is.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'is', { - toolbar: 'Sýna blokkir' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/it.js deleted file mode 100644 index c3b61471f8d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/it.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'it', { - toolbar: 'Visualizza Blocchi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ja.js deleted file mode 100644 index 8da77802b41..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ja.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'ja', { - toolbar: 'ブロック表示' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ka.js deleted file mode 100644 index f9d9aa538ad..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ka.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'ka', { - toolbar: 'არეების ჩვენება' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/km.js deleted file mode 100644 index 66c81dfe70b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/km.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'km', { - toolbar: 'បង្ហាញ​ប្លក់' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ko.js deleted file mode 100644 index 5f9d49c121a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ko.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'ko', { - toolbar: '블록 보기' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ku.js deleted file mode 100644 index 39e6e8887ad..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ku.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'ku', { - toolbar: 'نیشاندانی بەربەستەکان' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/lt.js deleted file mode 100644 index afb8bed8630..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/lt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'lt', { - toolbar: 'Rodyti blokus' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/lv.js deleted file mode 100644 index c99cfa6883b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/lv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'lv', { - toolbar: 'Parādīt blokus' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/mk.js deleted file mode 100644 index 79c393ef278..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/mk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'mk', { - toolbar: 'Show Blocks' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/mn.js deleted file mode 100644 index 8c8699344a5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/mn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'mn', { - toolbar: 'Хавтангуудыг харуулах' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ms.js deleted file mode 100644 index 0ad5ea8fda4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ms.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'ms', { - toolbar: 'Show Blocks' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/nb.js deleted file mode 100644 index cccd13ff6ce..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/nb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'nb', { - toolbar: 'Vis blokker' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/nl.js deleted file mode 100644 index c27fcad1579..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/nl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'nl', { - toolbar: 'Toon blokken' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/no.js deleted file mode 100644 index 4d42a92d0c0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/no.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'no', { - toolbar: 'Vis blokker' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/pl.js deleted file mode 100644 index e60be9acc9d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/pl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'pl', { - toolbar: 'Pokaż bloki' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/pt-br.js deleted file mode 100644 index 064e3ba484d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/pt-br.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'pt-br', { - toolbar: 'Mostrar blocos de código' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/pt.js deleted file mode 100644 index 5981c7c982a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/pt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'pt', { - toolbar: 'Exibir blocos' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ro.js deleted file mode 100644 index a4ad433616a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ro.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'ro', { - toolbar: 'Arată blocurile' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ru.js deleted file mode 100644 index b98473e4f92..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ru.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'ru', { - toolbar: 'Отображать блоки' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/si.js deleted file mode 100644 index 85ebfd071be..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/si.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'si', { - toolbar: 'කොටස පෙන්නන්න' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sk.js deleted file mode 100644 index 8bb27cd34ae..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'sk', { - toolbar: 'Ukázať bloky' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sl.js deleted file mode 100644 index 27f605ae178..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'sl', { - toolbar: 'Prikaži ograde' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sq.js deleted file mode 100644 index dcfe4f02a5d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sq.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'sq', { - toolbar: 'Shfaq Blloqet' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sr-latn.js deleted file mode 100644 index b0212713831..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sr-latn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'sr-latn', { - toolbar: 'Show Blocks' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sr.js deleted file mode 100644 index 1480e23ac48..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'sr', { - toolbar: 'Show Blocks' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sv.js deleted file mode 100644 index dcb76726be4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/sv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'sv', { - toolbar: 'Visa block' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/th.js deleted file mode 100644 index 324adab4762..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/th.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'th', { - toolbar: 'แสดงบล็อคข้อมูล' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/tr.js deleted file mode 100644 index 42222bd113e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/tr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'tr', { - toolbar: 'Blokları Göster' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ug.js deleted file mode 100644 index f9721d8bb5c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/ug.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'ug', { - toolbar: 'بۆلەكنى كۆرسەت' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/uk.js deleted file mode 100644 index 47d329e3934..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/uk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'uk', { - toolbar: 'Показувати блоки' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/vi.js deleted file mode 100644 index 805171bcd11..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/vi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'vi', { - toolbar: 'Hiển thị các khối' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/zh-cn.js deleted file mode 100644 index cb3d24c8ae2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/zh-cn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'zh-cn', { - toolbar: '显示区块' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/zh.js deleted file mode 100644 index bcfc76b201e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/lang/zh.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'showblocks', 'zh', { - toolbar: '顯示區塊' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/plugin.js deleted file mode 100644 index 6d963cc7834..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showblocks/plugin.js +++ /dev/null @@ -1,153 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview The "showblocks" plugin. Enable it will make all block level - * elements being decorated with a border and the element name - * displayed on the left-right corner. - */ - -( function() { - 'use strict'; - - var commandDefinition = { - readOnly: 1, - preserveState: true, - editorFocus: false, - - exec: function( editor ) { - this.toggleState(); - this.refresh( editor ); - }, - - refresh: function( editor ) { - if ( editor.document ) { - // Show blocks turns inactive after editor loses focus when in inline. - var showBlocks = this.state == CKEDITOR.TRISTATE_ON && - ( editor.elementMode != CKEDITOR.ELEMENT_MODE_INLINE || - editor.focusManager.hasFocus ); - - var funcName = showBlocks ? 'attachClass' : 'removeClass'; - editor.editable()[ funcName ]( 'cke_show_blocks' ); - } - } - }; - - CKEDITOR.plugins.add( 'showblocks', { - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - icons: 'showblocks,showblocks-rtl', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - onLoad: function() { - var tags = [ 'p', 'div', 'pre', 'address', 'blockquote', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ], - cssStd, cssImg, cssLtr, cssRtl, - path = CKEDITOR.getUrl( this.path ), - // #10884 don't apply showblocks styles to non-editable elements and chosen ones. - // IE8 does not support :not() pseudoclass, so we need to reset showblocks rather - // than 'prevent' its application. We do that by additional rules. - supportsNotPseudoclass = !( CKEDITOR.env.ie && CKEDITOR.env.version < 9 ), - notDisabled = supportsNotPseudoclass ? ':not([contenteditable=false]):not(.cke_show_blocks_off)' : '', - tag, trailing; - - cssStd = cssImg = cssLtr = cssRtl = ''; - - while ( ( tag = tags.pop() ) ) { - trailing = tags.length ? ',' : ''; - - cssStd += '.cke_show_blocks ' + tag + notDisabled + trailing; - cssLtr += '.cke_show_blocks.cke_contents_ltr ' + tag + notDisabled + trailing; - cssRtl += '.cke_show_blocks.cke_contents_rtl ' + tag + notDisabled + trailing; - cssImg += '.cke_show_blocks ' + tag + notDisabled + '{' + - 'background-image:url(' + path + 'images/block_' + tag + '.png)' + - '}'; - } - - // .cke_show_blocks p { ... } - cssStd += '{' + - 'background-repeat:no-repeat;' + - 'border:1px dotted gray;' + - 'padding-top:8px' + - '}'; - - // .cke_show_blocks.cke_contents_ltr p { ... } - cssLtr += '{' + - 'background-position:top left;' + - 'padding-left:8px' + - '}'; - - // .cke_show_blocks.cke_contents_rtl p { ... } - cssRtl += '{' + - 'background-position:top right;' + - 'padding-right:8px' + - '}'; - - CKEDITOR.addCss( cssStd.concat( cssImg, cssLtr, cssRtl ) ); - - // [IE8] Reset showblocks styles for non-editables and chosen elements, because - // it could not be done using :not() pseudoclass (#10884). - if ( !supportsNotPseudoclass ) { - CKEDITOR.addCss( - '.cke_show_blocks [contenteditable=false],.cke_show_blocks .cke_show_blocks_off{' + - 'border:none;' + - 'padding-top:0;' + - 'background-image:none' + - '}' + - '.cke_show_blocks.cke_contents_rtl [contenteditable=false],.cke_show_blocks.cke_contents_rtl .cke_show_blocks_off{' + - 'padding-right:0' + - '}' + - '.cke_show_blocks.cke_contents_ltr [contenteditable=false],.cke_show_blocks.cke_contents_ltr .cke_show_blocks_off{' + - 'padding-left:0' + - '}' - ); - } - }, - init: function( editor ) { - if ( editor.blockless ) - return; - - var command = editor.addCommand( 'showblocks', commandDefinition ); - command.canUndo = false; - - if ( editor.config.startupOutlineBlocks ) - command.setState( CKEDITOR.TRISTATE_ON ); - - editor.ui.addButton && editor.ui.addButton( 'ShowBlocks', { - label: editor.lang.showblocks.toolbar, - command: 'showblocks', - toolbar: 'tools,20' - } ); - - // Refresh the command on setData. - editor.on( 'mode', function() { - if ( command.state != CKEDITOR.TRISTATE_DISABLED ) - command.refresh( editor ); - } ); - - // Refresh the command on focus/blur in inline. - if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE ) { - editor.on( 'focus', onFocusBlur ); - editor.on( 'blur', onFocusBlur ); - } - - // Refresh the command on setData. - editor.on( 'contentDom', function() { - if ( command.state != CKEDITOR.TRISTATE_DISABLED ) - command.refresh( editor ); - } ); - - function onFocusBlur() { - command.refresh( editor ); - } - } - } ); -} )(); - -/** - * Whether to automaticaly enable the show block" command when the editor loads. - * - * config.startupOutlineBlocks = true; - * - * @cfg {Boolean} [startupOutlineBlocks=false] - * @member CKEDITOR.config - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showborders/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/showborders/plugin.js deleted file mode 100644 index f2d1053bb02..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/showborders/plugin.js +++ /dev/null @@ -1,174 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview The "show border" plugin. The command display visible outline - * border line around all table elements if table doesn't have a none-zero 'border' attribute specified. - */ - -( function() { - var commandDefinition = { - preserveState: true, - editorFocus: false, - readOnly: 1, - - exec: function( editor ) { - this.toggleState(); - this.refresh( editor ); - }, - - refresh: function( editor ) { - if ( editor.document ) { - var funcName = ( this.state == CKEDITOR.TRISTATE_ON ) ? 'attachClass' : 'removeClass'; - editor.editable()[ funcName ]( 'cke_show_borders' ); - } - } - }; - - var showBorderClassName = 'cke_show_border'; - - CKEDITOR.plugins.add( 'showborders', { - modes: { 'wysiwyg': 1 }, - - onLoad: function() { - var cssStyleText, - cssTemplate = - // TODO: For IE6, we don't have child selector support, - // where nested table cells could be incorrect. - ( CKEDITOR.env.ie6Compat ? [ - '.%1 table.%2,', - '.%1 table.%2 td, .%1 table.%2 th', - '{', - 'border : #d3d3d3 1px dotted', - '}' - ] : [ - '.%1 table.%2,', - '.%1 table.%2 > tr > td, .%1 table.%2 > tr > th,', - '.%1 table.%2 > tbody > tr > td, .%1 table.%2 > tbody > tr > th,', - '.%1 table.%2 > thead > tr > td, .%1 table.%2 > thead > tr > th,', - '.%1 table.%2 > tfoot > tr > td, .%1 table.%2 > tfoot > tr > th', - '{', - 'border : #d3d3d3 1px dotted', - '}' - ] ).join( '' ); - - cssStyleText = cssTemplate.replace( /%2/g, showBorderClassName ).replace( /%1/g, 'cke_show_borders ' ); - - CKEDITOR.addCss( cssStyleText ); - }, - - init: function( editor ) { - - var command = editor.addCommand( 'showborders', commandDefinition ); - command.canUndo = false; - - if ( editor.config.startupShowBorders !== false ) - command.setState( CKEDITOR.TRISTATE_ON ); - - // Refresh the command on setData. - editor.on( 'mode', function() { - if ( command.state != CKEDITOR.TRISTATE_DISABLED ) - command.refresh( editor ); - }, null, null, 100 ); - - // Refresh the command on wysiwyg frame reloads. - editor.on( 'contentDom', function() { - if ( command.state != CKEDITOR.TRISTATE_DISABLED ) - command.refresh( editor ); - } ); - - editor.on( 'removeFormatCleanup', function( evt ) { - var element = evt.data; - if ( editor.getCommand( 'showborders' ).state == CKEDITOR.TRISTATE_ON && element.is( 'table' ) && ( !element.hasAttribute( 'border' ) || parseInt( element.getAttribute( 'border' ), 10 ) <= 0 ) ) - element.addClass( showBorderClassName ); - } ); - }, - - afterInit: function( editor ) { - var dataProcessor = editor.dataProcessor, - dataFilter = dataProcessor && dataProcessor.dataFilter, - htmlFilter = dataProcessor && dataProcessor.htmlFilter; - - if ( dataFilter ) { - dataFilter.addRules( { - elements: { - 'table': function( element ) { - var attributes = element.attributes, - cssClass = attributes[ 'class' ], - border = parseInt( attributes.border, 10 ); - - if ( ( !border || border <= 0 ) && ( !cssClass || cssClass.indexOf( showBorderClassName ) == -1 ) ) - attributes[ 'class' ] = ( cssClass || '' ) + ' ' + showBorderClassName; - } - } - } ); - } - - if ( htmlFilter ) { - htmlFilter.addRules( { - elements: { - 'table': function( table ) { - var attributes = table.attributes, - cssClass = attributes[ 'class' ]; - - cssClass && ( attributes[ 'class' ] = cssClass.replace( showBorderClassName, '' ).replace( /\s{2}/, ' ' ).replace( /^\s+|\s+$/, '' ) ); - } - } - } ); - } - } - } ); - - // Table dialog must be aware of it. - CKEDITOR.on( 'dialogDefinition', function( ev ) { - var dialogName = ev.data.name; - - if ( dialogName == 'table' || dialogName == 'tableProperties' ) { - var dialogDefinition = ev.data.definition, - infoTab = dialogDefinition.getContents( 'info' ), - borderField = infoTab.get( 'txtBorder' ), - originalCommit = borderField.commit; - - borderField.commit = CKEDITOR.tools.override( originalCommit, function( org ) { - return function( data, selectedTable ) { - org.apply( this, arguments ); - var value = parseInt( this.getValue(), 10 ); - selectedTable[ ( !value || value <= 0 ) ? 'addClass' : 'removeClass' ]( showBorderClassName ); - }; - } ); - - var advTab = dialogDefinition.getContents( 'advanced' ), - classField = advTab && advTab.get( 'advCSSClasses' ); - - if ( classField ) { - classField.setup = CKEDITOR.tools.override( classField.setup, function( originalSetup ) { - return function() { - originalSetup.apply( this, arguments ); - this.setValue( this.getValue().replace( /cke_show_border/, '' ) ); - }; - } ); - - classField.commit = CKEDITOR.tools.override( classField.commit, function( originalCommit ) { - return function( data, element ) { - originalCommit.apply( this, arguments ); - - if ( !parseInt( element.getAttribute( 'border' ), 10 ) ) - element.addClass( 'cke_show_border' ); - }; - } ); - } - } - } ); - -} )(); - -/** - * Whether to automatically enable the "show borders" command when the editor loads. - * - * config.startupShowBorders = false; - * - * @cfg {Boolean} [startupShowBorders=true] - * @member CKEDITOR.config - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/dialogs/smiley.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/dialogs/smiley.js deleted file mode 100644 index c47469a13a3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/dialogs/smiley.js +++ /dev/null @@ -1,190 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -CKEDITOR.dialog.add( 'smiley', function( editor ) { - var config = editor.config, - lang = editor.lang.smiley, - images = config.smiley_images, - columns = config.smiley_columns || 8, - i; - - // Simulate "this" of a dialog for non-dialog events. - // @type {CKEDITOR.dialog} - var dialog; - var onClick = function( evt ) { - var target = evt.data.getTarget(), - targetName = target.getName(); - - if ( targetName == 'a' ) - target = target.getChild( 0 ); - else if ( targetName != 'img' ) - return; - - var src = target.getAttribute( 'cke_src' ), - title = target.getAttribute( 'title' ); - - var img = editor.document.createElement( 'img', { - attributes: { - src: src, - 'data-cke-saved-src': src, - title: title, - alt: title, - width: target.$.width, - height: target.$.height - } - } ); - - editor.insertElement( img ); - - dialog.hide(); - evt.data.preventDefault(); - }; - - var onKeydown = CKEDITOR.tools.addFunction( function( ev, element ) { - ev = new CKEDITOR.dom.event( ev ); - element = new CKEDITOR.dom.element( element ); - var relative, nodeToMove; - - var keystroke = ev.getKeystroke(), - rtl = editor.lang.dir == 'rtl'; - switch ( keystroke ) { - // UP-ARROW - case 38: - // relative is TR - if ( ( relative = element.getParent().getParent().getPrevious() ) ) { - nodeToMove = relative.getChild( [ element.getParent().getIndex(), 0 ] ); - nodeToMove.focus(); - } - ev.preventDefault(); - break; - // DOWN-ARROW - case 40: - // relative is TR - if ( ( relative = element.getParent().getParent().getNext() ) ) { - nodeToMove = relative.getChild( [ element.getParent().getIndex(), 0 ] ); - if ( nodeToMove ) - nodeToMove.focus(); - } - ev.preventDefault(); - break; - // ENTER - // SPACE - case 32: - onClick( { data: ev } ); - ev.preventDefault(); - break; - - // RIGHT-ARROW - case rtl ? 37 : 39: - // relative is TD - if ( ( relative = element.getParent().getNext() ) ) { - nodeToMove = relative.getChild( 0 ); - nodeToMove.focus(); - ev.preventDefault( true ); - } - // relative is TR - else if ( ( relative = element.getParent().getParent().getNext() ) ) { - nodeToMove = relative.getChild( [ 0, 0 ] ); - if ( nodeToMove ) - nodeToMove.focus(); - ev.preventDefault( true ); - } - break; - - // LEFT-ARROW - case rtl ? 39 : 37: - // relative is TD - if ( ( relative = element.getParent().getPrevious() ) ) { - nodeToMove = relative.getChild( 0 ); - nodeToMove.focus(); - ev.preventDefault( true ); - } - // relative is TR - else if ( ( relative = element.getParent().getParent().getPrevious() ) ) { - nodeToMove = relative.getLast().getChild( 0 ); - nodeToMove.focus(); - ev.preventDefault( true ); - } - break; - default: - // Do not stop not handled events. - return; - } - } ); - - // Build the HTML for the smiley images table. - var labelId = CKEDITOR.tools.getNextId() + '_smiley_emtions_label'; - var html = [ - '
    ' + - '' + lang.options + '', - '' - ]; - - var size = images.length; - for ( i = 0; i < size; i++ ) { - if ( i % columns === 0 ) - html.push( '' ); - - var smileyLabelId = 'cke_smile_label_' + i + '_' + CKEDITOR.tools.getNextNumber(); - html.push( '' ); - - if ( i % columns == columns - 1 ) - html.push( '' ); - } - - if ( i < columns - 1 ) { - for ( ; i < columns - 1; i++ ) - html.push( '' ); - html.push( '' ); - } - - html.push( '
    ' ); - - var smileySelector = { - type: 'html', - id: 'smileySelector', - html: html.join( '' ), - onLoad: function( event ) { - dialog = event.sender; - }, - focus: function() { - var self = this; - // IE need a while to move the focus (#6539). - setTimeout( function() { - var firstSmile = self.getElement().getElementsByTag( 'a' ).getItem( 0 ); - firstSmile.focus(); - }, 0 ); - }, - onClick: onClick, - style: 'width: 100%; border-collapse: separate;' - }; - - return { - title: editor.lang.smiley.title, - minWidth: 270, - minHeight: 120, - contents: [ - { - id: 'tab1', - label: '', - title: '', - expand: true, - padding: 0, - elements: [ - smileySelector - ] - } - ], - buttons: [ CKEDITOR.dialog.cancelButton ] - }; -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/icons/hidpi/smiley.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/icons/hidpi/smiley.png deleted file mode 100644 index bad62eed468..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/icons/hidpi/smiley.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/icons/smiley.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/icons/smiley.png deleted file mode 100644 index 9fafa28a81a..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/icons/smiley.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angel_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angel_smile.gif deleted file mode 100644 index e7daebc2f78..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angel_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angel_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angel_smile.png deleted file mode 100644 index 39a85c39854..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angel_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angry_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angry_smile.gif deleted file mode 100644 index a5890f37953..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angry_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angry_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angry_smile.png deleted file mode 100644 index dd07d3e6ec6..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/angry_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/broken_heart.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/broken_heart.gif deleted file mode 100644 index 0b822cd9c8a..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/broken_heart.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/broken_heart.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/broken_heart.png deleted file mode 100644 index 775146fde1c..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/broken_heart.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/confused_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/confused_smile.gif deleted file mode 100644 index 95871949178..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/confused_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/confused_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/confused_smile.png deleted file mode 100644 index d69a6f923bd..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/confused_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/cry_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/cry_smile.gif deleted file mode 100644 index b5133427828..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/cry_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/cry_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/cry_smile.png deleted file mode 100644 index dd610b8f011..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/cry_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/devil_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/devil_smile.gif deleted file mode 100644 index 9b2a10055be..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/devil_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/devil_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/devil_smile.png deleted file mode 100644 index 63a908e11d7..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/devil_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif deleted file mode 100644 index b64a58bdae9..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/embarrassed_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/embarrassed_smile.gif deleted file mode 100644 index b64a58bdae9..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/embarrassed_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/embarrassed_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/embarrassed_smile.png deleted file mode 100644 index f01cdf3b723..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/embarrassed_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/envelope.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/envelope.gif deleted file mode 100644 index f8ffc54345b..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/envelope.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/envelope.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/envelope.png deleted file mode 100644 index b4180c5b368..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/envelope.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/heart.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/heart.gif deleted file mode 100644 index 77e0fe8bfa2..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/heart.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/heart.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/heart.png deleted file mode 100644 index a5335bb60ff..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/heart.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/kiss.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/kiss.gif deleted file mode 100644 index 49f31ab4933..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/kiss.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/kiss.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/kiss.png deleted file mode 100644 index 4f5f0a5fc07..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/kiss.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/lightbulb.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/lightbulb.gif deleted file mode 100644 index 73f2e5aaaf4..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/lightbulb.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/lightbulb.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/lightbulb.png deleted file mode 100644 index 56c8137dcfd..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/lightbulb.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/omg_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/omg_smile.gif deleted file mode 100644 index abd2a869931..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/omg_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/omg_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/omg_smile.png deleted file mode 100644 index cbbb106a197..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/omg_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/regular_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/regular_smile.gif deleted file mode 100644 index de7f1ef1e18..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/regular_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/regular_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/regular_smile.png deleted file mode 100644 index 786b20006f4..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/regular_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/sad_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/sad_smile.gif deleted file mode 100644 index ee7810e472f..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/sad_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/sad_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/sad_smile.png deleted file mode 100644 index 1ae435c2d74..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/sad_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/shades_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/shades_smile.gif deleted file mode 100644 index 11fc90f60ab..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/shades_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/shades_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/shades_smile.png deleted file mode 100644 index 9e68d5a637c..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/shades_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/teeth_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/teeth_smile.gif deleted file mode 100644 index a950b4389a3..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/teeth_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/teeth_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/teeth_smile.png deleted file mode 100644 index c7d2fd4e74a..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/teeth_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_down.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_down.gif deleted file mode 100644 index c01f763fca9..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_down.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_down.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_down.png deleted file mode 100644 index a6bb53291bb..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_down.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_up.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_up.gif deleted file mode 100644 index 0f42774d09e..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_up.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_up.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_up.png deleted file mode 100644 index 6ea78591890..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_up.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/tongue_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/tongue_smile.gif deleted file mode 100644 index 369b4350821..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/tongue_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/tongue_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/tongue_smile.png deleted file mode 100644 index 5bee4c049e6..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/tongue_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/tounge_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/tounge_smile.gif deleted file mode 100644 index 369b4350821..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/tounge_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif deleted file mode 100644 index 2cc81c14f68..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.png deleted file mode 100644 index bebf74daa62..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/wink_smile.gif b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/wink_smile.gif deleted file mode 100644 index 07cad31b834..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/wink_smile.gif and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/wink_smile.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/wink_smile.png deleted file mode 100644 index 805da960588..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/images/wink_smile.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/af.js deleted file mode 100644 index 749b63ce4b2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/af.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'af', { - options: 'Lagbekkie opsies', - title: 'Voeg lagbekkie by', - toolbar: 'Lagbekkie' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ar.js deleted file mode 100644 index 91f57f15ee3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ar.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'ar', { - options: 'خصائص الإبتسامات', - title: 'إدراج ابتسامات', - toolbar: 'ابتسامات' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/bg.js deleted file mode 100644 index 7df16430285..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/bg.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'bg', { - options: 'Опции за усмивката', - title: 'Вмъкване на усмивка', - toolbar: 'Усмивка' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/bn.js deleted file mode 100644 index e0af44ebbe8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/bn.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'bn', { - options: 'Smiley Options', // MISSING - title: 'স্মাইলী যুক্ত কর', - toolbar: 'স্মাইলী' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/bs.js deleted file mode 100644 index f9883ffb3f9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/bs.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'bs', { - options: 'Smiley Options', // MISSING - title: 'Ubaci smješka', - toolbar: 'Smješko' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ca.js deleted file mode 100644 index 4dc310914d6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ca.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'ca', { - options: 'Opcions d\'emoticones', - title: 'Insereix una icona', - toolbar: 'Icona' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/cs.js deleted file mode 100644 index cc841dbb484..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/cs.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'cs', { - options: 'Nastavení smajlíků', - title: 'Vkládání smajlíků', - toolbar: 'Smajlíci' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/cy.js deleted file mode 100644 index 0e8d00ab912..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/cy.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'cy', { - options: 'Opsiynau Gwenogluniau', - title: 'Mewnosod Gwenoglun', - toolbar: 'Gwenoglun' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/da.js deleted file mode 100644 index 3d6e7c489bf..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/da.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'da', { - options: 'Smileymuligheder', - title: 'Vælg smiley', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/de.js deleted file mode 100644 index cd1388ffd21..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/de.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'de', { - options: 'Smiley Optionen', - title: 'Smiley auswählen', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/el.js deleted file mode 100644 index f60f0dbe2d5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/el.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'el', { - options: 'Επιλογές Φατσούλων', - title: 'Εισάγετε μια Φατσούλα', - toolbar: 'Φατσούλα' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en-au.js deleted file mode 100644 index 9290f14bcdc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en-au.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'en-au', { - options: 'Smiley Options', // MISSING - title: 'Insert a Smiley', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en-ca.js deleted file mode 100644 index de736aae52a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en-ca.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'en-ca', { - options: 'Smiley Options', // MISSING - title: 'Insert a Smiley', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en-gb.js deleted file mode 100644 index 937ab610cf7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en-gb.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'en-gb', { - options: 'Smiley Options', - title: 'Insert a Smiley', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en.js deleted file mode 100644 index cc1b1ab6be3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/en.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'en', { - options: 'Smiley Options', - title: 'Insert a Smiley', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/eo.js deleted file mode 100644 index d0cd1014468..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/eo.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'eo', { - options: 'Opcioj pri mienvinjetoj', - title: 'Enmeti Mienvinjeton', - toolbar: 'Mienvinjeto' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/es.js deleted file mode 100644 index 6f658598168..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/es.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'es', { - options: 'Opciones de emoticonos', - title: 'Insertar un Emoticon', - toolbar: 'Emoticonos' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/et.js deleted file mode 100644 index 8e38e856f7b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/et.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'et', { - options: 'Emotikonide valikud', - title: 'Sisesta emotikon', - toolbar: 'Emotikon' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/eu.js deleted file mode 100644 index e2be9b94f22..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/eu.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'eu', { - options: 'Aurpegiera Aukerak', - title: 'Aurpegiera Sartu', - toolbar: 'Aurpegierak' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fa.js deleted file mode 100644 index c3011d57b97..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fa.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'fa', { - options: 'گزینه​های خندانک', - title: 'گنجاندن خندانک', - toolbar: 'خندانک' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fi.js deleted file mode 100644 index 3bbfbbc62a4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fi.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'fi', { - options: 'Hymiön ominaisuudet', - title: 'Lisää hymiö', - toolbar: 'Hymiö' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fo.js deleted file mode 100644 index fbb657db904..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fo.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'fo', { - options: 'Møguleikar fyri Smiley', - title: 'Vel Smiley', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fr-ca.js deleted file mode 100644 index ab14ee9c5b7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fr-ca.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'fr-ca', { - options: 'Options d\'émoticônes', - title: 'Insérer un émoticône', - toolbar: 'Émoticône' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fr.js deleted file mode 100644 index 22f50b97cb1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/fr.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'fr', { - options: 'Options des émoticones', - title: 'Insérer un émoticone', - toolbar: 'Émoticones' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/gl.js deleted file mode 100644 index 4e4eeb76f21..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/gl.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'gl', { - options: 'Opcións de emoticonas', - title: 'Inserir unha emoticona', - toolbar: 'Emoticona' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/gu.js deleted file mode 100644 index b86af7febc6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/gu.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'gu', { - options: 'સમ્ય્લી વિકલ્પો', - title: 'સ્માઇલી પસંદ કરો', - toolbar: 'સ્માઇલી' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/he.js deleted file mode 100644 index 68558b6899f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/he.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'he', { - options: 'אפשרויות סמיילים', - title: 'הוספת סמיילי', - toolbar: 'סמיילי' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/hi.js deleted file mode 100644 index 5f6428b1805..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/hi.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'hi', { - options: 'Smiley Options', // MISSING - title: 'स्माइली इन्सर्ट करें', - toolbar: 'स्माइली' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/hr.js deleted file mode 100644 index 2550eda4b16..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/hr.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'hr', { - options: 'Opcije smješka', - title: 'Ubaci smješka', - toolbar: 'Smješko' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/hu.js deleted file mode 100644 index d667ca949fd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/hu.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'hu', { - options: 'Hangulatjel opciók', - title: 'Hangulatjel beszúrása', - toolbar: 'Hangulatjelek' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/id.js deleted file mode 100644 index 8615915c06a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/id.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'id', { - options: 'Opsi Smiley', - title: 'Sisip sebuah Smiley', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/is.js deleted file mode 100644 index 17a888f3303..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/is.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'is', { - options: 'Smiley Options', // MISSING - title: 'Velja svip', - toolbar: 'Svipur' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/it.js deleted file mode 100644 index 64e9aa90cb6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/it.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'it', { - options: 'Opzioni Smiley', - title: 'Inserisci emoticon', - toolbar: 'Emoticon' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ja.js deleted file mode 100644 index 0b4bdb59550..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ja.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'ja', { - options: '絵文字オプション', - title: '顔文字挿入', - toolbar: '絵文字' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ka.js deleted file mode 100644 index 3d4a1fcb485..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ka.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'ka', { - options: 'სიცილაკის პარამეტრები', - title: 'სიცილაკის ჩასმა', - toolbar: 'სიცილაკები' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/km.js deleted file mode 100644 index cff8288991c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/km.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'km', { - options: 'ជម្រើស​រូប​សញ្ញា​អារម្មណ៍', - title: 'បញ្ចូល​រូប​សញ្ញា​អារម្មណ៍', - toolbar: 'រូប​សញ្ញ​អារម្មណ៍' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ko.js deleted file mode 100644 index e2a0a15bf1a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ko.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'ko', { - options: '이모티콘 옵션', - title: '아이콘 삽입', - toolbar: '아이콘' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ku.js deleted file mode 100644 index e730c82d51c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ku.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'ku', { - options: 'هەڵبژاردەی زەردەخەنه', - title: 'دانانی زەردەخەنەیەك', - toolbar: 'زەردەخەنه' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/lt.js deleted file mode 100644 index 56337b258a2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/lt.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'lt', { - options: 'Šypsenėlių nustatymai', - title: 'Įterpti veidelį', - toolbar: 'Veideliai' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/lv.js deleted file mode 100644 index 85f38b33ba9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/lv.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'lv', { - options: 'Smaidiņu uzstādījumi', - title: 'Ievietot smaidiņu', - toolbar: 'Smaidiņi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/mk.js deleted file mode 100644 index 17b03f487b9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/mk.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'mk', { - options: 'Smiley Options', // MISSING - title: 'Insert a Smiley', // MISSING - toolbar: 'Smiley' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/mn.js deleted file mode 100644 index 6eeaa235f4f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/mn.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'mn', { - options: 'Smiley Options', // MISSING - title: 'Тодорхойлолт оруулах', - toolbar: 'Тодорхойлолт' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ms.js deleted file mode 100644 index 062368944ce..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ms.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'ms', { - options: 'Smiley Options', // MISSING - title: 'Masukkan Smiley', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/nb.js deleted file mode 100644 index 5582cac033b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/nb.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'nb', { - options: 'Alternativer for smil', - title: 'Sett inn smil', - toolbar: 'Smil' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/nl.js deleted file mode 100644 index 1f567a1ae1d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/nl.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'nl', { - options: 'Smiley opties', - title: 'Smiley invoegen', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/no.js deleted file mode 100644 index ac1e62b3546..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/no.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'no', { - options: 'Alternativer for smil', - title: 'Sett inn smil', - toolbar: 'Smil' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/pl.js deleted file mode 100644 index 879837184d3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/pl.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'pl', { - options: 'Opcje emotikonów', - title: 'Wstaw emotikona', - toolbar: 'Emotikony' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/pt-br.js deleted file mode 100644 index cc2ff4c07fd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/pt-br.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'pt-br', { - options: 'Opções de Emoticons', - title: 'Inserir Emoticon', - toolbar: 'Emoticon' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/pt.js deleted file mode 100644 index 510731b1c0b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/pt.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'pt', { - options: 'Opções de Emoticons', - title: 'Inserir um Emoticon', - toolbar: 'Emoticons' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ro.js deleted file mode 100644 index 772eb53ef45..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ro.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'ro', { - options: 'Opțiuni figuri expresive', - title: 'Inserează o figură expresivă (Emoticon)', - toolbar: 'Figură expresivă (Emoticon)' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ru.js deleted file mode 100644 index e3e0325bf90..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ru.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'ru', { - options: 'Выбор смайла', - title: 'Вставить смайл', - toolbar: 'Смайлы' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/si.js deleted file mode 100644 index 80c7288dbb8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/si.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'si', { - options: 'හාස්‍ය විකල්ප', - title: 'හාස්‍යන් ඇතුලත් කිරීම', - toolbar: 'හාස්‍යන්' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sk.js deleted file mode 100644 index 903472dd840..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sk.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'sk', { - options: 'Možnosti smajlíkov', - title: 'Vložiť smajlíka', - toolbar: 'Smajlíky' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sl.js deleted file mode 100644 index bd633cb3dba..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sl.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'sl', { - options: 'Možnosti Smeška', - title: 'Vstavi smeška', - toolbar: 'Smeško' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sq.js deleted file mode 100644 index 8659dc26307..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sq.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'sq', { - options: 'Opsionet e Ikonave', - title: 'Vendos Ikonë', - toolbar: 'Ikona' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sr-latn.js deleted file mode 100644 index a965860e331..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sr-latn.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'sr-latn', { - options: 'Smiley Options', // MISSING - title: 'Unesi smajlija', - toolbar: 'Smajli' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sr.js deleted file mode 100644 index a82eaa50d3d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sr.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'sr', { - options: 'Smiley Options', // MISSING - title: 'Унеси смајлија', - toolbar: 'Смајли' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sv.js deleted file mode 100644 index 74ca27a9e16..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/sv.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'sv', { - options: 'Smileyinställningar', - title: 'Infoga smiley', - toolbar: 'Smiley' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/th.js deleted file mode 100644 index a9348e24074..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/th.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'th', { - options: 'ตัวเลือกไอคอนแสดงอารมณ์', - title: 'แทรกสัญลักษณ์สื่ออารมณ์', - toolbar: 'รูปสื่ออารมณ์' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/tr.js deleted file mode 100644 index f715fc498e3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/tr.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'tr', { - options: 'İfade Seçenekleri', - title: 'İfade Ekle', - toolbar: 'İfade' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ug.js deleted file mode 100644 index bb583378317..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/ug.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'ug', { - options: 'چىراي ئىپادە سىنبەلگە تاللانمىسى', - title: 'چىراي ئىپادە سىنبەلگە قىستۇر', - toolbar: 'چىراي ئىپادە' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/uk.js deleted file mode 100644 index f6e24b1f6fc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/uk.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'uk', { - options: 'Опції смайликів', - title: 'Вставити смайлик', - toolbar: 'Смайлик' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/vi.js deleted file mode 100644 index 69f0dca06fa..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/vi.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'vi', { - options: 'Tùy chọn hình biểu lộ cảm xúc', - title: 'Chèn hình biểu lộ cảm xúc (mặt cười)', - toolbar: 'Hình biểu lộ cảm xúc (mặt cười)' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/zh-cn.js deleted file mode 100644 index a3c58f5709e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/zh-cn.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'zh-cn', { - options: '表情图标选项', - title: '插入表情图标', - toolbar: '表情符' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/zh.js deleted file mode 100644 index 52f1aa503c0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/lang/zh.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'smiley', 'zh', { - options: '表情符號選項', - title: '插入表情符號', - toolbar: '表情符號' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/plugin.js deleted file mode 100644 index 2a0d1c08045..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/smiley/plugin.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -CKEDITOR.plugins.add( 'smiley', { - requires: 'dialog', - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - icons: 'smiley', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - init: function( editor ) { - editor.config.smiley_path = editor.config.smiley_path || ( this.path + 'images/' ); - editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley', { - allowedContent: 'img[alt,height,!src,title,width]', - requiredContent: 'img' - } ) ); - editor.ui.addButton && editor.ui.addButton( 'Smiley', { - label: editor.lang.smiley.toolbar, - command: 'smiley', - toolbar: 'insert,50' - } ); - CKEDITOR.dialog.add( 'smiley', this.path + 'dialogs/smiley.js' ); - } -} ); - -/** - * The base path used to build the URL for the smiley images. It must end with a slash. - * - * config.smiley_path = 'http://www.example.com/images/smileys/'; - * - * config.smiley_path = '/images/smileys/'; - * - * @cfg {String} [smiley_path=CKEDITOR.basePath + 'plugins/smiley/images/'] - * @member CKEDITOR.config - */ - -/** - * The file names for the smileys to be displayed. These files must be - * contained inside the URL path defined with the {@link #smiley_path} setting. - * - * // This is actually the default value. - * config.smiley_images = [ - * 'regular_smile.png','sad_smile.png','wink_smile.png','teeth_smile.png','confused_smile.png','tongue_smile.png', - * 'embarrassed_smile.png','omg_smile.png','whatchutalkingabout_smile.png','angry_smile.png','angel_smile.png','shades_smile.png', - * 'devil_smile.png','cry_smile.png','lightbulb.png','thumbs_down.png','thumbs_up.png','heart.png', - * 'broken_heart.png','kiss.png','envelope.png' - * ]; - * - * @cfg - * @member CKEDITOR.config - */ -CKEDITOR.config.smiley_images = [ - 'regular_smile.png', 'sad_smile.png', 'wink_smile.png', 'teeth_smile.png', 'confused_smile.png', 'tongue_smile.png', - 'embarrassed_smile.png', 'omg_smile.png', 'whatchutalkingabout_smile.png', 'angry_smile.png', 'angel_smile.png', 'shades_smile.png', - 'devil_smile.png', 'cry_smile.png', 'lightbulb.png', 'thumbs_down.png', 'thumbs_up.png', 'heart.png', - 'broken_heart.png', 'kiss.png', 'envelope.png' ]; - -/** - * The description to be used for each of the smileys defined in the - * {@link CKEDITOR.config#smiley_images} setting. Each entry in this array list - * must match its relative pair in the {@link CKEDITOR.config#smiley_images} - * setting. - * - * // Default settings. - * config.smiley_descriptions = [ - * 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise', - * 'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no', - * 'yes', 'heart', 'broken heart', 'kiss', 'mail' - * ]; - * - * // Use textual emoticons as description. - * config.smiley_descriptions = [ - * ':)', ':(', ';)', ':D', ':/', ':P', ':*)', ':-o', - * ':|', '>:(', 'o:)', '8-)', '>:-)', ';(', '', '', '', - * '', '', ':-*', '' - * ]; - * - * @cfg - * @member CKEDITOR.config - */ -CKEDITOR.config.smiley_descriptions = [ - 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise', - 'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no', - 'yes', 'heart', 'broken heart', 'kiss', 'mail' -]; - -/** - * The number of columns to be generated by the smilies matrix. - * - * config.smiley_columns = 6; - * - * @since 3.3.2 - * @cfg {Number} [smiley_columns=8] - * @member CKEDITOR.config - */ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/hidpi/source-rtl.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/hidpi/source-rtl.png deleted file mode 100644 index adf4af3c984..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/hidpi/source-rtl.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/hidpi/source.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/hidpi/source.png deleted file mode 100644 index b4d0a15a4d8..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/hidpi/source.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/source-rtl.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/source-rtl.png deleted file mode 100644 index 27d1ba88198..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/source-rtl.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/source.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/source.png deleted file mode 100644 index e44db37985a..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/icons/source.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/af.js deleted file mode 100644 index 69219cedcba..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/af.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'af', { - toolbar: 'Bron' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ar.js deleted file mode 100644 index 9a16c41387a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ar.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'ar', { - toolbar: 'المصدر' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/bg.js deleted file mode 100644 index e666a0d56c9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/bg.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'bg', { - toolbar: 'Източник' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/bn.js deleted file mode 100644 index 2487c69bfa2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/bn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'bn', { - toolbar: 'সোর্স' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/bs.js deleted file mode 100644 index 50f74b2fe28..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/bs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'bs', { - toolbar: 'HTML kôd' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ca.js deleted file mode 100644 index 3bde9966937..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'ca', { - toolbar: 'Codi font' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/cs.js deleted file mode 100644 index d6f636dd64f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/cs.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'cs', { - toolbar: 'Zdroj' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/cy.js deleted file mode 100644 index b119eea8588..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/cy.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'cy', { - toolbar: 'HTML' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/da.js deleted file mode 100644 index eb4f8691c68..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/da.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'da', { - toolbar: 'Kilde' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/de.js deleted file mode 100644 index 6c83749146e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/de.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'de', { - toolbar: 'Quellcode' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/el.js deleted file mode 100644 index f1272d97fef..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/el.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'el', { - toolbar: 'Κώδικας' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en-au.js deleted file mode 100644 index 17dc21649c1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en-au.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'en-au', { - toolbar: 'Source' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en-ca.js deleted file mode 100644 index 436f7ced283..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'en-ca', { - toolbar: 'Source' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en-gb.js deleted file mode 100644 index 45d0dddb5c5..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en-gb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'en-gb', { - toolbar: 'Source' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en.js deleted file mode 100644 index d0d20fe9cd4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/en.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'en', { - toolbar: 'Source' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/eo.js deleted file mode 100644 index bdc71277292..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/eo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'eo', { - toolbar: 'Fonto' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/es.js deleted file mode 100644 index 3ffafc8630d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/es.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'es', { - toolbar: 'Fuente HTML' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/et.js deleted file mode 100644 index fd617160acd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/et.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'et', { - toolbar: 'Lähtekood' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/eu.js deleted file mode 100644 index b4f18a353df..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/eu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'eu', { - toolbar: 'HTML Iturburua' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fa.js deleted file mode 100644 index d0342eff353..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fa.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'fa', { - toolbar: 'منبع' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fi.js deleted file mode 100644 index fb40a26ab5d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'fi', { - toolbar: 'Koodi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fo.js deleted file mode 100644 index f09a80a719e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fo.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'fo', { - toolbar: 'Kelda' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fr-ca.js deleted file mode 100644 index 9c16fa542a0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fr-ca.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'fr-ca', { - toolbar: 'Source' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fr.js deleted file mode 100644 index db7288ac1a4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/fr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'fr', { - toolbar: 'Source' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/gl.js deleted file mode 100644 index ad8481a4795..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/gl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'gl', { - toolbar: 'Orixe' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/gu.js deleted file mode 100644 index 3e917688a3b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/gu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'gu', { - toolbar: 'મૂળ કે પ્રાથમિક દસ્તાવેજ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/he.js deleted file mode 100644 index f7b1c922e40..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/he.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'he', { - toolbar: 'מקור' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/hi.js deleted file mode 100644 index f6fc4eb0c45..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/hi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'hi', { - toolbar: 'सोर्स' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/hr.js deleted file mode 100644 index ea5d64b9f1b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/hr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'hr', { - toolbar: 'Kôd' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/hu.js deleted file mode 100644 index 57cfd217d37..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/hu.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'hu', { - toolbar: 'Forráskód' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/id.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/id.js deleted file mode 100644 index a2606fc8193..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/id.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'id', { - toolbar: 'Sumber' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/is.js deleted file mode 100644 index 1f97cfbe150..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/is.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'is', { - toolbar: 'Kóði' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/it.js deleted file mode 100644 index 40473bc09be..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/it.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'it', { - toolbar: 'Sorgente' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ja.js deleted file mode 100644 index 27edc03ad25..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ja.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'ja', { - toolbar: 'ソース' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ka.js deleted file mode 100644 index e000e40b88f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ka.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'ka', { - toolbar: 'კოდები' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/km.js deleted file mode 100644 index e724fe58fb9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/km.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'km', { - toolbar: 'អក្សរ​កូដ' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ko.js deleted file mode 100644 index 7dda18af2e2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ko.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'ko', { - toolbar: '소스' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ku.js deleted file mode 100644 index 89cf58351c0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ku.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'ku', { - toolbar: 'سەرچاوە' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/lt.js deleted file mode 100644 index 25dcb0e854f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/lt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'lt', { - toolbar: 'Šaltinis' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/lv.js deleted file mode 100644 index 2fe82ee9e52..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/lv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'lv', { - toolbar: 'HTML kods' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/mk.js deleted file mode 100644 index a9c47fec3a4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/mk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'mk', { - toolbar: 'Source' // MISSING -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/mn.js deleted file mode 100644 index f7cc25f732e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/mn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'mn', { - toolbar: 'Код' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ms.js deleted file mode 100644 index f6f3f8b2959..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ms.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'ms', { - toolbar: 'Sumber' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/nb.js deleted file mode 100644 index 2d98ab2d121..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/nb.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'nb', { - toolbar: 'Kilde' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/nl.js deleted file mode 100644 index eafd6d5d104..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/nl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'nl', { - toolbar: 'Broncode' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/no.js deleted file mode 100644 index 7d88bdbfaed..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/no.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'no', { - toolbar: 'Kilde' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/pl.js deleted file mode 100644 index 207a21b8760..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/pl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'pl', { - toolbar: 'Źródło dokumentu' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/pt-br.js deleted file mode 100644 index 0a8730efdb0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/pt-br.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'pt-br', { - toolbar: 'Código-Fonte' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/pt.js deleted file mode 100644 index 3b098baf268..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/pt.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'pt', { - toolbar: 'Fonte' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ro.js deleted file mode 100644 index a12699dbaad..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ro.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'ro', { - toolbar: 'Sursa' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ru.js deleted file mode 100644 index a43e2a0a9ed..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ru.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'ru', { - toolbar: 'Источник' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/si.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/si.js deleted file mode 100644 index 2c12c675ffd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/si.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'si', { - toolbar: 'මුලාශ්‍රය' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sk.js deleted file mode 100644 index 2a5b8140667..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'sk', { - toolbar: 'Zdroj' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sl.js deleted file mode 100644 index 49ca4425c39..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sl.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'sl', { - toolbar: 'Izvorna koda' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sq.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sq.js deleted file mode 100644 index cdeb5eb240e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sq.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'sq', { - toolbar: 'Burimi' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sr-latn.js deleted file mode 100644 index 221438fb376..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sr-latn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'sr-latn', { - toolbar: 'Kôd' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sr.js deleted file mode 100644 index dab4ab57c91..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'sr', { - toolbar: 'Kôд' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sv.js deleted file mode 100644 index 26bd571cffd..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/sv.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'sv', { - toolbar: 'Källa' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/th.js deleted file mode 100644 index 6704ec61ada..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/th.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'th', { - toolbar: 'ดูรหัส HTML' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/tr.js deleted file mode 100644 index 7ab852dba27..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/tr.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'tr', { - toolbar: 'Kaynak' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ug.js deleted file mode 100644 index bf84b170685..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/ug.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'ug', { - toolbar: 'مەنبە' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/uk.js deleted file mode 100644 index 624618e97ee..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/uk.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'uk', { - toolbar: 'Джерело' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/vi.js deleted file mode 100644 index c18e023daa8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/vi.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'vi', { - toolbar: 'Mã HTML' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/zh-cn.js deleted file mode 100644 index b672bb578a7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/zh-cn.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'zh-cn', { - toolbar: '源码' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/zh.js deleted file mode 100644 index 8f4bc938350..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/lang/zh.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'sourcearea', 'zh', { - toolbar: '原始碼' -} ); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/plugin.js deleted file mode 100644 index 25175b6333e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/sourcearea/plugin.js +++ /dev/null @@ -1,154 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview The "sourcearea" plugin. It registers the "source" editing - * mode, which displays the raw data being edited in the editor. - */ - -( function() { - CKEDITOR.plugins.add( 'sourcearea', { - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% - icons: 'source,source-rtl', // %REMOVE_LINE_CORE% - hidpi: true, // %REMOVE_LINE_CORE% - init: function( editor ) { - // Source mode isn't available in inline mode yet. - if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE ) - return; - - var sourcearea = CKEDITOR.plugins.sourcearea; - - editor.addMode( 'source', function( callback ) { - var contentsSpace = editor.ui.space( 'contents' ), - textarea = contentsSpace.getDocument().createElement( 'textarea' ); - - textarea.setStyles( - CKEDITOR.tools.extend( { - // IE7 has overflow the
' + - ''; - - var wscCoreUrl = editor.config.wsc_customLoaderScript || ( protocol + '//loader.webspellchecker.net/sproxy_fck/sproxy.php' + '?plugin=fck2' - + '&customerid=' + editor.config.wsc_customerId - + '&cmd=script&doc=wsc&schema=22' - ); - - if ( editor.config.wsc_customLoaderScript ) { - errorMsg += '

' + - editor.lang.wsc.errorLoading.replace( /%s/g, editor.config.wsc_customLoaderScript ) + '

'; - } - - function burnSpelling( dialog, errorMsg ) { - var i = 0; - return function() { - if ( typeof( window.doSpell ) == 'function' ) { - //Call from window.setInteval expected at once. - if ( typeof( interval ) != 'undefined' ) - window.clearInterval( interval ); - - initAndSpell( dialog ); - } else if ( i++ == 180 ) // Timeout: 180 * 250ms = 45s. - window._cancelOnError( errorMsg ); - }; - } - - window._cancelOnError = function( m ) { - if ( typeof( window.WSC_Error ) == 'undefined' ) { - CKEDITOR.document.getById( iframeId ).setStyle( 'display', 'none' ); - var errorBox = CKEDITOR.document.getById( errorBoxId ); - errorBox.setStyle( 'display', 'block' ); - errorBox.setHtml( m || editor.lang.wsc.notAvailable ); - } - }; - - function initAndSpell( dialog ) { - var LangComparer = new window._SP_FCK_LangCompare(), - // Language abbr standarts comparer. - pluginPath = CKEDITOR.getUrl( editor.plugins.wsc.path + 'dialogs/' ), - // Service paths corecting/preparing. - framesetPath = pluginPath + 'tmpFrameset.html'; - - // global var is used in FCK specific core - // change on equal var used in fckplugin.js - window.gFCKPluginName = 'wsc'; - - LangComparer.setDefaulLangCode( editor.config.defaultLanguage ); - - window.doSpell({ - ctrl: textareaId, - - lang: editor.config.wsc_lang || LangComparer.getSPLangCode( editor.langCode ), - intLang: editor.config.wsc_uiLang || LangComparer.getSPLangCode( editor.langCode ), - winType: iframeId, // If not defined app will run on winpopup. - - // Callback binding section. - onCancel: function() { - dialog.hide(); - }, - onFinish: function( dT ) { - editor.focus(); - dialog.getParentEditor().setData( dT.value ); - dialog.hide(); - }, - - // Some manipulations with client static pages. - staticFrame: framesetPath, - framesetPath: framesetPath, - iframePath: pluginPath + 'ciframe.html', - - // Styles defining. - schemaURI: pluginPath + 'wsc.css', - - userDictionaryName: editor.config.wsc_userDictionaryName, - customDictionaryName: editor.config.wsc_customDictionaryIds && editor.config.wsc_customDictionaryIds.split( "," ), - domainName: editor.config.wsc_domainName - - }); - - // Hide user message console (if application was loaded more then after timeout). - CKEDITOR.document.getById( errorBoxId ).setStyle( 'display', 'none' ); - CKEDITOR.document.getById( iframeId ).setStyle( 'display', 'block' ); - } - - return { - title: editor.config.wsc_dialogTitle || editor.lang.wsc.title, - minWidth: 485, - minHeight: 380, - buttons: [ CKEDITOR.dialog.cancelButton ], - onShow: function() { - var contentArea = this.getContentElement( 'general', 'content' ).getElement(); - contentArea.setHtml( pasteArea ); - contentArea.getChild( 2 ).setStyle( 'height', this._.contentSize.height + 'px' ); - - if ( typeof( window.doSpell ) != 'function' ) { - // Load script. - CKEDITOR.document.getHead().append( CKEDITOR.document.createElement( 'script', { - attributes: { - type: 'text/javascript', - src: wscCoreUrl - } - })); - } - - var sData = editor.getData(); // Get the data to be checked. - - CKEDITOR.document.getById( textareaId ).setValue( sData ); - - interval = window.setInterval( burnSpelling( this, errorMsg ), 250 ); - }, - onHide: function() { - window.ooo = undefined; - window.int_framsetLoaded = undefined; - window.framesetLoaded = undefined; - window.is_window_opened = false; - }, - contents: [ - { - id: 'general', - label: editor.config.wsc_dialogTitle || editor.lang.wsc.title, - padding: 0, - elements: [ - { - type: 'html', - id: 'content', - html: '' - } - ] - } - ] - }; -}); - -// Expand the spell-check frame when dialog resized. (#6829) -CKEDITOR.dialog.on( 'resize', function( evt ) { - var data = evt.data, - dialog = data.dialog; - - if ( dialog._.name == 'checkspell' ) { - var content = dialog.getContentElement( 'general', 'content' ).getElement(), - iframe = content && content.getChild( 2 ); - - iframe && iframe.setSize( 'height', data.height ); - iframe && iframe.setSize( 'width', data.width ); - } -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/icons/hidpi/spellchecker.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/icons/hidpi/spellchecker.png deleted file mode 100644 index 58a9f4c1328..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/icons/hidpi/spellchecker.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/icons/spellchecker.png b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/icons/spellchecker.png deleted file mode 100644 index 2b50c5c65d0..00000000000 Binary files a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/icons/spellchecker.png and /dev/null differ diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/af.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/af.js deleted file mode 100644 index b2dc18b96f9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/af.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'af', { - btnIgnore: 'Ignoreer', - btnIgnoreAll: 'Ignoreer alles', - btnReplace: 'Vervang', - btnReplaceAll: 'vervang alles', - btnUndo: 'Ontdoen', - changeTo: 'Verander na', - errorLoading: 'Fout by inlaai van diens: %s.', - ieSpellDownload: 'Speltoetser is nie geïnstalleer nie. Wil u dit nou aflaai?', - manyChanges: 'Klaar met speltoets: %1 woorde verander', - noChanges: 'Klaar met speltoets: Geen woorde verander nie', - noMispell: 'Klaar met speltoets: Geen foute nie', - noSuggestions: '- Geen voorstel -', - notAvailable: 'Jammer, hierdie diens is nie nou beskikbaar nie.', - notInDic: 'Nie in woordeboek nie', - oneChange: 'Klaar met speltoets: Een woord verander', - progress: 'Spelling word getoets...', - title: 'Speltoetser', - toolbar: 'Speltoets' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ar.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ar.js deleted file mode 100644 index d64c07a8206..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ar.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'ar', { - btnIgnore: 'تجاهل', - btnIgnoreAll: 'تجاهل الكل', - btnReplace: 'تغيير', - btnReplaceAll: 'تغيير الكل', - btnUndo: 'تراجع', - changeTo: 'التغيير إلى', - errorLoading: 'خطأ في تحميل تطبيق خدمة الاستضافة: %s.', - ieSpellDownload: 'المدقق الإملائي (الإنجليزي) غير مثبّت. هل تود تحميله الآن؟', - manyChanges: 'تم إكمال التدقيق الإملائي: تم تغيير %1 من كلمات', - noChanges: 'تم التدقيق الإملائي: لم يتم تغيير أي كلمة', - noMispell: 'تم التدقيق الإملائي: لم يتم العثور على أي أخطاء إملائية', - noSuggestions: '- لا توجد إقتراحات -', - notAvailable: 'عفواً، ولكن هذه الخدمة غير متاحة الان', - notInDic: 'ليست في القاموس', - oneChange: 'تم التدقيق الإملائي: تم تغيير كلمة واحدة فقط', - progress: 'جاري التدقيق الاملائى', - title: 'التدقيق الإملائي', - toolbar: 'تدقيق إملائي' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/bg.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/bg.js deleted file mode 100644 index 7cd1fee0bf3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/bg.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'bg', { - btnIgnore: 'Игнорирай', - btnIgnoreAll: 'Игнорирай всичко', - btnReplace: 'Препокриване', - btnReplaceAll: 'Препокрий всичко', - btnUndo: 'Възтанови', - changeTo: 'Промени на', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Spell checker not installed. Do you want to download it now?', - manyChanges: 'Spell check complete: %1 words changed', - noChanges: 'Spell check complete: No words changed', - noMispell: 'Spell check complete: No misspellings found', - noSuggestions: '- Няма препоръчани -', - notAvailable: 'Съжаляваме, но услугата не е достъпна за момента', - notInDic: 'Не е в речника', - oneChange: 'Spell check complete: One word changed', - progress: 'Проверява се правописа...', - title: 'Проверка на правопис', - toolbar: 'Проверка на правопис' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/bn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/bn.js deleted file mode 100644 index 98765527ec7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/bn.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'bn', { - btnIgnore: 'ইগনোর কর', - btnIgnoreAll: 'সব ইগনোর কর', - btnReplace: 'বদলে দাও', - btnReplaceAll: 'সব বদলে দাও', - btnUndo: 'আন্ডু', - changeTo: 'এতে বদলাও', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'বানান পরীক্ষক ইনস্টল করা নেই। আপনি কি এখনই এটা ডাউনলোড করতে চান?', - manyChanges: 'বানান পরীক্ষা শেষ: %1 গুলো শব্দ বদলে গ্যাছে', - noChanges: 'বানান পরীক্ষা শেষ: কোন শব্দ পরিবর্তন করা হয়নি', - noMispell: 'বানান পরীক্ষা শেষ: কোন ভুল বানান পাওয়া যায়নি', - noSuggestions: '- কোন সাজেশন নেই -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'শব্দকোষে নেই', - oneChange: 'বানান পরীক্ষা শেষ: একটি মাত্র শব্দ পরিবর্তন করা হয়েছে', - progress: 'বানান পরীক্ষা চলছে...', - title: 'Spell Check', - toolbar: 'বানান চেক' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/bs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/bs.js deleted file mode 100644 index 2e05e7f9fa6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/bs.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'bs', { - btnIgnore: 'Ignore', - btnIgnoreAll: 'Ignore All', - btnReplace: 'Replace', - btnReplaceAll: 'Replace All', - btnUndo: 'Undo', - changeTo: 'Change to', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Spell checker not installed. Do you want to download it now?', - manyChanges: 'Spell check complete: %1 words changed', - noChanges: 'Spell check complete: No words changed', - noMispell: 'Spell check complete: No misspellings found', - noSuggestions: '- No suggestions -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Not in dictionary', - oneChange: 'Spell check complete: One word changed', - progress: 'Spell check in progress...', - title: 'Spell Check', - toolbar: 'Check Spelling' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ca.js deleted file mode 100644 index cdc9be2bdeb..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ca.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'ca', { - btnIgnore: 'Ignora', - btnIgnoreAll: 'Ignora-les totes', - btnReplace: 'Canvia', - btnReplaceAll: 'Canvia-les totes', - btnUndo: 'Desfés', - changeTo: 'Reemplaça amb', - errorLoading: 'Error carregant el servidor: %s.', - ieSpellDownload: 'Verificació ortogràfica no instal·lada. Voleu descarregar-ho ara?', - manyChanges: 'Verificació ortogràfica: s\'han canviat %1 paraules', - noChanges: 'Verificació ortogràfica: no s\'ha canviat cap paraula', - noMispell: 'Verificació ortogràfica acabada: no hi ha cap paraula mal escrita', - noSuggestions: 'Cap suggeriment', - notAvailable: 'El servei no es troba disponible ara.', - notInDic: 'No és al diccionari', - oneChange: 'Verificació ortogràfica: s\'ha canviat una paraula', - progress: 'Verificació ortogràfica en curs...', - title: 'Comprova l\'ortografia', - toolbar: 'Revisa l\'ortografia' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/cs.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/cs.js deleted file mode 100644 index abe499c9b1c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/cs.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'cs', { - btnIgnore: 'Přeskočit', - btnIgnoreAll: 'Přeskakovat vše', - btnReplace: 'Zaměnit', - btnReplaceAll: 'Zaměňovat vše', - btnUndo: 'Zpět', - changeTo: 'Změnit na', - errorLoading: 'Chyba nahrávání služby aplikace z: %s.', - ieSpellDownload: 'Kontrola pravopisu není nainstalována. Chcete ji nyní stáhnout?', - manyChanges: 'Kontrola pravopisu dokončena: %1 slov změněno', - noChanges: 'Kontrola pravopisu dokončena: Beze změn', - noMispell: 'Kontrola pravopisu dokončena: Žádné pravopisné chyby nenalezeny', - noSuggestions: '- žádné návrhy -', - notAvailable: 'Omlouváme se, ale služba nyní není dostupná.', - notInDic: 'Není ve slovníku', - oneChange: 'Kontrola pravopisu dokončena: Jedno slovo změněno', - progress: 'Probíhá kontrola pravopisu...', - title: 'Kontrola pravopisu', - toolbar: 'Zkontrolovat pravopis' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/cy.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/cy.js deleted file mode 100644 index c895a282575..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/cy.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'cy', { - btnIgnore: 'Anwybyddu Un', - btnIgnoreAll: 'Anwybyddu Pob', - btnReplace: 'Amnewid Un', - btnReplaceAll: 'Amnewid Pob', - btnUndo: 'Dadwneud', - changeTo: 'Newid i', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Gwirydd sillafu heb ei arsefydlu. A ydych am ei lawrlwytho nawr?', - manyChanges: 'Gwirio sillafu wedi gorffen: Newidiwyd %1 gair', - noChanges: 'Gwirio sillafu wedi gorffen: Dim newidiadau', - noMispell: 'Gwirio sillafu wedi gorffen: Dim camsillaf.', - noSuggestions: '- Dim awgrymiadau -', - notAvailable: 'Nid yw\'r gwasanaeth hwn ar gael yn bresennol.', - notInDic: 'Nid i\'w gael yn y geiriadur', - oneChange: 'Gwirio sillafu wedi gorffen: Newidiwyd 1 gair', - progress: 'Gwirio sillafu yn ar y gweill...', - title: 'Gwirio Sillafu', - toolbar: 'Gwirio Sillafu' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/da.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/da.js deleted file mode 100644 index 5103e5da174..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/da.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'da', { - btnIgnore: 'Ignorér', - btnIgnoreAll: 'Ignorér alle', - btnReplace: 'Erstat', - btnReplaceAll: 'Erstat alle', - btnUndo: 'Tilbage', - changeTo: 'Forslag', - errorLoading: 'Fejl ved indlæsning af host: %s.', - ieSpellDownload: 'Stavekontrol ikke installeret. Vil du installere den nu?', - manyChanges: 'Stavekontrol færdig: %1 ord ændret', - noChanges: 'Stavekontrol færdig: Ingen ord ændret', - noMispell: 'Stavekontrol færdig: Ingen fejl fundet', - noSuggestions: '(ingen forslag)', - notAvailable: 'Stavekontrol er desværre ikke tilgængelig.', - notInDic: 'Ikke i ordbogen', - oneChange: 'Stavekontrol færdig: Et ord ændret', - progress: 'Stavekontrollen arbejder...', - title: 'Stavekontrol', - toolbar: 'Stavekontrol' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/de.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/de.js deleted file mode 100644 index cec4fc821b1..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/de.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'de', { - btnIgnore: 'Ignorieren', - btnIgnoreAll: 'Alle Ignorieren', - btnReplace: 'Ersetzen', - btnReplaceAll: 'Alle Ersetzen', - btnUndo: 'Rückgängig', - changeTo: 'Ändern in', - errorLoading: 'Fehler beim laden des Dienstanbieters: %s.', - ieSpellDownload: 'Rechtschreibprüfung nicht installiert. Möchten Sie sie jetzt herunterladen?', - manyChanges: 'Rechtschreibprüfung abgeschlossen - %1 Wörter geändert', - noChanges: 'Rechtschreibprüfung abgeschlossen - keine Worte geändert', - noMispell: 'Rechtschreibprüfung abgeschlossen - keine Fehler gefunden', - noSuggestions: ' - keine Vorschläge - ', - notAvailable: 'Entschuldigung, aber dieser Dienst steht im Moment nicht zur Verfügung.', - notInDic: 'Nicht im Wörterbuch', - oneChange: 'Rechtschreibprüfung abgeschlossen - ein Wort geändert', - progress: 'Rechtschreibprüfung läuft...', - title: 'Rechtschreibprüfung', - toolbar: 'Rechtschreibprüfung' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/el.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/el.js deleted file mode 100644 index c23d549538f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/el.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'el', { - btnIgnore: 'Αγνόηση', - btnIgnoreAll: 'Αγνόηση όλων', - btnReplace: 'Αντικατάσταση', - btnReplaceAll: 'Αντικατάσταση όλων', - btnUndo: 'Αναίρεση', - changeTo: 'Αλλαγή σε', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Δεν υπάρχει εγκατεστημένος ορθογράφος. Θέλετε να τον κατεβάσετε τώρα;', - manyChanges: 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Άλλαξαν %1 λέξεις', - noChanges: 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν άλλαξαν λέξεις', - noMispell: 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν βρέθηκαν λάθη', - noSuggestions: '- Δεν υπάρχουν προτάσεις -', - notAvailable: 'Η υπηρεσία δεν είναι διαθέσιμη αυτήν την στιγμή.', - notInDic: 'Δεν υπάρχει στο λεξικό', - oneChange: 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Άλλαξε μια λέξη', - progress: 'Γίνεται ορθογραφικός έλεγχος...', - title: 'Ορθογραφικός Έλεγχος', - toolbar: 'Ορθογραφικός Έλεγχος' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en-au.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en-au.js deleted file mode 100644 index 6876f8eb757..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en-au.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'en-au', { - btnIgnore: 'Ignore', - btnIgnoreAll: 'Ignore All', - btnReplace: 'Replace', - btnReplaceAll: 'Replace All', - btnUndo: 'Undo', - changeTo: 'Change to', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Spell checker not installed. Do you want to download it now?', - manyChanges: 'Spell check complete: %1 words changed', - noChanges: 'Spell check complete: No words changed', - noMispell: 'Spell check complete: No misspellings found', - noSuggestions: '- No suggestions -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Not in dictionary', - oneChange: 'Spell check complete: One word changed', - progress: 'Spell check in progress...', - title: 'Spell Check', - toolbar: 'Check Spelling' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en-ca.js deleted file mode 100644 index 1b1b86f6451..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en-ca.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'en-ca', { - btnIgnore: 'Ignore', - btnIgnoreAll: 'Ignore All', - btnReplace: 'Replace', - btnReplaceAll: 'Replace All', - btnUndo: 'Undo', - changeTo: 'Change to', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Spell checker not installed. Do you want to download it now?', - manyChanges: 'Spell check complete: %1 words changed', - noChanges: 'Spell check complete: No words changed', - noMispell: 'Spell check complete: No misspellings found', - noSuggestions: '- No suggestions -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Not in dictionary', - oneChange: 'Spell check complete: One word changed', - progress: 'Spell check in progress...', - title: 'Spell Check', - toolbar: 'Check Spelling' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en-gb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en-gb.js deleted file mode 100644 index dcef8bdbe26..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en-gb.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'en-gb', { - btnIgnore: 'Ignore', - btnIgnoreAll: 'Ignore All', - btnReplace: 'Replace', - btnReplaceAll: 'Replace All', - btnUndo: 'Undo', - changeTo: 'Change to', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Spell checker not installed. Do you want to download it now?', - manyChanges: 'Spell check complete: %1 words changed', - noChanges: 'Spell check complete: No words changed', - noMispell: 'Spell check complete: No misspellings found', - noSuggestions: '- No suggestions -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Not in dictionary', - oneChange: 'Spell check complete: One word changed', - progress: 'Spell check in progress...', - title: 'Spell Check', - toolbar: 'Check Spelling' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en.js deleted file mode 100644 index 2bb6e2779fe..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/en.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'en', { - btnIgnore: 'Ignore', - btnIgnoreAll: 'Ignore All', - btnReplace: 'Replace', - btnReplaceAll: 'Replace All', - btnUndo: 'Undo', - changeTo: 'Change to', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Spell checker not installed. Do you want to download it now?', - manyChanges: 'Spell check complete: %1 words changed', - noChanges: 'Spell check complete: No words changed', - noMispell: 'Spell check complete: No misspellings found', - noSuggestions: '- No suggestions -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Not in dictionary', - oneChange: 'Spell check complete: One word changed', - progress: 'Spell check in progress...', - title: 'Spell Check', - toolbar: 'Check Spelling' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/eo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/eo.js deleted file mode 100644 index 6aaf07048c9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/eo.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'eo', { - btnIgnore: 'Ignori', - btnIgnoreAll: 'Ignori Ĉion', - btnReplace: 'Anstataŭigi', - btnReplaceAll: 'Anstataŭigi Ĉion', - btnUndo: 'Malfari', - changeTo: 'Ŝanĝi al', - errorLoading: 'Eraro en la servoelŝuto el la gastiga komputiko: %s.', - ieSpellDownload: 'Ortografikontrolilo ne instalita. Ĉu vi volas elŝuti ĝin nun?', - manyChanges: 'Ortografikontrolado finita: %1 vortoj korektitaj', - noChanges: 'Ortografikontrolado finita: neniu vorto korektita', - noMispell: 'Ortografikontrolado finita: neniu eraro trovita', - noSuggestions: '- Neniu propono -', - notAvailable: 'Bedaŭrinde la servo ne funkcias nuntempe.', - notInDic: 'Ne trovita en la vortaro', - oneChange: 'Ortografikontrolado finita: unu vorto korektita', - progress: 'La ortografio estas kontrolata...', - title: 'Kontroli la ortografion', - toolbar: 'Kontroli la ortografion' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/es.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/es.js deleted file mode 100644 index 8b0ce6d7dc4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/es.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'es', { - btnIgnore: 'Ignorar', - btnIgnoreAll: 'Ignorar Todo', - btnReplace: 'Reemplazar', - btnReplaceAll: 'Reemplazar Todo', - btnUndo: 'Deshacer', - changeTo: 'Cambiar a', - errorLoading: 'Error cargando la aplicación del servidor: %s.', - ieSpellDownload: 'Módulo de Control de Ortografía no instalado.\r\n¿Desea descargarlo ahora?', - manyChanges: 'Control finalizado: se ha cambiado %1 palabras', - noChanges: 'Control finalizado: no se ha cambiado ninguna palabra', - noMispell: 'Control finalizado: no se encontraron errores', - noSuggestions: '- No hay sugerencias -', - notAvailable: 'Lo sentimos pero el servicio no está disponible.', - notInDic: 'No se encuentra en el Diccionario', - oneChange: 'Control finalizado: se ha cambiado una palabra', - progress: 'Control de Ortografía en progreso...', - title: 'Comprobar ortografía', - toolbar: 'Ortografía' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/et.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/et.js deleted file mode 100644 index 08584611343..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/et.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'et', { - btnIgnore: 'Ignoreeri', - btnIgnoreAll: 'Ignoreeri kõiki', - btnReplace: 'Asenda', - btnReplaceAll: 'Asenda kõik', - btnUndo: 'Võta tagasi', - changeTo: 'Muuda', - errorLoading: 'Viga rakenduse teenushosti laadimisel: %s.', - ieSpellDownload: 'Õigekirja kontrollija ei ole paigaldatud. Soovid sa selle alla laadida?', - manyChanges: 'Õigekirja kontroll sooritatud: %1 sõna muudetud', - noChanges: 'Õigekirja kontroll sooritatud: ühtegi sõna ei muudetud', - noMispell: 'Õigekirja kontroll sooritatud: õigekirjuvigu ei leitud', - noSuggestions: '- Soovitused puuduvad -', - notAvailable: 'Kahjuks ei ole teenus praegu saadaval.', - notInDic: 'Puudub sõnastikust', - oneChange: 'Õigekirja kontroll sooritatud: üks sõna muudeti', - progress: 'Toimub õigekirja kontroll...', - title: 'Õigekirjakontroll', - toolbar: 'Õigekirjakontroll' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/eu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/eu.js deleted file mode 100644 index 9703b20e08a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/eu.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'eu', { - btnIgnore: 'Ezikusi', - btnIgnoreAll: 'Denak Ezikusi', - btnReplace: 'Ordezkatu', - btnReplaceAll: 'Denak Ordezkatu', - btnUndo: 'Desegin', - changeTo: 'Honekin ordezkatu', - errorLoading: 'Errorea gertatu da aplikazioa zerbitzaritik kargatzean: %s.', - ieSpellDownload: 'Zuzentzaile ortografikoa ez dago instalatuta. Deskargatu nahi duzu?', - manyChanges: 'Zuzenketa ortografikoa bukatuta: %1 hitz aldatu dira', - noChanges: 'Zuzenketa ortografikoa bukatuta: Ez da ezer aldatu', - noMispell: 'Zuzenketa ortografikoa bukatuta: Akatsik ez', - noSuggestions: '- Iradokizunik ez -', - notAvailable: 'Barkatu baina momentu honetan zerbitzua ez dago erabilgarri.', - notInDic: 'Ez dago hiztegian', - oneChange: 'Zuzenketa ortografikoa bukatuta: Hitz bat aldatu da', - progress: 'Zuzenketa ortografikoa martxan...', - title: 'Ortografia zuzenketa', - toolbar: 'Ortografia' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fa.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fa.js deleted file mode 100644 index 9e07cc4283f..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fa.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'fa', { - btnIgnore: 'چشمپوشی', - btnIgnoreAll: 'چشمپوشی همه', - btnReplace: 'جایگزینی', - btnReplaceAll: 'جایگزینی همه', - btnUndo: 'واچینش', - changeTo: 'تغییر به', - errorLoading: 'خطا در بارگیری برنامه خدمات میزبان: %s.', - ieSpellDownload: 'بررسی کنندهٴ املا نصب نشده است. آیا میخواهید آن را هماکنون دریافت کنید؟', - manyChanges: 'بررسی املا انجام شد. %1 واژه تغییر یافت', - noChanges: 'بررسی املا انجام شد. هیچ واژهای تغییر نیافت', - noMispell: 'بررسی املا انجام شد. هیچ غلط املائی یافت نشد', - noSuggestions: '- پیشنهادی نیست -', - notAvailable: 'با عرض پوزش خدمات الان در دسترس نیستند.', - notInDic: 'در واژه~نامه یافت نشد', - oneChange: 'بررسی املا انجام شد. یک واژه تغییر یافت', - progress: 'بررسی املا در حال انجام...', - title: 'بررسی املا', - toolbar: 'بررسی املا' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fi.js deleted file mode 100644 index a09d20873b8..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fi.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'fi', { - btnIgnore: 'Jätä huomioimatta', - btnIgnoreAll: 'Jätä kaikki huomioimatta', - btnReplace: 'Korvaa', - btnReplaceAll: 'Korvaa kaikki', - btnUndo: 'Kumoa', - changeTo: 'Vaihda', - errorLoading: 'Virhe ladattaessa oikolukupalvelua isännältä: %s.', - ieSpellDownload: 'Oikeinkirjoituksen tarkistusta ei ole asennettu. Haluatko ladata sen nyt?', - manyChanges: 'Tarkistus valmis: %1 sanaa muutettiin', - noChanges: 'Tarkistus valmis: Yhtään sanaa ei muutettu', - noMispell: 'Tarkistus valmis: Ei virheitä', - noSuggestions: 'Ei ehdotuksia', - notAvailable: 'Valitettavasti oikoluku ei ole käytössä tällä hetkellä.', - notInDic: 'Ei sanakirjassa', - oneChange: 'Tarkistus valmis: Yksi sana muutettiin', - progress: 'Tarkistus käynnissä...', - title: 'Oikoluku', - toolbar: 'Tarkista oikeinkirjoitus' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fo.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fo.js deleted file mode 100644 index 1839824571c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fo.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'fo', { - btnIgnore: 'Forfjóna', - btnIgnoreAll: 'Forfjóna alt', - btnReplace: 'Yvirskriva', - btnReplaceAll: 'Yvirskriva alt', - btnUndo: 'Angra', - changeTo: 'Broyt til', - errorLoading: 'Feilur við innlesing av application service host: %s.', - ieSpellDownload: 'Rættstavarin er ikki tøkur í tekstviðgeranum. Vilt tú heinta hann nú?', - manyChanges: 'Rættstavarin liðugur: %1 orð broytt', - noChanges: 'Rættstavarin liðugur: Einki orð varð broytt', - noMispell: 'Rættstavarin liðugur: Eingin feilur funnin', - noSuggestions: '- Einki uppskot -', - notAvailable: 'Tíverri, ikki tøkt í løtuni.', - notInDic: 'Finst ikki í orðabókini', - oneChange: 'Rættstavarin liðugur: Eitt orð er broytt', - progress: 'Rættstavarin arbeiðir...', - title: 'Kanna stavseting', - toolbar: 'Kanna stavseting' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fr-ca.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fr-ca.js deleted file mode 100644 index a74c9fd947b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fr-ca.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'fr-ca', { - btnIgnore: 'Ignorer', - btnIgnoreAll: 'Ignorer tout', - btnReplace: 'Remplacer', - btnReplaceAll: 'Remplacer tout', - btnUndo: 'Annuler', - changeTo: 'Changer en', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Le Correcteur d\'orthographe n\'est pas installé. Souhaitez-vous le télécharger maintenant?', - manyChanges: 'Vérification d\'orthographe terminée: %1 mots modifiés', - noChanges: 'Vérification d\'orthographe terminée: Pas de modifications', - noMispell: 'Vérification d\'orthographe terminée: pas d\'erreur trouvée', - noSuggestions: '- Pas de suggestion -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Pas dans le dictionnaire', - oneChange: 'Vérification d\'orthographe terminée: Un mot modifié', - progress: 'Vérification d\'orthographe en cours...', - title: 'Spell Check', - toolbar: 'Orthographe' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fr.js deleted file mode 100644 index cdf255b8627..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/fr.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'fr', { - btnIgnore: 'Ignorer', - btnIgnoreAll: 'Ignorer tout', - btnReplace: 'Remplacer', - btnReplaceAll: 'Remplacer tout', - btnUndo: 'Annuler', - changeTo: 'Modifier pour', - errorLoading: 'Erreur du chargement du service depuis l\'hôte : %s.', - ieSpellDownload: 'La vérification d\'orthographe n\'est pas installée. Voulez-vous la télécharger maintenant?', - manyChanges: 'Vérification de l\'orthographe terminée : %1 mots corrigés.', - noChanges: 'Vérification de l\'orthographe terminée : Aucun mot corrigé.', - noMispell: 'Vérification de l\'orthographe terminée : aucune erreur trouvée.', - noSuggestions: '- Aucune suggestion -', - notAvailable: 'Désolé, le service est indisponible actuellement.', - notInDic: 'N\'existe pas dans le dictionnaire.', - oneChange: 'Vérification de l\'orthographe terminée : Un seul mot corrigé.', - progress: 'Vérification de l\'orthographe en cours...', - title: 'Vérifier l\'orthographe', - toolbar: 'Vérifier l\'orthographe' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/gl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/gl.js deleted file mode 100644 index 3a8710076d2..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/gl.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'gl', { - btnIgnore: 'Ignorar', - btnIgnoreAll: 'Ignorar Todas', - btnReplace: 'Substituir', - btnReplaceAll: 'Substituir Todas', - btnUndo: 'Desfacer', - changeTo: 'Cambiar a', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'O corrector ortográfico non está instalado. ¿Quere descargalo agora?', - manyChanges: 'Corrección ortográfica rematada: %1 verbas substituidas', - noChanges: 'Corrección ortográfica rematada: Non se substituiu nengunha verba', - noMispell: 'Corrección ortográfica rematada: Non se atoparon erros', - noSuggestions: '- Sen candidatos -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Non está no diccionario', - oneChange: 'Corrección ortográfica rematada: Unha verba substituida', - progress: 'Corrección ortográfica en progreso...', - title: 'Spell Check', - toolbar: 'Corrección Ortográfica' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/gu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/gu.js deleted file mode 100644 index cd4db58830d..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/gu.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'gu', { - btnIgnore: 'ઇગ્નોર/અવગણના કરવી', - btnIgnoreAll: 'બધાની ઇગ્નોર/અવગણના કરવી', - btnReplace: 'બદલવું', - btnReplaceAll: 'બધા બદલી કરો', - btnUndo: 'અન્ડૂ', - changeTo: 'આનાથી બદલવું', - errorLoading: 'સર્વિસ એપ્લીકેશન લોડ નથી થ: %s.', - ieSpellDownload: 'સ્પેલ-ચેકર ઇન્સ્ટોલ નથી. શું તમે ડાઉનલોડ કરવા માંગો છો?', - manyChanges: 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: %1 શબ્દ બદલયા છે', - noChanges: 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એકપણ શબ્દ બદલયો નથી', - noMispell: 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: ખોટી જોડણી મળી નથી', - noSuggestions: '- કઇ સજેશન નથી -', - notAvailable: 'માફ કરશો, આ સુવિધા ઉપલબ્ધ નથી', - notInDic: 'શબ્દકોશમાં નથી', - oneChange: 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એક શબ્દ બદલયો છે', - progress: 'શબ્દની જોડણી/સ્પેલ ચેક ચાલુ છે...', - title: 'સ્પેલ ', - toolbar: 'જોડણી (સ્પેલિંગ) તપાસવી' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/he.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/he.js deleted file mode 100644 index c2947004e60..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/he.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'he', { - btnIgnore: 'התעלמות', - btnIgnoreAll: 'התעלמות מהכל', - btnReplace: 'החלפה', - btnReplaceAll: 'החלפת הכל', - btnUndo: 'החזרה', - changeTo: 'שינוי ל', - errorLoading: 'שגיאה בהעלאת השירות: %s.', - ieSpellDownload: 'בודק האיות לא מותקן, האם להורידו?', - manyChanges: 'בדיקות איות הסתיימה: %1 מילים שונו', - noChanges: 'בדיקות איות הסתיימה: לא שונתה אף מילה', - noMispell: 'בדיקות איות הסתיימה: לא נמצאו שגיאות כתיב', - noSuggestions: '- אין הצעות -', - notAvailable: 'לא נמצא שירות זמין.', - notInDic: 'לא נמצא במילון', - oneChange: 'בדיקות איות הסתיימה: שונתה מילה אחת', - progress: 'בודק האיות בתהליך בדיקה....', - title: 'בדיקת איות', - toolbar: 'בדיקת איות' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/hi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/hi.js deleted file mode 100644 index 22638121c5a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/hi.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'hi', { - btnIgnore: 'इग्नोर', - btnIgnoreAll: 'सभी इग्नोर करें', - btnReplace: 'रिप्लेस', - btnReplaceAll: 'सभी रिप्लेस करें', - btnUndo: 'अन्डू', - changeTo: 'इसमें बदलें', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'स्पॅल-चॅकर इन्स्टाल नहीं किया गया है। क्या आप इसे डाउनलोड करना चाहेंगे?', - manyChanges: 'वर्तनी की जाँच : %1 शब्द बदले गये', - noChanges: 'वर्तनी की जाँच :कोई शब्द नहीं बदला गया', - noMispell: 'वर्तनी की जाँच : कोई गलत वर्तनी (स्पॅलिंग) नहीं पाई गई', - noSuggestions: '- कोई सुझाव नहीं -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'शब्दकोश में नहीं', - oneChange: 'वर्तनी की जाँच : एक शब्द बदला गया', - progress: 'वर्तनी की जाँच (स्पॅल-चॅक) जारी है...', - title: 'Spell Check', - toolbar: 'वर्तनी (स्पेलिंग) जाँच' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/hr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/hr.js deleted file mode 100644 index 9000795f979..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/hr.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'hr', { - btnIgnore: 'Zanemari', - btnIgnoreAll: 'Zanemari sve', - btnReplace: 'Zamijeni', - btnReplaceAll: 'Zamijeni sve', - btnUndo: 'Vrati', - changeTo: 'Promijeni u', - errorLoading: 'Greška učitavanja aplikacije: %s.', - ieSpellDownload: 'Provjera pravopisa nije instalirana. Želite li skinuti provjeru pravopisa?', - manyChanges: 'Provjera završena: Promijenjeno %1 riječi', - noChanges: 'Provjera završena: Nije napravljena promjena', - noMispell: 'Provjera završena: Nema grešaka', - noSuggestions: '-Nema preporuke-', - notAvailable: 'Žao nam je, ali usluga trenutno nije dostupna.', - notInDic: 'Nije u rječniku', - oneChange: 'Provjera završena: Jedna riječ promjenjena', - progress: 'Provjera u tijeku...', - title: 'Provjera pravopisa', - toolbar: 'Provjeri pravopis' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/hu.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/hu.js deleted file mode 100644 index 6f1d1f0b260..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/hu.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'hu', { - btnIgnore: 'Kihagyja', - btnIgnoreAll: 'Mindet kihagyja', - btnReplace: 'Csere', - btnReplaceAll: 'Összes cseréje', - btnUndo: 'Visszavonás', - changeTo: 'Módosítás', - errorLoading: 'Hiba a szolgáltatás host betöltése közben: %s.', - ieSpellDownload: 'A helyesírás-ellenőrző nincs telepítve. Szeretné letölteni most?', - manyChanges: 'Helyesírás-ellenőrzés kész: %1 szó cserélve', - noChanges: 'Helyesírás-ellenőrzés kész: Nincs változtatott szó', - noMispell: 'Helyesírás-ellenőrzés kész: Nem találtam hibát', - noSuggestions: 'Nincs javaslat', - notAvailable: 'Sajnálom, de a szolgáltatás jelenleg nem elérhető.', - notInDic: 'Nincs a szótárban', - oneChange: 'Helyesírás-ellenőrzés kész: Egy szó cserélve', - progress: 'Helyesírás-ellenőrzés folyamatban...', - title: 'Helyesírás ellenörző', - toolbar: 'Helyesírás-ellenőrzés' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/is.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/is.js deleted file mode 100644 index 0fb969450fe..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/is.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'is', { - btnIgnore: 'Hunsa', - btnIgnoreAll: 'Hunsa allt', - btnReplace: 'Skipta', - btnReplaceAll: 'Skipta öllu', - btnUndo: 'Til baka', - changeTo: 'Tillaga', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Villuleit ekki sett upp.
Viltu setja hana upp?', - manyChanges: 'Villuleit lokið: %1 orðum breytt', - noChanges: 'Villuleit lokið: Engu orði breytt', - noMispell: 'Villuleit lokið: Engin villa fannst', - noSuggestions: '- engar tillögur -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Ekki í orðabókinni', - oneChange: 'Villuleit lokið: Einu orði breytt', - progress: 'Villuleit í gangi...', - title: 'Spell Check', - toolbar: 'Villuleit' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/it.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/it.js deleted file mode 100644 index 1e24307533a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/it.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'it', { - btnIgnore: 'Ignora', - btnIgnoreAll: 'Ignora tutto', - btnReplace: 'Cambia', - btnReplaceAll: 'Cambia tutto', - btnUndo: 'Annulla', - changeTo: 'Cambia in', - errorLoading: 'Errore nel caricamento dell\'host col servizio applicativo: %s.', - ieSpellDownload: 'Contollo ortografico non installato. Lo vuoi scaricare ora?', - manyChanges: 'Controllo ortografico completato: %1 parole cambiate', - noChanges: 'Controllo ortografico completato: nessuna parola cambiata', - noMispell: 'Controllo ortografico completato: nessun errore trovato', - noSuggestions: '- Nessun suggerimento -', - notAvailable: 'Il servizio non è momentaneamente disponibile.', - notInDic: 'Non nel dizionario', - oneChange: 'Controllo ortografico completato: 1 parola cambiata', - progress: 'Controllo ortografico in corso', - title: 'Controllo ortografico', - toolbar: 'Correttore ortografico' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ja.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ja.js deleted file mode 100644 index e677bdfeadc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ja.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'ja', { - btnIgnore: '無視', - btnIgnoreAll: 'すべて無視', - btnReplace: '置換', - btnReplaceAll: 'すべて置換', - btnUndo: 'やり直し', - changeTo: '変更', - errorLoading: 'アプリケーションサービスホスト読込みエラー: %s.', - ieSpellDownload: 'スペルチェッカーがインストールされていません。今すぐダウンロードしますか?', - manyChanges: 'スペルチェック完了: %1 語句変更されました', - noChanges: 'スペルチェック完了: 語句は変更されませんでした', - noMispell: 'スペルチェック完了: スペルの誤りはありませんでした', - noSuggestions: '- 該当なし -', - notAvailable: '申し訳ありません、現在サービスを利用することができません', - notInDic: '辞書にありません', - oneChange: 'スペルチェック完了: 1語句変更されました', - progress: 'スペルチェック処理中...', - title: 'スペルチェック', - toolbar: 'スペルチェック' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ka.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ka.js deleted file mode 100644 index 498d785e4de..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ka.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'ka', { - btnIgnore: 'უგულებელყოფა', - btnIgnoreAll: 'ყველას უგულებელყოფა', - btnReplace: 'შეცვლა', - btnReplaceAll: 'ყველას შეცვლა', - btnUndo: 'გაუქმება', - changeTo: 'შეცვლელი', - errorLoading: 'სერვისის გამოძახების შეცდომა: %s.', - ieSpellDownload: 'მართლწერის შემოწმება არაა დაინსტალირებული. ჩამოვქაჩოთ ინტერნეტიდან?', - manyChanges: 'მართლწერის შემოწმება: %1 სიტყვა შეიცვალა', - noChanges: 'მართლწერის შემოწმება: არაფერი შეცვლილა', - noMispell: 'მართლწერის შემოწმება: შეცდომა არ მოიძებნა', - noSuggestions: '- არაა შემოთავაზება -', - notAvailable: 'უკაცრავად, ეს სერვისი ამჟამად მიუწვდომელია.', - notInDic: 'არაა ლექსიკონში', - oneChange: 'მართლწერის შემოწმება: ერთი სიტყვა შეიცვალა', - progress: 'მიმდინარეობს მართლწერის შემოწმება...', - title: 'მართლწერა', - toolbar: 'მართლწერა' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/km.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/km.js deleted file mode 100644 index 892a6a582c0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/km.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'km', { - btnIgnore: 'មិនផ្លាស់ប្តូរ', - btnIgnoreAll: 'មិនផ្លាស់ប្តូរ ទាំងអស់', - btnReplace: 'ជំនួស', - btnReplaceAll: 'ជំនួសទាំងអស់', - btnUndo: 'សារឡើងវិញ', - changeTo: 'ផ្លាស់ប្តូរទៅ', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'ពុំមានកម្មវិធីពិនិត្យអក្ខរាវិរុទ្ធ ។ តើចង់ទាញយកពីណា?', - manyChanges: 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: %1 ពាក្យបានផ្លាស់ប្តូរ', - noChanges: 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពុំមានផ្លាស់ប្តូរ', - noMispell: 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: គ្មានកំហុស', - noSuggestions: '- គ្មានសំណើរ -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'គ្មានក្នុងវចនានុក្រម', - oneChange: 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពាក្យមួយត្រូចបានផ្លាស់ប្តូរ', - progress: 'កំពុងពិនិត្យអក្ខរាវិរុទ្ធ...', - title: 'Spell Check', - toolbar: 'ពិនិត្យអក្ខរាវិរុទ្ធ' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ko.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ko.js deleted file mode 100644 index 8a1419954cf..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ko.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'ko', { - btnIgnore: '건너뜀', - btnIgnoreAll: '모두 건너뜀', - btnReplace: '변경', - btnReplaceAll: '모두 변경', - btnUndo: '취소', - changeTo: '변경할 단어', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: '철자 검사기가 철치되지 않았습니다. 지금 다운로드하시겠습니까?', - manyChanges: '철자검사 완료: %1 단어가 변경되었습니다.', - noChanges: '철자검사 완료: 변경된 단어가 없습니다.', - noMispell: '철자검사 완료: 잘못된 철자가 없습니다.', - noSuggestions: '- 추천단어 없음 -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: '사전에 없는 단어', - oneChange: '철자검사 완료: 단어가 변경되었습니다.', - progress: '철자검사를 진행중입니다...', - title: 'Spell Check', - toolbar: '철자검사' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ku.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ku.js deleted file mode 100644 index 058510c54d3..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ku.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'ku', { - btnIgnore: 'پشتگوێ کردن', - btnIgnoreAll: 'پشتگوێکردنی ههمووی', - btnReplace: 'لهبریدانن', - btnReplaceAll: 'لهبریدانانی ههمووی', - btnUndo: 'پووچکردنهوه', - changeTo: 'گۆڕینی بۆ', - errorLoading: 'ههڵه لههێنانی داخوازینامهی خانهخۆێی ڕاژه: %s.', - ieSpellDownload: 'پشکنینی ڕێنووس دانهمزراوه. دهتهوێت ئێستا دایبگریت?', - manyChanges: 'پشکنینی ڕێنووس کۆتای هات: لهسهدا %1 ی وشهکان گۆڕدرا', - noChanges: 'پشکنینی ڕێنووس کۆتای هات: هیچ وشهیهك نۆگۆڕدرا', - noMispell: 'پشکنینی ڕێنووس کۆتای هات: هیچ ههڵهیهکی ڕێنووس نهدۆزراوه', - noSuggestions: '- هیچ پێشنیارێك -', - notAvailable: 'ببووره، لهمکاتهدا ڕاژهکه لهبهردهستا نیه.', - notInDic: 'لهفهرههنگ دانیه', - oneChange: 'پشکنینی ڕێنووس کۆتای هات: یهك وشه گۆڕدرا', - progress: 'پشکنینی ڕێنووس لهبهردهوامبوون دایه...', - title: 'پشکنینی ڕێنووس', - toolbar: 'پشکنینی ڕێنووس' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/lt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/lt.js deleted file mode 100644 index 21aaa414908..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/lt.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'lt', { - btnIgnore: 'Ignoruoti', - btnIgnoreAll: 'Ignoruoti visus', - btnReplace: 'Pakeisti', - btnReplaceAll: 'Pakeisti visus', - btnUndo: 'Atšaukti', - changeTo: 'Pakeisti į', - errorLoading: 'Klaida įkraunant servisą: %s.', - ieSpellDownload: 'Rašybos tikrinimas neinstaliuotas. Ar Jūs norite jį dabar atsisiųsti?', - manyChanges: 'Rašybos tikrinimas baigtas: Pakeista %1 žodžių', - noChanges: 'Rašybos tikrinimas baigtas: Nėra pakeistų žodžių', - noMispell: 'Rašybos tikrinimas baigtas: Nerasta rašybos klaidų', - noSuggestions: '- Nėra pasiūlymų -', - notAvailable: 'Atleiskite, šiuo metu servisas neprieinamas.', - notInDic: 'Žodyne nerastas', - oneChange: 'Rašybos tikrinimas baigtas: Vienas žodis pakeistas', - progress: 'Vyksta rašybos tikrinimas...', - title: 'Tikrinti klaidas', - toolbar: 'Rašybos tikrinimas' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/lv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/lv.js deleted file mode 100644 index 699950af950..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/lv.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'lv', { - btnIgnore: 'Ignorēt', - btnIgnoreAll: 'Ignorēt visu', - btnReplace: 'Aizvietot', - btnReplaceAll: 'Aizvietot visu', - btnUndo: 'Atcelt', - changeTo: 'Nomainīt uz', - errorLoading: 'Kļūda ielādējot aplikācijas servisa adresi: %s.', - ieSpellDownload: 'Pareizrakstības pārbaudītājs nav pievienots. Vai vēlaties to lejupielādēt tagad?', - manyChanges: 'Pareizrakstības pārbaude pabeigta: %1 vārdi tika mainīti', - noChanges: 'Pareizrakstības pārbaude pabeigta: nekas netika labots', - noMispell: 'Pareizrakstības pārbaude pabeigta: kļūdas netika atrastas', - noSuggestions: '- Nav ieteikumu -', - notAvailable: 'Atvainojiet, bet serviss šobrīd nav pieejams.', - notInDic: 'Netika atrasts vārdnīcā', - oneChange: 'Pareizrakstības pārbaude pabeigta: 1 vārds izmainīts', - progress: 'Notiek pareizrakstības pārbaude...', - title: 'Pārbaudīt gramatiku', - toolbar: 'Pareizrakstības pārbaude' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/mk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/mk.js deleted file mode 100644 index 2bf43a6a7c4..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/mk.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'mk', { - btnIgnore: 'Ignore', - btnIgnoreAll: 'Ignore All', - btnReplace: 'Replace', - btnReplaceAll: 'Replace All', - btnUndo: 'Undo', - changeTo: 'Change to', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Spell checker not installed. Do you want to download it now?', - manyChanges: 'Spell check complete: %1 words changed', - noChanges: 'Spell check complete: No words changed', - noMispell: 'Spell check complete: No misspellings found', - noSuggestions: '- No suggestions -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Not in dictionary', - oneChange: 'Spell check complete: One word changed', - progress: 'Spell check in progress...', - title: 'Spell Check', - toolbar: 'Check Spelling' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/mn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/mn.js deleted file mode 100644 index e4a2fc9636c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/mn.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'mn', { - btnIgnore: 'Зөвшөөрөх', - btnIgnoreAll: 'Бүгдийг зөвшөөрөх', - btnReplace: 'Солих', - btnReplaceAll: 'Бүгдийг Дарж бичих', - btnUndo: 'Буцаах', - changeTo: 'Өөрчлөх', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Дүрэм шалгагч суугаагүй байна. Татаж авахыг хүсч байна уу?', - manyChanges: 'Дүрэм шалгаад дууссан: %1 үг өөрчлөгдсөн', - noChanges: 'Дүрэм шалгаад дууссан: үг өөрчлөгдөөгүй', - noMispell: 'Дүрэм шалгаад дууссан: Алдаа олдсонгүй', - noSuggestions: '- Тайлбаргүй -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Толь бичиггүй', - oneChange: 'Дүрэм шалгаад дууссан: 1 үг өөрчлөгдсөн', - progress: 'Дүрэм шалгаж байгаа үйл явц...', - title: 'Spell Check', - toolbar: 'Үгийн дүрэх шалгах' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ms.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ms.js deleted file mode 100644 index 87c045b6bed..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ms.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'ms', { - btnIgnore: 'Biar', - btnIgnoreAll: 'Biarkan semua', - btnReplace: 'Ganti', - btnReplaceAll: 'Gantikan Semua', - btnUndo: 'Batalkan', - changeTo: 'Tukarkan kepada', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Pemeriksa ejaan tidak dipasang. Adakah anda mahu muat turun sekarang?', - manyChanges: 'Pemeriksaan ejaan siap: %1 perkataan diubah', - noChanges: 'Pemeriksaan ejaan siap: Tiada perkataan diubah', - noMispell: 'Pemeriksaan ejaan siap: Tiada salah ejaan', - noSuggestions: '- Tiada cadangan -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Tidak terdapat didalam kamus', - oneChange: 'Pemeriksaan ejaan siap: Satu perkataan telah diubah', - progress: 'Pemeriksaan ejaan sedang diproses...', - title: 'Spell Check', - toolbar: 'Semak Ejaan' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/nb.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/nb.js deleted file mode 100644 index f63faa38d5c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/nb.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'nb', { - btnIgnore: 'Ignorer', - btnIgnoreAll: 'Ignorer alle', - btnReplace: 'Erstatt', - btnReplaceAll: 'Erstatt alle', - btnUndo: 'Angre', - changeTo: 'Endre til', - errorLoading: 'Feil under lasting av applikasjonstjenestetjener: %s.', - ieSpellDownload: 'Stavekontroll er ikke installert. Vil du laste den ned nå?', - manyChanges: 'Stavekontroll fullført: %1 ord endret', - noChanges: 'Stavekontroll fullført: ingen ord endret', - noMispell: 'Stavekontroll fullført: ingen feilstavinger funnet', - noSuggestions: '- Ingen forslag -', - notAvailable: 'Beklager, tjenesten er utilgjenglig nå.', - notInDic: 'Ikke i ordboken', - oneChange: 'Stavekontroll fullført: Ett ord endret', - progress: 'Stavekontroll pågår...', - title: 'Stavekontroll', - toolbar: 'Stavekontroll' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/nl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/nl.js deleted file mode 100644 index 0150d8eeaf7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/nl.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'nl', { - btnIgnore: 'Negeren', - btnIgnoreAll: 'Alles negeren', - btnReplace: 'Vervangen', - btnReplaceAll: 'Alles vervangen', - btnUndo: 'Ongedaan maken', - changeTo: 'Wijzig in', - errorLoading: 'Er is een fout opgetreden bij het laden van de dienst: %s.', - ieSpellDownload: 'De spellingscontrole is niet geïnstalleerd. Wilt u deze nu downloaden?', - manyChanges: 'Klaar met spellingscontrole: %1 woorden aangepast', - noChanges: 'Klaar met spellingscontrole: geen woorden aangepast', - noMispell: 'Klaar met spellingscontrole: geen fouten gevonden', - noSuggestions: '- Geen suggesties -', - notAvailable: 'Excuses, deze dienst is momenteel niet beschikbaar.', - notInDic: 'Niet in het woordenboek', - oneChange: 'Klaar met spellingscontrole: één woord aangepast', - progress: 'Bezig met spellingscontrole...', - title: 'Spellingscontrole', - toolbar: 'Spellingscontrole' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/no.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/no.js deleted file mode 100644 index 0aafc663134..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/no.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'no', { - btnIgnore: 'Ignorer', - btnIgnoreAll: 'Ignorer alle', - btnReplace: 'Erstatt', - btnReplaceAll: 'Erstatt alle', - btnUndo: 'Angre', - changeTo: 'Endre til', - errorLoading: 'Feil under lasting av applikasjonstjenestetjener: %s.', - ieSpellDownload: 'Stavekontroll er ikke installert. Vil du laste den ned nå?', - manyChanges: 'Stavekontroll fullført: %1 ord endret', - noChanges: 'Stavekontroll fullført: ingen ord endret', - noMispell: 'Stavekontroll fullført: ingen feilstavinger funnet', - noSuggestions: '- Ingen forslag -', - notAvailable: 'Beklager, tjenesten er utilgjenglig nå.', - notInDic: 'Ikke i ordboken', - oneChange: 'Stavekontroll fullført: Ett ord endret', - progress: 'Stavekontroll pågår...', - title: 'Stavekontroll', - toolbar: 'Stavekontroll' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/pl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/pl.js deleted file mode 100644 index 0b9f06f7e58..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/pl.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'pl', { - btnIgnore: 'Ignoruj', - btnIgnoreAll: 'Ignoruj wszystkie', - btnReplace: 'Zmień', - btnReplaceAll: 'Zmień wszystkie', - btnUndo: 'Cofnij', - changeTo: 'Zmień na', - errorLoading: 'Błąd wczytywania hosta aplikacji usługi: %s.', - ieSpellDownload: 'Słownik nie jest zainstalowany. Czy chcesz go pobrać?', - manyChanges: 'Sprawdzanie zakończone: zmieniono %l słów', - noChanges: 'Sprawdzanie zakończone: nie zmieniono żadnego słowa', - noMispell: 'Sprawdzanie zakończone: nie znaleziono błędów', - noSuggestions: '- Brak sugestii -', - notAvailable: 'Przepraszamy, ale usługa jest obecnie niedostępna.', - notInDic: 'Słowa nie ma w słowniku', - oneChange: 'Sprawdzanie zakończone: zmieniono jedno słowo', - progress: 'Trwa sprawdzanie...', - title: 'Sprawdź pisownię', - toolbar: 'Sprawdź pisownię' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/pt-br.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/pt-br.js deleted file mode 100644 index 86d3eb7736c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/pt-br.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'pt-br', { - btnIgnore: 'Ignorar uma vez', - btnIgnoreAll: 'Ignorar Todas', - btnReplace: 'Alterar', - btnReplaceAll: 'Alterar Todas', - btnUndo: 'Desfazer', - changeTo: 'Alterar para', - errorLoading: 'Erro carregando servidor de aplicação: %s.', - ieSpellDownload: 'A verificação ortográfica não foi instalada. Você gostaria de realizar o download agora?', - manyChanges: 'Verificação ortográfica encerrada: %1 palavras foram alteradas', - noChanges: 'Verificação ortográfica encerrada: Não houve alterações', - noMispell: 'Verificação encerrada: Não foram encontrados erros de ortografia', - noSuggestions: '-sem sugestões de ortografia-', - notAvailable: 'Desculpe, o serviço não está disponível no momento.', - notInDic: 'Não encontrada', - oneChange: 'Verificação ortográfica encerrada: Uma palavra foi alterada', - progress: 'Verificação ortográfica em andamento...', - title: 'Corretor Ortográfico', - toolbar: 'Verificar Ortografia' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/pt.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/pt.js deleted file mode 100644 index 2f5a5e9df31..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/pt.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'pt', { - btnIgnore: 'Ignorar', - btnIgnoreAll: 'Ignorar Tudo', - btnReplace: 'Substituir', - btnReplaceAll: 'Substituir Tudo', - btnUndo: 'Anular', - changeTo: 'Mudar para', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: ' Verificação ortográfica não instalada. Quer descarregar agora?', - manyChanges: 'Verificação ortográfica completa: %1 palavras alteradas', - noChanges: 'Verificação ortográfica completa: não houve alteração de palavras', - noMispell: 'Verificação ortográfica completa: não foram encontrados erros', - noSuggestions: '- Sem sugestões -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Não está num directório', - oneChange: 'Verificação ortográfica completa: uma palavra alterada', - progress: 'Verificação ortográfica em progresso…', - title: 'Spell Check', - toolbar: 'Verificação Ortográfica' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ro.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ro.js deleted file mode 100644 index 47e84abbc77..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ro.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'ro', { - btnIgnore: 'Ignoră', - btnIgnoreAll: 'Ignoră toate', - btnReplace: 'Înlocuieşte', - btnReplaceAll: 'Înlocuieşte tot', - btnUndo: 'Starea anterioară (undo)', - changeTo: 'Schimbă în', - errorLoading: 'Eroare în lansarea aplicației service host %s.', - ieSpellDownload: 'Unealta pentru verificat textul (Spell checker) neinstalată. Doriţi să o descărcaţi acum?', - manyChanges: 'Verificarea textului terminată: 1% cuvinte modificate', - noChanges: 'Verificarea textului terminată: Niciun cuvânt modificat', - noMispell: 'Verificarea textului terminată: Nicio greşeală găsită', - noSuggestions: '- Fără sugestii -', - notAvailable: 'Scuzați, dar serviciul nu este disponibil momentan.', - notInDic: 'Nu e în dicţionar', - oneChange: 'Verificarea textului terminată: Un cuvânt modificat', - progress: 'Verificarea textului în desfăşurare...', - title: 'Spell Check', - toolbar: 'Verifică scrierea textului' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ru.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ru.js deleted file mode 100644 index 06f0f9537cc..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ru.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'ru', { - btnIgnore: 'Пропустить', - btnIgnoreAll: 'Пропустить всё', - btnReplace: 'Заменить', - btnReplaceAll: 'Заменить всё', - btnUndo: 'Отменить', - changeTo: 'Изменить на', - errorLoading: 'Произошла ошибка при подключении к серверу проверки орфографии: %s.', - ieSpellDownload: 'Модуль проверки орфографии не установлен. Хотите скачать его?', - manyChanges: 'Проверка орфографии завершена. Изменено слов: %1', - noChanges: 'Проверка орфографии завершена. Не изменено ни одного слова', - noMispell: 'Проверка орфографии завершена. Ошибок не найдено', - noSuggestions: '- Варианты отсутствуют -', - notAvailable: 'Извините, но в данный момент сервис недоступен.', - notInDic: 'Отсутствует в словаре', - oneChange: 'Проверка орфографии завершена. Изменено одно слово', - progress: 'Орфография проверяется...', - title: 'Проверка орфографии', - toolbar: 'Проверить орфографию' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sk.js deleted file mode 100644 index 123b9236466..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sk.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'sk', { - btnIgnore: 'Ignorovať', - btnIgnoreAll: 'Ignorovať všetko', - btnReplace: 'Prepísat', - btnReplaceAll: 'Prepísat všetko', - btnUndo: 'Späť', - changeTo: 'Zmeniť na', - errorLoading: 'Chyba pri načítaní slovníka z adresy: %s.', - ieSpellDownload: 'Kontrola pravopisu nie je naištalovaná. Chcete ju teraz stiahnuť?', - manyChanges: 'Kontrola pravopisu dokončená: Bolo zmenených %1 slov', - noChanges: 'Kontrola pravopisu dokončená: Neboli zmenené žiadne slová', - noMispell: 'Kontrola pravopisu dokončená: Neboli nájdené žiadne chyby pravopisu', - noSuggestions: '- Žiadny návrh -', - notAvailable: 'Prepáčte, ale služba je momentálne nedostupná.', - notInDic: 'Nie je v slovníku', - oneChange: 'Kontrola pravopisu dokončená: Bolo zmenené jedno slovo', - progress: 'Prebieha kontrola pravopisu...', - title: 'Skontrolovať pravopis', - toolbar: 'Kontrola pravopisu' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sl.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sl.js deleted file mode 100644 index f0be2824c3e..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sl.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'sl', { - btnIgnore: 'Prezri', - btnIgnoreAll: 'Prezri vse', - btnReplace: 'Zamenjaj', - btnReplaceAll: 'Zamenjaj vse', - btnUndo: 'Razveljavi', - changeTo: 'Spremeni v', - errorLoading: 'Napaka pri nalaganju storitve programa na naslovu %s.', - ieSpellDownload: 'Črkovalnik ni nameščen. Ali ga želite prenesti sedaj?', - manyChanges: 'Črkovanje je končano: Spremenjenih je bilo %1 besed', - noChanges: 'Črkovanje je končano: Nobena beseda ni bila spremenjena', - noMispell: 'Črkovanje je končano: Brez napak', - noSuggestions: '- Ni predlogov -', - notAvailable: 'Oprostite, storitev trenutno ni dosegljiva.', - notInDic: 'Ni v slovarju', - oneChange: 'Črkovanje je končano: Spremenjena je bila ena beseda', - progress: 'Preverjanje črkovanja se izvaja...', - title: 'Črkovalnik', - toolbar: 'Preveri črkovanje' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sr-latn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sr-latn.js deleted file mode 100644 index 0ea77c9830c..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sr-latn.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'sr-latn', { - btnIgnore: 'Ignoriši', - btnIgnoreAll: 'Ignoriši sve', - btnReplace: 'Zameni', - btnReplaceAll: 'Zameni sve', - btnUndo: 'Vrati akciju', - changeTo: 'Izmeni', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Provera spelovanja nije instalirana. Da li želite da je skinete sa Interneta?', - manyChanges: 'Provera spelovanja završena: %1 reč(i) je izmenjeno', - noChanges: 'Provera spelovanja završena: Nije izmenjena nijedna rec', - noMispell: 'Provera spelovanja završena: greške nisu pronadene', - noSuggestions: '- Bez sugestija -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Nije u rečniku', - oneChange: 'Provera spelovanja završena: Izmenjena je jedna reč', - progress: 'Provera spelovanja u toku...', - title: 'Spell Check', - toolbar: 'Proveri spelovanje' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sr.js deleted file mode 100644 index 0db52c071e0..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sr.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'sr', { - btnIgnore: 'Игнориши', - btnIgnoreAll: 'Игнориши све', - btnReplace: 'Замени', - btnReplaceAll: 'Замени све', - btnUndo: 'Врати акцију', - changeTo: 'Измени', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'Провера спеловања није инсталирана. Да ли желите да је скинете са Интернета?', - manyChanges: 'Провера спеловања завршена: %1 реч(и) је измењено', - noChanges: 'Провера спеловања завршена: Није измењена ниједна реч', - noMispell: 'Провера спеловања завршена: грешке нису пронађене', - noSuggestions: '- Без сугестија -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'Није у речнику', - oneChange: 'Провера спеловања завршена: Измењена је једна реч', - progress: 'Провера спеловања у току...', - title: 'Spell Check', - toolbar: 'Провери спеловање' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sv.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sv.js deleted file mode 100644 index 3486b89fb0a..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/sv.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'sv', { - btnIgnore: 'Ignorera', - btnIgnoreAll: 'Ignorera alla', - btnReplace: 'Ersätt', - btnReplaceAll: 'Ersätt alla', - btnUndo: 'Ångra', - changeTo: 'Ändra till', - errorLoading: 'Tjänsten är ej tillgänglig: %s.', - ieSpellDownload: 'Stavningskontrollen är ej installerad. Vill du göra det nu?', - manyChanges: 'Stavningskontroll slutförd: %1 ord rättades.', - noChanges: 'Stavningskontroll slutförd: Inga ord rättades.', - noMispell: 'Stavningskontroll slutförd: Inga stavfel påträffades.', - noSuggestions: '- Förslag saknas -', - notAvailable: 'Tyvärr är tjänsten ej tillgänglig nu', - notInDic: 'Saknas i ordlistan', - oneChange: 'Stavningskontroll slutförd: Ett ord rättades.', - progress: 'Stavningskontroll pågår...', - title: 'Kontrollera stavning', - toolbar: 'Stavningskontroll' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/th.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/th.js deleted file mode 100644 index 0af83358a94..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/th.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'th', { - btnIgnore: 'ยกเว้น', - btnIgnoreAll: 'ยกเว้นทั้งหมด', - btnReplace: 'แทนที่', - btnReplaceAll: 'แทนที่ทั้งหมด', - btnUndo: 'ยกเลิก', - changeTo: 'แก้ไขเป็น', - errorLoading: 'Error loading application service host: %s.', - ieSpellDownload: 'ไม่ได้ติดตั้งระบบตรวจสอบคำสะกด. ต้องการติดตั้งไหมครับ?', - manyChanges: 'ตรวจสอบคำสะกดเสร็จสิ้น:: แก้ไข %1 คำ', - noChanges: 'ตรวจสอบคำสะกดเสร็จสิ้น: ไม่มีการแก้คำใดๆ', - noMispell: 'ตรวจสอบคำสะกดเสร็จสิ้น: ไม่พบคำสะกดผิด', - noSuggestions: '- ไม่มีคำแนะนำใดๆ -', - notAvailable: 'Sorry, but service is unavailable now.', - notInDic: 'ไม่พบในดิกชันนารี', - oneChange: 'ตรวจสอบคำสะกดเสร็จสิ้น: แก้ไข1คำ', - progress: 'กำลังตรวจสอบคำสะกด...', - title: 'Spell Check', - toolbar: 'ตรวจการสะกดคำ' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/tr.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/tr.js deleted file mode 100644 index 0ca65b5615b..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/tr.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'tr', { - btnIgnore: 'Yoksay', - btnIgnoreAll: 'Tümünü Yoksay', - btnReplace: 'Değiştir', - btnReplaceAll: 'Tümünü Değiştir', - btnUndo: 'Geri Al', - changeTo: 'Şuna değiştir:', - errorLoading: 'Uygulamada yüklerken hata oluştu: %s.', - ieSpellDownload: 'Yazım denetimi yüklenmemiş. Şimdi yüklemek ister misiniz?', - manyChanges: 'Yazım denetimi tamamlandı: %1 kelime değiştirildi', - noChanges: 'Yazım denetimi tamamlandı: Hiçbir kelime değiştirilmedi', - noMispell: 'Yazım denetimi tamamlandı: Yanlış yazıma rastlanmadı', - noSuggestions: '- Öneri Yok -', - notAvailable: 'Üzügünüz, bu servis şuanda hizmet dışıdır.', - notInDic: 'Sözlükte Yok', - oneChange: 'Yazım denetimi tamamlandı: Bir kelime değiştirildi', - progress: 'Yazım denetimi işlemde...', - title: 'Yazımı Denetle', - toolbar: 'Yazım Denetimi' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ug.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ug.js deleted file mode 100644 index f2626657ea7..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/ug.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'ug', { - btnIgnore: 'پەرۋا قىلما', - btnIgnoreAll: 'ھەممىگە پەرۋا قىلما', - btnReplace: 'ئالماشتۇر', - btnReplaceAll: 'ھەممىنى ئالماشتۇر', - btnUndo: 'يېنىۋال', - changeTo: 'ئۆزگەرت', - errorLoading: 'لازىملىق مۇلازىمېتىرنى يۈكلىگەندە خاتالىق كۆرۈلدى: %s.', - ieSpellDownload: 'ئىملا تەكشۈرۈش قىستۇرمىسى تېخى ئورنىتىلمىغان، ھازىرلا چۈشۈرەمسىز؟', - manyChanges: 'ئىملا تەكشۈرۈش تامام: %1 سۆزنى ئۆزگەرتتى', - noChanges: 'ئىملا تەكشۈرۈش تامام: ھېچقانداق سۆزنى ئۆزگەرتمىدى', - noMispell: 'ئىملا تەكشۈرۈش تامام: ئىملا خاتالىقى بايقالمىدى', - noSuggestions: '-تەكلىپ يوق-', - notAvailable: 'كەچۈرۈڭ، مۇلازىمېتىرنى ۋاقتىنچە ئىشلەتكىلى بولمايدۇ', - notInDic: 'لۇغەتتە يوق', - oneChange: 'ئىملا تەكشۈرۈش تامام: بىر سۆزنى ئۆزگەرتتى', - progress: 'ئىملا تەكشۈرۈۋاتىدۇ…', - title: 'ئىملا تەكشۈر', - toolbar: 'ئىملا تەكشۈر' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/uk.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/uk.js deleted file mode 100644 index d5d1972f337..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/uk.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'uk', { - btnIgnore: 'Пропустити', - btnIgnoreAll: 'Пропустити все', - btnReplace: 'Замінити', - btnReplaceAll: 'Замінити все', - btnUndo: 'Назад', - changeTo: 'Замінити на', - errorLoading: 'Помилка завантаження : %s.', - ieSpellDownload: 'Модуль перевірки орфографії не встановлено. Бажаєте завантажити його зараз?', - manyChanges: 'Перевірку орфографії завершено: 1% слів(ова) змінено', - noChanges: 'Перевірку орфографії завершено: жодне слово не змінено', - noMispell: 'Перевірку орфографії завершено: помилок не знайдено', - noSuggestions: '- немає варіантів -', - notAvailable: 'Вибачте, але сервіс наразі недоступний.', - notInDic: 'Немає в словнику', - oneChange: 'Перевірку орфографії завершено: змінено одне слово', - progress: 'Виконується перевірка орфографії...', - title: 'Перевірка орфографії', - toolbar: 'Перевірити орфографію' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/vi.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/vi.js deleted file mode 100644 index 01af4b39ba9..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/vi.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'vi', { - btnIgnore: 'Bỏ qua', - btnIgnoreAll: 'Bỏ qua tất cả', - btnReplace: 'Thay thế', - btnReplaceAll: 'Thay thế tất cả', - btnUndo: 'Phục hồi lại', - changeTo: 'Chuyển thành', - errorLoading: 'Lỗi khi đang nạp dịch vụ ứng dụng: %s.', - ieSpellDownload: 'Chức năng kiểm tra chính tả chưa được cài đặt. Bạn có muốn tải về ngay bây giờ?', - manyChanges: 'Hoàn tất kiểm tra chính tả: %1 từ đã được thay đổi', - noChanges: 'Hoàn tất kiểm tra chính tả: Không có từ nào được thay đổi', - noMispell: 'Hoàn tất kiểm tra chính tả: Không có lỗi chính tả', - noSuggestions: '- Không đưa ra gợi ý về từ -', - notAvailable: 'Xin lỗi, dịch vụ này hiện tại không có.', - notInDic: 'Không có trong từ điển', - oneChange: 'Hoàn tất kiểm tra chính tả: Một từ đã được thay đổi', - progress: 'Đang tiến hành kiểm tra chính tả...', - title: 'Kiểm tra chính tả', - toolbar: 'Kiểm tra chính tả' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/zh-cn.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/zh-cn.js deleted file mode 100644 index 05fd120e381..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/zh-cn.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'zh-cn', { - btnIgnore: '忽略', - btnIgnoreAll: '全部忽略', - btnReplace: '替换', - btnReplaceAll: '全部替换', - btnUndo: '撤消', - changeTo: '更改为', - errorLoading: '加载应该服务主机时出错: %s.', - ieSpellDownload: '拼写检查插件还没安装, 您是否想现在就下载?', - manyChanges: '拼写检查完成: 更改了 %1 个单词', - noChanges: '拼写检查完成: 没有更改任何单词', - noMispell: '拼写检查完成: 没有发现拼写错误', - noSuggestions: '- 没有建议 -', - notAvailable: '抱歉, 服务目前暂不可用', - notInDic: '没有在字典里', - oneChange: '拼写检查完成: 更改了一个单词', - progress: '正在进行拼写检查...', - title: '拼写检查', - toolbar: '拼写检查' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/zh.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/zh.js deleted file mode 100644 index 772915a5b85..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/lang/zh.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -CKEDITOR.plugins.setLang( 'wsc', 'zh', { - btnIgnore: '忽略', - btnIgnoreAll: '全部忽略', - btnReplace: '取代', - btnReplaceAll: '全部取代', - btnUndo: '復原', - changeTo: '更改為', - errorLoading: '無法聯系侍服器: %s.', - ieSpellDownload: '尚未安裝拼字檢查元件。您是否想要現在下載?', - manyChanges: '拼字檢查完成:更改了 %1 個單字', - noChanges: '拼字檢查完成:未更改任何單字', - noMispell: '拼字檢查完成:未發現拼字錯誤', - noSuggestions: '- 無建議值 -', - notAvailable: '抱歉,服務目前暫不可用', - notInDic: '不在字典中', - oneChange: '拼字檢查完成:更改了 1 個單字', - progress: '進行拼字檢查中…', - title: '拼字檢查', - toolbar: '拼字檢查' -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/plugin.js deleted file mode 100644 index ffd9db57f31..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wsc/plugin.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * @license Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.html or http://ckeditor.com/license - */ - -/** - * @fileOverview Spell checker. - */ -CKEDITOR.config.wsc_removeGlobalVariable = true; - -// Register a plugin named "wsc". -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; - - 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-1e748a6"; - }, - init: function( editor ) { - var commandName = 'checkspell'; - - var strNormalDialog = 'dialogs/wsc.js', - strIeDialog = 'dialogs/wsc_ie.js', - strDialog, - self = this; - self.parseConfig(editor); - self.parseApi(editor); - var command = editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) ); - - // SpellChecker doesn't work in Opera and with custom domain - command.modes = { wysiwyg: ( !CKEDITOR.env.opera && !CKEDITOR.env.air && document.domain == window.location.hostname ) }; - - if(typeof editor.plugins.scayt == 'undefined'){ - editor.ui.addButton && editor.ui.addButton( 'SpellChecker', { - label: editor.lang.wsc.toolbar, - command: commandName, - toolbar: 'spellchecker,10' - }); - } - - - if ( CKEDITOR.env.ie && CKEDITOR.env.version <= 8 ){ - strDialog = strIeDialog; - } else { - if (!window.postMessage) { - strDialog = strIeDialog; - } else { - strDialog = strNormalDialog; - } - } - CKEDITOR.dialog.add( commandName, this.path + strDialog ); - } - -}); diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wysiwygarea/plugin.js b/htdocs/includes/ckeditor/ckeditor/_source/plugins/wysiwygarea/plugin.js deleted file mode 100644 index 61ab0d65d57..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/wysiwygarea/plugin.js +++ /dev/null @@ -1,653 +0,0 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview The "wysiwygarea" plugin. It registers the "wysiwyg" editing - * mode, which handles the main editing area space. - */ - -( function() { - CKEDITOR.plugins.add( 'wysiwygarea', { - init: function( editor ) { - if ( editor.config.fullPage ) { - editor.addFeature( { - allowedContent: 'html head title; style [media,type]; body (*)[id]; meta link [*]', - requiredContent: 'body' - } ); - } - - editor.addMode( 'wysiwyg', function( callback ) { - var src = 'document.open();' + - // In IE, the document domain must be set any time we call document.open(). - ( CKEDITOR.env.ie ? '(' + CKEDITOR.tools.fixDomain + ')();' : '' ) + - 'document.close();'; - - // With IE, the custom domain has to be taken care at first, - // for other browers, the 'src' attribute should be left empty to - // trigger iframe's 'load' event. - src = CKEDITOR.env.air ? 'javascript:void(0)' : CKEDITOR.env.ie ? 'javascript:void(function(){' + encodeURIComponent( src ) + '}())' - : - ''; - - var iframe = CKEDITOR.dom.element.createFromHtml( '' ); - iframe.setStyles( { width: '100%', height: '100%' } ); - iframe.addClass( 'cke_wysiwyg_frame cke_reset' ); - - var contentSpace = editor.ui.space( 'contents' ); - contentSpace.append( iframe ); - - - // Asynchronous iframe loading is only required in IE>8 and Gecko (other reasons probably). - // Do not use it on WebKit as it'll break the browser-back navigation. - var useOnloadEvent = CKEDITOR.env.ie || CKEDITOR.env.gecko; - if ( useOnloadEvent ) - iframe.on( 'load', onLoad ); - - var frameLabel = editor.title, - frameDesc = editor.lang.common.editorHelp; - - if ( frameLabel ) { - if ( CKEDITOR.env.ie ) - frameLabel += ', ' + frameDesc; - - iframe.setAttribute( 'title', frameLabel ); - } - - var labelId = CKEDITOR.tools.getNextId(), - desc = CKEDITOR.dom.element.createFromHtml( '' + frameDesc + '' ); - - contentSpace.append( desc, 1 ); - - // Remove the ARIA description. - editor.on( 'beforeModeUnload', function( evt ) { - evt.removeListener(); - desc.remove(); - } ); - - iframe.setAttributes( { - 'aria-describedby': labelId, - tabIndex: editor.tabIndex, - allowTransparency: 'true' - } ); - - // Execute onLoad manually for all non IE||Gecko browsers. - !useOnloadEvent && onLoad(); - - if ( CKEDITOR.env.webkit ) { - // Webkit: iframe size doesn't auto fit well. (#7360) - var onResize = function() { - // Hide the iframe to get real size of the holder. (#8941) - contentSpace.setStyle( 'width', '100%' ); - - iframe.hide(); - iframe.setSize( 'width', contentSpace.getSize( 'width' ) ); - contentSpace.removeStyle( 'width' ); - iframe.show(); - }; - - iframe.setCustomData( 'onResize', onResize ); - - CKEDITOR.document.getWindow().on( 'resize', onResize ); - } - - editor.fire( 'ariaWidget', iframe ); - - function onLoad( evt ) { - evt && evt.removeListener(); - editor.editable( new framedWysiwyg( editor, iframe.$.contentWindow.document.body ) ); - editor.setData( editor.getData( 1 ), callback ); - } - } ); - } - } ); - - function onDomReady( win ) { - var editor = this.editor, - doc = win.document, - body = doc.body; - - // Remove helper scripts from the DOM. - var script = doc.getElementById( 'cke_actscrpt' ); - script && script.parentNode.removeChild( script ); - script = doc.getElementById( 'cke_shimscrpt' ); - script && script.parentNode.removeChild( script ); - - if ( CKEDITOR.env.gecko ) { - // Force Gecko to change contentEditable from false to true on domReady - // (because it's previously set to true on iframe's body creation). - // Otherwise del/backspace and some other editable features will be broken in Fx <4 - // See: #107 and https://bugzilla.mozilla.org/show_bug.cgi?id=440916 - body.contentEditable = false; - - // Remove any leading
which is between the and the comment. - // This one fixes Firefox 3.6 bug: the browser inserts a leading
- // on document.write if the body has contenteditable="true". - if ( CKEDITOR.env.version < 20000 ) { - body.innerHTML = body.innerHTML.replace( /^.*/, '' ); - - // The above hack messes up the selection in FF36. - // To clean this up, manually select collapsed range that - // starts within the body. - setTimeout( function() { - var range = new CKEDITOR.dom.range( new CKEDITOR.dom.document( doc ) ); - range.setStart( new CKEDITOR.dom.node( body ), 0 ); - editor.getSelection().selectRanges( [ range ] ); - }, 0 ); - } - } - - body.contentEditable = true; - - if ( CKEDITOR.env.ie ) { - // Don't display the focus border. - body.hideFocus = true; - - // Disable and re-enable the body to avoid IE from - // taking the editing focus at startup. (#141 / #523) - body.disabled = true; - body.removeAttribute( 'disabled' ); - } - - delete this._.isLoadingData; - - // Play the magic to alter element reference to the reloaded one. - this.$ = body; - - doc = new CKEDITOR.dom.document( doc ); - - this.setup(); - - if ( CKEDITOR.env.ie ) { - doc.getDocumentElement().addClass( doc.$.compatMode ); - - // Prevent IE from leaving new paragraph after deleting all contents in body. (#6966) - editor.config.enterMode != CKEDITOR.ENTER_P && this.attachListener( doc, 'selectionchange', function() { - var body = doc.getBody(), - sel = editor.getSelection(), - range = sel && sel.getRanges()[ 0 ]; - - if ( range && body.getHtml().match( /^

(?: |
)<\/p>$/i ) && range.startContainer.equals( body ) ) { - // Avoid the ambiguity from a real user cursor position. - setTimeout( function() { - range = editor.getSelection().getRanges()[ 0 ]; - if ( !range.startContainer.equals( 'body' ) ) { - body.getFirst().remove( 1 ); - range.moveToElementEditEnd( body ); - range.select(); - } - }, 0 ); - } - } ); - } - - // Fix problem with cursor not appearing in Webkit and IE11+ when clicking below the body (#10945, #10906). - // Fix for older IEs (8-10 and QM) is placed inside selection.js. - if ( CKEDITOR.env.webkit || ( CKEDITOR.env.ie && CKEDITOR.env.version > 10 ) ) { - doc.getDocumentElement().on( 'mousedown', function( evt ) { - if ( evt.data.getTarget().is( 'html' ) ) { - // IE needs this timeout. Webkit does not, but it does not cause problems too. - setTimeout( function() { - editor.editable().focus(); - } ); - } - } ); - } - - // ## START : disableNativeTableHandles and disableObjectResizing settings. - - // Enable dragging of position:absolute elements in IE. - try { - editor.document.$.execCommand( '2D-position', false, true ); - } catch ( e ) {} - - // IE, Opera and Safari may not support it and throw errors. - try { - editor.document.$.execCommand( 'enableInlineTableEditing', false, !editor.config.disableNativeTableHandles ); - } catch ( e ) {} - - if ( editor.config.disableObjectResizing ) { - try { - this.getDocument().$.execCommand( 'enableObjectResizing', false, false ); - } catch ( e ) { - // For browsers in which the above method failed, we can cancel the resizing on the fly (#4208) - this.attachListener( this, CKEDITOR.env.ie ? 'resizestart' : 'resize', function( evt ) { - evt.data.preventDefault(); - } ); - } - } - - if ( CKEDITOR.env.gecko || CKEDITOR.env.ie && editor.document.$.compatMode == 'CSS1Compat' ) { - this.attachListener( this, 'keydown', function( evt ) { - var keyCode = evt.data.getKeystroke(); - - // PageUp OR PageDown - if ( keyCode == 33 || keyCode == 34 ) { - // PageUp/PageDown scrolling is broken in document - // with standard doctype, manually fix it. (#4736) - if ( CKEDITOR.env.ie ) { - setTimeout( function() { - editor.getSelection().scrollIntoView(); - }, 0 ); - } - // Page up/down cause editor selection to leak - // outside of editable thus we try to intercept - // the behavior, while it affects only happen - // when editor contents are not overflowed. (#7955) - else if ( editor.window.$.innerHeight > this.$.offsetHeight ) { - var range = editor.createRange(); - range[ keyCode == 33 ? 'moveToElementEditStart' : 'moveToElementEditEnd' ]( this ); - range.select(); - evt.data.preventDefault(); - } - } - } ); - } - - if ( CKEDITOR.env.ie ) { - // [IE] Iframe will still keep the selection when blurred, if - // focus is moved onto a non-editing host, e.g. link or button, but - // it becomes a problem for the object type selection, since the resizer - // handler attached on it will mark other part of the UI, especially - // for the dialog. (#8157) - // [IE<8 & Opera] Even worse For old IEs, the cursor will not vanish even if - // the selection has been moved to another text input in some cases. (#4716) - // - // Now the range restore is disabled, so we simply force IE to clean - // up the selection before blur. - this.attachListener( doc, 'blur', function() { - // Error proof when the editor is not visible. (#6375) - try { - doc.$.selection.empty(); - } catch ( er ) {} - } ); - } - - // ## END - - - var title = editor.document.getElementsByTag( 'title' ).getItem( 0 ); - title.data( 'cke-title', editor.document.$.title ); - - // [IE] JAWS will not recognize the aria label we used on the iframe - // unless the frame window title string is used as the voice label, - // backup the original one and restore it on output. - if ( CKEDITOR.env.ie ) - editor.document.$.title = this._.docTitle; - - CKEDITOR.tools.setTimeout( function() { - editor.fire( 'contentDom' ); - - if ( this._.isPendingFocus ) { - editor.focus(); - this._.isPendingFocus = false; - } - - setTimeout( function() { - editor.fire( 'dataReady' ); - }, 0 ); - - // IE BUG: IE might have rendered the iframe with invisible contents. - // (#3623). Push some inconsequential CSS style changes to force IE to - // refresh it. - // - // Also, for some unknown reasons, short timeouts (e.g. 100ms) do not - // fix the problem. :( - if ( CKEDITOR.env.ie ) { - setTimeout( function() { - if ( editor.document ) { - var $body = editor.document.$.body; - $body.runtimeStyle.marginBottom = '0px'; - $body.runtimeStyle.marginBottom = ''; - } - }, 1000 ); - } - }, 0, this ); - } - - var framedWysiwyg = CKEDITOR.tools.createClass( { - $: function( editor ) { - this.base.apply( this, arguments ); - - this._.frameLoadedHandler = CKEDITOR.tools.addFunction( function( win ) { - // Avoid opening design mode in a frame window thread, - // which will cause host page scrolling.(#4397) - CKEDITOR.tools.setTimeout( onDomReady, 0, this, win ); - }, this ); - - this._.docTitle = this.getWindow().getFrame().getAttribute( 'title' ); - }, - - base: CKEDITOR.editable, - - proto: { - setData: function( data, isSnapshot ) { - var editor = this.editor; - - if ( isSnapshot ) { - this.setHtml( data ); - // Fire dataReady for the consistency with inline editors - // and because it makes sense. (#10370) - editor.fire( 'dataReady' ); - } - else { - this._.isLoadingData = true; - editor._.dataStore = { id: 1 }; - - var config = editor.config, - fullPage = config.fullPage, - docType = config.docType; - - // Build the additional stuff to be included into . - var headExtra = CKEDITOR.tools.buildStyleHtml( iframeCssFixes() ) - .replace( / + + + +

+ CKEditor Samples » Replace DIV with CKEditor on the Fly +

+
+

+ This sample shows how to automatically replace <div> elements + with a CKEditor instance on the fly, following user's doubleclick. The content + that was previously placed inside the <div> element will now + be moved into CKEditor editing area. +

+

+ For details on how to create this setup check the source code of this sample page. +

+
+

+ Double-click any of the following <div> elements to transform them into + editor instances. +

+
+

+ Part 1 +

+

+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi + semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna + rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla + nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce + eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. +

+
+
+

+ Part 2 +

+

+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi + semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna + rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla + nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce + eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. +

+

+ Donec velit. Mauris massa. Vestibulum non nulla. Nam suscipit arcu nec elit. Phasellus + sollicitudin iaculis ante. Ut non mauris et sapien tincidunt adipiscing. Vestibulum + vitae leo. Suspendisse nec mi tristique nulla laoreet vulputate. +

+
+
+

+ Part 3 +

+

+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi + semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna + rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla + nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce + eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. +

+
+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/index.html b/htdocs/includes/ckeditor/ckeditor/samples/index.html new file mode 100644 index 00000000000..964c5a3adaa --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/index.html @@ -0,0 +1,128 @@ + + + + + + CKEditor Samples + + + +

+ CKEditor Samples +

+
+
+

+ Basic Samples +

+
+
Replace textarea elements by class name
+
Automatic replacement of all textarea elements of a given class with a CKEditor instance.
+ +
Replace textarea elements by code
+
Replacement of textarea elements with CKEditor instances by using a JavaScript call.
+ +
Create editors with jQuery
+
Creating standard and inline CKEditor instances with jQuery adapter.
+
+ +

+ Basic Customization +

+
+
User Interface color
+
Changing CKEditor User Interface color and adding a toolbar button that lets the user set the UI color.
+ +
User Interface languages
+
Changing CKEditor User Interface language and adding a drop-down list that lets the user choose the UI language.
+
+ + +

Plugins

+
+
Magicline plugin
+
Using the Magicline plugin to access difficult focus spaces.
+ +
Full page support
+
CKEditor inserted with a JavaScript call and used to edit the whole page from <html> to </html>.
+
+
+
+

+ Inline Editing +

+
+
Massive inline editor creation
+
Turn all elements with contentEditable = true attribute into inline editors.
+ +
Convert element into an inline editor by code
+
Conversion of DOM elements into inline CKEditor instances by using a JavaScript call.
+ +
Replace textarea with inline editor New!
+
A form with a textarea that is replaced by an inline editor at runtime.
+ + +
+ +

+ Advanced Samples +

+
+
Data filtering and features activation New!
+
Data filtering and automatic features activation basing on configuration.
+ +
Replace DIV elements on the fly
+
Transforming a div element into an instance of CKEditor with a mouse click.
+ +
Append editor instances
+
Appending editor instances to existing DOM elements.
+ +
Create and destroy editor instances for Ajax applications
+
Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window.
+ +
Basic usage of the API
+
Using the CKEditor JavaScript API to interact with the editor at runtime.
+ +
XHTML-compliant style
+
Configuring CKEditor to produce XHTML 1.1 compliant attributes and styles.
+ +
Read-only mode
+
Using the readOnly API to block introducing changes to the editor contents.
+ +
"Tab" key-based navigation
+
Navigating among editor instances with tab key.
+ + + +
Using the JavaScript API to customize dialog windows
+
Using the dialog windows API to customize dialog windows without changing the original editor code.
+ +
Using the "Enter" key in CKEditor
+
Configuring the behavior of Enter and Shift+Enter keys.
+ +
Output for Flash
+
Configuring CKEditor to produce HTML code that can be used with Adobe Flash.
+ +
Output HTML
+
Configuring CKEditor to produce legacy HTML 4 code.
+ +
Toolbar Configurations
+
Configuring CKEditor to display full or custom toolbar layout.
+ +
+
+
+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/inlineall.html b/htdocs/includes/ckeditor/ckeditor/samples/inlineall.html new file mode 100644 index 00000000000..250f0c54ddf --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/inlineall.html @@ -0,0 +1,311 @@ + + + + + + Massive inline editing — CKEditor Sample + + + + + + +
+

CKEditor Samples » Massive inline editing

+
+

This sample page demonstrates the inline editing feature - CKEditor instances will be created automatically from page elements with contentEditable attribute set to value true:

+
<div contenteditable="true" > ... </div>
+

Click inside of any element below to start editing.

+
+
+
+ +
+
+
+

+ Fusce vitae porttitor +

+

+ + Lorem ipsum dolor sit amet dolor. Duis blandit vestibulum faucibus a, tortor. + +

+

+ Proin nunc justo felis mollis tincidunt, risus risus pede, posuere cubilia Curae, Nullam euismod, enim. Etiam nibh ultricies dolor ac dignissim erat volutpat. Vivamus fermentum nisl nulla sem in metus. Maecenas wisi. Donec nec erat volutpat. +

+
+

+ Fusce vitae porttitor a, euismod convallis nisl, blandit risus tortor, pretium. + Vehicula vitae, imperdiet vel, ornare enim vel sodales rutrum +

+
+
+

+ Libero nunc, rhoncus ante ipsum non ipsum. Nunc eleifend pede turpis id sollicitudin fringilla. Phasellus ultrices, velit ac arcu. +

+
+

Pellentesque nunc. Donec suscipit erat. Pellentesque habitant morbi tristique ullamcorper.

+

Mauris mattis feugiat lectus nec mauris. Nullam vitae ante.

+
+
+
+
+

+ Integer condimentum sit amet +

+

+ Aenean nonummy a, mattis varius. Cras aliquet. + Praesent magna non mattis ac, rhoncus nunc, rhoncus eget, cursus pulvinar mollis.

+

Proin id nibh. Sed eu libero posuere sed, lectus. Phasellus dui gravida gravida feugiat mattis ac, felis.

+

Integer condimentum sit amet, tempor elit odio, a dolor non ante at sapien. Sed ac lectus. Nulla ligula quis eleifend mi, id leo velit pede cursus arcu id nulla ac lectus. Phasellus vestibulum. Nunc viverra enim quis diam.

+
+
+

+ Praesent wisi accumsan sit amet nibh +

+

Donec ullamcorper, risus tortor, pretium porttitor. Morbi quam quis lectus non leo.

+

Integer faucibus scelerisque. Proin faucibus at, aliquet vulputate, odio at eros. Fusce gravida, erat vitae augue. Fusce urna fringilla gravida.

+

In hac habitasse platea dictumst. Praesent wisi accumsan sit amet nibh. Maecenas orci luctus a, lacinia quam sem, posuere commodo, odio condimentum tempor, pede semper risus. Suspendisse pede. In hac habitasse platea dictumst. Nam sed laoreet sit amet erat. Integer.

+
+
+
+
+

+ CKEditor logo +

+

Quisque justo neque, mattis sed, fermentum ultrices posuere cubilia Curae, Vestibulum elit metus, quis placerat ut, lectus. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi.

+

+ Nullam laoreet vel consectetuer tellus suscipit +

+
    +
  • Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis.
  • +
  • Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi.
  • +
  • Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.
  • +
+

Quisque justo neque, mattis sed, fermentum ultrices posuere cubilia Curae, Vestibulum elit metus, quis placerat ut, lectus.

+

Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis.

+

Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi. Sed in nonummy faucibus turpis. Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.

+
+
+
+
+ Tags of this article: +

+ inline, editing, floating, CKEditor +

+
+
+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/inlinebycode.html b/htdocs/includes/ckeditor/ckeditor/samples/inlinebycode.html new file mode 100644 index 00000000000..fe627d087d7 --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/inlinebycode.html @@ -0,0 +1,121 @@ + + + + + + Inline Editing by Code — CKEditor Sample + + + + + +

+ CKEditor Samples » Inline Editing by Code +

+
+

+ This sample shows how to create an inline editor instance of CKEditor. It is created + with a JavaScript call using the following code: +

+
+// This property tells CKEditor to not activate every element with contenteditable=true element.
+CKEDITOR.disableAutoInline = true;
+
+var editor = CKEDITOR.inline( document.getElementById( 'editable' ) );
+
+

+ Note that editable in the code above is the id + attribute of the <div> element to be converted into an inline instance. +

+
+
+

Saturn V carrying Apollo 11 Apollo 11

+ +

Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.

+ +

Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.

+ +

Broadcasting and quotes

+ +

Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:

+ +
+

One small step for [a] man, one giant leap for mankind.

+
+ +

Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:

+ +
+

[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.

+
+ +

Technical details

+ + + + + + + + + + + + + + + + + + + + + + + +
Mission crew
PositionAstronaut
CommanderNeil A. Armstrong
Command Module PilotMichael Collins
Lunar Module PilotEdwin "Buzz" E. Aldrin, Jr.
+ +

Launched by a Saturn V rocket from Kennedy Space Center in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of NASA's Apollo program. The Apollo spacecraft had three parts:

+ +
    +
  1. Command Module with a cabin for the three astronauts which was the only part which landed back on Earth
  2. +
  3. Service Module which supported the Command Module with propulsion, electrical power, oxygen and water
  4. +
  5. Lunar Module for landing on the Moon.
  6. +
+ +

After being sent to the Moon by the Saturn V's upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the Sea of Tranquility. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the Pacific Ocean on July 24.

+ +
+

Source: Wikipedia.org

+
+ + + + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/inlinetextarea.html b/htdocs/includes/ckeditor/ckeditor/samples/inlinetextarea.html new file mode 100644 index 00000000000..9da5ed3b9f1 --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/inlinetextarea.html @@ -0,0 +1,110 @@ + + + + + + Replace Textarea with Inline Editor — CKEditor Sample + + + + + +

+ CKEditor Samples » Replace Textarea with Inline Editor +

+
+

+ You can also create an inline editor from a textarea + element. In this case the textarea will be replaced + by a div element with inline editing enabled. +

+
+// "article-body" is the name of a textarea element.
+var editor = CKEDITOR.inline( 'article-body' );
+
+
+
+

This is a sample form with some fields

+

+ Title:
+

+

+ Article Body (Textarea converted to CKEditor):
+ +

+

+ +

+
+ + + + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/jquery.html b/htdocs/includes/ckeditor/ckeditor/samples/jquery.html new file mode 100644 index 00000000000..442df69d102 --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/jquery.html @@ -0,0 +1,100 @@ + + + + + + jQuery Adapter — CKEditor Sample + + + + + + + + +

+ CKEditor Samples » Create Editors with jQuery +

+
+
+

+ This sample shows how to use the jQuery adapter. + Note that you have to include both CKEditor and jQuery scripts before including the adapter. +

+ +
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+<script src="/ckeditor/ckeditor.js"></script>
+<script src="/ckeditor/adapters/jquery.js"></script>
+
+ +

Then you can replace HTML elements with a CKEditor instance using the ckeditor() method.

+ +
+$( document ).ready( function() {
+	$( 'textarea#editor1' ).ckeditor();
+} );
+
+
+ +

Inline Example

+ +
+

Saturn V carrying Apollo 11Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.

+

Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth. +

Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:

+

One small step for [a] man, one giant leap for mankind.

Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:

[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.

+
+ +
+ +

Classic (iframe-based) Example

+ + + +

+ + + + + +

+
+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/samples/assets/my_dialog.js b/htdocs/includes/ckeditor/ckeditor/samples/plugins/dialog/assets/my_dialog.js similarity index 85% rename from htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/samples/assets/my_dialog.js rename to htdocs/includes/ckeditor/ckeditor/samples/plugins/dialog/assets/my_dialog.js index f0ce5f9445d..3d8f3694d5f 100644 --- a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/samples/assets/my_dialog.js +++ b/htdocs/includes/ckeditor/ckeditor/samples/plugins/dialog/assets/my_dialog.js @@ -1,5 +1,5 @@ -/** - * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. +/** + * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -46,4 +46,3 @@ CKEDITOR.dialog.add( 'myDialog', function( editor ) { }; } ); -// %LEAVE_UNMINIFIED% %REMOVE_LINE% diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/samples/dialog.html b/htdocs/includes/ckeditor/ckeditor/samples/plugins/dialog/dialog.html similarity index 100% rename from htdocs/includes/ckeditor/ckeditor/_source/plugins/dialog/samples/dialog.html rename to htdocs/includes/ckeditor/ckeditor/samples/plugins/dialog/dialog.html diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/enterkey/samples/enterkey.html b/htdocs/includes/ckeditor/ckeditor/samples/plugins/enterkey/enterkey.html similarity index 100% rename from htdocs/includes/ckeditor/ckeditor/_source/plugins/enterkey/samples/enterkey.html rename to htdocs/includes/ckeditor/ckeditor/samples/plugins/enterkey/enterkey.html diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/htmlwriter/samples/assets/outputforflash/outputforflash.fla b/htdocs/includes/ckeditor/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla similarity index 100% rename from htdocs/includes/ckeditor/ckeditor/_source/plugins/htmlwriter/samples/assets/outputforflash/outputforflash.fla rename to htdocs/includes/ckeditor/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla diff --git a/htdocs/includes/ckeditor/ckeditor/_source/plugins/htmlwriter/samples/assets/outputforflash/outputforflash.swf b/htdocs/includes/ckeditor/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf similarity index 100% rename from htdocs/includes/ckeditor/ckeditor/_source/plugins/htmlwriter/samples/assets/outputforflash/outputforflash.swf rename to htdocs/includes/ckeditor/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf diff --git a/htdocs/includes/ckeditor/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js b/htdocs/includes/ckeditor/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js new file mode 100644 index 00000000000..95fdf0a7a6a --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js @@ -0,0 +1,18 @@ +var swfobject=function(){function u(){if(!s){try{var a=d.getElementsByTagName("body")[0].appendChild(d.createElement("span"));a.parentNode.removeChild(a)}catch(b){return}s=!0;for(var a=x.length,c=0;cf){f++;setTimeout(arguments.callee,10);return}a.removeChild(b);c=null;D()})()}else D()}function D(){var a=p.length;if(0e.wk))t(c,!0),f&&(g.success=!0,g.ref=E(c),f(g));else if(p[b].expressInstall&&F()){g={};g.data=p[b].expressInstall;g.width=d.getAttribute("width")||"0";g.height=d.getAttribute("height")||"0";d.getAttribute("class")&&(g.styleclass=d.getAttribute("class"));d.getAttribute("align")&&(g.align=d.getAttribute("align"));for(var h={},d=d.getElementsByTagName("param"),j=d.length,k=0;ke.wk)}function G(a,b,c,f){A=!0;H=f||null;N={success:!1,id:c};var g=n(c);if(g){"OBJECT"==g.nodeName?(w=I(g),B=null):(w=g,B=c);a.id= +O;if(typeof a.width==i||!/%$/.test(a.width)&&310>parseInt(a.width,10))a.width="310";if(typeof a.height==i||!/%$/.test(a.height)&&137>parseInt(a.height,10))a.height="137";d.title=d.title.slice(0,47)+" - Flash Player Installation";f=e.ie&&e.win?"ActiveX":"PlugIn";f="MMredirectURL="+m.location.toString().replace(/&/g,"%26")+"&MMplayerType="+f+"&MMdoctitle="+d.title;b.flashvars=typeof b.flashvars!=i?b.flashvars+("&"+f):f;e.ie&&(e.win&&4!=g.readyState)&&(f=d.createElement("div"),c+="SWFObjectNew",f.setAttribute("id", +c),g.parentNode.insertBefore(f,g),g.style.display="none",function(){g.readyState==4?g.parentNode.removeChild(g):setTimeout(arguments.callee,10)}());J(a,b,c)}}function W(a){if(e.ie&&e.win&&4!=a.readyState){var b=d.createElement("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(I(a),b);a.style.display="none";(function(){4==a.readyState?a.parentNode.removeChild(a):setTimeout(arguments.callee,10)})()}else a.parentNode.replaceChild(I(a),a)}function I(a){var b=d.createElement("div");if(e.win&& +e.ie)b.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName(r)[0])if(a=a.childNodes)for(var c=a.length,f=0;fe.wk)return f;if(g)if(typeof a.id==i&&(a.id=c),e.ie&&e.win){var o="",h;for(h in a)a[h]!=Object.prototype[h]&&("data"==h.toLowerCase()?b.movie=a[h]:"styleclass"==h.toLowerCase()?o+=' class="'+a[h]+'"':"classid"!=h.toLowerCase()&&(o+=" "+ +h+'="'+a[h]+'"'));h="";for(var j in b)b[j]!=Object.prototype[j]&&(h+='');g.outerHTML='"+h+"";C[C.length]=a.id;f=n(a.id)}else{j=d.createElement(r);j.setAttribute("type",y);for(var k in a)a[k]!=Object.prototype[k]&&("styleclass"==k.toLowerCase()?j.setAttribute("class",a[k]):"classid"!=k.toLowerCase()&&j.setAttribute(k,a[k]));for(o in b)b[o]!=Object.prototype[o]&&"movie"!=o.toLowerCase()&& +(a=j,h=o,k=b[o],c=d.createElement("param"),c.setAttribute("name",h),c.setAttribute("value",k),a.appendChild(c));g.parentNode.replaceChild(j,g);f=j}return f}function P(a){var b=n(a);b&&"OBJECT"==b.nodeName&&(e.ie&&e.win?(b.style.display="none",function(){if(4==b.readyState){var c=n(a);if(c){for(var f in c)"function"==typeof c[f]&&(c[f]=null);c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,10)}()):b.parentNode.removeChild(b))}function n(a){var b=null;try{b=d.getElementById(a)}catch(c){}return b} +function U(a,b,c){a.attachEvent(b,c);v[v.length]=[a,b,c]}function z(a){var b=e.pv,a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?!0:!1}function Q(a,b,c,f){if(!e.ie||!e.mac){var g=d.getElementsByTagName("head")[0];if(g){c=c&&"string"==typeof c?c:"screen";f&&(K=l=null);if(!l||K!=c)f=d.createElement("style"),f.setAttribute("type","text/css"),f.setAttribute("media",c),l=g.appendChild(f), +e.ie&&(e.win&&typeof d.styleSheets!=i&&0\.;]/.exec(a)&&typeof encodeURIComponent!=i?encodeURIComponent(a):a}var i="undefined",r="object",y="application/x-shockwave-flash", +O="SWFObjectExprInst",m=window,d=document,q=navigator,T=!1,x=[function(){T?V():D()}],p=[],C=[],v=[],w,B,H,N,s=!1,A=!1,l,K,R=!0,e=function(){var a=typeof d.getElementById!=i&&typeof d.getElementsByTagName!=i&&typeof d.createElement!=i,b=q.userAgent.toLowerCase(),c=q.platform.toLowerCase(),f=c?/win/.test(c):/win/.test(b),c=c?/mac/.test(c):/mac/.test(b),b=/webkit/.test(b)?parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,g=!+"\v1",e=[0,0,0],h=null;if(typeof q.plugins!=i&&typeof q.plugins["Shockwave Flash"]== +r){if((h=q.plugins["Shockwave Flash"].description)&&!(typeof q.mimeTypes!=i&&q.mimeTypes[y]&&!q.mimeTypes[y].enabledPlugin))T=!0,g=!1,h=h.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),e[0]=parseInt(h.replace(/^(.*)\..*$/,"$1"),10),e[1]=parseInt(h.replace(/^.*\.(.*)\s.*$/,"$1"),10),e[2]=/[a-zA-Z]/.test(h)?parseInt(h.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof m.ActiveXObject!=i)try{var j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(j&&(h=j.GetVariable("$version")))g=!0,h=h.split(" ")[1].split(","), +e=[parseInt(h[0],10),parseInt(h[1],10),parseInt(h[2],10)]}catch(k){}return{w3:a,pv:e,wk:b,ie:g,win:f,mac:c}}();(function(){e.w3&&((typeof d.readyState!=i&&"complete"==d.readyState||typeof d.readyState==i&&(d.getElementsByTagName("body")[0]||d.body))&&u(),s||(typeof d.addEventListener!=i&&d.addEventListener("DOMContentLoaded",u,!1),e.ie&&e.win&&(d.attachEvent("onreadystatechange",function(){"complete"==d.readyState&&(d.detachEvent("onreadystatechange",arguments.callee),u())}),m==top&&function(){if(!s){try{d.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee, +0);return}u()}}()),e.wk&&function(){s||(/loaded|complete/.test(d.readyState)?u():setTimeout(arguments.callee,0))}(),M(u)))})();(function(){e.ie&&e.win&&window.attachEvent("onunload",function(){for(var a=v.length,b=0;be.wk)&&a&&b&&c&&d&&g?(t(b,!1),L(function(){c+="";d+="";var e={};if(k&&typeof k===r)for(var l in k)e[l]=k[l];e.data=a;e.width=c;e.height=d;l={};if(j&&typeof j===r)for(var p in j)l[p]=j[p];if(h&&typeof h===r)for(var q in h)l.flashvars=typeof l.flashvars!=i?l.flashvars+("&"+q+"="+h[q]):q+"="+h[q];if(z(g))p=J(e,l,b),e.id== +b&&t(b,!0),n.success=!0,n.ref=p;else{if(o&&F()){e.data=o;G(e,l,b,m);return}t(b,!0)}m&&m(n)})):m&&m(n)},switchOffAutoHideShow:function(){R=!1},ua:e,getFlashPlayerVersion:function(){return{major:e.pv[0],minor:e.pv[1],release:e.pv[2]}},hasFlashPlayerVersion:z,createSWF:function(a,b,c){if(e.w3)return J(a,b,c)},showExpressInstall:function(a,b,c,d){e.w3&&F()&&G(a,b,c,d)},removeSWF:function(a){e.w3&&P(a)},createCSS:function(a,b,c,d){e.w3&&Q(a,b,c,d)},addDomLoadEvent:L,addLoadEvent:M,getQueryParamValue:function(a){var b= +d.location.search||d.location.hash;if(b){/\?/.test(b)&&(b=b.split("?")[1]);if(null==a)return S(b);for(var b=b.split("&"),c=0;c + + + + + Using the CKEditor Read-Only API — CKEditor Sample + + + + + +

+ CKEditor Samples » Using the CKEditor Read-Only API +

+
+

+ This sample shows how to use the + setReadOnly + API to put editor into the read-only state that makes it impossible for users to change the editor contents. +

+

+ For details on how to create this setup check the source code of this sample page. +

+
+
+

+ +

+

+ + +

+
+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/replacebyclass.html b/htdocs/includes/ckeditor/ckeditor/samples/replacebyclass.html new file mode 100644 index 00000000000..6baea4cf5f0 --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/replacebyclass.html @@ -0,0 +1,57 @@ + + + + + + Replace Textareas by Class Name — CKEditor Sample + + + + +

+ CKEditor Samples » Replace Textarea Elements by Class Name +

+
+

+ This sample shows how to automatically replace all <textarea> elements + of a given class with a CKEditor instance. +

+

+ To replace a <textarea> element, simply assign it the ckeditor + class, as in the code below: +

+
+<textarea class="ckeditor" name="editor1"></textarea>
+
+

+ Note that other <textarea> attributes (like id or name) need to be adjusted to your document. +

+
+
+

+ + +

+

+ +

+
+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/replacebycode.html b/htdocs/includes/ckeditor/ckeditor/samples/replacebycode.html new file mode 100644 index 00000000000..8e7d7f70380 --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/replacebycode.html @@ -0,0 +1,56 @@ + + + + + + Replace Textarea by Code — CKEditor Sample + + + + +

+ CKEditor Samples » Replace Textarea Elements Using JavaScript Code +

+
+
+

+ This editor is using an <iframe> element-based editing area, provided by the Wysiwygarea plugin. +

+
+CKEDITOR.replace( 'textarea_id' )
+
+
+ + +

+ +

+
+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/sample.css b/htdocs/includes/ckeditor/ckeditor/samples/sample.css new file mode 100644 index 00000000000..f0686ea165f --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/sample.css @@ -0,0 +1,356 @@ +/* +Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +html, body, h1, h2, h3, h4, h5, h6, div, span, blockquote, p, address, form, fieldset, img, ul, ol, dl, dt, dd, li, hr, table, td, th, strong, em, sup, sub, dfn, ins, del, q, cite, var, samp, code, kbd, tt, pre +{ + line-height: 1.5; +} + +body +{ + padding: 10px 30px; +} + +input, textarea, select, option, optgroup, button, td, th +{ + font-size: 100%; +} + +pre, code, kbd, samp, tt +{ + font-family: monospace,monospace; + font-size: 1em; +} + +body { + width: 960px; + margin: 0 auto; +} + +code +{ + background: #f3f3f3; + border: 1px solid #ddd; + padding: 1px 4px; + + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} + +abbr +{ + border-bottom: 1px dotted #555; + cursor: pointer; +} + +.new, .beta +{ + text-transform: uppercase; + font-size: 10px; + font-weight: bold; + padding: 1px 4px; + margin: 0 0 0 5px; + color: #fff; + float: right; + + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} + +.new +{ + background: #FF7E00; + border: 1px solid #DA8028; + text-shadow: 0 1px 0 #C97626; + + -moz-box-shadow: 0 2px 3px 0 #FFA54E inset; + -webkit-box-shadow: 0 2px 3px 0 #FFA54E inset; + box-shadow: 0 2px 3px 0 #FFA54E inset; +} + +.beta +{ + background: #18C0DF; + border: 1px solid #19AAD8; + text-shadow: 0 1px 0 #048CAD; + font-style: italic; + + -moz-box-shadow: 0 2px 3px 0 #50D4FD inset; + -webkit-box-shadow: 0 2px 3px 0 #50D4FD inset; + box-shadow: 0 2px 3px 0 #50D4FD inset; +} + +h1.samples +{ + color: #0782C1; + font-size: 200%; + font-weight: normal; + margin: 0; + padding: 0; +} + +h1.samples a +{ + color: #0782C1; + text-decoration: none; + border-bottom: 1px dotted #0782C1; +} + +.samples a:hover +{ + border-bottom: 1px dotted #0782C1; +} + +h2.samples +{ + color: #000000; + font-size: 130%; + margin: 15px 0 0 0; + padding: 0; +} + +p, blockquote, address, form, pre, dl, h1.samples, h2.samples +{ + margin-bottom: 15px; +} + +ul.samples +{ + margin-bottom: 15px; +} + +.clear +{ + clear: both; +} + +fieldset +{ + margin: 0; + padding: 10px; +} + +body, input, textarea +{ + color: #333333; + font-family: Arial, Helvetica, sans-serif; +} + +body +{ + font-size: 75%; +} + +a.samples +{ + color: #189DE1; + text-decoration: none; +} + +form +{ + margin: 0; + padding: 0; +} + +pre.samples +{ + background-color: #F7F7F7; + border: 1px solid #D7D7D7; + overflow: auto; + padding: 0.25em; + white-space: pre-wrap; /* CSS 2.1 */ + word-wrap: break-word; /* IE7 */ + -moz-tab-size: 4; + -o-tab-size: 4; + -webkit-tab-size: 4; + tab-size: 4; +} + +#footer +{ + clear: both; + padding-top: 10px; +} + +#footer hr +{ + margin: 10px 0 15px 0; + height: 1px; + border: solid 1px gray; + border-bottom: none; +} + +#footer p +{ + margin: 0 10px 10px 10px; + float: left; +} + +#footer #copy +{ + float: right; +} + +#outputSample +{ + width: 100%; + table-layout: fixed; +} + +#outputSample thead th +{ + color: #dddddd; + background-color: #999999; + padding: 4px; + white-space: nowrap; +} + +#outputSample tbody th +{ + vertical-align: top; + text-align: left; +} + +#outputSample pre +{ + margin: 0; + padding: 0; +} + +.description +{ + border: 1px dotted #B7B7B7; + margin-bottom: 10px; + padding: 10px 10px 0; + overflow: hidden; +} + +label +{ + display: block; + margin-bottom: 6px; +} + +/** + * CKEditor editables are automatically set with the "cke_editable" class + * plus cke_editable_(inline|themed) depending on the editor type. + */ + +/* Style a bit the inline editables. */ +.cke_editable.cke_editable_inline +{ + cursor: pointer; +} + +/* Once an editable element gets focused, the "cke_focus" class is + added to it, so we can style it differently. */ +.cke_editable.cke_editable_inline.cke_focus +{ + box-shadow: inset 0px 0px 20px 3px #ddd, inset 0 0 1px #000; + outline: none; + background: #eee; + cursor: text; +} + +/* Avoid pre-formatted overflows inline editable. */ +.cke_editable_inline pre +{ + white-space: pre-wrap; + word-wrap: break-word; +} + +/** + * Samples index styles. + */ + +.twoColumns, +.twoColumnsLeft, +.twoColumnsRight +{ + overflow: hidden; +} + +.twoColumnsLeft, +.twoColumnsRight +{ + width: 45%; +} + +.twoColumnsLeft +{ + float: left; +} + +.twoColumnsRight +{ + float: right; +} + +dl.samples +{ + padding: 0 0 0 40px; +} +dl.samples > dt +{ + display: list-item; + list-style-type: disc; + list-style-position: outside; + margin: 0 0 3px; +} +dl.samples > dd +{ + margin: 0 0 3px; +} +.warning +{ + color: #ff0000; + background-color: #FFCCBA; + border: 2px dotted #ff0000; + padding: 15px 10px; + margin: 10px 0; +} + +/* Used on inline samples */ + +blockquote +{ + font-style: italic; + font-family: Georgia, Times, "Times New Roman", serif; + padding: 2px 0; + border-style: solid; + border-color: #ccc; + border-width: 0; +} + +.cke_contents_ltr blockquote +{ + padding-left: 20px; + padding-right: 8px; + border-left-width: 5px; +} + +.cke_contents_rtl blockquote +{ + padding-left: 8px; + padding-right: 20px; + border-right-width: 5px; +} + +img.right { + border: 1px solid #ccc; + float: right; + margin-left: 15px; + padding: 5px; +} + +img.left { + border: 1px solid #ccc; + float: left; + margin-right: 15px; + padding: 5px; +} diff --git a/htdocs/includes/ckeditor/ckeditor/samples/sample.js b/htdocs/includes/ckeditor/ckeditor/samples/sample.js new file mode 100644 index 00000000000..b96b3bf0a95 --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/sample.js @@ -0,0 +1,50 @@ +/** + * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +// Tool scripts for the sample pages. +// This file can be ignored and is not required to make use of CKEditor. + +( function() { + CKEDITOR.on( 'instanceReady', function( ev ) { + // Check for sample compliance. + var editor = ev.editor, + meta = CKEDITOR.document.$.getElementsByName( 'ckeditor-sample-required-plugins' ), + requires = meta.length ? CKEDITOR.dom.element.get( meta[ 0 ] ).getAttribute( 'content' ).split( ',' ) : [], + missing = [], + i; + + if ( requires.length ) { + for ( i = 0; i < requires.length; i++ ) { + if ( !editor.plugins[ requires[ i ] ] ) + missing.push( '' + requires[ i ] + '' ); + } + + if ( missing.length ) { + var warn = CKEDITOR.dom.element.createFromHtml( + '
' + + 'To fully experience this demo, the ' + missing.join( ', ' ) + ' plugin' + ( missing.length > 1 ? 's are' : ' is' ) + ' required.' + + '
' + ); + warn.insertBefore( editor.container ); + } + } + + // Set icons. + var doc = new CKEDITOR.dom.document( document ), + icons = doc.find( '.button_icon' ); + + for ( i = 0; i < icons.count(); i++ ) { + var icon = icons.getItem( i ), + name = icon.getAttribute( 'data-icon' ), + style = CKEDITOR.skin.getIconStyle( name, ( CKEDITOR.lang.dir == 'rtl' ) ); + + icon.addClass( 'cke_button_icon' ); + icon.addClass( 'cke_button__' + name + '_icon' ); + icon.setAttribute( 'style', style ); + icon.setStyle( 'float', 'none' ); + + } + } ); +} )(); diff --git a/htdocs/includes/ckeditor/ckeditor/samples/sample_posteddata.php b/htdocs/includes/ckeditor/ckeditor/samples/sample_posteddata.php new file mode 100644 index 00000000000..7637104a872 --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/sample_posteddata.php @@ -0,0 +1,16 @@ +
+
+-------------------------------------------------------------------------------------------
+  CKEditor - Posted Data
+
+  We are sorry, but your Web server does not support the PHP language used in this script.
+
+  Please note that CKEditor can be used with any other server-side language than just PHP.
+  To save the content created with CKEditor you need to read the POST data on the server
+  side and write it to a file or the database.
+
+  Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+  For licensing, see LICENSE.md or http://ckeditor.com/license
+-------------------------------------------------------------------------------------------
+
+
*/ include "assets/posteddata.php"; ?> diff --git a/htdocs/includes/ckeditor/ckeditor/samples/tabindex.html b/htdocs/includes/ckeditor/ckeditor/samples/tabindex.html new file mode 100644 index 00000000000..8c2eb413fc3 --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/tabindex.html @@ -0,0 +1,75 @@ + + + + + + TAB Key-Based Navigation — CKEditor Sample + + + + + + +

+ CKEditor Samples » TAB Key-Based Navigation +

+
+

+ This sample shows how tab key navigation among editor instances is + affected by the tabIndex attribute from + the original page element. Use TAB key to move between the editors. +

+
+

+ +

+
+

+ +

+

+ +

+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/uicolor.html b/htdocs/includes/ckeditor/ckeditor/samples/uicolor.html new file mode 100644 index 00000000000..9a42c78870f --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/uicolor.html @@ -0,0 +1,69 @@ + + + + + + UI Color Picker — CKEditor Sample + + + + +

+ CKEditor Samples » UI Color +

+
+

+ This sample shows how to automatically replace <textarea> elements + with a CKEditor instance with an option to change the color of its user interface.
+ Note:The UI skin color feature depends on the CKEditor skin + compatibility. The Moono and Kama skins are examples of skins that work with it. +

+
+
+

+ This editor instance has a UI color value defined in configuration to change the skin color, + To specify the color of the user interface, set the uiColor property: +

+
+CKEDITOR.replace( 'textarea_id', {
+	uiColor: '#14B8C4'
+});
+

+ Note that textarea_id in the code above is the id attribute of + the <textarea> element to be replaced. +

+

+ + +

+

+ +

+
+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/uilanguages.html b/htdocs/includes/ckeditor/ckeditor/samples/uilanguages.html new file mode 100644 index 00000000000..f428fdbbd43 --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/uilanguages.html @@ -0,0 +1,119 @@ + + + + + + User Interface Globalization — CKEditor Sample + + + + + +

+ CKEditor Samples » User Interface Languages +

+
+

+ This sample shows how to automatically replace <textarea> elements + with a CKEditor instance with an option to change the language of its user interface. +

+

+ It pulls the language list from CKEditor _languages.js file that contains the list of supported languages and creates + a drop-down list that lets the user change the UI language. +

+

+ By default, CKEditor automatically localizes the editor to the language of the user. + The UI language can be controlled with two configuration options: + language and + + defaultLanguage. The defaultLanguage setting specifies the + default CKEditor language to be used when a localization suitable for user's settings is not available. +

+

+ To specify the user interface language that will be used no matter what language is + specified in user's browser or operating system, set the language property: +

+
+CKEDITOR.replace( 'textarea_id', {
+	// Load the German interface.
+	language: 'de'
+});
+

+ Note that textarea_id in the code above is the id attribute of + the <textarea> element to be replaced. +

+
+
+

+ Available languages ( languages!):
+ +
+ + (You may see strange characters if your system does not support the selected language) + +

+

+ + +

+
+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/samples/xhtmlstyle.html b/htdocs/includes/ckeditor/ckeditor/samples/xhtmlstyle.html new file mode 100644 index 00000000000..600cddca8de --- /dev/null +++ b/htdocs/includes/ckeditor/ckeditor/samples/xhtmlstyle.html @@ -0,0 +1,231 @@ + + + + + + XHTML Compliant Output — CKEditor Sample + + + + + + +

+ CKEditor Samples » Producing XHTML Compliant Output +

+
+

+ This sample shows how to configure CKEditor to output valid + XHTML 1.1 code. + Deprecated elements (<font>, <u>) or attributes + (size, face) will be replaced with XHTML compliant code. +

+

+ To add a CKEditor instance outputting valid XHTML code, load the editor using a standard + JavaScript call and define CKEditor features to use the XHTML compliant elements and styles. +

+

+ A snippet of the configuration code can be seen below; check the source of this page for + full definition: +

+
+CKEDITOR.replace( 'textarea_id', {
+	contentsCss: 'assets/outputxhtml.css',
+
+	coreStyles_bold: {
+		element: 'span',
+		attributes: { 'class': 'Bold' }
+	},
+	coreStyles_italic: {
+		element: 'span',
+		attributes: { 'class': 'Italic' }
+	},
+
+	...
+});
+
+
+

+ + + +

+

+ +

+
+ + + diff --git a/htdocs/includes/ckeditor/ckeditor/skins/moono/skin.js b/htdocs/includes/ckeditor/ckeditor/skins/moono/skin.js deleted file mode 100644 index 9c8fb4011c6..00000000000 --- a/htdocs/includes/ckeditor/ckeditor/skins/moono/skin.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. - For licensing, see LICENSE.md or http://ckeditor.com/license -*/ -CKEDITOR.skin.name="moono";CKEDITOR.skin.ua_editor="ie,iequirks,ie7,ie8,gecko";CKEDITOR.skin.ua_dialog="ie,iequirks,ie7,ie8,opera"; -CKEDITOR.skin.chameleon=function(){var b=function(){return function(b,e){for(var a=b.match(/[^#]./g),c=0;3>c;c++){var f=a,h=c,d;d=parseInt(a[c],16);d=("0"+(0>e?0|d*(1+e):0|d+(255-d)*e).toString(16)).slice(-2);f[h]=d}return"#"+a.join("")}}(),c=function(){var b=new CKEDITOR.template("background:#{to};background-image:-webkit-gradient(linear,lefttop,leftbottom,from({from}),to({to}));background-image:-moz-linear-gradient(top,{from},{to});background-image:-webkit-linear-gradient(top,{from},{to});background-image:-o-linear-gradient(top,{from},{to});background-image:-ms-linear-gradient(top,{from},{to});background-image:linear-gradient(top,{from},{to});filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='{from}',endColorstr='{to}');");return function(c, -a){return b.output({from:c,to:a})}}(),f={editor:new CKEDITOR.template("{id}.cke_chrome [border-color:{defaultBorder};] {id} .cke_top [ {defaultGradient}border-bottom-color:{defaultBorder};] {id} .cke_bottom [{defaultGradient}border-top-color:{defaultBorder};] {id} .cke_resizer [border-right-color:{ckeResizer}] {id} .cke_dialog_title [{defaultGradient}border-bottom-color:{defaultBorder};] {id} .cke_dialog_footer [{defaultGradient}outline-color:{defaultBorder};border-top-color:{defaultBorder};] {id} .cke_dialog_tab [{lightGradient}border-color:{defaultBorder};] {id} .cke_dialog_tab:hover [{mediumGradient}] {id} .cke_dialog_contents [border-top-color:{defaultBorder};] {id} .cke_dialog_tab_selected, {id} .cke_dialog_tab_selected:hover [background:{dialogTabSelected};border-bottom-color:{dialogTabSelectedBorder};] {id} .cke_dialog_body [background:{dialogBody};border-color:{defaultBorder};] {id} .cke_toolgroup [{lightGradient}border-color:{defaultBorder};] {id} a.cke_button_off:hover, {id} a.cke_button_off:focus, {id} a.cke_button_off:active [{mediumGradient}] {id} .cke_button_on [{ckeButtonOn}] {id} .cke_toolbar_separator [background-color: {ckeToolbarSeparator};] {id} .cke_combo_button [border-color:{defaultBorder};{lightGradient}] {id} a.cke_combo_button:hover, {id} a.cke_combo_button:focus, {id} .cke_combo_on a.cke_combo_button [border-color:{defaultBorder};{mediumGradient}] {id} .cke_path_item [color:{elementsPathColor};] {id} a.cke_path_item:hover, {id} a.cke_path_item:focus, {id} a.cke_path_item:active [background-color:{elementsPathBg};] {id}.cke_panel [border-color:{defaultBorder};] "), -panel:new CKEDITOR.template(".cke_panel_grouptitle [{lightGradient}border-color:{defaultBorder};] .cke_menubutton_icon [background-color:{menubuttonIcon};] .cke_menubutton:hover .cke_menubutton_icon, .cke_menubutton:focus .cke_menubutton_icon, .cke_menubutton:active .cke_menubutton_icon [background-color:{menubuttonIconHover};] .cke_menuseparator [background-color:{menubuttonIcon};] a:hover.cke_colorbox, a:focus.cke_colorbox, a:active.cke_colorbox [border-color:{defaultBorder};] a:hover.cke_colorauto, a:hover.cke_colormore, a:focus.cke_colorauto, a:focus.cke_colormore, a:active.cke_colorauto, a:active.cke_colormore [background-color:{ckeColorauto};border-color:{defaultBorder};] ")}; -return function(g,e){var a=g.uiColor,a={id:"."+g.id,defaultBorder:b(a,-0.1),defaultGradient:c(b(a,0.9),a),lightGradient:c(b(a,1),b(a,0.7)),mediumGradient:c(b(a,0.8),b(a,0.5)),ckeButtonOn:c(b(a,0.6),b(a,0.7)),ckeResizer:b(a,-0.4),ckeToolbarSeparator:b(a,0.5),ckeColorauto:b(a,0.8),dialogBody:b(a,0.7),dialogTabSelected:c("#FFFFFF","#FFFFFF"),dialogTabSelectedBorder:"#FFF",elementsPathColor:b(a,-0.6),elementsPathBg:a,menubuttonIcon:b(a,0.5),menubuttonIconHover:b(a,0.3)};return f[e].output(a).replace(/\[/g, -"{").replace(/\]/g,"}")}}(); \ No newline at end of file diff --git a/htdocs/includes/ckeditor/ckeditor/styles.js b/htdocs/includes/ckeditor/ckeditor/styles.js index 87f568a63ca..48661b193c6 100644 --- a/htdocs/includes/ckeditor/ckeditor/styles.js +++ b/htdocs/includes/ckeditor/ckeditor/styles.js @@ -1,4 +1,4 @@ -/** +/** * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ diff --git a/htdocs/includes/jstz/jstz.js b/htdocs/includes/jstz/jstz.js new file mode 100644 index 00000000000..89edbde6c25 --- /dev/null +++ b/htdocs/includes/jstz/jstz.js @@ -0,0 +1,1433 @@ +(function (root) {/*global exports, Intl*/ +/** + * This script gives you the zone info key representing your device's time zone setting. + * + * @name jsTimezoneDetect + * @version 1.0.6 + * @author Jon Nylander + * @license MIT License - https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt + * + * For usage and examples, visit: + * http://pellepim.bitbucket.org/jstz/ + * + * Copyright (c) Jon Nylander + */ + + +/** + * Namespace to hold all the code for timezone detection. + */ +var jstz = (function () { + 'use strict'; + var HEMISPHERE_SOUTH = 's', + + consts = { + DAY: 86400000, + HOUR: 3600000, + MINUTE: 60000, + SECOND: 1000, + BASELINE_YEAR: 2014, + MAX_SCORE: 864000000, // 10 days + AMBIGUITIES: { + 'America/Denver': ['America/Mazatlan'], + 'Europe/London': ['Africa/Casablanca'], + 'America/Chicago': ['America/Mexico_City'], + 'America/Asuncion': ['America/Campo_Grande', 'America/Santiago'], + 'America/Montevideo': ['America/Sao_Paulo', 'America/Santiago'], + // Europe/Minsk should not be in this list... but Windows. + 'Asia/Beirut': ['Asia/Amman', 'Asia/Jerusalem', 'Europe/Helsinki', 'Asia/Damascus', 'Africa/Cairo', 'Asia/Gaza', 'Europe/Minsk'], + 'Pacific/Auckland': ['Pacific/Fiji'], + 'America/Los_Angeles': ['America/Santa_Isabel'], + 'America/New_York': ['America/Havana'], + 'America/Halifax': ['America/Goose_Bay'], + 'America/Godthab': ['America/Miquelon'], + 'Asia/Dubai': ['Asia/Yerevan'], + 'Asia/Jakarta': ['Asia/Krasnoyarsk'], + 'Asia/Shanghai': ['Asia/Irkutsk', 'Australia/Perth'], + 'Australia/Sydney': ['Australia/Lord_Howe'], + 'Asia/Tokyo': ['Asia/Yakutsk'], + 'Asia/Dhaka': ['Asia/Omsk'], + // In the real world Yerevan is not ambigous for Baku... but Windows. + 'Asia/Baku': ['Asia/Yerevan'], + 'Australia/Brisbane': ['Asia/Vladivostok'], + 'Pacific/Noumea': ['Asia/Vladivostok'], + 'Pacific/Majuro': ['Asia/Kamchatka', 'Pacific/Fiji'], + 'Pacific/Tongatapu': ['Pacific/Apia'], + 'Asia/Baghdad': ['Europe/Minsk', 'Europe/Moscow'], + 'Asia/Karachi': ['Asia/Yekaterinburg'], + 'Africa/Johannesburg': ['Asia/Gaza', 'Africa/Cairo'] + } + }, + + /** + * Gets the offset in minutes from UTC for a certain date. + * @param {Date} date + * @returns {Number} + */ + get_date_offset = function get_date_offset(date) { + var offset = -date.getTimezoneOffset(); + return (offset !== null ? offset : 0); + }, + + /** + * This function does some basic calculations to create information about + * the user's timezone. It uses REFERENCE_YEAR as a solid year for which + * the script has been tested rather than depend on the year set by the + * client device. + * + * Returns a key that can be used to do lookups in jstz.olson.timezones. + * eg: "720,1,2". + * + * @returns {String} + */ + lookup_key = function lookup_key() { + var january_offset = get_date_offset(new Date(consts.BASELINE_YEAR, 0, 2)), + june_offset = get_date_offset(new Date(consts.BASELINE_YEAR, 5, 2)), + diff = january_offset - june_offset; + + if (diff < 0) { + return january_offset + ",1"; + } else if (diff > 0) { + return june_offset + ",1," + HEMISPHERE_SOUTH; + } + + return january_offset + ",0"; + }, + + + /** + * Tries to get the time zone key directly from the operating system for those + * environments that support the ECMAScript Internationalization API. + */ + get_from_internationalization_api = function get_from_internationalization_api() { + var format, timezone; + if (typeof Intl === "undefined" || typeof Intl.DateTimeFormat === "undefined") { + return; + } + + format = Intl.DateTimeFormat(); + + if (typeof format === "undefined" || typeof format.resolvedOptions === "undefined") { + return; + } + + timezone = format.resolvedOptions().timeZone; + + if (timezone && (timezone.indexOf("/") > -1 || timezone === 'UTC')) { + return timezone; + } + + }, + + /** + * Starting point for getting all the DST rules for a specific year + * for the current timezone (as described by the client system). + * + * Returns an object with start and end attributes, or false if no + * DST rules were found for the year. + * + * @param year + * @returns {Object} || {Boolean} + */ + dst_dates = function dst_dates(year) { + var yearstart = new Date(year, 0, 1, 0, 0, 1, 0).getTime(); + var yearend = new Date(year, 12, 31, 23, 59, 59).getTime(); + var current = yearstart; + var offset = (new Date(current)).getTimezoneOffset(); + var dst_start = null; + var dst_end = null; + + while (current < yearend - 86400000) { + var dateToCheck = new Date(current); + var dateToCheckOffset = dateToCheck.getTimezoneOffset(); + + if (dateToCheckOffset !== offset) { + if (dateToCheckOffset < offset) { + dst_start = dateToCheck; + } + if (dateToCheckOffset > offset) { + dst_end = dateToCheck; + } + offset = dateToCheckOffset; + } + + current += 86400000; + } + + if (dst_start && dst_end) { + return { + s: find_dst_fold(dst_start).getTime(), + e: find_dst_fold(dst_end).getTime() + }; + } + + return false; + }, + + /** + * Probably completely unnecessary function that recursively finds the + * exact (to the second) time when a DST rule was changed. + * + * @param a_date - The candidate Date. + * @param padding - integer specifying the padding to allow around the candidate + * date for finding the fold. + * @param iterator - integer specifying how many milliseconds to iterate while + * searching for the fold. + * + * @returns {Date} + */ + find_dst_fold = function find_dst_fold(a_date, padding, iterator) { + if (typeof padding === 'undefined') { + padding = consts.DAY; + iterator = consts.HOUR; + } + + var date_start = new Date(a_date.getTime() - padding).getTime(); + var date_end = a_date.getTime() + padding; + var offset = new Date(date_start).getTimezoneOffset(); + + var current = date_start; + + var dst_change = null; + while (current < date_end - iterator) { + var dateToCheck = new Date(current); + var dateToCheckOffset = dateToCheck.getTimezoneOffset(); + + if (dateToCheckOffset !== offset) { + dst_change = dateToCheck; + break; + } + current += iterator; + } + + if (padding === consts.DAY) { + return find_dst_fold(dst_change, consts.HOUR, consts.MINUTE); + } + + if (padding === consts.HOUR) { + return find_dst_fold(dst_change, consts.MINUTE, consts.SECOND); + } + + return dst_change; + }, + + windows7_adaptations = function windows7_adaptions(rule_list, preliminary_timezone, score, sample) { + if (score !== 'N/A') { + return score; + } + if (preliminary_timezone === 'Asia/Beirut') { + if (sample.name === 'Africa/Cairo') { + if (rule_list[6].s === 1398376800000 && rule_list[6].e === 1411678800000) { + return 0; + } + } + if (sample.name === 'Asia/Jerusalem') { + if (rule_list[6].s === 1395964800000 && rule_list[6].e === 1411858800000) { + return 0; + } + } + } else if (preliminary_timezone === 'America/Santiago') { + if (sample.name === 'America/Asuncion') { + if (rule_list[6].s === 1412481600000 && rule_list[6].e === 1397358000000) { + return 0; + } + } + if (sample.name === 'America/Campo_Grande') { + if (rule_list[6].s === 1413691200000 && rule_list[6].e === 1392519600000) { + return 0; + } + } + } else if (preliminary_timezone === 'America/Montevideo') { + if (sample.name === 'America/Sao_Paulo') { + if (rule_list[6].s === 1413687600000 && rule_list[6].e === 1392516000000) { + return 0; + } + } + } else if (preliminary_timezone === 'Pacific/Auckland') { + if (sample.name === 'Pacific/Fiji') { + if (rule_list[6].s === 1414245600000 && rule_list[6].e === 1396101600000) { + return 0; + } + } + } + + return score; + }, + + /** + * Takes the DST rules for the current timezone, and proceeds to find matches + * in the jstz.olson.dst_rules.zones array. + * + * Compares samples to the current timezone on a scoring basis. + * + * Candidates are ruled immediately if either the candidate or the current zone + * has a DST rule where the other does not. + * + * Candidates are ruled out immediately if the current zone has a rule that is + * outside the DST scope of the candidate. + * + * Candidates are included for scoring if the current zones rules fall within the + * span of the samples rules. + * + * Low score is best, the score is calculated by summing up the differences in DST + * rules and if the consts.MAX_SCORE is overreached the candidate is ruled out. + * + * Yah follow? :) + * + * @param rule_list + * @param preliminary_timezone + * @returns {*} + */ + best_dst_match = function best_dst_match(rule_list, preliminary_timezone) { + var score_sample = function score_sample(sample) { + var score = 0; + + for (var j = 0; j < rule_list.length; j++) { + + // Both sample and current time zone report DST during the year. + if (!!sample.rules[j] && !!rule_list[j]) { + + // The current time zone's DST rules are inside the sample's. Include. + if (rule_list[j].s >= sample.rules[j].s && rule_list[j].e <= sample.rules[j].e) { + score = 0; + score += Math.abs(rule_list[j].s - sample.rules[j].s); + score += Math.abs(sample.rules[j].e - rule_list[j].e); + + // The current time zone's DST rules are outside the sample's. Discard. + } else { + score = 'N/A'; + break; + } + + // The max score has been reached. Discard. + if (score > consts.MAX_SCORE) { + score = 'N/A'; + break; + } + } + } + + score = windows7_adaptations(rule_list, preliminary_timezone, score, sample); + + return score; + }; + var scoreboard = {}; + var dst_zones = jstz.olson.dst_rules.zones; + var dst_zones_length = dst_zones.length; + var ambiguities = consts.AMBIGUITIES[preliminary_timezone]; + + for (var i = 0; i < dst_zones_length; i++) { + var sample = dst_zones[i]; + var score = score_sample(dst_zones[i]); + + if (score !== 'N/A') { + scoreboard[sample.name] = score; + } + } + + for (var tz in scoreboard) { + if (scoreboard.hasOwnProperty(tz)) { + for (var j = 0; j < ambiguities.length; j++) { + if (ambiguities[j] === tz) { + return tz; + } + } + } + } + + return preliminary_timezone; + }, + + /** + * Takes the preliminary_timezone as detected by lookup_key(). + * + * Builds up the current timezones DST rules for the years defined + * in the jstz.olson.dst_rules.years array. + * + * If there are no DST occurences for those years, immediately returns + * the preliminary timezone. Otherwise proceeds and tries to solve + * ambiguities. + * + * @param preliminary_timezone + * @returns {String} timezone_name + */ + get_by_dst = function get_by_dst(preliminary_timezone) { + var get_rules = function get_rules() { + var rule_list = []; + for (var i = 0; i < jstz.olson.dst_rules.years.length; i++) { + var year_rules = dst_dates(jstz.olson.dst_rules.years[i]); + rule_list.push(year_rules); + } + return rule_list; + }; + var check_has_dst = function check_has_dst(rules) { + for (var i = 0; i < rules.length; i++) { + if (rules[i] !== false) { + return true; + } + } + return false; + }; + var rules = get_rules(); + var has_dst = check_has_dst(rules); + + if (has_dst) { + return best_dst_match(rules, preliminary_timezone); + } + + return preliminary_timezone; + }, + + /** + * Uses get_timezone_info() to formulate a key to use in the olson.timezones dictionary. + * + * Returns an object with one function ".name()" + * + * @returns Object + */ + determine = function determine() { + var preliminary_tz = get_from_internationalization_api(); + + if (!preliminary_tz) { + preliminary_tz = jstz.olson.timezones[lookup_key()]; + + if (typeof consts.AMBIGUITIES[preliminary_tz] !== 'undefined') { + preliminary_tz = get_by_dst(preliminary_tz); + } + } + + return { + name: function () { + return preliminary_tz; + } + }; + }; + + return { + determine: determine + }; +}()); + + +jstz.olson = jstz.olson || {}; + +/** + * The keys in this dictionary are comma separated as such: + * + * First the offset compared to UTC time in minutes. + * + * Then a flag which is 0 if the timezone does not take daylight savings into account and 1 if it + * does. + * + * Thirdly an optional 's' signifies that the timezone is in the southern hemisphere, + * only interesting for timezones with DST. + * + * The mapped arrays is used for constructing the jstz.TimeZone object from within + * jstz.determine(); + */ +jstz.olson.timezones = { + '-720,0': 'Etc/GMT+12', + '-660,0': 'Pacific/Pago_Pago', + '-660,1,s': 'Pacific/Apia', // Why? Because windows... cry! + '-600,1': 'America/Adak', + '-600,0': 'Pacific/Honolulu', + '-570,0': 'Pacific/Marquesas', + '-540,0': 'Pacific/Gambier', + '-540,1': 'America/Anchorage', + '-480,1': 'America/Los_Angeles', + '-480,0': 'Pacific/Pitcairn', + '-420,0': 'America/Phoenix', + '-420,1': 'America/Denver', + '-360,0': 'America/Guatemala', + '-360,1': 'America/Chicago', + '-360,1,s': 'Pacific/Easter', + '-300,0': 'America/Bogota', + '-300,1': 'America/New_York', + '-270,0': 'America/Caracas', + '-240,1': 'America/Halifax', + '-240,0': 'America/Santo_Domingo', + '-240,1,s': 'America/Asuncion', + '-210,1': 'America/St_Johns', + '-180,1': 'America/Godthab', + '-180,0': 'America/Argentina/Buenos_Aires', + '-180,1,s': 'America/Montevideo', + '-120,0': 'America/Noronha', + '-120,1': 'America/Noronha', + '-60,1': 'Atlantic/Azores', + '-60,0': 'Atlantic/Cape_Verde', + '0,0': 'UTC', + '0,1': 'Europe/London', + '60,1': 'Europe/Berlin', + '60,0': 'Africa/Lagos', + '60,1,s': 'Africa/Windhoek', + '120,1': 'Asia/Beirut', + '120,0': 'Africa/Johannesburg', + '180,0': 'Asia/Baghdad', + '180,1': 'Europe/Moscow', + '210,1': 'Asia/Tehran', + '240,0': 'Asia/Dubai', + '240,1': 'Asia/Baku', + '270,0': 'Asia/Kabul', + '300,1': 'Asia/Yekaterinburg', + '300,0': 'Asia/Karachi', + '330,0': 'Asia/Kolkata', + '345,0': 'Asia/Kathmandu', + '360,0': 'Asia/Dhaka', + '360,1': 'Asia/Omsk', + '390,0': 'Asia/Rangoon', + '420,1': 'Asia/Krasnoyarsk', + '420,0': 'Asia/Jakarta', + '480,0': 'Asia/Shanghai', + '480,1': 'Asia/Irkutsk', + '525,0': 'Australia/Eucla', + '525,1,s': 'Australia/Eucla', + '540,1': 'Asia/Yakutsk', + '540,0': 'Asia/Tokyo', + '570,0': 'Australia/Darwin', + '570,1,s': 'Australia/Adelaide', + '600,0': 'Australia/Brisbane', + '600,1': 'Asia/Vladivostok', + '600,1,s': 'Australia/Sydney', + '630,1,s': 'Australia/Lord_Howe', + '660,1': 'Asia/Kamchatka', + '660,0': 'Pacific/Noumea', + '690,0': 'Pacific/Norfolk', + '720,1,s': 'Pacific/Auckland', + '720,0': 'Pacific/Majuro', + '765,1,s': 'Pacific/Chatham', + '780,0': 'Pacific/Tongatapu', + '780,1,s': 'Pacific/Apia', + '840,0': 'Pacific/Kiritimati' +}; + +/* Build time: 2015-11-02 13:01:00Z Build by invoking python utilities/dst.py generate */ +jstz.olson.dst_rules = { + "years": [ + 2008, + 2009, + 2010, + 2011, + 2012, + 2013, + 2014 + ], + "zones": [ + { + "name": "Africa/Cairo", + "rules": [ + { + "e": 1219957200000, + "s": 1209074400000 + }, + { + "e": 1250802000000, + "s": 1240524000000 + }, + { + "e": 1285880400000, + "s": 1284069600000 + }, + false, + false, + false, + { + "e": 1411678800000, + "s": 1406844000000 + } + ] + }, + { + "name": "Africa/Casablanca", + "rules": [ + { + "e": 1220223600000, + "s": 1212278400000 + }, + { + "e": 1250809200000, + "s": 1243814400000 + }, + { + "e": 1281222000000, + "s": 1272758400000 + }, + { + "e": 1312066800000, + "s": 1301788800000 + }, + { + "e": 1348970400000, + "s": 1345428000000 + }, + { + "e": 1382839200000, + "s": 1376100000000 + }, + { + "e": 1414288800000, + "s": 1406944800000 + } + ] + }, + { + "name": "America/Asuncion", + "rules": [ + { + "e": 1205031600000, + "s": 1224388800000 + }, + { + "e": 1236481200000, + "s": 1255838400000 + }, + { + "e": 1270954800000, + "s": 1286078400000 + }, + { + "e": 1302404400000, + "s": 1317528000000 + }, + { + "e": 1333854000000, + "s": 1349582400000 + }, + { + "e": 1364094000000, + "s": 1381032000000 + }, + { + "e": 1395543600000, + "s": 1412481600000 + } + ] + }, + { + "name": "America/Campo_Grande", + "rules": [ + { + "e": 1203217200000, + "s": 1224388800000 + }, + { + "e": 1234666800000, + "s": 1255838400000 + }, + { + "e": 1266721200000, + "s": 1287288000000 + }, + { + "e": 1298170800000, + "s": 1318737600000 + }, + { + "e": 1330225200000, + "s": 1350792000000 + }, + { + "e": 1361070000000, + "s": 1382241600000 + }, + { + "e": 1392519600000, + "s": 1413691200000 + } + ] + }, + { + "name": "America/Goose_Bay", + "rules": [ + { + "e": 1225594860000, + "s": 1205035260000 + }, + { + "e": 1257044460000, + "s": 1236484860000 + }, + { + "e": 1289098860000, + "s": 1268539260000 + }, + { + "e": 1320555600000, + "s": 1299988860000 + }, + { + "e": 1352005200000, + "s": 1331445600000 + }, + { + "e": 1383454800000, + "s": 1362895200000 + }, + { + "e": 1414904400000, + "s": 1394344800000 + } + ] + }, + { + "name": "America/Havana", + "rules": [ + { + "e": 1224997200000, + "s": 1205643600000 + }, + { + "e": 1256446800000, + "s": 1236488400000 + }, + { + "e": 1288501200000, + "s": 1268542800000 + }, + { + "e": 1321160400000, + "s": 1300597200000 + }, + { + "e": 1352005200000, + "s": 1333256400000 + }, + { + "e": 1383454800000, + "s": 1362891600000 + }, + { + "e": 1414904400000, + "s": 1394341200000 + } + ] + }, + { + "name": "America/Mazatlan", + "rules": [ + { + "e": 1225008000000, + "s": 1207472400000 + }, + { + "e": 1256457600000, + "s": 1238922000000 + }, + { + "e": 1288512000000, + "s": 1270371600000 + }, + { + "e": 1319961600000, + "s": 1301821200000 + }, + { + "e": 1351411200000, + "s": 1333270800000 + }, + { + "e": 1382860800000, + "s": 1365325200000 + }, + { + "e": 1414310400000, + "s": 1396774800000 + } + ] + }, + { + "name": "America/Mexico_City", + "rules": [ + { + "e": 1225004400000, + "s": 1207468800000 + }, + { + "e": 1256454000000, + "s": 1238918400000 + }, + { + "e": 1288508400000, + "s": 1270368000000 + }, + { + "e": 1319958000000, + "s": 1301817600000 + }, + { + "e": 1351407600000, + "s": 1333267200000 + }, + { + "e": 1382857200000, + "s": 1365321600000 + }, + { + "e": 1414306800000, + "s": 1396771200000 + } + ] + }, + { + "name": "America/Miquelon", + "rules": [ + { + "e": 1225598400000, + "s": 1205038800000 + }, + { + "e": 1257048000000, + "s": 1236488400000 + }, + { + "e": 1289102400000, + "s": 1268542800000 + }, + { + "e": 1320552000000, + "s": 1299992400000 + }, + { + "e": 1352001600000, + "s": 1331442000000 + }, + { + "e": 1383451200000, + "s": 1362891600000 + }, + { + "e": 1414900800000, + "s": 1394341200000 + } + ] + }, + { + "name": "America/Santa_Isabel", + "rules": [ + { + "e": 1225011600000, + "s": 1207476000000 + }, + { + "e": 1256461200000, + "s": 1238925600000 + }, + { + "e": 1288515600000, + "s": 1270375200000 + }, + { + "e": 1319965200000, + "s": 1301824800000 + }, + { + "e": 1351414800000, + "s": 1333274400000 + }, + { + "e": 1382864400000, + "s": 1365328800000 + }, + { + "e": 1414314000000, + "s": 1396778400000 + } + ] + }, + { + "name": "America/Santiago", + "rules": [ + { + "e": 1206846000000, + "s": 1223784000000 + }, + { + "e": 1237086000000, + "s": 1255233600000 + }, + { + "e": 1270350000000, + "s": 1286683200000 + }, + { + "e": 1304823600000, + "s": 1313899200000 + }, + { + "e": 1335668400000, + "s": 1346558400000 + }, + { + "e": 1367118000000, + "s": 1378612800000 + }, + { + "e": 1398567600000, + "s": 1410062400000 + } + ] + }, + { + "name": "America/Sao_Paulo", + "rules": [ + { + "e": 1203213600000, + "s": 1224385200000 + }, + { + "e": 1234663200000, + "s": 1255834800000 + }, + { + "e": 1266717600000, + "s": 1287284400000 + }, + { + "e": 1298167200000, + "s": 1318734000000 + }, + { + "e": 1330221600000, + "s": 1350788400000 + }, + { + "e": 1361066400000, + "s": 1382238000000 + }, + { + "e": 1392516000000, + "s": 1413687600000 + } + ] + }, + { + "name": "Asia/Amman", + "rules": [ + { + "e": 1225404000000, + "s": 1206655200000 + }, + { + "e": 1256853600000, + "s": 1238104800000 + }, + { + "e": 1288303200000, + "s": 1269554400000 + }, + { + "e": 1319752800000, + "s": 1301608800000 + }, + false, + false, + { + "e": 1414706400000, + "s": 1395957600000 + } + ] + }, + { + "name": "Asia/Damascus", + "rules": [ + { + "e": 1225486800000, + "s": 1207260000000 + }, + { + "e": 1256850000000, + "s": 1238104800000 + }, + { + "e": 1288299600000, + "s": 1270159200000 + }, + { + "e": 1319749200000, + "s": 1301608800000 + }, + { + "e": 1351198800000, + "s": 1333058400000 + }, + { + "e": 1382648400000, + "s": 1364508000000 + }, + { + "e": 1414702800000, + "s": 1395957600000 + } + ] + }, + { + "name": "Asia/Dubai", + "rules": [ + false, + false, + false, + false, + false, + false, + false + ] + }, + { + "name": "Asia/Gaza", + "rules": [ + { + "e": 1219957200000, + "s": 1206655200000 + }, + { + "e": 1252015200000, + "s": 1238104800000 + }, + { + "e": 1281474000000, + "s": 1269640860000 + }, + { + "e": 1312146000000, + "s": 1301608860000 + }, + { + "e": 1348178400000, + "s": 1333058400000 + }, + { + "e": 1380229200000, + "s": 1364508000000 + }, + { + "e": 1414098000000, + "s": 1395957600000 + } + ] + }, + { + "name": "Asia/Irkutsk", + "rules": [ + { + "e": 1224957600000, + "s": 1206813600000 + }, + { + "e": 1256407200000, + "s": 1238263200000 + }, + { + "e": 1288461600000, + "s": 1269712800000 + }, + false, + false, + false, + false + ] + }, + { + "name": "Asia/Jerusalem", + "rules": [ + { + "e": 1223161200000, + "s": 1206662400000 + }, + { + "e": 1254006000000, + "s": 1238112000000 + }, + { + "e": 1284246000000, + "s": 1269561600000 + }, + { + "e": 1317510000000, + "s": 1301616000000 + }, + { + "e": 1348354800000, + "s": 1333065600000 + }, + { + "e": 1382828400000, + "s": 1364515200000 + }, + { + "e": 1414278000000, + "s": 1395964800000 + } + ] + }, + { + "name": "Asia/Kamchatka", + "rules": [ + { + "e": 1224943200000, + "s": 1206799200000 + }, + { + "e": 1256392800000, + "s": 1238248800000 + }, + { + "e": 1288450800000, + "s": 1269698400000 + }, + false, + false, + false, + false + ] + }, + { + "name": "Asia/Krasnoyarsk", + "rules": [ + { + "e": 1224961200000, + "s": 1206817200000 + }, + { + "e": 1256410800000, + "s": 1238266800000 + }, + { + "e": 1288465200000, + "s": 1269716400000 + }, + false, + false, + false, + false + ] + }, + { + "name": "Asia/Omsk", + "rules": [ + { + "e": 1224964800000, + "s": 1206820800000 + }, + { + "e": 1256414400000, + "s": 1238270400000 + }, + { + "e": 1288468800000, + "s": 1269720000000 + }, + false, + false, + false, + false + ] + }, + { + "name": "Asia/Vladivostok", + "rules": [ + { + "e": 1224950400000, + "s": 1206806400000 + }, + { + "e": 1256400000000, + "s": 1238256000000 + }, + { + "e": 1288454400000, + "s": 1269705600000 + }, + false, + false, + false, + false + ] + }, + { + "name": "Asia/Yakutsk", + "rules": [ + { + "e": 1224954000000, + "s": 1206810000000 + }, + { + "e": 1256403600000, + "s": 1238259600000 + }, + { + "e": 1288458000000, + "s": 1269709200000 + }, + false, + false, + false, + false + ] + }, + { + "name": "Asia/Yekaterinburg", + "rules": [ + { + "e": 1224968400000, + "s": 1206824400000 + }, + { + "e": 1256418000000, + "s": 1238274000000 + }, + { + "e": 1288472400000, + "s": 1269723600000 + }, + false, + false, + false, + false + ] + }, + { + "name": "Asia/Yerevan", + "rules": [ + { + "e": 1224972000000, + "s": 1206828000000 + }, + { + "e": 1256421600000, + "s": 1238277600000 + }, + { + "e": 1288476000000, + "s": 1269727200000 + }, + { + "e": 1319925600000, + "s": 1301176800000 + }, + false, + false, + false + ] + }, + { + "name": "Australia/Lord_Howe", + "rules": [ + { + "e": 1207407600000, + "s": 1223134200000 + }, + { + "e": 1238857200000, + "s": 1254583800000 + }, + { + "e": 1270306800000, + "s": 1286033400000 + }, + { + "e": 1301756400000, + "s": 1317483000000 + }, + { + "e": 1333206000000, + "s": 1349537400000 + }, + { + "e": 1365260400000, + "s": 1380987000000 + }, + { + "e": 1396710000000, + "s": 1412436600000 + } + ] + }, + { + "name": "Australia/Perth", + "rules": [ + { + "e": 1206813600000, + "s": 1224957600000 + }, + false, + false, + false, + false, + false, + false + ] + }, + { + "name": "Europe/Helsinki", + "rules": [ + { + "e": 1224982800000, + "s": 1206838800000 + }, + { + "e": 1256432400000, + "s": 1238288400000 + }, + { + "e": 1288486800000, + "s": 1269738000000 + }, + { + "e": 1319936400000, + "s": 1301187600000 + }, + { + "e": 1351386000000, + "s": 1332637200000 + }, + { + "e": 1382835600000, + "s": 1364691600000 + }, + { + "e": 1414285200000, + "s": 1396141200000 + } + ] + }, + { + "name": "Europe/Minsk", + "rules": [ + { + "e": 1224979200000, + "s": 1206835200000 + }, + { + "e": 1256428800000, + "s": 1238284800000 + }, + { + "e": 1288483200000, + "s": 1269734400000 + }, + false, + false, + false, + false + ] + }, + { + "name": "Europe/Moscow", + "rules": [ + { + "e": 1224975600000, + "s": 1206831600000 + }, + { + "e": 1256425200000, + "s": 1238281200000 + }, + { + "e": 1288479600000, + "s": 1269730800000 + }, + false, + false, + false, + false + ] + }, + { + "name": "Pacific/Apia", + "rules": [ + false, + false, + false, + { + "e": 1301752800000, + "s": 1316872800000 + }, + { + "e": 1333202400000, + "s": 1348927200000 + }, + { + "e": 1365256800000, + "s": 1380376800000 + }, + { + "e": 1396706400000, + "s": 1411826400000 + } + ] + }, + { + "name": "Pacific/Fiji", + "rules": [ + false, + false, + { + "e": 1269698400000, + "s": 1287842400000 + }, + { + "e": 1327154400000, + "s": 1319292000000 + }, + { + "e": 1358604000000, + "s": 1350741600000 + }, + { + "e": 1390050000000, + "s": 1382796000000 + }, + { + "e": 1421503200000, + "s": 1414850400000 + } + ] + }, + { + "name": "Europe/London", + "rules": [ + { + "e": 1224982800000, + "s": 1206838800000 + }, + { + "e": 1256432400000, + "s": 1238288400000 + }, + { + "e": 1288486800000, + "s": 1269738000000 + }, + { + "e": 1319936400000, + "s": 1301187600000 + }, + { + "e": 1351386000000, + "s": 1332637200000 + }, + { + "e": 1382835600000, + "s": 1364691600000 + }, + { + "e": 1414285200000, + "s": 1396141200000 + } + ] + } + ] +}; +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = jstz; +} else if ((typeof define !== 'undefined' && define !== null) && (define.amd != null)) { + define([], function() { + return jstz; + }); +} else { + if (typeof root === 'undefined') { + window.jstz = jstz; + } else { + root.jstz = jstz; + } +} +}()); \ No newline at end of file diff --git a/htdocs/includes/jstz/jstz.min.js b/htdocs/includes/jstz/jstz.min.js index 96e3dd8ae72..a6be0f665e2 100644 --- a/htdocs/includes/jstz/jstz.min.js +++ b/htdocs/includes/jstz/jstz.min.js @@ -1,2 +1,2 @@ -/*! jstz - v1.0.4 - 2012-12-12 */ -(function(e){var t=function(){"use strict";var e="s",n=function(e){var t=-e.getTimezoneOffset();return t!==null?t:0},r=function(e,t,n){var r=new Date;return e!==undefined&&r.setFullYear(e),r.setDate(n),r.setMonth(t),r},i=function(e){return n(r(e,0,2))},s=function(e){return n(r(e,5,2))},o=function(e){var t=e.getMonth()>7?s(e.getFullYear()):i(e.getFullYear()),r=n(e);return t-r!==0},u=function(){var t=i(),n=s(),r=i()-s();return r<0?t+",1":r>0?n+",1,"+e:t+",0"},a=function(){var e=u();return new t.TimeZone(t.olson.timezones[e])};return{determine:a,date_is_dst:o}}();t.TimeZone=function(e){"use strict";var n=null,r=function(){return n},i=function(){var e=t.olson.ambiguity_list[n],r=e.length,i=0,s=e[0];for(;in?a+",1":n>0?r+",1,"+e:a+",0"},n=function(){var e,a;if("undefined"!=typeof Intl&&"undefined"!=typeof Intl.DateTimeFormat&&(e=Intl.DateTimeFormat(),"undefined"!=typeof e&&"undefined"!=typeof e.resolvedOptions))return a=e.resolvedOptions().timeZone,a&&(a.indexOf("/")>-1||"UTC"===a)?a:void 0},o=function(e){for(var a=new Date(e,0,1,0,0,1,0).getTime(),s=new Date(e,12,31,23,59,59).getTime(),i=a,r=new Date(i).getTimezoneOffset(),n=null,o=null;s-864e5>i;){var t=new Date(i),A=t.getTimezoneOffset();A!==r&&(r>A&&(n=t),A>r&&(o=t),r=A),i+=864e5}return n&&o?{s:u(n).getTime(),e:u(o).getTime()}:!1},u=function l(e,a,i){"undefined"==typeof a&&(a=s.DAY,i=s.HOUR);for(var r=new Date(e.getTime()-a).getTime(),n=e.getTime()+a,o=new Date(r).getTimezoneOffset(),u=r,t=null;n-i>u;){var A=new Date(u),c=A.getTimezoneOffset();if(c!==o){t=A;break}u+=i}return a===s.DAY?l(t,s.HOUR,s.MINUTE):a===s.HOUR?l(t,s.MINUTE,s.SECOND):t},t=function(e,a,s,i){if("N/A"!==s)return s;if("Asia/Beirut"===a){if("Africa/Cairo"===i.name&&13983768e5===e[6].s&&14116788e5===e[6].e)return 0;if("Asia/Jerusalem"===i.name&&13959648e5===e[6].s&&14118588e5===e[6].e)return 0}else if("America/Santiago"===a){if("America/Asuncion"===i.name&&14124816e5===e[6].s&&1397358e6===e[6].e)return 0;if("America/Campo_Grande"===i.name&&14136912e5===e[6].s&&13925196e5===e[6].e)return 0}else if("America/Montevideo"===a){if("America/Sao_Paulo"===i.name&&14136876e5===e[6].s&&1392516e6===e[6].e)return 0}else if("Pacific/Auckland"===a&&"Pacific/Fiji"===i.name&&14142456e5===e[6].s&&13961016e5===e[6].e)return 0;return s},A=function(e,i){for(var r=function(a){for(var r=0,n=0;n=a.rules[n].s&&e[n].e<=a.rules[n].e)){r="N/A";break}if(r=0,r+=Math.abs(e[n].s-a.rules[n].s),r+=Math.abs(a.rules[n].e-e[n].e),r>s.MAX_SCORE){r="N/A";break}}return r=t(e,i,r,a)},n={},o=a.olson.dst_rules.zones,u=o.length,A=s.AMBIGUITIES[i],c=0;u>c;c++){var m=o[c],l=r(o[c]);"N/A"!==l&&(n[m.name]=l)}for(var f in n)if(n.hasOwnProperty(f))for(var d=0;d, + * incorporating modifications by: + * - Roni Saha + * - Gergely Radics + * - Warren Doyle + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * This class generates ESC/POS printer control commands for compatible printers. + * See README.md for a summary of compatible printers and supported commands, and + * basic usage. + * + * See example/demo.php for a detailed print-out demonstrating the range of commands + * implemented in this project. + * + * Note that some functions have not been implemented: + * - Set paper sensors + * - Select print colour + * + * Please direct feature requests, bug reports and contributions to escpos-php + * on Github: + * - https://github.com/mike42/escpos-php + */ +require_once(dirname(__FILE__) . "/src/EscposImage.php"); +require_once(dirname(__FILE__) . "/src/PrintBuffer.php"); +require_once(dirname(__FILE__) . "/src/EscposPrintBuffer.php"); +require_once(dirname(__FILE__) . "/src/PrintConnector.php"); +require_once(dirname(__FILE__) . "/src/WindowsPrintConnector.php"); +require_once(dirname(__FILE__) . "/src/FilePrintConnector.php"); +require_once(dirname(__FILE__) . "/src/NetworkPrintConnector.php"); +require_once(dirname(__FILE__) . "/src/AbstractCapabilityProfile.php"); +require_once(dirname(__FILE__) . "/src/DefaultCapabilityProfile.php"); +require_once(dirname(__FILE__) . "/src/SimpleCapabilityProfile.php"); +require_once(dirname(__FILE__) . "/src/EposTepCapabilityProfile.php"); +require_once(dirname(__FILE__) . "/src/StarCapabilityProfile.php"); +require_once(dirname(__FILE__) . "/src/P822DCapabilityProfile.php"); +require_once(dirname(__FILE__) . "/src/CodePage.php"); +require_once(dirname(__FILE__) . "/src/ImagePrintBuffer.php"); + +class Escpos { + /* ASCII codes */ + const NUL = "\x00"; + const LF = "\x0a"; + const ESC = "\x1b"; + const FS = "\x1c"; + const FF = "\x0c"; + const GS = "\x1d"; + const DLE = "\x10"; + const EOT = "\x04"; + + /* Barcode types */ + const BARCODE_UPCA = 65; + const BARCODE_UPCE = 66; + const BARCODE_JAN13 = 67; + const BARCODE_JAN8 = 68; + const BARCODE_CODE39 = 69; + const BARCODE_ITF = 70; + const BARCODE_CODABAR = 71; + const BARCODE_CODE93 = 72; + const BARCODE_CODE128 = 73; + + /* Barcode HRI (human-readable interpretation) text position */ + const BARCODE_TEXT_NONE = 0; + const BARCODE_TEXT_ABOVE = 1; + const BARCODE_TEXT_BELOW = 2; + + /* Cut types */ + const CUT_FULL = 65; + const CUT_PARTIAL = 66; + + /* Fonts */ + const FONT_A = 0; + const FONT_B = 1; + const FONT_C = 2; + + /* Image sizing options */ + const IMG_DEFAULT = 0; + const IMG_DOUBLE_WIDTH = 1; + const IMG_DOUBLE_HEIGHT = 2; + + /* Justifications */ + const JUSTIFY_LEFT = 0; + const JUSTIFY_CENTER = 1; + const JUSTIFY_RIGHT = 2; + + /* Print mode constants */ + const MODE_FONT_A = 0; + const MODE_FONT_B = 1; + const MODE_EMPHASIZED = 8; + const MODE_DOUBLE_HEIGHT = 16; + const MODE_DOUBLE_WIDTH = 32; + const MODE_UNDERLINE = 128; + + /* QR code error correction levels */ + const QR_ECLEVEL_L = 0; + const QR_ECLEVEL_M = 1; + const QR_ECLEVEL_Q = 2; + const QR_ECLEVEL_H = 3; + + /* QR code models */ + const QR_MODEL_1 = 1; + const QR_MODEL_2 = 2; + const QR_MICRO = 3; + + /* Printer statuses */ + const STATUS_PRINTER = 1; + const STATUS_OFFLINE_CAUSE = 2; + const STATUS_ERROR_CAUSE = 3; + const STATUS_PAPER_ROLL = 4; + const STATUS_INK_A = 7; + const STATUS_INK_B = 6; + const STATUS_PEELER = 8; + + /* Underline */ + const UNDERLINE_NONE = 0; + const UNDERLINE_SINGLE = 1; + const UNDERLINE_DOUBLE = 2; + + /** + * @var PrintBuffer The printer's output buffer. + */ + private $buffer; + + /** + * @var PrintConnector + */ + private $connector; + + /** + * @var AbstractCapabilityProfile + */ + private $profile; + + /** + * @var int Current character code table + */ + private $characterTable; + + /** + * Construct a new print object + * + * @param PrintConnector $connector The PrintConnector to send data to. If not set, output is sent to standard output. + * @param AbstractCapabilityProfile $profile Supported features of this printer. If not set, the DefaultCapabilityProfile will be used, which is suitable for Epson printers. + * @throws InvalidArgumentException + */ + function __construct(PrintConnector $connector = null, AbstractCapabilityProfile $profile = null) { + if(is_null($connector)) { + if(php_sapi_name() == 'cli') { + $connector = new FilePrintConnector("php://stdout"); + } else { + throw new InvalidArgumentException("Argument passed to Escpos::__construct() must implement interface PrintConnector, null given."); + } + } + /* Set connector */ + $this -> connector = $connector; + + /* Set capability profile */ + if($profile === null) { + $profile = DefaultCapabilityProfile::getInstance(); + } + $this -> profile = $profile; + /* Set buffer */ + $buffer = new EscposPrintBuffer(); + $this -> buffer = null; + $this -> setPrintBuffer($buffer); + $this -> initialize(); + } + + /** + * Print a barcode. + * + * @param string $content The information to encode. + * @param int $type The barcode standard to output. If not specified, `Escpos::BARCODE_CODE39` will be used. Note that some barcode formats only support specific lengths or sets of characters. + * @throws InvalidArgumentException Where the length or characters used in $content is invalid for the requested barcode format. + */ + function barcode($content, $type = self::BARCODE_CODE39) { + /* Validate input */ + self::validateInteger($type, 65, 73, __FUNCTION__, "Barcode type"); + $len = strlen($content); + switch($type) { + case self::BARCODE_UPCA: + self::validateInteger($len, 11, 12, __FUNCTION__, "UPCA barcode content length"); + self::validateStringRegex($content, __FUNCTION__, "/^[0-9]{11,12}$/", "UPCA barcode content"); + break; + case self::BARCODE_UPCE: + self::validateIntegerMulti($len, array(array(6, 8), array(11, 12)), __FUNCTION__, "UPCE barcode content length"); + self::validateStringRegex($content, __FUNCTION__, "/^([0-9]{6,8}|[0-9]{11,12})$/", "UPCE barcode content"); + break; + case self::BARCODE_JAN13: + self::validateInteger($len, 12, 13, __FUNCTION__, "JAN13 barcode content length"); + self::validateStringRegex($content, __FUNCTION__, "/^[0-9]{12,13}$/", "JAN13 barcode content"); + break; + case self::BARCODE_JAN8: + self::validateInteger($len, 7, 8, __FUNCTION__, "JAN8 barcode content length"); + self::validateStringRegex($content, __FUNCTION__, "/^[0-9]{7,8}$/", "JAN8 barcode content"); + break; + case self::BARCODE_CODE39: + self::validateInteger($len, 1, 255, __FUNCTION__, "CODE39 barcode content length"); // 255 is a limitation of the "function b" command, not the barcode format. + self::validateStringRegex($content, __FUNCTION__, "/^([0-9A-Z \$\%\+\-\.\/]+|\*[0-9A-Z \$\%\+\-\.\/]+\*)$/", "CODE39 barcode content"); + break; + case self::BARCODE_ITF: + self::validateInteger($len, 2, 255, __FUNCTION__, "ITF barcode content length"); // 255 is a limitation of the "function b" command, not the barcode format. + self::validateStringRegex($content, __FUNCTION__, "/^([0-9]{2})+$/", "ITF barcode content"); + break; + case self::BARCODE_CODABAR: + self::validateInteger($len, 1, 255, __FUNCTION__, "Codabar barcode content length"); // 255 is a limitation of the "function b" command, not the barcode format. + self::validateStringRegex($content, __FUNCTION__, "/^[A-Da-d][0-9\$\+\-\.\/\:]+[A-Da-d]$/", "Codabar barcode content"); + break; + case self::BARCODE_CODE93: + self::validateInteger($len, 1, 255, __FUNCTION__, "Code93 barcode content length"); // 255 is a limitation of the "function b" command, not the barcode format. + self::validateStringRegex($content, __FUNCTION__, "/^[\\x00-\\x7F]+$/", "Code93 barcode content"); + break; + case self::BARCODE_CODE128: + self::validateInteger($len, 1, 255, __FUNCTION__, "Code128 barcode content length"); // 255 is a limitation of the "function b" command, not the barcode format. + // The CODE128 encoder is quite complex, so only a very basic header-check is applied here. + self::validateStringRegex($content, __FUNCTION__, "/^\{[A-C][\\x00-\\x7F]+$/", "Code128 barcode content"); + break; + } + if(!$this -> profile -> getSupportsBarcodeB()) { + // A simpler barcode command which supports fewer codes + self::validateInteger($type, 65, 71, __FUNCTION__); + $this -> connector -> write(self::GS . "k" . chr($type - 65) . $content . self::NUL); + return; + } + // More advanced function B, used in preference + $this -> connector -> write(self::GS . "k" . chr($type) . chr(strlen($content)) . $content); + } + + /** + * Print an image, using the older "bit image" command. This creates padding on the right of the image, + * if its width is not divisible by 8. + * + * Should only be used if your printer does not support the graphics() command. + * + * @param EscposImage $img The image to print + * @param EscposImage $size Size modifier for the image. + */ + function bitImage(EscposImage $img, $size = self::IMG_DEFAULT) { + self::validateInteger($size, 0, 3, __FUNCTION__); + $header = self::dataHeader(array($img -> getWidthBytes(), $img -> getHeight()), true); + $this -> connector -> write(self::GS . "v0" . chr($size) . $header); + $this -> connector -> write($img -> toRasterFormat()); + } + + /** + * Close the underlying buffer. With some connectors, the + * job will not actually be sent to the printer until this is called. + */ + function close() { + $this -> connector -> finalize(); + } + + /** + * Cut the paper. + * + * @param int $mode Cut mode, either Escpos::CUT_FULL or Escpos::CUT_PARTIAL. If not specified, `Escpos::CUT_FULL` will be used. + * @param int $lines Number of lines to feed + */ + function cut($mode = self::CUT_FULL, $lines = 3) { + // TODO validation on cut() inputs + $this -> connector -> write(self::GS . "V" . chr($mode) . chr($lines)); + } + + /** + * Print and feed line / Print and feed n lines. + * + * @param int $lines Number of lines to feed + */ + function feed($lines = 1) { + self::validateInteger($lines, 1, 255, __FUNCTION__); + if($lines <= 1) { + $this -> connector -> write(self::LF); + } else { + $this -> connector -> write(self::ESC . "d" . chr($lines)); + } + } + + /** + * Some printers require a form feed to release the paper. On most printers, this + * command is only useful in page mode, which is not implemented in this driver. + */ + function feedForm() { + $this -> connector -> write(self::FF); + } + + /** + * Print and reverse feed n lines. + * + * @param int $lines number of lines to feed. If not specified, 1 line will be fed. + */ + function feedReverse($lines = 1) { + self::validateInteger($lines, 1, 255, __FUNCTION__); + $this -> connector -> write(self::ESC . "e" . chr($lines)); + } + + /** + * @return number + */ + function getCharacterTable() { + return $this -> characterTable; + } + + /** + * @return PrintBuffer + */ + function getPrintBuffer() { + return $this -> buffer; + } + + /** + * @return PrintConnector + */ + function getPrintConnector() { + return $this -> connector; + } + + /** + * @return AbstractCapabilityProfile + */ + function getPrinterCapabilityProfile() { + return $this -> profile; + } + + /** + * @param int $type The type of status to request + * @return stdClass Class containing requested status, or null if either no status was received, or your print connector is unable to read from the printer. + */ + function getPrinterStatus($type = self::STATUS_PRINTER) { + self::validateIntegerMulti($type, array(array(1, 4), array(6, 8)), __FUNCTION__); + // Determine which flags we are looking for + $statusFlags = array( + self::STATUS_PRINTER => array( + 4 => "pulseHigh", // connector pin 3, see pulse(). + 8 => "offline", + 32 => "waitingForOnlineRecovery", + 64 => "feedButtonPressed" + ), + self::STATUS_OFFLINE_CAUSE => array( + 4 => "coverOpen", + 8 => "paperManualFeed", + 32 => "paperEnd", + 64 => "errorOccurred" + ), + self::STATUS_ERROR_CAUSE => array( + 4 => "recoverableError", + 8 => "autocutterError", + 32 => "unrecoverableError", + 64 => "autorecoverableError" + ), + self::STATUS_PAPER_ROLL => array( + 4 => "paperNearEnd", + 32 => "paperNotPresent" + ), + self::STATUS_INK_A => array( + 4 => "inkNearEnd", + 8 => "inkEnd", + 32 => "inkNotPresent", + 64 => "cleaning" + ), + self::STATUS_INK_B => array( + 4 => "inkNearEnd", + 8 => "inkEnd", + 32 => "inkNotPresent" + ), + self::STATUS_PEELER => array( + 4 => "labelWaitingForRemoval", + 32 => "labelPaperNotDetected" + ) + ); + $flags = $statusFlags[$type]; + // Clear any previous statuses which haven't been read yet + $f = $this -> connector -> read(1); + // Make request + $reqC = chr($type); + switch($type) { + // Special cases: These are two-character requests + case self::STATUS_INK_A: + $reqC = chr(7) . chr(1); + break; + case self::STATUS_INK_B: + $reqC = chr(7) . chr(2); + break; + case self::STATUS_PEELER: + $reqC = chr(8) . chr(3); + break; + } + $this -> connector -> write(self::DLE . self::EOT . $reqC); + // Wait for single-character response + $f = $this -> connector -> read(1); + $i = 0; + while($f === false && $i < 50000) { + usleep(100); + $f = $this -> connector -> read(1); + $i++; + } + if($f === false) { + // Timeout + return null; + } + $ret = new stdClass(); + foreach($flags as $num => $name) { + $ret -> $name = (ord($f) & $num) != 0; + } + return $ret; + } + + /** + * Print an image to the printer. + * + * Size modifiers are: + * - IMG_DEFAULT (leave image at original size) + * - IMG_DOUBLE_WIDTH + * - IMG_DOUBLE_HEIGHT + * + * See the example/ folder for detailed examples. + * + * The function bitImage() takes the same parameters, and can be used if + * your printer doesn't support the newer graphics commands. + * + * @param EscposImage $img The image to print. + * @param int $size Output size modifier for the image. + */ + function graphics(EscposImage $img, $size = self::IMG_DEFAULT) { + self::validateInteger($size, 0, 3, __FUNCTION__); + $imgHeader = self::dataHeader(array($img -> getWidth(), $img -> getHeight()), true); + $tone = '0'; + $colors = '1'; + $xm = (($size & self::IMG_DOUBLE_WIDTH) == self::IMG_DOUBLE_WIDTH) ? chr(2) : chr(1); + $ym = (($size & self::IMG_DOUBLE_HEIGHT) == self::IMG_DOUBLE_HEIGHT) ? chr(2) : chr(1); + $header = $tone . $xm . $ym . $colors . $imgHeader; + $this -> wrapperSendGraphicsData('0', 'p', $header . $img -> toRasterFormat()); + $this -> wrapperSendGraphicsData('0', '2'); + } + + /** + * Initialize printer. This resets formatting back to the defaults. + */ + function initialize() { + $this -> connector -> write(self::ESC . "@"); + $this -> characterTable = 0; + } + + /** + * Generate a pulse, for opening a cash drawer if one is connected. + * The default settings should open an Epson drawer. + * + * @param int $pin 0 or 1, for pin 2 or pin 5 kick-out connector respectively. + * @param int $on_ms pulse ON time, in milliseconds. + * @param int $off_ms pulse OFF time, in milliseconds. + */ + function pulse($pin = 0, $on_ms = 120, $off_ms = 240) { + self::validateInteger($pin, 0, 1, __FUNCTION__); + self::validateInteger($on_ms, 1, 511, __FUNCTION__); + self::validateInteger($off_ms, 1, 511, __FUNCTION__); + $this -> connector -> write(self::ESC . "p" . chr($pin + 48) . chr($on_ms / 2) . chr($off_ms / 2)); + } + + /** + * Print the given data as a QR code on the printer. + * + * @param string $content The content of the code. Numeric data will be more efficiently compacted. + * @param int $ec Error-correction level to use. One of Escpos::QR_ECLEVEL_L (default), Escpos::QR_ECLEVEL_M, Escpos::QR_ECLEVEL_Q or Escpos::QR_ECLEVEL_H. Higher error correction results in a less compact code. + * @param int $size Pixel size to use. Must be 1-16 (default 3) + * @param int $model QR code model to use. Must be one of Escpos::QR_MODEL_1, Escpos::QR_MODEL_2 (default) or Escpos::QR_MICRO (not supported by all printers). + */ + function qrCode($content, $ec = self::QR_ECLEVEL_L, $size = 3, $model = self::QR_MODEL_2) { + self::validateString($content, __FUNCTION__); + self::validateInteger($ec, 0, 3, __FUNCTION__); + self::validateInteger($size, 1, 16, __FUNCTION__); + self::validateInteger($model, 1, 3, __FUNCTION__); + if($content == "") { + return; + } + if(!$this -> profile -> getSupportsQrCode()) { + // TODO use software rendering via phpqrcode instead + throw new Exception("QR codes are not supported on your printer."); + } + $cn = '1'; // Code type for QR code + // Select model: 1, 2 or micro. + $this -> wrapperSend2dCodeData(chr(65), $cn, chr(48 + $model) . chr(0)); + // Set dot size. + $this -> wrapperSend2dCodeData(chr(67), $cn, chr($size)); + // Set error correction level: L, M, Q, or H + $this -> wrapperSend2dCodeData(chr(69), $cn, chr(48 + $ec)); + // Send content & print + $this -> wrapperSend2dCodeData(chr(80), $cn, $content, '0'); + $this -> wrapperSend2dCodeData(chr(81), $cn, '', '0'); + } + + /** + * Switch character table (code page) manually. Used in conjunction with textRaw() to + * print special characters which can't be encoded automatically. + * + * @param int $table The table to select. Available code tables are model-specific. + */ + function selectCharacterTable($table = 0) { + self::validateInteger($table, 0, 255, __FUNCTION__); + $supported = $this -> profile -> getSupportedCodePages(); + if(!isset($supported[$table])) { + throw new InvalidArgumentException("There is no code table $table allowed by this printer's capability profile."); + } + $this -> characterTable = $table; + if($this -> profile -> getSupportsStarCommands()) { + /* Not an ESC/POS command: STAR printers stash all the extra code pages under a different command. */ + $this -> connector -> write(self::ESC . self::GS . "t" . chr($table)); + return; + } + $this -> connector -> write(self::ESC . "t" . chr($table)); + } + + /** + * Select print mode(s). + * + * Several MODE_* constants can be OR'd together passed to this function's `$mode` argument. The valid modes are: + * - MODE_FONT_A + * - MODE_FONT_B + * - MODE_EMPHASIZED + * - MODE_DOUBLE_HEIGHT + * - MODE_DOUBLE_WIDTH + * - MODE_UNDERLINE + * + * @param int $mode The mode to use. Default is Escpos::MODE_FONT_A, with no special formatting. This has a similar effect to running initialize(). + */ + function selectPrintMode($mode = self::MODE_FONT_A) { + $allModes = self::MODE_FONT_B | self::MODE_EMPHASIZED | self::MODE_DOUBLE_HEIGHT | self::MODE_DOUBLE_WIDTH | self::MODE_UNDERLINE; + if(!is_integer($mode) || $mode < 0 || ($mode & $allModes) != $mode) { + throw new InvalidArgumentException("Invalid mode"); + } + + $this -> connector -> write(self::ESC . "!" . chr($mode)); + } + + /** + * Set barcode height. + * + * @param int $height Height in dots. If not specified, 8 will be used. + */ + function setBarcodeHeight($height = 8) { + self::validateInteger($height, 1, 255, __FUNCTION__); + $this -> connector -> write(self::GS . "h" . chr($height)); + } + + + /** + * Set the position for the Human Readable Interpretation (HRI) of barcode characters. + * + * @param position $position. Use Escpos::BARCODE_TEXT_NONE to hide the text (default), or any combination of Escpos::BARCODE_TEXT_TOP and Escpos::BARCODE_TEXT_BOTTOM flags to display the text. + */ + function setBarcodeTextPosition($position = self::BARCODE_TEXT_NONE) { + self::validateInteger($position, 0, 3, __FUNCTION__, "Barcode text position"); + $this -> connector -> write(self::GS . "H" . chr($position)); + } + + /** + * Turn double-strike mode on/off. + * + * @param boolean $on true for double strike, false for no double strike + */ + function setDoubleStrike($on = true) { + self::validateBoolean($on, __FUNCTION__); + $this -> connector -> write(self::ESC . "G". ($on ? chr(1) : chr(0))); + } + + /** + * Turn emphasized mode on/off. + * + * @param boolean $on true for emphasis, false for no emphasis + */ + function setEmphasis($on = true) { + self::validateBoolean($on, __FUNCTION__); + $this -> connector -> write(self::ESC . "E". ($on ? chr(1) : chr(0))); + } + + /** + * Select font. Most printers have two fonts (Fonts A and B), and some have a third (Font C). + * + * @param int $font The font to use. Must be either Escpos::FONT_A, Escpos::FONT_B, or Escpos::FONT_C. + */ + function setFont($font = self::FONT_A) { + self::validateInteger($font, 0, 2, __FUNCTION__); + $this -> connector -> write(self::ESC . "M" . chr($font)); + } + + /** + * Select justification. + * + * @param int $justification One of Escpos::JUSTIFY_LEFT, Escpos::JUSTIFY_CENTER, or Escpos::JUSTIFY_RIGHT. + */ + function setJustification($justification = self::JUSTIFY_LEFT) { + self::validateInteger($justification, 0, 2, __FUNCTION__); + $this -> connector -> write(self::ESC . "a" . chr($justification)); + } + + /** + * Attach a different print buffer to the printer. Buffers are responsible for handling text output to the printer. + * + * @param PrintBuffer $buffer The buffer to use. + * @throws InvalidArgumentException Where the buffer is already attached to a different printer. + */ + function setPrintBuffer(PrintBuffer $buffer) { + if($buffer === $this -> buffer) { + return; + } + if($buffer -> getPrinter() != null) { + throw new InvalidArgumentException("This buffer is already attached to a printer."); + } + if($this -> buffer !== null) { + $this -> buffer -> setPrinter(null); + } + $this -> buffer = $buffer; + $this -> buffer -> setPrinter($this); + } + + /** + * Set black/white reverse mode on or off. In this mode, text is printed white on a black background. + * + * @param boolean $on True to enable, false to disable. + */ + function setReverseColors($on = true) { + self::validateBoolean($on, __FUNCTION__); + $this -> connector -> write(self::GS . "B" . ($on ? chr(1) : chr(0))); + } + + /** + * Set the size of text, as a multiple of the normal size. + * + * @param int $widthMultiplier Multiple of the regular height to use (range 1 - 8) + * @param int $heightMultiplier Multiple of the regular height to use (range 1 - 8) + */ + function setTextSize($widthMultiplier, $heightMultiplier) { + self::validateInteger($widthMultiplier, 1, 8, __FUNCTION__); + self::validateInteger($heightMultiplier, 1, 8, __FUNCTION__); + $c = pow(2,4) * ($widthMultiplier - 1) + ($heightMultiplier - 1); + $this -> connector -> write(self::GS . "!" . chr($c)); + } + + /** + * Set underline for printed text. + * + * Argument can be true/false, or one of UNDERLINE_NONE, + * UNDERLINE_SINGLE or UNDERLINE_DOUBLE. + * + * @param int $underline Either true/false, or one of Escpos::UNDERLINE_NONE, Escpos::UNDERLINE_SINGLE or Escpos::UNDERLINE_DOUBLE. Defaults to Escpos::UNDERLINE_SINGLE. + */ + function setUnderline($underline = self::UNDERLINE_SINGLE) { + /* Map true/false to underline constants */ + if($underline === true) { + $underline = self::UNDERLINE_SINGLE; + } else if($underline === false) { + $underline = self::UNDERLINE_NONE; + } + /* Set the underline */ + self::validateInteger($underline, 0, 2, __FUNCTION__); + $this -> connector -> write(self::ESC . "-". chr($underline)); + } + + /** + * Add text to the buffer. + * + * Text should either be followed by a line-break, or feed() should be called + * after this to clear the print buffer. + * + * @param string $str Text to print + */ + function text($str = "") { + self::validateString($str, __FUNCTION__); + $this -> buffer -> writeText((string)$str); + } + + /** + * Add text to the buffer without attempting to interpret chararacter codes. + * + * Text should either be followed by a line-break, or feed() should be called + * after this to clear the print buffer. + * + * @param string $str Text to print + */ + function textRaw($str = "") { + self::validateString($str, __FUNCTION__); + $this -> buffer -> writeTextRaw((string)$str); + } + + /** + * Wrapper for GS ( k, to calculate and send correct data length. + * + * @param string $fn Function to use + * @param string $cn Output code type. Affects available data + * @param string $data Data to send. + * @param string $m Modifier/variant for function. Often '0' where used. + * @throws InvalidArgumentException Where the input lengths are bad. + */ + private function wrapperSend2dCodeData($fn, $cn, $data = '', $m = '') { + if(strlen($m) > 1 || strlen($cn) != 1 || strlen($fn) != 1) { + throw new InvalidArgumentException("wrapperSend2dCodeData: cn and fn must be one character each."); + } + $header = $this -> intLowHigh(strlen($data) + strlen($m) + 2, 2); + $this -> connector -> write(self::GS . "(k" . $header . $cn . $fn . $m . $data); + } + + /** + * Wrapper for GS ( L, to calculate and send correct data length. + * + * @param string $m Modifier/variant for function. Usually '0'. + * @param string $fn Function number to use, as character. + * @param string $data Data to send. + * @throws InvalidArgumentException Where the input lengths are bad. + */ + private function wrapperSendGraphicsData($m, $fn, $data = '') { + if(strlen($m) != 1 || strlen($fn) != 1) { + throw new InvalidArgumentException("wrapperSendGraphicsData: m and fn must be one character each."); + } + $header = $this -> intLowHigh(strlen($data) + 2, 2); + $this -> connector -> write(self::GS . "(L" . $header . $m . $fn . $data); + } + + /** + * Convert widths and heights to characters. Used before sending graphics to set the size. + * + * @param array $inputs + * @param boolean $long True to use 4 bytes, false to use 2 + * @return string + */ + private static function dataHeader(array $inputs, $long = true) { + $outp = array(); + foreach($inputs as $input) { + if($long) { + $outp[] = Escpos::intLowHigh($input, 2); + } else { + self::validateInteger($input, 0 , 255, __FUNCTION__); + $outp[] = chr($input); + } + } + return implode("", $outp); + } + + /** + * Generate two characters for a number: In lower and higher parts, or more parts as needed. + * @param int $int Input number + * @param int $length The number of bytes to output (1 - 4). + */ + private static function intLowHigh($input, $length) { + $maxInput = (256 << ($length * 8) - 1); + self::validateInteger($length, 1, 4, __FUNCTION__); + self::validateInteger($input, 0, $maxInput, __FUNCTION__); + $outp = ""; + for($i = 0; $i < $length; $i++) { + $outp .= chr($input % 256); + $input = (int)($input / 256); + } + return $outp; + } + + /** + * Throw an exception if the argument given is not a boolean + * + * @param boolean $test the input to test + * @param string $source the name of the function calling this + */ + protected static function validateBoolean($test, $source) { + if(!($test === true || $test === false)) { + throw new InvalidArgumentException("Argument to $source must be a boolean"); + } + } + + /** + * Throw an exception if the argument given is not an integer within the specified range + * + * @param int $test the input to test + * @param int $min the minimum allowable value (inclusive) + * @param int $max the maximum allowable value (inclusive) + * @param string $source the name of the function calling this + * @param string $argument the name of the invalid parameter + */ + protected static function validateInteger($test, $min, $max, $source, $argument = "Argument") { + self::validateIntegerMulti($test, array(array($min, $max)), $source, $argument); + } + + /** + * Throw an exception if the argument given is not an integer within one of the specified ranges + * + * @param int $test the input to test + * @param arrray $ranges array of two-item min/max ranges. + * @param string $source the name of the function calling this + * @param string $source the name of the function calling this + * @param string $argument the name of the invalid parameter + */ + protected static function validateIntegerMulti($test, array $ranges, $source, $argument = "Argument") { + if(!is_integer($test)) { + throw new InvalidArgumentException("$argument given to $source must be a number, but '$test' was given."); + } + $match = false; + foreach($ranges as $range) { + $match |= $test >= $range[0] && $test <= $range[1]; + } + if(!$match) { + // Put together a good error "range 1-2 or 4-6" + $rangeStr = "range "; + for($i = 0; $i < count($ranges); $i++) { + $rangeStr .= $ranges[$i][0] . "-" . $ranges[$i][1]; + if($i == count($ranges) - 1) { + continue; + } else if($i == count($ranges) - 2) { + $rangeStr .= " or "; + } else { + $rangeStr .= ", "; + } + } + throw new InvalidArgumentException("$argument given to $source must be in $rangeStr, but $test was given."); + } + } + + /** + * Throw an exception if the argument given can't be cast to a string + * + * @param string $test the input to test + * @param string $source the name of the function calling this + * @param string $argument the name of the invalid parameter + */ + protected static function validateString($test, $source, $argument = "Argument") { + if (is_object($test) && !method_exists($test, '__toString')) { + throw new InvalidArgumentException("$argument to $source must be a string"); + } + } + + protected static function validateStringRegex($test, $source, $regex, $argument = "Argument") { + if(preg_match($regex, $test) === 0) { + throw new InvalidArgumentException("$argument given to $source is invalid. It should match regex '$regex', but '$test' was given."); + } + } +} diff --git a/htdocs/includes/mike42/escpos-php/LICENSE.md b/htdocs/includes/mike42/escpos-php/LICENSE.md new file mode 100644 index 00000000000..a0bebf6920b --- /dev/null +++ b/htdocs/includes/mike42/escpos-php/LICENSE.md @@ -0,0 +1,27 @@ +escpos-php, a Thermal receipt printer library, for use with +ESC/POS compatible printers. + +Copyright (c) 2014-15 Michael Billington , +incorporating modifications by: +- Roni Saha +- Gergely Radics +- Warren Doyle + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/htdocs/includes/mike42/escpos-php/README.md b/htdocs/includes/mike42/escpos-php/README.md new file mode 100644 index 00000000000..43798bb0852 --- /dev/null +++ b/htdocs/includes/mike42/escpos-php/README.md @@ -0,0 +1,352 @@ +ESC/POS Print Driver for PHP +============================ +This project implements a subset of Epson's ESC/POS protocol for thermal receipt printers. It allows you to generate and print receipts with basic formatting, cutting, and barcodes on a compatible printer. + +The library was developed to add drop-in support for receipt printing to any PHP app, including web-based point-of-sale (POS) applications. + +Basic usage +----------- +A "hello world" receipt can be generated easily (Call this `hello-world.php`): +```php + text("Hello World!\n"); +$printer -> cut(); +$printer -> close(); +``` +This would be printed as: +``` +# Networked printer +php hello-world.php | nc 10.x.x.x. 9100 +# Local printer +php hello-world.php > /dev/... +# Windows local printer +php hello-world.php > foo.txt +net use LPT1 \\server\printer +copy foo.txt LPT1 +del foo.txt +``` + +From your web app, you could pass the output directly to a socket if your printer is networked: +```php + text("Hello World!\n"); +$printer -> cut(); +$printer -> close(); +``` + +Or to a local printer: +```php + text("Hello World!\n"); +$printer -> cut(); +$printer -> close(); +``` + +### Basic workflow +The library should be initialised with a PrintConnector, which will pass on the data to your printer. +Use the table under "Compatibility", or the examples below to choose the appropriate connector for your +platform & interface. If no connector is specified, then standard output is used. + +When you have finished using the print object, call `close()` to finalize any data transfers. + +### Tips & examples +On Linux, your printer device file will be somewhere like `/dev/lp0` (parallel), `/dev/usb/lp1` (USB), `/dev/ttyUSB0` (USB-Serial), `/dev/ttyS0` (serial). + +On Windows, the device files will be along the lines of `LPT1` (parallel) or `COM1` (serial). Use the `WindowsPrintConnector` to tap into system printing on Windows (eg. [Windows USB](https://github.com/mike42/escpos-php/tree/master/example/interface/windows-usb.php), [SMB](https://github.com/mike42/escpos-php/tree/master/example/interface/smb.php) or [Windows LPT](https://github.com/mike42/escpos-php/tree/master/example/interface/windows-lpt.php)) - this submits print jobs via a queue rather than communicating directly with the printer. + +A complete real-world receipt can be found in the code of [Auth](https://github.com/mike42/Auth) in [ReceiptPrinter.php](https://github.com/mike42/Auth/blob/master/lib/misc/ReceiptPrinter.php). It includes justification, boldness, and a barcode. + +Other examples are located in the [example/](https://github.com/mike42/escpos-php/blob/master/example/) directory. + +Compatibility +------------- + +### Interfaces and operating systems +This driver is known to work with the following OS/interface combinations: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 LinuxMacWindows
EthernetYesYesYes
USBYesNot testedYes
USB-serialYesYesYes
SerialYesYesYes
ParallelYesNot testedYes
SMB sharedYesNoYes
+ +### Printers +Many thermal receipt printers support ESC/POS to some degree. This driver has been known to work with: + +- EPOS TEP 220M +- Epson TM-T88III +- Epson TM-T88IV +- Epson TM-T70 +- Epson TM-T82II +- Epson TM-T20 +- Epson TM-T70II +- Epson TM-U220 +- Epson FX-890 (requires `feedForm()` to release paper). +- Okipos 80 Plus III +- P-822D +- SEYPOS PRP-300 (Also marketed as TYSSO PRP-300) +- Star TSP-650 +- Star TUP-592 +- Xprinter XP-Q800 +- Zijang NT-58H +- Zijang ZJ-5870 +- Zijang ZJ-5890T (Marketed as POS 5890T) + +If you use any other printer with this code, please let me know so I can add it to the list. + +Available methods +----------------- + +### __construct(PrintConnector $connector, AbstractCapabilityProfile $profile) +Construct new print object. + +Parameters: +- `PrintConnector $connector`: The PrintConnector to send data to. If not set, output is sent to standard output. +- `AbstractCapabilityProfile $profile` Supported features of this printer. If not set, the DefaultCapabilityProfile will be used, which is suitable for Epson printers. + +See [example/interface/]("https://github.com/mike42/escpos-php/tree/master/example/interface/) for ways to open connections for different platforms and interfaces. + +### barcode($content, $type) +Print a barcode. + +Parameters: + +- `string $content`: The information to encode. +- `int $type`: The barcode standard to output. If not specified, `Escpos::BARCODE_CODE39` will be used. + +Currently supported barcode standards are (depending on your printer): + +- `BARCODE_UPCA` +- `BARCODE_UPCE` +- `BARCODE_JAN13` +- `BARCODE_JAN8` +- `BARCODE_CODE39` +- `BARCODE_ITF` +- `BARCODE_CODABAR` + +Note that some barcode standards can only encode numbers, so attempting to print non-numeric codes with them may result in strange behaviour. + +### bitImage(EscposImage $image, $size) +See [graphics()](#graphicsescposimage-image-size) below. + +### cut($mode, $lines) +Cut the paper. + +Parameters: + +- `int $mode`: Cut mode, either `Escpos::CUT_FULL` or `Escpos::CUT_PARTIAL`. If not specified, `Escpos::CUT_FULL` will be used. +- `int $lines`: Number of lines to feed before cutting. If not specified, 3 will be used. + +### feed($lines) +Print and feed line / Print and feed n lines. + +Parameters: + +- `int $lines`: Number of lines to feed + +### feedForm() +Some printers require a form feed to release the paper. On most printers, this command is only useful in page mode, which is not implemented in this driver. + +### feedReverse($lines) +Print and reverse feed n lines. + +Parameters: + +- `int $lines`: number of lines to feed. If not specified, 1 line will be fed. + +### graphics(EscposImage $image, $size) +Print an image to the printer. + +Parameters: + +- `EscposImage $img`: The image to print. +- `int $size`: Output size modifier for the image. + +Size modifiers are: + +- `IMG_DEFAULT` (leave image at original size) +- `IMG_DOUBLE_WIDTH` +- `IMG_DOUBLE_HEIGHT` + +A minimal example: + +```php + graphics($img); +``` + +See the [example/](https://github.com/mike42/escpos-php/blob/master/example/) folder for detailed examples. + +The function [bitImage()](#bitimageescposimage-image-size) takes the same parameters, and can be used if your printer doesn't support the newer graphics commands. + +### initialize() +Initialize printer. This resets formatting back to the defaults. + +### pulse($pin, $on_ms, $off_ms) +Generate a pulse, for opening a cash drawer if one is connected. The default settings (0, 120, 240) should open an Epson drawer. + +Parameters: + +- `int $pin`: 0 or 1, for pin 2 or pin 5 kick-out connector respectively. +- `int $on_ms`: pulse ON time, in milliseconds. +- `int $off_ms`: pulse OFF time, in milliseconds. + +### qrCode($content, $ec, $size, $model) +Print the given data as a QR code on the printer. + +- `string $content`: The content of the code. Numeric data will be more efficiently compacted. +- `int $ec` Error-correction level to use. One of `Escpos::QR_ECLEVEL_L` (default), `Escpos::QR_ECLEVEL_M`, `Escpos::QR_ECLEVEL_Q` or `Escpos::QR_ECLEVEL_H`. Higher error correction results in a less compact code. +- `int $size`: Pixel size to use. Must be 1-16 (default 3) +- `int $model`: QR code model to use. Must be one of `Escpos::QR_MODEL_1`, `Escpos::QR_MODEL_2` (default) or `Escpos::QR_MICRO` (not supported by all printers). + +### selectPrintMode($mode) +Select print mode(s). + +Parameters: + +- `int $mode`: The mode to use. Default is `Escpos::MODE_FONT_A`, with no special formatting. This has a similar effect to running `initialize()`. + +Several MODE_* constants can be OR'd together passed to this function's `$mode` argument. The valid modes are: + +- `MODE_FONT_A` +- `MODE_FONT_B` +- `MODE_EMPHASIZED` +- `MODE_DOUBLE_HEIGHT` +- `MODE_DOUBLE_WIDTH` +- `MODE_UNDERLINE` + +### setBarcodeHeight($height) +Set barcode height. + +Parameters: + +- `int $height`: Height in dots. If not specified, 8 will be used. + +### setDoubleStrike($on) +Turn double-strike mode on/off. + +Parameters: + +- `boolean $on`: true for double strike, false for no double strike. + +### setEmphasis($on) +Turn emphasized mode on/off. + +Parameters: + +- `boolean $on`: true for emphasis, false for no emphasis. + +### setFont($font) +Select font. Most printers have two fonts (Fonts A and B), and some have a third (Font C). + +Parameters: + +- `int $font`: The font to use. Must be either `Escpos::FONT_A`, `Escpos::FONT_B`, or `Escpos::FONT_C`. + +### setJustification($justification) +Select justification. + +Parameters: + +- `int $justification`: One of `Escpos::JUSTIFY_LEFT`, `Escpos::JUSTIFY_CENTER`, or `Escpos::JUSTIFY_RIGHT`. + +### setReverseColors($on) +Set black/white reverse mode on or off. In this mode, text is printed white on a black background. + +Parameters: + +- `boolean $on`: True to enable, false to disable. + +### setTextSize($widthMultiplier, $heightMultiplier) +Set the size of text, as a multiple of the normal size. + +Parameters: + +- `int $widthMultiplier`: Multiple of the regular height to use (range 1 - 8). +- `int $heightMultiplier`: Multiple of the regular height to use (range 1 - 8). + +### setUnderline($underline) +Set underline for printed text. + +Parameters: + +- `int $underline`: Either `true`/`false`, or one of `Escpos::UNDERLINE_NONE`, `Escpos::UNDERLINE_SINGLE` or `Escpos::UNDERLINE_DOUBLE`. Defaults to `Escpos::UNDERLINE_SINGLE`. + +### text($str) +Add text to the buffer. Text should either be followed by a line-break, or `feed()` should be called after this. + +Parameters: + +- `string $str`: The string to print. + +Further notes +------------- +Posts I've written up for people who are learning how to use receipt printers: + +* [What is ESC/POS, and how do I use it?](http://mike.bitrevision.com/blog/what-is-escpos-and-how-do-i-use-it), which documents the output of test.php. +* [Setting up an Epson receipt printer](http://mike.bitrevision.com/blog/2014-20-26-setting-up-an-epson-receipt-printer) +* [Getting a USB receipt printer working on Linux](http://mike.bitrevision.com/blog/2015-03-getting-a-usb-receipt-printer-working-on-linux) + +Other versions +-------------- +Some forks of this project have been developed by others for specific use cases. Improvements from the following projects have been incorporated into escpos-php: + +- [wdoyle/EpsonESCPOS-PHP](https://github.com/wdoyle/EpsonESCPOS-PHP) +- [ronisaha/php-esc-pos](https://github.com/ronisaha/php-esc-pos) + +Vendor documentation +-------------------- +Epson notes that not all of its printers support all ESC/POS features, and includes a table in their documentation: + +* [FAQ about ESC/POS from Epson](http://content.epson.de/fileadmin/content/files/RSD/downloads/escpos.pdf) + +Note that many printers produced by other vendors use the same standard, and are compatible by varying degrees. + diff --git a/htdocs/includes/mike42/escpos-php/composer.json b/htdocs/includes/mike42/escpos-php/composer.json new file mode 100644 index 00000000000..8ec2e6b215f --- /dev/null +++ b/htdocs/includes/mike42/escpos-php/composer.json @@ -0,0 +1,36 @@ +{ + "name": "mike42/escpos-php", + "type": "library", + "description": "Thermal receipt printer library, for use with ESC/POS compatible printers", + "homepage": "https://github.com/mike42/escpos-php", + "keywords": ["receipt", "print", "escpos", "ESC-POS", "driver"], + "license": "MIT", + "authors": [ + { + "name": "Michael Billington", + "email": "michael.billington@gmail.com" + }, + { + "name": "Roni Saha", + "email": "roni.cse@gmail.com" + }, + { + "name": "Gergely Radics", + "email": "gerifield@ustream.tv" + }, + { + "name": "Warren Doyle", + "email": "w.doyle@fuelled.co" + }, + { + "name": "vharo", + "email": "vharo@geepok.com" + } + ], + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "4.5.*" + } +} diff --git a/htdocs/includes/mike42/escpos-php/composer.lock b/htdocs/includes/mike42/escpos-php/composer.lock new file mode 100644 index 00000000000..ab6911c281d --- /dev/null +++ b/htdocs/includes/mike42/escpos-php/composer.lock @@ -0,0 +1,975 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "This file is @generated automatically" + ], + "hash": "fd25f2b816df83dabf03fe7259ad4018", + "packages": [], + "packages-dev": [ + { + "name": "doctrine/instantiator", + "version": "1.0.4", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "f976e5de371104877ebc89bd8fecb0019ed9c119" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f976e5de371104877ebc89bd8fecb0019ed9c119", + "reference": "f976e5de371104877ebc89bd8fecb0019ed9c119", + "shasum": "" + }, + "require": { + "php": ">=5.3,<8.0-DEV" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "ext-pdo": "*", + "ext-phar": "*", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "2.0.*@ALPHA" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-0": { + "Doctrine\\Instantiator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.com/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://github.com/doctrine/instantiator", + "keywords": [ + "constructor", + "instantiate" + ], + "time": "2014-10-13 12:58:55" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/d68dbdc53dc358a816f00b300704702b2eaff7b8", + "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "suggest": { + "dflydev/markdown": "~1.0", + "erusev/parsedown": "~1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-0": { + "phpDocumentor": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "mike.vanriel@naenius.com" + } + ], + "time": "2015-02-03 12:10:50" + }, + { + "name": "phpspec/prophecy", + "version": "1.4.0", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "8724cd239f8ef4c046f55a3b18b4d91cc7f3e4c5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/8724cd239f8ef4c046f55a3b18b4d91cc7f3e4c5", + "reference": "8724cd239f8ef4c046f55a3b18b4d91cc7f3e4c5", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "phpdocumentor/reflection-docblock": "~2.0", + "sebastian/comparator": "~1.1" + }, + "require-dev": { + "phpspec/phpspec": "~2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "autoload": { + "psr-0": { + "Prophecy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "time": "2015-03-27 19:31:25" + }, + { + "name": "phpunit/php-code-coverage", + "version": "2.0.15", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "34cc484af1ca149188d0d9e91412191e398e0b67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/34cc484af1ca149188d0d9e91412191e398e0b67", + "reference": "34cc484af1ca149188d0d9e91412191e398e0b67", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "phpunit/php-file-iterator": "~1.3", + "phpunit/php-text-template": "~1.2", + "phpunit/php-token-stream": "~1.3", + "sebastian/environment": "~1.0", + "sebastian/version": "~1.0" + }, + "require-dev": { + "ext-xdebug": ">=2.1.4", + "phpunit/phpunit": "~4" + }, + "suggest": { + "ext-dom": "*", + "ext-xdebug": ">=2.2.1", + "ext-xmlwriter": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "time": "2015-01-24 10:06:35" + }, + { + "name": "phpunit/php-file-iterator", + "version": "1.3.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb", + "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "autoload": { + "classmap": [ + "File/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "time": "2013-10-10 15:34:57" + }, + { + "name": "phpunit/php-text-template", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/206dfefc0ffe9cebf65c413e3d0e809c82fbf00a", + "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "autoload": { + "classmap": [ + "Text/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "time": "2014-01-30 17:20:04" + }, + { + "name": "phpunit/php-timer", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/19689d4354b295ee3d8c54b4f42c3efb69cbc17c", + "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "autoload": { + "classmap": [ + "PHP/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "time": "2013-08-02 07:42:54" + }, + { + "name": "phpunit/php-token-stream", + "version": "1.4.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-token-stream.git", + "reference": "db32c18eba00b121c145575fcbcd4d4d24e6db74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/db32c18eba00b121c145575fcbcd4d4d24e6db74", + "reference": "db32c18eba00b121c145575fcbcd4d4d24e6db74", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Wrapper around PHP's tokenizer extension.", + "homepage": "https://github.com/sebastianbergmann/php-token-stream/", + "keywords": [ + "tokenizer" + ], + "time": "2015-01-17 09:51:32" + }, + { + "name": "phpunit/phpunit", + "version": "4.5.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "d6429b0995b24a2d9dfe5587ee3a7071c1161af4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d6429b0995b24a2d9dfe5587ee3a7071c1161af4", + "reference": "d6429b0995b24a2d9dfe5587ee3a7071c1161af4", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-pcre": "*", + "ext-reflection": "*", + "ext-spl": "*", + "php": ">=5.3.3", + "phpspec/prophecy": "~1.3,>=1.3.1", + "phpunit/php-code-coverage": "~2.0,>=2.0.11", + "phpunit/php-file-iterator": "~1.3.2", + "phpunit/php-text-template": "~1.2", + "phpunit/php-timer": "~1.0.2", + "phpunit/phpunit-mock-objects": "~2.3", + "sebastian/comparator": "~1.1", + "sebastian/diff": "~1.1", + "sebastian/environment": "~1.2", + "sebastian/exporter": "~1.2", + "sebastian/global-state": "~1.0", + "sebastian/version": "~1.0", + "symfony/yaml": "~2.0" + }, + "suggest": { + "phpunit/php-invoker": "~1.1" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.5.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "time": "2015-03-29 09:24:05" + }, + { + "name": "phpunit/phpunit-mock-objects", + "version": "2.3.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", + "reference": "74ffb87f527f24616f72460e54b595f508dccb5c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/74ffb87f527f24616f72460e54b595f508dccb5c", + "reference": "74ffb87f527f24616f72460e54b595f508dccb5c", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "~1.0,>=1.0.2", + "php": ">=5.3.3", + "phpunit/php-text-template": "~1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "suggest": { + "ext-soap": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Mock Object library for PHPUnit", + "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", + "keywords": [ + "mock", + "xunit" + ], + "time": "2015-04-02 05:36:41" + }, + { + "name": "sebastian/comparator", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "1dd8869519a225f7f2b9eb663e225298fade819e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1dd8869519a225f7f2b9eb663e225298fade819e", + "reference": "1dd8869519a225f7f2b9eb663e225298fade819e", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/diff": "~1.2", + "sebastian/exporter": "~1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "http://www.github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "time": "2015-01-29 16:28:08" + }, + { + "name": "sebastian/diff", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "863df9687835c62aa423a22412d26fa2ebde3fd3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/863df9687835c62aa423a22412d26fa2ebde3fd3", + "reference": "863df9687835c62aa423a22412d26fa2ebde3fd3", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Diff implementation", + "homepage": "http://www.github.com/sebastianbergmann/diff", + "keywords": [ + "diff" + ], + "time": "2015-02-22 15:13:53" + }, + { + "name": "sebastian/environment", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "5a8c7d31914337b69923db26c4221b81ff5a196e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5a8c7d31914337b69923db26c4221b81ff5a196e", + "reference": "5a8c7d31914337b69923db26c4221b81ff5a196e", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "time": "2015-01-01 10:01:08" + }, + { + "name": "sebastian/exporter", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "84839970d05254c73cde183a721c7af13aede943" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/84839970d05254c73cde183a721c7af13aede943", + "reference": "84839970d05254c73cde183a721c7af13aede943", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/recursion-context": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "http://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "time": "2015-01-27 07:23:06" + }, + { + "name": "sebastian/global-state", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "c7428acdb62ece0a45e6306f1ae85e1c05b09c01" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/c7428acdb62ece0a45e6306f1ae85e1c05b09c01", + "reference": "c7428acdb62ece0a45e6306f1ae85e1c05b09c01", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "time": "2014-10-06 09:23:50" + }, + { + "name": "sebastian/recursion-context", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "3989662bbb30a29d20d9faa04a846af79b276252" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/3989662bbb30a29d20d9faa04a846af79b276252", + "reference": "3989662bbb30a29d20d9faa04a846af79b276252", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "time": "2015-01-24 09:48:32" + }, + { + "name": "sebastian/version", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "ab931d46cd0d3204a91e1b9a40c4bc13032b58e4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/ab931d46cd0d3204a91e1b9a40c4bc13032b58e4", + "reference": "ab931d46cd0d3204a91e1b9a40c4bc13032b58e4", + "shasum": "" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "time": "2015-02-24 06:35:25" + }, + { + "name": "symfony/yaml", + "version": "v2.6.6", + "target-dir": "Symfony/Component/Yaml", + "source": { + "type": "git", + "url": "https://github.com/symfony/Yaml.git", + "reference": "174f009ed36379a801109955fc5a71a49fe62dd4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/Yaml/zipball/174f009ed36379a801109955fc5a71a49fe62dd4", + "reference": "174f009ed36379a801109955fc5a71a49fe62dd4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "symfony/phpunit-bridge": "~2.7" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.6-dev" + } + }, + "autoload": { + "psr-0": { + "Symfony\\Component\\Yaml\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Symfony Yaml Component", + "homepage": "http://symfony.com", + "time": "2015-03-30 15:54:10" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": ">=5.3.0" + }, + "platform-dev": [] +} diff --git a/htdocs/includes/mike42/escpos-php/doc/Makefile b/htdocs/includes/mike42/escpos-php/doc/Makefile new file mode 100644 index 00000000000..fed323f0cff --- /dev/null +++ b/htdocs/includes/mike42/escpos-php/doc/Makefile @@ -0,0 +1,9 @@ +html: ../Escpos.php escpos.conf + doxygen escpos.conf + +latex: html + # Do nothing + +clean: + rm --preserve-root -Rf html latex doxygen_sqlite3.db + diff --git a/htdocs/includes/mike42/escpos-php/doc/escpos.conf b/htdocs/includes/mike42/escpos-php/doc/escpos.conf new file mode 100644 index 00000000000..01c76dc422a --- /dev/null +++ b/htdocs/includes/mike42/escpos-php/doc/escpos.conf @@ -0,0 +1,2352 @@ +# Doxyfile 1.8.8 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a double hash (##) is considered a comment and is placed in +# front of the TAG it is preceding. +# +# All text after a single hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists, items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (\" \"). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all text +# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv +# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv +# for the list of possible encodings. +# The default value is: UTF-8. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by +# double-quotes, unless you are using Doxywizard) that should identify the +# project for which the documentation is generated. This name is used in the +# title of most generated pages and in a few other places. +# The default value is: My Project. + +PROJECT_NAME = "escpos-php" + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. This +# could be handy for archiving the generated documentation or if some version +# control system is used. + +PROJECT_NUMBER = + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer a +# quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = + +# With the PROJECT_LOGO tag one can specify an logo or icon that is included in +# the documentation. The maximum height of the logo should not exceed 55 pixels +# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo +# to the output directory. + +PROJECT_LOGO = ../example/images/escpos-php-small.png + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path +# into which the generated documentation will be written. If a relative path is +# entered, it will be relative to the location where doxygen was started. If +# left blank the current directory will be used. + +OUTPUT_DIRECTORY = + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub- +# directories (in 2 levels) under the output directory of each output format and +# will distribute the generated files over these directories. Enabling this +# option can be useful when feeding doxygen a huge amount of source files, where +# putting all generated files in the same directory would otherwise causes +# performance problems for the file system. +# The default value is: NO. + +CREATE_SUBDIRS = NO + +# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII +# characters to appear in the names of generated files. If set to NO, non-ASCII +# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode +# U+3044. +# The default value is: NO. + +ALLOW_UNICODE_NAMES = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, +# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), +# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, +# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), +# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, +# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, +# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, +# Ukrainian and Vietnamese. +# The default value is: English. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member +# descriptions after the members that are listed in the file and class +# documentation (similar to Javadoc). Set to NO to disable this. +# The default value is: YES. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief +# description of a member or function before the detailed description +# +# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. +# The default value is: YES. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator that is +# used to form the text in various listings. Each string in this list, if found +# as the leading text of the brief description, will be stripped from the text +# and the result, after processing the whole list, is used as the annotated +# text. Otherwise, the brief description is used as-is. If left blank, the +# following values are used ($name is automatically replaced with the name of +# the entity):The $name class, The $name widget, The $name file, is, provides, +# specifies, contains, represents, a, an and the. + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# doxygen will generate a detailed section even if there is only a brief +# description. +# The default value is: NO. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. +# The default value is: NO. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path +# before files name in the file list and in the header files. If set to NO the +# shortest path that makes the file name unique will be used +# The default value is: YES. + +FULL_PATH_NAMES = YES + +# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. +# Stripping is only done if one of the specified strings matches the left-hand +# part of the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the path to +# strip. +# +# Note that you can specify absolute paths here, but also relative paths, which +# will be relative from the directory where doxygen is started. +# This tag requires that the tag FULL_PATH_NAMES is set to YES. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the +# path mentioned in the documentation of a class, which tells the reader which +# header file to include in order to use a class. If left blank only the name of +# the header file containing the class definition is used. Otherwise one should +# specify the list of include paths that are normally passed to the compiler +# using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but +# less readable) file names. This can be useful is your file systems doesn't +# support long names like on DOS, Mac, or CD-ROM. +# The default value is: NO. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the +# first line (until the first dot) of a Javadoc-style comment as the brief +# description. If set to NO, the Javadoc-style will behave just like regular Qt- +# style comments (thus requiring an explicit @brief command for a brief +# description.) +# The default value is: NO. + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first +# line (until the first dot) of a Qt-style comment as the brief description. If +# set to NO, the Qt-style will behave just like regular Qt-style comments (thus +# requiring an explicit \brief command for a brief description.) +# The default value is: NO. + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a +# multi-line C++ special comment block (i.e. a block of //! or /// comments) as +# a brief description. This used to be the default behavior. The new default is +# to treat a multi-line C++ comment block as a detailed description. Set this +# tag to YES if you prefer the old behavior instead. +# +# Note that setting this tag to YES also means that rational rose comments are +# not recognized any more. +# The default value is: NO. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the +# documentation from any documented member that it re-implements. +# The default value is: YES. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a +# new page for each member. If set to NO, the documentation of a member will be +# part of the file/class/namespace that contains it. +# The default value is: NO. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen +# uses this value to replace tabs by spaces in code fragments. +# Minimum value: 1, maximum value: 16, default value: 4. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that act as commands in +# the documentation. An alias has the form: +# name=value +# For example adding +# "sideeffect=@par Side Effects:\n" +# will allow you to put the command \sideeffect (or @sideeffect) in the +# documentation, which will result in a user-defined paragraph with heading +# "Side Effects:". You can put \n's in the value part of an alias to insert +# newlines. + +ALIASES = + +# This tag can be used to specify a number of word-keyword mappings (TCL only). +# A mapping has the form "name=value". For example adding "class=itcl::class" +# will allow you to use the command class in the itcl::class meaning. + +TCL_SUBST = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. For +# instance, some of the names that are used will be different. The list of all +# members will be omitted, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or +# Python sources only. Doxygen will then generate output that is more tailored +# for that language. For instance, namespaces will be presented as packages, +# qualified scopes will look different, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources. Doxygen will then generate output that is tailored for Fortran. +# The default value is: NO. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for VHDL. +# The default value is: NO. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, and +# language is one of the parsers supported by doxygen: IDL, Java, Javascript, +# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: +# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: +# Fortran. In the later case the parser tries to guess whether the code is fixed +# or free formatted code, this is the default for Fortran type files), VHDL. For +# instance to make doxygen treat .inc files as Fortran files (default is PHP), +# and .f files as C (default is Fortran), use: inc=Fortran f=C. +# +# Note For files without extension you can use no_extension as a placeholder. +# +# Note that for custom extensions you also need to set FILE_PATTERNS otherwise +# the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments +# according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you can +# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in +# case of backward compatibilities issues. +# The default value is: YES. + +MARKDOWN_SUPPORT = YES + +# When enabled doxygen tries to link words that correspond to documented +# classes, or namespaces to their corresponding documentation. Such a link can +# be prevented in individual cases by by putting a % sign in front of the word +# or globally by setting AUTOLINK_SUPPORT to NO. +# The default value is: YES. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should set this +# tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); +# versus func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. +# The default value is: NO. + +BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. +# The default value is: NO. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: +# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen +# will parse them like normal C++ but will assume all classes use public instead +# of private inheritance when no explicit protection keyword is present. +# The default value is: NO. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES will make +# doxygen to replace the get and set methods by a property in the documentation. +# This will only work if the methods are indeed getting or setting a simple +# type. If this is not the case, or you want to show the methods anyway, you +# should set this option to NO. +# The default value is: YES. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. +# The default value is: NO. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES to allow class member groups of the same type +# (for instance a group of public functions) to be put as a subgroup of that +# type (e.g. under the Public Functions section). Set it to NO to prevent +# subgrouping. Alternatively, this can be done per class using the +# \nosubgrouping command. +# The default value is: YES. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions +# are shown inside the group in which they are included (e.g. using \ingroup) +# instead of on a separate page (for HTML and Man pages) or section (for LaTeX +# and RTF). +# +# Note that this feature does not work in combination with +# SEPARATE_MEMBER_PAGES. +# The default value is: NO. + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions +# with only public data fields or simple typedef fields will be shown inline in +# the documentation of the scope in which they are defined (i.e. file, +# namespace, or group documentation), provided this scope is documented. If set +# to NO, structs, classes, and unions are shown on a separate page (for HTML and +# Man pages) or section (for LaTeX and RTF). +# The default value is: NO. + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or +# enum is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically be +# useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. +# The default value is: NO. + +TYPEDEF_HIDES_STRUCT = NO + +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can be +# an expensive process and often the same symbol appears multiple times in the +# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small +# doxygen will become slower. If the cache is too large, memory is wasted. The +# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range +# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 +# symbols. At the end of a run doxygen will report the cache usage and suggest +# the optimal cache size from a speed point of view. +# Minimum value: 0, maximum value: 9, default value: 0. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. Private +# class members and static file members will be hidden unless the +# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. +# Note: This will also disable the warnings about undocumented members that are +# normally produced when WARNINGS is set to YES. +# The default value is: NO. + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will +# be included in the documentation. +# The default value is: NO. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal +# scope will be included in the documentation. +# The default value is: NO. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file will be +# included in the documentation. +# The default value is: NO. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined +# locally in source files will be included in the documentation. If set to NO +# only classes defined in header files are included. Does not have any effect +# for Java sources. +# The default value is: YES. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local methods, +# which are defined in the implementation section but not in the interface are +# included in the documentation. If set to NO only methods in the interface are +# included. +# The default value is: NO. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base name of +# the file that contains the anonymous namespace. By default anonymous namespace +# are hidden. +# The default value is: NO. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all +# undocumented members inside documented classes or files. If set to NO these +# members will be included in the various overviews, but no documentation +# section is generated. This option has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. If set +# to NO these classes will be included in the various overviews. This option has +# no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend +# (class|struct|union) declarations. If set to NO these declarations will be +# included in the documentation. +# The default value is: NO. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any +# documentation blocks found inside the body of a function. If set to NO these +# blocks will be appended to the function's detailed documentation block. +# The default value is: NO. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation that is typed after a +# \internal command is included. If the tag is set to NO then the documentation +# will be excluded. Set it to YES to include the internal documentation. +# The default value is: NO. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file +# names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. +# The default value is: system dependent. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with +# their full class and namespace scopes in the documentation. If set to YES the +# scope will be hidden. +# The default value is: NO. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of +# the files that are included by a file in the documentation of that file. +# The default value is: YES. + +SHOW_INCLUDE_FILES = YES + +# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each +# grouped member an include statement to the documentation, telling the reader +# which file to include in order to use the member. +# The default value is: NO. + +SHOW_GROUPED_MEMB_INC = NO + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include +# files with double quotes in the documentation rather than with sharp brackets. +# The default value is: NO. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the +# documentation for inline members. +# The default value is: YES. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the +# (detailed) documentation of file and class members alphabetically by member +# name. If set to NO the members will appear in declaration order. +# The default value is: YES. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief +# descriptions of file, namespace and class members alphabetically by member +# name. If set to NO the members will appear in declaration order. Note that +# this will also influence the order of the classes in the class list. +# The default value is: NO. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the +# (brief and detailed) documentation of class members so that constructors and +# destructors are listed first. If set to NO the constructors will appear in the +# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. +# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief +# member documentation. +# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting +# detailed member documentation. +# The default value is: NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy +# of group names into alphabetical order. If set to NO the group names will +# appear in their defined order. +# The default value is: NO. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by +# fully-qualified names, including namespaces. If set to NO, the class list will +# be sorted only by class name, not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the alphabetical +# list. +# The default value is: NO. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper +# type resolution of all parameters of a function it will reject a match between +# the prototype and the implementation of a member function even if there is +# only one candidate or it is obvious which candidate to choose by doing a +# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still +# accept a match between prototype and implementation in such cases. +# The default value is: NO. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the +# todo list. This list is created by putting \todo commands in the +# documentation. +# The default value is: YES. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the +# test list. This list is created by putting \test commands in the +# documentation. +# The default value is: YES. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug +# list. This list is created by putting \bug commands in the documentation. +# The default value is: YES. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO) +# the deprecated list. This list is created by putting \deprecated commands in +# the documentation. +# The default value is: YES. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional documentation +# sections, marked by \if ... \endif and \cond +# ... \endcond blocks. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the +# initial value of a variable or macro / define can have for it to appear in the +# documentation. If the initializer consists of more lines than specified here +# it will be hidden. Use a value of 0 to hide initializers completely. The +# appearance of the value of individual variables and macros / defines can be +# controlled using \showinitializer or \hideinitializer command in the +# documentation regardless of this setting. +# Minimum value: 0, maximum value: 10000, default value: 30. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at +# the bottom of the documentation of classes and structs. If set to YES the list +# will mention the files that were used to generate the documentation. +# The default value is: YES. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This +# will remove the Files entry from the Quick Index and from the Folder Tree View +# (if specified). +# The default value is: YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces +# page. This will remove the Namespaces entry from the Quick Index and from the +# Folder Tree View (if specified). +# The default value is: YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command command input-file, where command is the value of the +# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided +# by doxygen. Whatever the program writes to standard output is used as the file +# version. For an example see the documentation. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. You can +# optionally specify a file name after the option, if omitted DoxygenLayout.xml +# will be used as the name of the layout file. +# +# Note that if you run doxygen from a directory containing a file called +# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE +# tag is left empty. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files containing +# the reference definitions. This must be a list of .bib files. The .bib +# extension is automatically appended if omitted. This requires the bibtex tool +# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. +# For LaTeX the style of the bibliography can be controlled using +# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the +# search path. See also \cite for info how to create references. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# Configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated to +# standard output by doxygen. If QUIET is set to YES this implies that the +# messages are off. +# The default value is: NO. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES +# this implies that the warnings are on. +# +# Tip: Turn warnings on while writing the documentation. +# The default value is: YES. + +WARNINGS = YES + +# If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate +# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag +# will automatically be disabled. +# The default value is: YES. + +WARN_IF_UNDOCUMENTED = YES + +# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some parameters +# in a documented function, or documenting parameters that don't exist or using +# markup commands wrongly. +# The default value is: YES. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that +# are documented, but have no documentation for their parameters or return +# value. If set to NO doxygen will only warn about wrong or incomplete parameter +# documentation, but not about the absence of documentation. +# The default value is: NO. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that doxygen +# can produce. The string should contain the $file, $line, and $text tags, which +# will be replaced by the file and line number from which the warning originated +# and the warning text. Optionally the format may contain $version, which will +# be replaced by the version of the file (if it could be obtained via +# FILE_VERSION_FILTER) +# The default value is: $file:$line: $text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning and error +# messages should be written. If left blank the output is written to standard +# error (stderr). + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag is used to specify the files and/or directories that contain +# documented source files. You may enter file names like myfile.cpp or +# directories like /usr/src/myproject. Separate the files or directories with +# spaces. +# Note: If this tag is empty the current directory is searched. + +INPUT = ../Escpos.php ../src/ ../README.md + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses +# libiconv (or the iconv built into libc) for the transcoding. See the libiconv +# documentation (see: http://www.gnu.org/software/libiconv) for the list of +# possible encodings. +# The default value is: UTF-8. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank the +# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii, +# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp, +# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown, +# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf, +# *.qsf, *.as and *.js. + +FILE_PATTERNS = + +# The RECURSIVE tag can be used to specify whether or not subdirectories should +# be searched for input files as well. +# The default value is: NO. + +RECURSIVE = NO + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. +# The default value is: NO. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories use the pattern */test/* + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or directories +# that contain example code fragments that are included (see the \include +# command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank all +# files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude commands +# irrespective of the value of the RECURSIVE tag. +# The default value is: NO. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or directories +# that contain images that are to be included in the documentation (see the +# \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command: +# +# +# +# where is the value of the INPUT_FILTER tag, and is the +# name of an input file. Doxygen will then use the output that the filter +# program writes to standard output. If FILTER_PATTERNS is specified, this tag +# will be ignored. +# +# Note that the filter must not add or remove lines; it is applied before the +# code is scanned, but not when the output code is generated. If lines are added +# or removed, the anchors will not be placed correctly. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: pattern=filter +# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how +# filters are used. If the FILTER_PATTERNS tag is empty or if none of the +# patterns match the file name, INPUT_FILTER is applied. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER ) will also be used to filter the input files that are used for +# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). +# The default value is: NO. + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and +# it is also possible to disable source filtering for a specific pattern using +# *.ext= (so without naming a filter). +# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (index.html). This can be useful if you have a project on for instance GitHub +# and want to reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = ../README.md + +#--------------------------------------------------------------------------- +# Configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will be +# generated. Documented entities will be cross-referenced with these sources. +# +# Note: To get rid of all source code in the generated output, make sure that +# also VERBATIM_HEADERS is set to NO. +# The default value is: NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body of functions, +# classes and enums directly into the documentation. +# The default value is: NO. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any +# special comment blocks from generated source code fragments. Normal C, C++ and +# Fortran comments will always remain visible. +# The default value is: YES. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES then for each documented +# function all documented functions referencing it will be listed. +# The default value is: NO. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES then for each documented function +# all documented entities called/used by that function will be listed. +# The default value is: NO. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set +# to YES, then the hyperlinks from functions in REFERENCES_RELATION and +# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will +# link to the documentation. +# The default value is: YES. + +REFERENCES_LINK_SOURCE = YES + +# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the +# source code will show a tooltip with additional information such as prototype, +# brief description and links to the definition and documentation. Since this +# will make the HTML file larger and loading of large files a bit slower, you +# can opt to disable this feature. +# The default value is: YES. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +SOURCE_TOOLTIPS = YES + +# If the USE_HTAGS tag is set to YES then the references to source code will +# point to the HTML generated by the htags(1) tool instead of doxygen built-in +# source browser. The htags tool is part of GNU's global source tagging system +# (see http://www.gnu.org/software/global/global.html). You will need version +# 4.8.6 or higher. +# +# To use it do the following: +# - Install the latest version of global +# - Enable SOURCE_BROWSER and USE_HTAGS in the config file +# - Make sure the INPUT points to the root of the source tree +# - Run doxygen as normal +# +# Doxygen will invoke htags (and that will in turn invoke gtags), so these +# tools must be available from the command line (i.e. in the search path). +# +# The result: instead of the source browser generated by doxygen, the links to +# source code will now point to the output of htags. +# The default value is: NO. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a +# verbatim copy of the header file for each class for which an include is +# specified. Set to NO to disable this. +# See also: Section \class. +# The default value is: YES. + +VERBATIM_HEADERS = YES + +# If the CLANG_ASSISTED_PARSING tag is set to YES, then doxygen will use the +# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the +# cost of reduced performance. This can be particularly helpful with template +# rich C++ code for which doxygen's built-in parser lacks the necessary type +# information. +# Note: The availability of this option depends on whether or not doxygen was +# compiled with the --with-libclang option. +# The default value is: NO. + +CLANG_ASSISTED_PARSING = NO + +# If clang assisted parsing is enabled you can provide the compiler with command +# line options that you would normally use when invoking the compiler. Note that +# the include paths will already be set by doxygen for the files and directories +# specified with INPUT and INCLUDE_PATH. +# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. + +CLANG_OPTIONS = + +#--------------------------------------------------------------------------- +# Configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all +# compounds will be generated. Enable this if the project contains a lot of +# classes, structs, unions or interfaces. +# The default value is: YES. + +ALPHABETICAL_INDEX = YES + +# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in +# which the alphabetical index list will be split. +# Minimum value: 1, maximum value: 20, default value: 5. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all classes will +# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag +# can be used to specify a prefix (or a list of prefixes) that should be ignored +# while generating the index headers. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output +# The default value is: YES. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each +# generated HTML page (for example: .htm, .php, .asp). +# The default value is: .html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a user-defined HTML header file for +# each generated HTML page. If the tag is left blank doxygen will generate a +# standard header. +# +# To get valid HTML the header file that includes any scripts and style sheets +# that doxygen needs, which is dependent on the configuration options used (e.g. +# the setting GENERATE_TREEVIEW). It is highly recommended to start with a +# default header using +# doxygen -w html new_header.html new_footer.html new_stylesheet.css +# YourConfigFile +# and then modify the file new_header.html. See also section "Doxygen usage" +# for information on how to generate the default header that doxygen normally +# uses. +# Note: The header is subject to change so you typically have to regenerate the +# default header when upgrading to a newer version of doxygen. For a description +# of the possible markers and block names see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each +# generated HTML page. If the tag is left blank doxygen will generate a standard +# footer. See HTML_HEADER for more information on how to generate a default +# footer and what special commands can be used inside the footer. See also +# section "Doxygen usage" for information on how to generate the default footer +# that doxygen normally uses. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style +# sheet that is used by each HTML page. It can be used to fine-tune the look of +# the HTML output. If left blank doxygen will generate a default style sheet. +# See also section "Doxygen usage" for information on how to generate the style +# sheet that doxygen normally uses. +# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as +# it is more robust and this tag (HTML_STYLESHEET) will in the future become +# obsolete. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined +# cascading style sheets that are included after the standard style sheets +# created by doxygen. Using this option one can overrule certain style aspects. +# This is preferred over using HTML_STYLESHEET since it does not replace the +# standard style sheet and is therefor more robust against future updates. +# Doxygen will copy the style sheet files to the output directory. +# Note: The order of the extra stylesheet files is of importance (e.g. the last +# stylesheet in the list overrules the setting of the previous ones in the +# list). For an example see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that the +# files will be copied as-is; there are no commands or markers available. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen +# will adjust the colors in the stylesheet and background images according to +# this color. Hue is specified as an angle on a colorwheel, see +# http://en.wikipedia.org/wiki/Hue for more information. For instance the value +# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 +# purple, and 360 is red again. +# Minimum value: 0, maximum value: 359, default value: 220. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors +# in the HTML output. For a value of 0 the output will use grayscales only. A +# value of 255 will produce the most vivid colors. +# Minimum value: 0, maximum value: 255, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the +# luminance component of the colors in the HTML output. Values below 100 +# gradually make the output lighter, whereas values above 100 make the output +# darker. The value divided by 100 is the actual gamma applied, so 80 represents +# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not +# change the gamma. +# Minimum value: 40, maximum value: 240, default value: 80. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting this +# to NO can help when comparing the output of multiple runs. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_TIMESTAMP = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries +# shown in the various tree structured indices initially; the user can expand +# and collapse entries dynamically later on. Doxygen will expand the tree to +# such a level that at most the specified number of entries are visible (unless +# a fully collapsed tree already exceeds this amount). So setting the number of +# entries 1 will produce a full collapsed tree by default. 0 is a special value +# representing an infinite number of entries and will result in a full expanded +# tree by default. +# Minimum value: 0, maximum value: 9999, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files will be +# generated that can be used as input for Apple's Xcode 3 integrated development +# environment (see: http://developer.apple.com/tools/xcode/), introduced with +# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a +# Makefile in the HTML output directory. Running make will produce the docset in +# that directory and running make install will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at +# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_DOCSET = NO + +# This tag determines the name of the docset feed. A documentation feed provides +# an umbrella under which multiple documentation sets from a single provider +# (such as a company or product suite) can be grouped. +# The default value is: Doxygen generated docs. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# This tag specifies a string that should uniquely identify the documentation +# set bundle. This should be a reverse domain-name style string, e.g. +# com.mycompany.MyDocSet. Doxygen will append .docset to the name. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify +# the documentation publisher. This should be a reverse domain-name style +# string, e.g. com.mycompany.MyDocSet.documentation. +# The default value is: org.doxygen.Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. +# The default value is: Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three +# additional HTML index files: index.hhp, index.hhc, and index.hhk. The +# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop +# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on +# Windows. +# +# The HTML Help Workshop contains a compiler that can convert all HTML output +# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML +# files are now used as the Windows 98 help format, and will replace the old +# Windows help format (.hlp) on all Windows platforms in the future. Compressed +# HTML files also contain an index, a table of contents, and you can search for +# words in the documentation. The HTML workshop also contains a viewer for +# compressed HTML files. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_HTMLHELP = NO + +# The CHM_FILE tag can be used to specify the file name of the resulting .chm +# file. You can add a path in front of the file if the result should not be +# written to the html output directory. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_FILE = + +# The HHC_LOCATION tag can be used to specify the location (absolute path +# including file name) of the HTML help compiler ( hhc.exe). If non-empty +# doxygen will try to run the HTML help compiler on the generated index.hhp. +# The file has to be specified with full path. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +HHC_LOCATION = + +# The GENERATE_CHI flag controls if a separate .chi index file is generated ( +# YES) or that it should be included in the master .chm file ( NO). +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +GENERATE_CHI = NO + +# The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc) +# and project file content. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_INDEX_ENCODING = + +# The BINARY_TOC flag controls whether a binary table of contents is generated ( +# YES) or a normal table of contents ( NO) in the .chm file. Furthermore it +# enables the Previous and Next buttons. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members to +# the table of contents of the HTML help documentation and to the tree view. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that +# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help +# (.qch) of the generated HTML documentation. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify +# the file name of the resulting .qch file. The path specified is relative to +# the HTML output folder. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help +# Project output. For more information please see Qt Help Project / Namespace +# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt +# Help Project output. For more information please see Qt Help Project / Virtual +# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- +# folders). +# The default value is: doc. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_VIRTUAL_FOLDER = doc + +# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom +# filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's filter section matches. Qt Help Project / Filter Attributes (see: +# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_SECT_FILTER_ATTRS = + +# The QHG_LOCATION tag can be used to specify the location of Qt's +# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the +# generated .qhp file. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be +# generated, together with the HTML files, they form an Eclipse help plugin. To +# install this plugin and make it available under the help contents menu in +# Eclipse, the contents of the directory containing the HTML and XML files needs +# to be copied into the plugins directory of eclipse. The name of the directory +# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. +# After copying Eclipse needs to be restarted before the help appears. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the Eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have this +# name. Each documentation set should have its own identifier. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# If you want full control over the layout of the generated HTML pages it might +# be necessary to disable the index and replace it with your own. The +# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top +# of each HTML page. A value of NO enables the index and the value YES disables +# it. Since the tabs in the index contain the same information as the navigation +# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. If the tag +# value is set to YES, a side panel will be generated containing a tree-like +# index structure (just like the one that is generated for HTML Help). For this +# to work a browser that supports JavaScript, DHTML, CSS and frames is required +# (i.e. any modern browser). Windows users are probably better off using the +# HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can +# further fine-tune the look of the index. As an example, the default style +# sheet generated by doxygen has an example that shows how to put an image at +# the root of the tree instead of the PROJECT_NAME. Since the tree basically has +# the same information as the tab index, you could consider setting +# DISABLE_INDEX to YES when enabling this option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_TREEVIEW = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that +# doxygen will group on one line in the generated HTML documentation. +# +# Note that a value of 0 will completely suppress the enum values from appearing +# in the overview section. +# Minimum value: 0, maximum value: 20, default value: 4. +# This tag requires that the tag GENERATE_HTML is set to YES. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used +# to set the initial width (in pixels) of the frame in which the tree is shown. +# Minimum value: 0, maximum value: 1500, default value: 250. +# This tag requires that the tag GENERATE_HTML is set to YES. + +TREEVIEW_WIDTH = 250 + +# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to +# external symbols imported via tag files in a separate window. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of LaTeX formulas included as images in +# the HTML documentation. When you change the font size after a successful +# doxygen run you need to manually remove any form_*.png images from the HTML +# output directory to force them to be regenerated. +# Minimum value: 8, maximum value: 50, default value: 10. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are not +# supported properly for IE 6.0, but are supported on all modern browsers. +# +# Note that when changing this option you need to delete any form_*.png files in +# the HTML output directory before the changes have effect. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see +# http://www.mathjax.org) which uses client side Javascript for the rendering +# instead of using prerendered bitmaps. Use this if you do not have LaTeX +# installed or if you want to formulas look prettier in the HTML output. When +# enabled you may also need to install MathJax separately and configure the path +# to it using the MATHJAX_RELPATH option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# the MathJax output. See the MathJax site (see: +# http://docs.mathjax.org/en/latest/output.html) for more details. +# Possible values are: HTML-CSS (which is slower, but has the best +# compatibility), NativeMML (i.e. MathML) and SVG. +# The default value is: HTML-CSS. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the HTML +# output directory using the MATHJAX_RELPATH option. The destination directory +# should contain the MathJax.js script. For instance, if the mathjax directory +# is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax +# Content Delivery Network so you can quickly see the result without installing +# MathJax. However, it is strongly recommended to install a local copy of +# MathJax from http://www.mathjax.org before deployment. +# The default value is: http://cdn.mathjax.org/mathjax/latest. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest + +# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax +# extension names that should be enabled during MathJax rendering. For example +# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_EXTENSIONS = + +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces +# of code that will be used on startup of the MathJax code. See the MathJax site +# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an +# example see the documentation. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_CODEFILE = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box for +# the HTML output. The underlying search engine uses javascript and DHTML and +# should work on any modern browser. Note that when using HTML help +# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) +# there is already a search function so this one should typically be disabled. +# For large projects the javascript based search engine can be slow, then +# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to +# search using the keyboard; to jump to the search box use + S +# (what the is depends on the OS and browser, but it is typically +# , /