commit
9ae5ec3519
@ -0,0 +1,92 @@ |
|||||||
|
<?php |
||||||
|
/* For licensing terms, see /license.txt */ |
||||||
|
|
||||||
|
namespace Application\Migrations\Schema\V111; |
||||||
|
|
||||||
|
use Application\Migrations\AbstractMigrationChamilo; |
||||||
|
use Doctrine\DBAL\Schema\Schema; |
||||||
|
use Doctrine\DBAL\Types\Type; |
||||||
|
|
||||||
|
/** |
||||||
|
* Class Version20160610142700 |
||||||
|
* Integrate the Skype plugin and create new settings current to enable it |
||||||
|
* @package Application\Migrations\Schema\V111 |
||||||
|
*/ |
||||||
|
class Version20160610142700 extends AbstractMigrationChamilo |
||||||
|
{ |
||||||
|
/** |
||||||
|
* @param Schema $schema |
||||||
|
* @throws \Doctrine\DBAL\DBALException |
||||||
|
* @throws \Doctrine\DBAL\Schema\SchemaException |
||||||
|
*/ |
||||||
|
public function up(Schema $schema) |
||||||
|
{ |
||||||
|
$dataList = $this |
||||||
|
->connection |
||||||
|
->executeQuery(" |
||||||
|
SELECT id FROM extra_field |
||||||
|
WHERE variable = 'skype' AND extra_field_type = 1 |
||||||
|
") |
||||||
|
->fetchAll(); |
||||||
|
|
||||||
|
if (empty($dataList)) { |
||||||
|
$this->addSql(" |
||||||
|
INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable, created_at) |
||||||
|
VALUES (1, 1, 'skype', 'Skype', 1, 1, now()) |
||||||
|
"); |
||||||
|
} |
||||||
|
|
||||||
|
$this->addSql(" |
||||||
|
INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable, created_at) |
||||||
|
VALUES (1, 1, 'linkedin_url', 'LinkedInUrl', 1, 1, now()) |
||||||
|
"); |
||||||
|
|
||||||
|
$this->addSettingCurrent( |
||||||
|
'allow_show_skype_account', |
||||||
|
null, |
||||||
|
'radio', |
||||||
|
'Platform', |
||||||
|
'true', |
||||||
|
'AllowShowSkypeAccountTitle', |
||||||
|
'AllowShowSkypeAccountComment', |
||||||
|
null, |
||||||
|
null, |
||||||
|
1, |
||||||
|
true, |
||||||
|
false, |
||||||
|
[ |
||||||
|
['value' => 'false', 'text' => 'No'], |
||||||
|
['value' => 'true', 'text' => 'Yes'] |
||||||
|
] |
||||||
|
); |
||||||
|
|
||||||
|
$this->addSettingCurrent( |
||||||
|
'allow_show_linkedin_url', |
||||||
|
null, |
||||||
|
'radio', |
||||||
|
'Platform', |
||||||
|
'true', |
||||||
|
'AllowShowLinkedInUrlTitle', |
||||||
|
'AllowShowLinkedInUrlComment', |
||||||
|
null, |
||||||
|
null, |
||||||
|
1, |
||||||
|
true, |
||||||
|
false, |
||||||
|
[ |
||||||
|
['value' => 'false', 'text' => 'No'], |
||||||
|
['value' => 'true', 'text' => 'Yes'] |
||||||
|
] |
||||||
|
); |
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* @param Schema $schema |
||||||
|
* @throws \Doctrine\DBAL\DBALException |
||||||
|
* @throws \Doctrine\DBAL\Schema\SchemaException |
||||||
|
*/ |
||||||
|
public function down(Schema $schema) |
||||||
|
{ |
||||||
|
|
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,36 @@ |
|||||||
|
<?php |
||||||
|
/* For licensing terms, see /license.txt */ |
||||||
|
|
||||||
|
namespace Application\Migrations\Schema\V111; |
||||||
|
|
||||||
|
use Application\Migrations\AbstractMigrationChamilo; |
||||||
|
use Doctrine\DBAL\Schema\Schema; |
||||||
|
use Doctrine\DBAL\Types\Type; |
||||||
|
|
||||||
|
/** |
||||||
|
* Class Version20160623143200 |
||||||
|
* Remove chatcall_date, chatcall_text, chatcall_user_id from User table |
||||||
|
* @package Application\Migrations\Schema\V111 |
||||||
|
*/ |
||||||
|
class Version20160623143200 extends AbstractMigrationChamilo |
||||||
|
{ |
||||||
|
/** |
||||||
|
* @param Schema $schema |
||||||
|
* @throws \Doctrine\DBAL\Schema\SchemaException |
||||||
|
*/ |
||||||
|
public function up(Schema $schema) |
||||||
|
{ |
||||||
|
$schema |
||||||
|
->getTable('user') |
||||||
|
->dropColumn('chatcall_user_id') |
||||||
|
->dropColumn('chatcall_date') |
||||||
|
->dropColumn('chatcall_text'); |
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* @param Schema $schema |
||||||
|
*/ |
||||||
|
public function down(Schema $schema) |
||||||
|
{ |
||||||
|
} |
||||||
|
} |
||||||
@ -1,20 +1,20 @@ |
|||||||
SCAYT plugin for CKEditor 4 Changelog |
SCAYT plugin for CKEditor 4 Changelog |
||||||
==================== |
==================== |
||||||
### CKEditor 4.5.6 |
### CKEditor 4.5.6 |
||||||
|
|
||||||
New Features: |
New Features: |
||||||
* CKEditor [language addon](http://ckeditor.com/addon/language) support |
* CKEditor [language addon](http://ckeditor.com/addon/language) support |
||||||
* CKEditor [placeholder addon](http://ckeditor.com/addon/placeholder) support |
* CKEditor [placeholder addon](http://ckeditor.com/addon/placeholder) support |
||||||
* Drag and Drop support |
* Drag and Drop support |
||||||
* *Experimental* GRAYT functionality http://www.webspellchecker.net/samples/scayt-ckeditor-plugin.html#25 |
* *Experimental* GRAYT functionality http://www.webspellchecker.net/samples/scayt-ckeditor-plugin.html#25 |
||||||
|
|
||||||
Fixed issues: |
Fixed issues: |
||||||
* [#98](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/98) SCAYT Affects Dialog Double Click. Fixed in SCAYT Core. |
* [#98](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/98) SCAYT Affects Dialog Double Click. Fixed in SCAYT Core. |
||||||
* [#102](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/102) SCAYT Core performance enhancements |
* [#102](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/102) SCAYT Core performance enhancements |
||||||
* [#104](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/104) SCAYT's spans leak into the clipboard and after pasting |
* [#104](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/104) SCAYT's spans leak into the clipboard and after pasting |
||||||
* [#105](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/105) Javascript error fired in case of multiple instances of CKEditor in one page |
* [#105](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/105) Javascript error fired in case of multiple instances of CKEditor in one page |
||||||
* [#107](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/107) SCAYT should not check non-editable parts of content |
* [#107](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/107) SCAYT should not check non-editable parts of content |
||||||
* [#108](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/108) Latest SCAYT copies id of editor element to the iframe |
* [#108](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/108) Latest SCAYT copies id of editor element to the iframe |
||||||
* SCAYT stops working when CKEditor Undo plug-in not enabled |
* SCAYT stops working when CKEditor Undo plug-in not enabled |
||||||
* Issue with pasting SCAYT markup in CKEditor |
* Issue with pasting SCAYT markup in CKEditor |
||||||
* [#32](https://github.com/WebSpellChecker/ckeditor-plugin-wsc/issues/32) SCAYT stops working after pressing Cancel button in WSC dialog |
* [#32](https://github.com/WebSpellChecker/ckeditor-plugin-wsc/issues/32) SCAYT stops working after pressing Cancel button in WSC dialog |
||||||
|
|||||||
@ -1,28 +1,28 @@ |
|||||||
Software License Agreement |
Software License Agreement |
||||||
========================== |
========================== |
||||||
|
|
||||||
**CKEditor SCAYT Plugin** |
**CKEditor SCAYT Plugin** |
||||||
Copyright © 2012, [CKSource](http://cksource.com) - Frederico Knabben. All rights reserved. |
Copyright © 2012, [CKSource](http://cksource.com) - Frederico Knabben. All rights reserved. |
||||||
|
|
||||||
Licensed under the terms of any of the following licenses at your choice: |
Licensed under the terms of any of the following licenses at your choice: |
||||||
|
|
||||||
* GNU General Public License Version 2 or later (the "GPL"): |
* GNU General Public License Version 2 or later (the "GPL"): |
||||||
http://www.gnu.org/licenses/gpl.html |
http://www.gnu.org/licenses/gpl.html |
||||||
|
|
||||||
* GNU Lesser General Public License Version 2.1 or later (the "LGPL"): |
* GNU Lesser General Public License Version 2.1 or later (the "LGPL"): |
||||||
http://www.gnu.org/licenses/lgpl.html |
http://www.gnu.org/licenses/lgpl.html |
||||||
|
|
||||||
* Mozilla Public License Version 1.1 or later (the "MPL"): |
* Mozilla Public License Version 1.1 or later (the "MPL"): |
||||||
http://www.mozilla.org/MPL/MPL-1.1.html |
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. |
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 |
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. |
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 |
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. |
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. |
||||||
|
|||||||
@ -1,71 +1,71 @@ |
|||||||
a |
a |
||||||
{ |
{ |
||||||
text-decoration:none; |
text-decoration:none; |
||||||
padding: 2px 4px 4px 6px; |
padding: 2px 4px 4px 6px; |
||||||
display : block; |
display : block; |
||||||
border-width: 1px; |
border-width: 1px; |
||||||
border-style: solid; |
border-style: solid; |
||||||
margin : 0px; |
margin : 0px; |
||||||
} |
} |
||||||
|
|
||||||
a.cke_scayt_toogle:hover, |
a.cke_scayt_toogle:hover, |
||||||
a.cke_scayt_toogle:focus, |
a.cke_scayt_toogle:focus, |
||||||
a.cke_scayt_toogle:active |
a.cke_scayt_toogle:active |
||||||
{ |
{ |
||||||
border-color: #316ac5; |
border-color: #316ac5; |
||||||
background-color: #dff1ff; |
background-color: #dff1ff; |
||||||
color : #000; |
color : #000; |
||||||
cursor: pointer; |
cursor: pointer; |
||||||
margin : 0px; |
margin : 0px; |
||||||
} |
} |
||||||
a.cke_scayt_toogle { |
a.cke_scayt_toogle { |
||||||
color : #316ac5; |
color : #316ac5; |
||||||
border-color: #fff; |
border-color: #fff; |
||||||
} |
} |
||||||
.scayt_enabled a.cke_scayt_item { |
.scayt_enabled a.cke_scayt_item { |
||||||
color : #316ac5; |
color : #316ac5; |
||||||
border-color: #fff; |
border-color: #fff; |
||||||
margin : 0px; |
margin : 0px; |
||||||
} |
} |
||||||
.scayt_disabled a.cke_scayt_item { |
.scayt_disabled a.cke_scayt_item { |
||||||
color : gray; |
color : gray; |
||||||
border-color : #fff; |
border-color : #fff; |
||||||
} |
} |
||||||
.scayt_enabled a.cke_scayt_item:hover, |
.scayt_enabled a.cke_scayt_item:hover, |
||||||
.scayt_enabled a.cke_scayt_item:focus, |
.scayt_enabled a.cke_scayt_item:focus, |
||||||
.scayt_enabled a.cke_scayt_item:active |
.scayt_enabled a.cke_scayt_item:active |
||||||
{ |
{ |
||||||
border-color: #316ac5; |
border-color: #316ac5; |
||||||
background-color: #dff1ff; |
background-color: #dff1ff; |
||||||
color : #000; |
color : #000; |
||||||
cursor: pointer; |
cursor: pointer; |
||||||
} |
} |
||||||
.scayt_disabled a.cke_scayt_item:hover, |
.scayt_disabled a.cke_scayt_item:hover, |
||||||
.scayt_disabled a.cke_scayt_item:focus, |
.scayt_disabled a.cke_scayt_item:focus, |
||||||
.scayt_disabled a.cke_scayt_item:active |
.scayt_disabled a.cke_scayt_item:active |
||||||
{ |
{ |
||||||
border-color: gray; |
border-color: gray; |
||||||
background-color: #dff1ff; |
background-color: #dff1ff; |
||||||
color : gray; |
color : gray; |
||||||
cursor: no-drop; |
cursor: no-drop; |
||||||
} |
} |
||||||
.cke_scayt_set_on, .cke_scayt_set_off |
.cke_scayt_set_on, .cke_scayt_set_off |
||||||
{ |
{ |
||||||
display: none; |
display: none; |
||||||
} |
} |
||||||
.scayt_enabled .cke_scayt_set_on |
.scayt_enabled .cke_scayt_set_on |
||||||
{ |
{ |
||||||
display: none; |
display: none; |
||||||
} |
} |
||||||
.scayt_disabled .cke_scayt_set_on |
.scayt_disabled .cke_scayt_set_on |
||||||
{ |
{ |
||||||
display: inline; |
display: inline; |
||||||
} |
} |
||||||
.scayt_disabled .cke_scayt_set_off |
.scayt_disabled .cke_scayt_set_off |
||||||
{ |
{ |
||||||
display: none; |
display: none; |
||||||
} |
} |
||||||
.scayt_enabled .cke_scayt_set_off |
.scayt_enabled .cke_scayt_set_off |
||||||
{ |
{ |
||||||
display: inline; |
display: inline; |
||||||
} |
} |
||||||
|
|||||||
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 839 B |
@ -0,0 +1,13 @@ |
|||||||
|
/* |
||||||
|
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. |
||||||
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||||
|
*/ |
||||||
|
CKEDITOR.plugins.setLang( 'scayt', 'zh', { |
||||||
|
btn_about: '關於即時拼寫檢查', |
||||||
|
btn_dictionaries: '字典', |
||||||
|
btn_disable: '關閉即時拼寫檢查', |
||||||
|
btn_enable: '啟用即時拼寫檢查', |
||||||
|
btn_langs: '語言', |
||||||
|
btn_options: '選項', |
||||||
|
text_title: '即時拼寫檢查' |
||||||
|
}); |
||||||
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue