Skip to content

Instantly share code, notes, and snippets.

@Renrhaf
Created July 6, 2016 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Renrhaf/fa1d236f625d09cf34fd6e5e0fc156ac to your computer and use it in GitHub Desktop.
Save Renrhaf/fa1d236f625d09cf34fd6e5e0fc156ac to your computer and use it in GitHub Desktop.
AFOUND-795
From 3bd13da802d5dbdfd4744b9bf94efe683f24c182 Mon Sep 17 00:00:00 2001
From: Renrhaf <quentin.fahrner@actency.fr>
Date: Wed, 6 Jul 2016 17:20:07 +0200
Subject: [PATCH] AFOUND-795: backport some info ckeditor plugins
---
...undation_ckeditor.features.ckeditor_profile.inc | 8 +-
.../foundation_ckeplugins.info | 2 +-
.../foundation_ckeplugins.module | 139 +++++++++---
.../js/foundation_ckeplugins.js | 4 +-
.../foundation_ckeplugins/plugins/ajax/plugin.js | 138 ++++++++++++
.../arte-plugin-row/icons/arte-plugin-row.png | Bin 0 -> 965 bytes
.../plugins/arte-plugin-row/plugin.js | 29 +++
.../arte-widget-chiffre/dialogs/arte-dialog.js | 47 ++++
.../icons/arte-widget-chiffre.png | Bin 0 -> 997 bytes
.../plugins/arte-widget-chiffre/plugin.js | 86 ++++++++
.../arte-widget-citation/dialogs/arte-dialog.js | 47 ++++
.../icons/arte-widget-citation.png | Bin 0 -> 1185 bytes
.../plugins/arte-widget-citation/plugin.js | 92 ++++++++
.../arte-widget-encadre/dialogs/arte-dialog.js | 62 ++++++
.../icons/arte-widget-encadre.png | Bin 0 -> 1082 bytes
.../plugins/arte-widget-encadre/plugin.js | 90 ++++++++
.../arte-widget-programmes/dialogs/arte-dialog.js | 87 ++++++++
.../icons/arte-widget-programmes.png | Bin 0 -> 1265 bytes
.../plugins/arte-widget-programmes/plugin.js | 241 +++++++++++++++++++++
.../plugins/iframe/dialogs/iframe.js | 218 +++++++++++++++++++
.../plugins/iframe/icons/hidpi/iframe.png | Bin 0 -> 3091 bytes
.../plugins/iframe/icons/iframe.png | Bin 0 -> 989 bytes
.../plugins/iframe/images/placeholder.png | Bin 0 -> 449 bytes
.../plugins/iframe/lang/af.js | 11 +
.../plugins/iframe/lang/ar.js | 11 +
.../plugins/iframe/lang/bg.js | 11 +
.../plugins/iframe/lang/bn.js | 11 +
.../plugins/iframe/lang/bs.js | 11 +
.../plugins/iframe/lang/ca.js | 11 +
.../plugins/iframe/lang/cs.js | 11 +
.../plugins/iframe/lang/cy.js | 11 +
.../plugins/iframe/lang/da.js | 11 +
.../plugins/iframe/lang/de.js | 11 +
.../plugins/iframe/lang/el.js | 11 +
.../plugins/iframe/lang/en-au.js | 11 +
.../plugins/iframe/lang/en-ca.js | 11 +
.../plugins/iframe/lang/en-gb.js | 11 +
.../plugins/iframe/lang/en.js | 11 +
.../plugins/iframe/lang/eo.js | 11 +
.../plugins/iframe/lang/es.js | 11 +
.../plugins/iframe/lang/et.js | 11 +
.../plugins/iframe/lang/eu.js | 11 +
.../plugins/iframe/lang/fa.js | 11 +
.../plugins/iframe/lang/fi.js | 11 +
.../plugins/iframe/lang/fo.js | 11 +
.../plugins/iframe/lang/fr-ca.js | 11 +
.../plugins/iframe/lang/fr.js | 11 +
.../plugins/iframe/lang/gl.js | 11 +
.../plugins/iframe/lang/gu.js | 11 +
.../plugins/iframe/lang/he.js | 11 +
.../plugins/iframe/lang/hi.js | 11 +
.../plugins/iframe/lang/hr.js | 11 +
.../plugins/iframe/lang/hu.js | 11 +
.../plugins/iframe/lang/id.js | 11 +
.../plugins/iframe/lang/is.js | 11 +
.../plugins/iframe/lang/it.js | 11 +
.../plugins/iframe/lang/ja.js | 11 +
.../plugins/iframe/lang/ka.js | 11 +
.../plugins/iframe/lang/km.js | 11 +
.../plugins/iframe/lang/ko.js | 11 +
.../plugins/iframe/lang/ku.js | 11 +
.../plugins/iframe/lang/lt.js | 11 +
.../plugins/iframe/lang/lv.js | 11 +
.../plugins/iframe/lang/mk.js | 11 +
.../plugins/iframe/lang/mn.js | 11 +
.../plugins/iframe/lang/ms.js | 11 +
.../plugins/iframe/lang/nb.js | 11 +
.../plugins/iframe/lang/nl.js | 11 +
.../plugins/iframe/lang/no.js | 11 +
.../plugins/iframe/lang/pl.js | 11 +
.../plugins/iframe/lang/pt-br.js | 11 +
.../plugins/iframe/lang/pt.js | 11 +
.../plugins/iframe/lang/ro.js | 11 +
.../plugins/iframe/lang/ru.js | 11 +
.../plugins/iframe/lang/si.js | 11 +
.../plugins/iframe/lang/sk.js | 11 +
.../plugins/iframe/lang/sl.js | 11 +
.../plugins/iframe/lang/sq.js | 11 +
.../plugins/iframe/lang/sr-latn.js | 11 +
.../plugins/iframe/lang/sr.js | 11 +
.../plugins/iframe/lang/sv.js | 11 +
.../plugins/iframe/lang/th.js | 11 +
.../plugins/iframe/lang/tr.js | 11 +
.../plugins/iframe/lang/ug.js | 11 +
.../plugins/iframe/lang/uk.js | 11 +
.../plugins/iframe/lang/vi.js | 11 +
.../plugins/iframe/lang/zh-cn.js | 11 +
.../plugins/iframe/lang/zh.js | 11 +
.../foundation_ckeplugins/plugins/iframe/plugin.js | 83 +++++++
.../foundation_ckeplugins/plugins/xml/plugin.js | 161 ++++++++++++++
90 files changed, 2212 insertions(+), 37 deletions(-)
create mode 100644 modules/features/foundation_ckeplugins/plugins/ajax/plugin.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-plugin-row/icons/arte-plugin-row.png
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-plugin-row/plugin.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/dialogs/arte-dialog.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/icons/arte-widget-chiffre.png
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/plugin.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-citation/dialogs/arte-dialog.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-citation/icons/arte-widget-citation.png
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-citation/plugin.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/dialogs/arte-dialog.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/icons/arte-widget-encadre.png
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/plugin.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/dialogs/arte-dialog.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/icons/arte-widget-programmes.png
create mode 100644 modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/plugin.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/dialogs/iframe.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/icons/hidpi/iframe.png
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/icons/iframe.png
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/images/placeholder.png
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/af.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/ar.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/bg.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/bn.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/bs.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/ca.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/cs.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/cy.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/da.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/de.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/el.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/en-au.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/en-ca.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/en-gb.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/en.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/eo.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/es.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/et.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/eu.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/fa.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/fi.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/fo.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/fr-ca.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/fr.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/gl.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/gu.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/he.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/hi.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/hr.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/hu.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/id.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/is.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/it.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/ja.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/ka.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/km.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/ko.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/ku.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/lt.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/lv.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/mk.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/mn.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/ms.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/nb.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/nl.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/no.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/pl.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/pt-br.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/pt.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/ro.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/ru.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/si.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/sk.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/sl.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/sq.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/sr-latn.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/sr.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/sv.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/th.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/tr.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/ug.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/uk.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/vi.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/zh-cn.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/lang/zh.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/iframe/plugin.js
create mode 100644 modules/features/foundation_ckeplugins/plugins/xml/plugin.js
diff --git a/modules/features/foundation_ckeditor/foundation_ckeditor.features.ckeditor_profile.inc b/modules/features/foundation_ckeditor/foundation_ckeditor.features.ckeditor_profile.inc
index 0ae6a46..2e8b69f 100644
--- a/modules/features/foundation_ckeditor/foundation_ckeditor.features.ckeditor_profile.inc
+++ b/modules/features/foundation_ckeditor/foundation_ckeditor.features.ckeditor_profile.inc
@@ -25,6 +25,7 @@ function foundation_ckeditor_ckeditor_profile_defaults() {
[\'Templates\',\'DrupalBreak\',\'Format\',\'Blockquote\'],
[\'responsiveblocks1\',\'responsiveblocks2\',\'responsiveblocks3\'],
[\'oembed\'],
+ [\'arte-plugin-row\',\'arte-widget-chiffre\',\'arte-widget-citation\',\'arte-widget-encadre\',\'arte-widget-programmes\'],
[\'Maximize\']
]',
'expand' => 't',
@@ -64,7 +65,7 @@ function foundation_ckeditor_ckeditor_profile_defaults() {
'forcePasteAsPlainText' => 't',
'html_entities' => 'f',
'scayt_autoStartup' => 'f',
- 'theme_config_js' => 'f',
+ 'theme_config_js' => 't',
'js_conf' => 'config.allowedContent = \'a abbr address area article aside audio b bdi bdo big blockquote br canvas caption center cite code col colgroup command datalist dd del details dfn dir div dl dt em figcaption figure footer h1 h2 h3 h4 h5 h6 header hgroup hr i iframe img ins kbd li link mark nav ol output p pre q rp rt ruby s samp section small source span strike strong sub summary sup table tbody td tfoot th thead time tr track u ul var video wbr [*]{text-align,width,height}(*)\';
config.format_tags = \'p;h2;h3;h4;div\';
',
@@ -75,8 +76,8 @@ config.format_tags = \'p;h2;h3;h4;div\';
'path' => '%base_path%profiles/foundation/modules/contrib/scald/modules/fields/mee/plugins/dndck4/',
'buttons' => array(
'ScaldAtom' => array(
- 'label' => 'ScaldAtom',
'icon' => 'icons/atom.png',
+ 'label' => 'Edit atom properties',
),
),
),
@@ -94,7 +95,7 @@ config.format_tags = \'p;h2;h3;h4;div\';
),
'mediaembed' => array(
'name' => 'mediaembed',
- 'desc' => 'Plugin for inserting Drupal embeded media',
+ 'desc' => 'Plugin for embedding HTML snippets',
'path' => '%plugin_dir%mediaembed/',
'buttons' => array(
'MediaEmbed' => array(
@@ -156,7 +157,6 @@ config.format_tags = \'p;h2;h3;h4;div\';
'name' => 'scald_contexts',
'desc' => 'ARTE Scald Display Contexts - use specific ARTE display contexts within CKEditor',
'path' => '%base_path%profiles/foundation/modules/custom/scald_contexts/plugins/scald_contexts/',
- 'buttons' => FALSE,
),
),
),
diff --git a/modules/features/foundation_ckeplugins/foundation_ckeplugins.info b/modules/features/foundation_ckeplugins/foundation_ckeplugins.info
index 33d191f..84b2ee3 100755
--- a/modules/features/foundation_ckeplugins/foundation_ckeplugins.info
+++ b/modules/features/foundation_ckeplugins/foundation_ckeplugins.info
@@ -1,5 +1,5 @@
name = ARTE Foundation Ckeditor Plugins
-description = Custom plugins for CKeditor (To be deprecated - use ARTE Info plugins)
+description = Custom plugins for CKeditor
package = ARTE Foundation
core = 7.x
version = 7.x-0.1
diff --git a/modules/features/foundation_ckeplugins/foundation_ckeplugins.module b/modules/features/foundation_ckeplugins/foundation_ckeplugins.module
index 0935c29..6a06667 100755
--- a/modules/features/foundation_ckeplugins/foundation_ckeplugins.module
+++ b/modules/features/foundation_ckeplugins/foundation_ckeplugins.module
@@ -23,8 +23,11 @@ function foundation_ckeplugins_ckeditor_plugin() {
'buttons' => array(
'responsiveblocks1' => array(
'icon' => 'images/reponsiveBlocks1.png',
- 'label' => t('Create 1 responsive DIV-block'))),
- 'load' => TRUE),
+ 'label' => t('Create 1 responsive DIV-block'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
'responsiveblock2' => array(
'name' => 'responsiveblocks2',
'path' => $modulepath . '/plugins/responsiveblocks2/',
@@ -32,8 +35,11 @@ function foundation_ckeplugins_ckeditor_plugin() {
'buttons' => array(
'responsiveblocks2' => array(
'icon' => 'images/reponsiveBlocks2.png',
- 'label' => t('Create 2 responsive DIV-blocks'))),
- 'load' => TRUE),
+ 'label' => t('Create 2 responsive DIV-blocks'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
'responsiveblocks3' => array(
'name' => 'responsiveblocks3',
'path' => $modulepath . '/plugins/responsiveblocks3/',
@@ -41,8 +47,11 @@ function foundation_ckeplugins_ckeditor_plugin() {
'buttons' => array(
'responsiveblocks3' => array(
'icon' => 'images/reponsiveBlocks3.png',
- 'label' => t('Create 3 responsive DIV-blocks'))),
- 'load' => TRUE),
+ 'label' => t('Create 3 responsive DIV-blocks'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
/*
* using oembed-plugin from http://ckeditor.com/addon/oembed and
* jquery.oembed.js from https://github.com/starfishmod/jquery-oembed-all
@@ -54,8 +63,11 @@ function foundation_ckeplugins_ckeditor_plugin() {
'buttons' => array(
'oembed' => array(
'icon' => 'images/icon.png',
- 'label' => t('Embed oembed-compatible content'))),
- 'load' => TRUE),
+ 'label' => t('Embed oembed-compatible content'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
/*
* Providing custom plugins for
* 1) embedding Javascript code and
@@ -68,8 +80,11 @@ function foundation_ckeplugins_ckeditor_plugin() {
'buttons' => array(
'jscode' => array(
'icon' => 'icons/code.png',
- 'label' => t('Enter Javascript Code'))),
- 'load' => TRUE),
+ 'label' => t('Enter Javascript Code'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
'jscodeurl' => array(
'name' => 'jscodeurl',
'path' => $modulepath . '/plugins/jscodeurl/',
@@ -77,8 +92,90 @@ function foundation_ckeplugins_ckeditor_plugin() {
'buttons' => array(
'jscodeurl' => array(
'icon' => 'icons/codeurl.png',
- 'label' => t('Enter Javascript URL'))),
- 'load' => TRUE));
+ 'label' => t('Enter Javascript URL'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
+ /*
+ * Some API plugins
+ * using ajax-plugin from http://ckeditor.com/addon/ajax
+ * using xml-plugin from http://ckeditor.com/addon/xml
+ */
+ 'ajax' => array(
+ 'name' => 'ajax',
+ 'desc' => 'AJAX API',
+ 'path' => $modulepath . '/plugins/ajax/',
+ ),
+ 'xml' => array(
+ 'name' => 'xml',
+ 'desc' => 'XML API',
+ 'path' => $modulepath . '/plugins/xml/',
+ ),
+ /*
+ * Custom ARTE plugins
+ */
+ 'arte-plugin-row' => array(
+ 'name' => 'arte-plugin-row',
+ 'desc' => t('ARTE Plugin Row'),
+ 'path' => $modulepath . '/plugins/arte-plugin-row/',
+ 'buttons' => array(
+ 'arte-plugin-row' => array(
+ 'icon' => 'icons/arte-plugin-row.png',
+ 'label' => t('ARTE Plugin Row'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
+ 'arte-widget-chiffre' => array(
+ 'name' => 'arte-widget-chiffre',
+ 'desc' => t('ARTE Widget Chiffre'),
+ 'path' => $modulepath . '/plugins/arte-widget-chiffre/',
+ 'buttons' => array(
+ 'arte-widget-chiffre' => array(
+ 'icon' => 'icons/arte-widget-chiffre.png',
+ 'label' => t('ARTE Plugin Chiffre'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
+ 'arte-widget-citation' => array(
+ 'name' => 'arte-widget-citation',
+ 'desc' => t('ARTE Widget Citation'),
+ 'path' => $modulepath . '/plugins/arte-widget-citation/',
+ 'buttons' => array(
+ 'arte-widget-citation' => array(
+ 'icon' => 'icons/arte-widget-citation.png',
+ 'label' => t('ARTE Plugin Citation'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
+ 'arte-widget-encadre' => array(
+ 'name' => 'arte-widget-encadre',
+ 'desc' => t('ARTE Widget Encadre'),
+ 'path' => $modulepath . '/plugins/arte-widget-encadre/',
+ 'buttons' => array(
+ 'arte-widget-encadre' => array(
+ 'icon' => 'icons/arte-widget-encadre.png',
+ 'label' => t('ARTE Plugin Encadre'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
+ 'arte-widget-programmes' => array(
+ 'name' => 'arte-widget-programmes',
+ 'desc' => t('ARTE Widget Programmes'),
+ 'path' => $modulepath . '/plugins/arte-widget-programmes/',
+ 'buttons' => array(
+ 'arte-widget-programmes' => array(
+ 'icon' => 'icons/arte-widget-programmes.png',
+ 'label' => t('ARTE Plugin Programmes'),
+ ),
+ ),
+ 'load' => TRUE
+ ),
+ );
}
/**
@@ -121,24 +218,6 @@ function foundation_ckeplugins_form_post_render($content, $element) {
$added = TRUE;
$modulepath = drupal_get_path('module', 'foundation_ckeplugins');
drupal_add_js($modulepath . '/js/foundation_ckeplugins.js');
-
- // Language definitions.
- /*drupal_add_js(
- array(
- 'foundation_ckeplugins' => array(
- 'block_1_label' => t('Create 1 responsive DIV-block'),
- 'block_2_label' => t('Create 2 responsive DIV-blocks'),
- 'block_3_label' => t('Create 3 responsive DIV-blocks'),
- 'jscode_label' => t('Enter Javascript Code'),
- 'jscode_label_code' => t('Enter Javascript Code for embedding'),
- 'jscode_label_remove' => t('Delete element'),
- 'jscode_text_remove_confirm' => t('Really delete element?'),
- 'jscode_contextmenu' => t('Edit Javascript Code'),
- 'jscodeurl_label' => t('Enter Javascript URL'),
- 'jscodeurl_label_url' => t('Enter a javascript URL for embedding'),
- 'jscodeurl_label_remove' => t('Delete element'),
- 'jscodeurl_text_remove_confirm' => t('Really delete element?'),
- 'jscodeurl_contextmenu' => t('Edit Javascript URL'))), 'setting');*/
}
}
return $content;
diff --git a/modules/features/foundation_ckeplugins/js/foundation_ckeplugins.js b/modules/features/foundation_ckeplugins/js/foundation_ckeplugins.js
index 9db37f3..481428a 100755
--- a/modules/features/foundation_ckeplugins/js/foundation_ckeplugins.js
+++ b/modules/features/foundation_ckeplugins/js/foundation_ckeplugins.js
@@ -6,7 +6,7 @@
$(document).ready(function() {});
- // Objact handling functionality around custum DIV-blocks
+ // Object handling functionality around custom DIV-blocks
Drupal.foundation.ckeRespBlocks = {
// definitions on column-layouts
@@ -88,7 +88,7 @@
};
- // Objact handling functionality around script-plugins
+ // Object handling functionality around script-plugins
Drupal.foundation.ckeCode = function(editor, kind) {
this.editor = editor;
this.kind = kind;
diff --git a/modules/features/foundation_ckeplugins/plugins/ajax/plugin.js b/modules/features/foundation_ckeplugins/plugins/ajax/plugin.js
new file mode 100644
index 0000000..cbb32bb
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/ajax/plugin.js
@@ -0,0 +1,138 @@
+/**
+ * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or http://ckeditor.com/license
+ */
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.ajax} object, which holds ajax methods for
+ * data loading.
+ */
+
+(function() {
+ CKEDITOR.plugins.add( 'ajax', {
+ requires: 'xml'
+ });
+
+ /**
+ * Ajax methods for data loading.
+ *
+ * @class
+ * @singleton
+ */
+ CKEDITOR.ajax = (function() {
+ var createXMLHttpRequest = function() {
+ // In IE, using the native XMLHttpRequest for local files may throw
+ // "Access is Denied" errors.
+ if ( !CKEDITOR.env.ie || location.protocol != 'file:' )
+ try {
+ return new XMLHttpRequest();
+ } catch ( e ) {}
+
+ try {
+ return new ActiveXObject( 'Msxml2.XMLHTTP' );
+ } catch ( e ) {}
+ try {
+ return new ActiveXObject( 'Microsoft.XMLHTTP' );
+ } catch ( e ) {}
+
+ return null;
+ };
+
+ var checkStatus = function( xhr ) {
+ // HTTP Status Codes:
+ // 2xx : Success
+ // 304 : Not Modified
+ // 0 : Returned when running locally (file://)
+ // 1223 : IE may change 204 to 1223 (see http://dev.jquery.com/ticket/1450)
+
+ return ( xhr.readyState == 4 && ( ( xhr.status >= 200 && xhr.status < 300 ) || xhr.status == 304 || xhr.status === 0 || xhr.status == 1223 ) );
+ };
+
+ var getResponseText = function( xhr ) {
+ if ( checkStatus( xhr ) )
+ return xhr.responseText;
+ return null;
+ };
+
+ var getResponseXml = function( xhr ) {
+ if ( checkStatus( xhr ) ) {
+ var xml = xhr.responseXML;
+ return new CKEDITOR.xml( xml && xml.firstChild ? xml : xhr.responseText );
+ }
+ return null;
+ };
+
+ var load = function( url, callback, getResponseFn ) {
+ var async = !!callback;
+
+ var xhr = createXMLHttpRequest();
+
+ if ( !xhr )
+ return null;
+
+ xhr.open( 'GET', url, async );
+
+ if ( async ) {
+ // TODO: perform leak checks on this closure.
+ xhr.onreadystatechange = function() {
+ if ( xhr.readyState == 4 ) {
+ callback( getResponseFn( xhr ) );
+ xhr = null;
+ }
+ };
+ }
+
+ xhr.send( null );
+
+ return async ? '' : getResponseFn( xhr );
+ };
+
+ return {
+ /**
+ * Loads data from an URL as plain text.
+ *
+ * // Load data synchronously.
+ * var data = CKEDITOR.ajax.load( 'somedata.txt' );
+ * alert( data );
+ *
+ * // Load data asynchronously.
+ * var data = CKEDITOR.ajax.load( 'somedata.txt', function( data ) {
+ * alert( data );
+ * } );
+ *
+ * @param {String} url The URL from which load data.
+ * @param {Function} [callback] A callback function to be called on
+ * data load. If not provided, the data will be loaded
+ * synchronously.
+ * @returns {String} The loaded data. For asynchronous requests, an
+ * empty string. For invalid requests, `null`.
+ */
+ load: function( url, callback ) {
+ return load( url, callback, getResponseText );
+ },
+
+ /**
+ * Loads data from an URL as XML.
+ *
+ * // Load XML synchronously.
+ * var xml = CKEDITOR.ajax.loadXml( 'somedata.xml' );
+ * alert( xml.getInnerXml( '//' ) );
+ *
+ * // Load XML asynchronously.
+ * var data = CKEDITOR.ajax.loadXml( 'somedata.xml', function( xml ) {
+ * alert( xml.getInnerXml( '//' ) );
+ * } );
+ *
+ * @param {String} url The URL from which load data.
+ * @param {Function} [callback] A callback function to be called on
+ * data load. If not provided, the data will be loaded synchronously.
+ * @returns {CKEDITOR.xml} An XML object holding the loaded data. For asynchronous requests, an
+ * empty string. For invalid requests, `null`.
+ */
+ loadXml: function( url, callback ) {
+ return load( url, callback, getResponseXml );
+ }
+ };
+ })();
+
+})();
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-plugin-row/icons/arte-plugin-row.png b/modules/features/foundation_ckeplugins/plugins/arte-plugin-row/icons/arte-plugin-row.png
new file mode 100644
index 0000000000000000000000000000000000000000..6d12072c3e2e13463e38475112530c93fc915dc9
GIT binary patch
literal 965
zcmaJ=O^ee|6papu7Dh&Nq2uP6*(lh2wMpC1SlcG!L`*4dv4wFlY4X~JPV!>%YSJ!s
zrK=I#`3rR6)`f_uD2N*c7di_;<_Gu}eCf0u7uJyEeQ?gX_uYHm!+Pz;YHB@2QPirw
zr8da8mV76VlmFi1fkcK2SnJ>>>fy)?AXT<e7XsZi`>+8`dwlm3EK<}8?X)_$W89K0
z<T7T0VPe-OY>FzDV&Ale5Q8r4JDx)Se)Wb1j;+vb(clcf3J1>CB!JCHtz}JyR>7uA
z*FZ6riGT~S31WBG3*}g$r@AtkC)+FyrVu<-=)<HsMjcd90D;J4(iX?_K#~|fD@qc7
z6$l(JupD`%G@q44NfvTo_Ru6+VE5#Px;cwQRti19*q2#0iXtY;FevD=e4$WCGz1|{
z5b1F2VKYv9;l^A+g`pKVK6a1?5=FC%Mp&UqriVvx{e`R-&dNjz#>S@4@(h<8X$~}u
z|3h7Ofevv49_9N_;jlIKA=`i<8U+?<TyG-@<;&FonivHwgm&jutPc=I;Q;xd+LXZM
zw&U3-3a?D@h9T=-h)vIex~kAbfpHvLu8Mhq<D_g(<1#$2W%8oNX<0Q}u9T%*Udzq7
zDzZi{^zfW(A92N{+{6m5Pa>-@aPC2SGe9nw9$9vl=OQfCn{n;sxn!1dS&|H!H1@AX
z&$ozslIg;>WU(+l^oZL7V(aJM&y~oPDClar74LVSJlp?pJ+;#XXX^U<gWGMe-m1M@
zIsfbJqt9R0!1n8>-HTr;r+$39boS<hk2-bi1hrQ_{qm=Ja3{G~x>i$PRCezF0ccw)
Ao&W#<
literal 0
HcmV?d00001
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-plugin-row/plugin.js b/modules/features/foundation_ckeplugins/plugins/arte-plugin-row/plugin.js
new file mode 100644
index 0000000..b824ea1
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/arte-plugin-row/plugin.js
@@ -0,0 +1,29 @@
+CKEDITOR.plugins.add('arte-plugin-row', {
+
+ icons: 'arte-plugin-row',
+
+ init: function(editor) {
+
+ var command = new CKEDITOR.command(editor, {
+ exec: function(editor) {
+ editor.insertHtml(
+ '<div class="ab-row">'
+ + ' <div class="ab-col-6 ai-content-padded">'
+ + ' <p class="ai-paragraph"></p>'
+ + ' </div>'
+ + '</div>');
+ }
+ });
+
+ editor.addCommand('arte-plugin-row-command', command);
+
+ editor.ui.addButton && editor.ui.addButton('arte-plugin-row', {
+ label: 'Plugin row',
+ command: 'arte-plugin-row-command',
+ toolbar: 'artewidgets,50',
+ icon: 'arte-plugin-row'
+ }); // editor.ui.addButton
+
+ } // init
+
+}); // CKEDITOR.plugins.add
\ No newline at end of file
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/dialogs/arte-dialog.js b/modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/dialogs/arte-dialog.js
new file mode 100644
index 0000000..c878804
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/dialogs/arte-dialog.js
@@ -0,0 +1,47 @@
+// Note: This automatic widget to dialog window binding (the fact that every field is set up from the widget
+// and is committed to the widget) is only possible when the dialog is opened by the Widgets System
+// (i.e. the widgetDef.dialog property is set).
+// When you are opening the dialog window by yourself, you need to take care of this by yourself too.
+CKEDITOR.dialog.add('arte-dialog-chiffre', function(editor) {
+ return {
+ title: 'Config',
+ minWidth: 200,
+ minHeight: 100,
+ contents: [
+ {
+ id: 'info',
+ elements: [
+ {
+ id: 'align',
+ type: 'select',
+ label: 'Align',
+ items: [
+ //[ editor.lang.common.notSet, '' ],
+ [ editor.lang.common.alignLeft, 'left' ],
+ [ editor.lang.common.alignRight, 'right' ],
+ [ editor.lang.common.alignCenter, 'center' ]
+ ],
+ setup: function(widget) {
+ this.setValue(widget.data.align);
+ },
+ commit: function( widget ) {
+ widget.setData('align', this.getValue());
+ }
+ }/*,
+ {
+ id: 'width',
+ type: 'text',
+ label: 'Width',
+ width: '50px',
+ setup: function(widget) {
+ this.setValue(widget.data.width);
+ },
+ commit: function(widget) {
+ widget.setData('width', this.getValue());
+ }
+ }*/
+ ]
+ }
+ ]
+ };
+} );
\ No newline at end of file
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/icons/arte-widget-chiffre.png b/modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/icons/arte-widget-chiffre.png
new file mode 100644
index 0000000000000000000000000000000000000000..5d8aa3d4e283a89f1e25b121d63375171f3a836e
GIT binary patch
literal 997
zcmaJ=%WKp?9F7*D6e<-ws0fZJ;sZC2eWcCM*hjLpfu_{$LRY+OHko$EZ89;Lx@l4H
z0fK_sp2VY64~ls3sE7!9un3;*KOpoXs33@llkM)-gKJ1K55DjF{pR=k=H~R&>E50L
zJsijNniEEWjeW`2y_5Y{R;vmd_S1Zc&X74;w?o8@x}<`D>DlwBfNXc^!h1Btaa}wv
zmT1YEgbwipJHZIC7ce%*4GqVE?bHwj6*P~1jsNoUH4m_>@v}KgvH~4d@x*e7W|pUl
z&T`FBU4Hl!7>Xei@DQ~@>@D~aj5WTY3)wu`7J1Ns(3-|?B~`MfflfjMazZBMNU{tR
zMUb;OMUhW}v?QlRiM>in&cd7m(*vOS@GM&B&cT8)-i*ao8egR}fTCEh*M)jUAmO|y
ztE!r4q|+&eNJUFNwd0f@^|urZ6geRdC?-Bg6zvLGq#DmM-8zC7v}OIMSteF6F}4Fy
z7Nq1zEudxnAL@B+bVLhiJKui_N5!Q8i3Jpq#n54mo9j<P1yB!>O-WcJWT92X=_;Wl
zs*(WcGYU91i+z{WqvH*{WkJ)AsO>w*G&G(m2pGF?P|B)<s%{MArL-*PGh@o=xS=YF
zkyo;rjI6Y{25}ZW<kJ?{-R9;yauX|f0gG&)5MM;@ct||ZI5NbYa~bQX*W|jLbJ06;
zMV5@1H1@AXx3-vjl4;wvY|%D8@|oL1X6sKkRu8f(an>|Oi}6Nf_3_5Lk)Cn|>{)qw
zb=U1f4~|qG@$TATVg2Ko7vF!~s*&z0_hfhW-qAPaIq}ux{mYx{Yd_vX{Q3Ibk>_Qg
p<G%CdHzzjLZy)-;c8y%w!QHvEci+$757&~5XXdAjXJh4Se*hZPJhcD-
literal 0
HcmV?d00001
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/plugin.js b/modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/plugin.js
new file mode 100644
index 0000000..f4229a7
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/arte-widget-chiffre/plugin.js
@@ -0,0 +1,86 @@
+CKEDITOR.plugins.add('arte-widget-chiffre', {
+
+ requires: 'widget',
+
+ icons: 'arte-widget-chiffre',
+
+ init: function(editor) {
+
+ var _align = {
+ 'left': 'ai-widget--left',
+ 'right': 'ai-widget--right',
+ 'center': 'ai-widget--center'
+ }, d = new Date();
+
+ CKEDITOR.dialog.add('arte-dialog-chiffre', this.path + 'dialogs/arte-dialog.js');
+
+ editor.widgets.add('arte-widget-chiffre', {
+
+ dialog: 'arte-dialog-chiffre',
+
+ // button: 'Widget chiffre',
+
+ defaults: {
+ align: 'left'
+ },
+
+ editables: {
+ exergue: {
+ selector: '.ai-widget .ai-exergue',
+ allowedContent: ' '
+ },
+ title: {
+ selector: '.ai-widget .ai-title',
+ allowedContent: 'br strong em'
+ },
+ paragraph: {
+ selector: '.ai-widget .ai-paragraph',
+ allowedContent: 'span'
+ }
+ },
+
+ template:
+ '<div class="ai-widget ai-widget--text">' +
+ ' <p class="ai-exergue">10%</p>' +
+ ' <h3 class="ai-title ai-title-5">Le titre du widget</h3>' +
+ ' <p class="ai-paragraph ai-separator pt">Source AFP<span> - ' + d.getDate().addZero() + '/' + (d.getMonth() + 1).addZero() + '/' + d.getFullYear() + '</span></p>' +
+ '</div>',
+
+ upcast: function(element) {
+ return element.name == 'div' && element.hasClass('ai-widget');
+ },
+
+ init: function() {
+ if (this.element.hasClass('ai-widget--left'))
+ this.setData('align', 'left');
+ if (this.element.hasClass('ai-widget--center'))
+ this.setData('align', 'center');
+ if (this.element.hasClass('ai-widget--right'))
+ this.setData('align', 'right');
+ },
+
+ data: function() {
+ if (this.data.align) {
+ for (var s in _align) {
+ this.element.removeClass(_align[s]);
+ }
+ this.element.addClass(_align[this.data.align]);
+ }
+ }
+
+ }); // editor.widgets.add
+
+ editor.ui.addButton && editor.ui.addButton('arte-widget-chiffre', {
+ label: 'Widget chiffre',
+ command: 'arte-widget-chiffre',
+ toolbar: 'artewidgets,1',
+ icon: 'arte-widget-chiffre'
+ }); // editor.ui.addButton
+
+ } // init
+
+}); // CKEDITOR.plugins.add
+
+if ('undefined' == typeof Number.prototype.addZero) {
+ Number.prototype.addZero = function() { return (this < 10 ? '0' : '') + this; };
+}
\ No newline at end of file
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-citation/dialogs/arte-dialog.js b/modules/features/foundation_ckeplugins/plugins/arte-widget-citation/dialogs/arte-dialog.js
new file mode 100644
index 0000000..4a616f6
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/arte-widget-citation/dialogs/arte-dialog.js
@@ -0,0 +1,47 @@
+// Note: This automatic widget to dialog window binding (the fact that every field is set up from the widget
+// and is committed to the widget) is only possible when the dialog is opened by the Widgets System
+// (i.e. the widgetDef.dialog property is set).
+// When you are opening the dialog window by yourself, you need to take care of this by yourself too.
+CKEDITOR.dialog.add('arte-dialog-citation', function(editor) {
+ return {
+ title: 'Config',
+ minWidth: 200,
+ minHeight: 100,
+ contents: [
+ {
+ id: 'info',
+ elements: [
+ {
+ id: 'align',
+ type: 'select',
+ label: 'Align',
+ items: [
+ //[ editor.lang.common.notSet, '' ],
+ [ editor.lang.common.alignLeft, 'left' ],
+ [ editor.lang.common.alignRight, 'right' ],
+ [ editor.lang.common.alignCenter, 'center' ]
+ ],
+ setup: function(widget) {
+ this.setValue(widget.data.align);
+ },
+ commit: function(widget) {
+ widget.setData('align', this.getValue());
+ }
+ }/*,
+ {
+ id: 'width',
+ type: 'text',
+ label: 'Width',
+ width: '50px',
+ setup: function(widget) {
+ this.setValue(widget.data.width);
+ },
+ commit: function(widget) {
+ widget.setData('width', this.getValue());
+ }
+ }*/
+ ]
+ }
+ ]
+ };
+} );
\ No newline at end of file
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-citation/icons/arte-widget-citation.png b/modules/features/foundation_ckeplugins/plugins/arte-widget-citation/icons/arte-widget-citation.png
new file mode 100644
index 0000000000000000000000000000000000000000..b446859a7706056391dfc9cf78562d5f6860c8c1
GIT binary patch
literal 1185
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|k|nMYCBgY=CFO}lsSJ)O`AMk?
zp1FzXsX?iUDV2pMQ*9U+n3Xa^B1$5BeXNr6bM+EIYV;~{3xK*A7;Nk-3KEmEQ%e+*
zQqwc@Y?a>c-mj#PnPRIHZt82`Ti~3Uk?B!Ylp0*+7m{3+ootz+WN)WnQ(*-(AUCxn
zQK2F?C$HG5!d3}vt`(3C64qBz04piUwpD^SD#ABF!8yMuRl!uxSU1_g&``n5OwZ87
z)XdCKN5ROz&`93^h|F{iO{`4Ktc=VRpg;*|TTx1yRgjAt)Gi>;Rw<*Tq`*pFzr4I$
zuiRKKzbIYb(9+TpWQLKEE>MMTab;dfVufyAu`<jAm(=3qqRfJl%=|nBkco*&`K2Yc
zN<f!FypUS}H#V;r8ce_d)2~P@&^OdG0C@?f(AO8g(%f9Q>f(~1RD^r68eAMwS&*t9
zlv<o$T9gcoxHM&uRRvbgMX8A;`9&f5`8lvq49LhY$uG{xFHmp}HdD|D&&*57FE7>v
ztM~P_^2{qPNz6-5^>ndS0-B(gnVDkcVs2pM;^<;&?rLCUXy|I}<m77V=4RpIWNBgO
zW?^9j)9aF-T$-DjR|3<Ug3#-TQ!gkf<Q4#Jc1bPDEK5ysE6UGR0DIXg6SrH;aheC!
zn}XXd7C80l10ACeiddwGh6w>v4~Pj*wm=R%;iu*SQ+p9GSu<*fl`}9fih8;@hE&{2
znzHiNQ3tMsBn82MH3uVlva5G>?q;&zl(2gBr9TF_I#NnoT&AVYsQ>x#_pR6Y0)mlw
zVGAw^c>kPSe&5k0;=!uMWoB(J)>;1BQ1#t*N5bUov-ULwT<Mvd9$)LceW9(-`+KL)
zpICJ|HzoGV(p}qP+E=?}oG_Rs^7Oey!B^Ey+_gPR;_Lrxd~{1%XWlf?M=dKDeo3s5
zR9c~M?)2G%Od^a`%r7KM>>WZFJY_8pUhcPdnse~zIi@E}f)nQMc%^ly?fCnB%CAF2
zA2LnikE?6z_TVU5WRZF7=JSHg1-tw0{&1w|*!~h&_wbHw#s;H9mxV4&l?>bDaBNq%
x{)2-|J(97R`~2_Mm&;Z5tV_J0V%NaH%ut(<a$w73MIKP0;pyt<vd$@?2>@YfoeBT|
literal 0
HcmV?d00001
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-citation/plugin.js b/modules/features/foundation_ckeplugins/plugins/arte-widget-citation/plugin.js
new file mode 100644
index 0000000..fb65df8
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/arte-widget-citation/plugin.js
@@ -0,0 +1,92 @@
+CKEDITOR.plugins.add('arte-widget-citation', {
+
+ requires: 'widget',
+
+ icons: 'arte-widget-citation',
+
+ init: function(editor) {
+
+ var _align = {
+ 'left': 'ai-widget--left',
+ 'right': 'ai-widget--right',
+ 'center': 'ai-widget--center'
+ }, d = new Date();
+
+ CKEDITOR.dialog.add('arte-dialog-citation', this.path + 'dialogs/arte-dialog.js');
+
+ editor.widgets.add('arte-widget-citation', {
+
+ dialog: 'arte-dialog-citation',
+
+ // button: 'Widget chiffre',
+
+ defaults: {
+ align: 'left'
+ },
+
+
+
+
+ requiredContent: 'div(ai-widget)',
+ allowedContent: 'div(!ai-widget,ai-widget--text,ai-widget--left,ai-widget--right,ai-widget--center);' +
+ 'h4(!ai-quote);' +
+ 'p(!ai-paragraph-ck,ai-separator,pt) span',
+
+ editables: {
+ quote: {
+ selector: '.ai-widget .ai-quote',
+ allowedContent: ''
+ },
+ paragraph: {
+ selector: '.ai-widget .ai-paragraph-ck',
+ allowedContent: 'span'
+ }
+ },
+
+ template:
+ '<div class="ai-widget ai-widget--text">' +
+ ' <h4 class="ai-quote">"Blue Jasmine" est à la fois un vraie mélo et une grande comédie</h4>' +
+ ' <p class="ai-paragraph-ck ai-separator pt">Source AFP<span> - ' + d.getDate().addZero() + '/' + (d.getMonth() + 1).addZero() + '/' + d.getFullYear() + '</span></p>' +
+ '</div>',
+
+ upcast: function(element) {
+ return element.name == 'div' && element.hasClass('ai-widget');
+ },
+
+ init: function() {
+ if (this.element.hasClass('ai-widget--left'))
+ this.setData('align', 'left');
+ if (this.element.hasClass('ai-widget--center'))
+ this.setData('align', 'center');
+ if (this.element.hasClass('ai-widget--right'))
+ this.setData('align', 'right');
+ // == !!!!! This line prevents a bug
+ // == !!!!! with the nested editable parts of a widget
+ editor.widgets.checkWidgets();
+ },
+
+ data: function() {
+ if (this.data.align) {
+ for (var s in _align) {
+ this.element.removeClass(_align[s]);
+ }
+ this.element.addClass(_align[this.data.align]);
+ }
+ }
+
+ }); // editor.widgets.add
+
+ editor.ui.addButton && editor.ui.addButton('arte-widget-citation', {
+ label: 'Widget citation',
+ command: 'arte-widget-citation',
+ toolbar: 'artewidgets,2',
+ icon: 'arte-widget-citation'
+ }); // editor.ui.addButton
+
+ } // init
+
+}); // CKEDITOR.plugins.add
+
+if ('undefined' == typeof Number.prototype.addZero) {
+ Number.prototype.addZero = function() { return (this < 10 ? '0' : '') + this; };
+}
\ No newline at end of file
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/dialogs/arte-dialog.js b/modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/dialogs/arte-dialog.js
new file mode 100644
index 0000000..f5fb38f
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/dialogs/arte-dialog.js
@@ -0,0 +1,62 @@
+// Note: This automatic widget to dialog window binding (the fact that every field is set up from the widget
+// and is committed to the widget) is only possible when the dialog is opened by the Widgets System
+// (i.e. the widgetDef.dialog property is set).
+// When you are opening the dialog window by yourself, you need to take care of this by yourself too.
+CKEDITOR.dialog.add('arte-dialog-encadre', function(editor) {
+ return {
+ title: 'Config',
+ minWidth: 200,
+ minHeight: 100,
+ contents: [
+ {
+ id: 'info',
+ elements: [
+ {
+ id: 'align',
+ type: 'select',
+ label: 'Align',
+ items: [
+ //[ editor.lang.common.notSet, '' ],
+ [ editor.lang.common.alignLeft, 'left' ],
+ [ editor.lang.common.alignRight, 'right' ],
+ [ editor.lang.common.alignCenter, 'center' ]
+ ],
+ setup: function(widget) {
+ this.setValue(widget.data.align);
+ },
+ commit: function( widget ) {
+ widget.setData('align', this.getValue());
+ }
+ },
+ {
+ id: 'icon',
+ type: 'select',
+ label: 'Icone',
+ items: [
+ [ 'Aucune', '' ],
+ [ 'Plus', 'ai-widget--more' ]
+ ],
+ setup: function(widget) {
+ this.setValue(widget.data.icon);
+ },
+ commit: function(widget) {
+ widget.setData('icon', this.getValue());
+ }
+ }/*,
+ {
+ id: 'width',
+ type: 'text',
+ label: 'Width',
+ width: '50px',
+ setup: function(widget) {
+ this.setValue(widget.data.width);
+ },
+ commit: function(widget) {
+ widget.setData('width', this.getValue());
+ }
+ }*/
+ ]
+ }
+ ]
+ };
+} );
\ No newline at end of file
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/icons/arte-widget-encadre.png b/modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/icons/arte-widget-encadre.png
new file mode 100644
index 0000000000000000000000000000000000000000..c1142c2e0a579d95d0c7522d15003637b25532a4
GIT binary patch
literal 1082
zcmaJ=T}TvB7@d;Bw4!>6B<wmy6tputyY8$zxtY7O)q*3kF6@R7&dyxjNoVdfbGIGs
zzo+b_1fL=*dNK-)5)3l?ksczj2n&*)R6+<0>7}RW&gyCpZNuDO&N<(?_xo;tYs;}M
z6;%}!MQw>67ZYUM=C<<nq`xtc<;k!M$I`eBb>h5iL8?hb83^LK+yxU*R(nssg$)!{
zMr+A5PD{;#f^<f9F^r>|giTQmjgBcR-4KHe?9z-d{o~mS8fa>mP6Z^dWJY0DJKkr(
zw!W66($}qoRJ!pnXmA7~phGMJNAEFg!3om^U4hKqZI%WF2<{Hk%cjy&D~KWsf&k<9
zC|-^OJkM}-0iNd$0-u-jv0n1?9<ELZ@PaQ0Rz8|Uv(!!@As$_cMOI-ti?J!NY(Af7
z@_q(cT`U(0g<K7v&qEL%yVt<7<1y^oqJju*#nMcyAp^LIat7sam?ln_kD!~YvWC5K
zP2|E@M>biG@w!JU0wwAHP+ea|+c*K&{QgtePWGCRO+XvvEQKVlv(^n|3Q-Hn7+Fb#
zdWyH$nnf7dS!9A}8xQuUG($ys`#=FNNkZJPv1}+XE{18Mz-XE(aFM9Uhy1=^%<Jd4
zm_OnT21$$6*G0JcV4c6n6_JwDp@EBBb&cyU$#qLXH%Vj>TG|<?9<`7T3P%>S(q2gP
zQeKw1YH2TANiIvwux?`iN_26HRF6AdEnBi!EqrK@YPU#P|EwGzAWvdAE;c2dnatq*
znKwr&Ix=AUhm&QMRTp#P6Sv2=?L72u?9N3dd@eQmZDwxd#nKn>>iwqV*zftt)Sij<
zq5eScgYA!MPA#6eI`H`G!?V})<X&gfuXT$QnEQUcv0`@oR}Xb_X6L;POOs^%G?XrP
zs)ni-7C+}wowv?!ov)sH0y@g3t81n<D{+r@viZ}(1#07LfBVSn?!n6E0VkBcJp6k4
gW&P%lJC0mhN7dXpTzhwPpW?pec&tSnj&xl418XN`>i_@%
literal 0
HcmV?d00001
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/plugin.js b/modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/plugin.js
new file mode 100644
index 0000000..63e3443
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/arte-widget-encadre/plugin.js
@@ -0,0 +1,90 @@
+CKEDITOR.plugins.add('arte-widget-encadre', {
+
+ requires: 'widget',
+ icons: 'arte-widget-encadre',
+
+ init: function(editor) {
+ CKEDITOR.dialog.add('arte-dialog-encadre', this.path + 'dialogs/arte-dialog.js');
+
+ var _align = {
+ 'left': 'ai-widget--left',
+ 'right': 'ai-widget--right',
+ 'center': 'ai-widget--center'},
+ _icons = {
+ 'ai-widget--more': 'ai-widget--more'};
+
+ editor.widgets.add('arte-widget-encadre', {
+ dialog: 'arte-dialog-encadre',
+
+ requiredContent: 'div(ai-widget)',
+ allowedContent: 'div(!ai-widget,ai-widget--left,ai-widget--right,ai-widget--center,ai-widget--more);' +
+ 'h4(!ai-title,ai-title-5);' +
+ 'p(!ai-paragraph-ck) a[*]; br strong em',
+
+ defaults: {
+ align: 'left',
+ icon: ''
+ },
+
+ editables: {
+ title: {
+ selector: '.ai-widget .ai-title',
+ allowedContent: ''
+ },
+ paragraph: {
+ selector: '.ai-widget .ai-paragraph-ck',
+ allowedContent: 'a[*]; br strong em'
+ }
+ },
+
+ template:
+ '<div class="ai-widget ai-widget--text">' +
+ ' <h4 class="ai-title ai-title-5">En savoir plus...</h4>' +
+ ' <p class="ai-paragraph-ck">Lorem <strong>ipsum</strong> dolor sit amet <a href="">lien</a> lorem ipsum dolor sit amet</p>' +
+ '</div>',
+
+ upcast: function(element) {
+ return element.name == 'div' && element.hasClass('ai-widget');
+ },
+
+ init: function() {
+ if (this.element.hasClass('ai-widget--left'))
+ this.setData('align', 'left');
+ if (this.element.hasClass('ai-widget--center'))
+ this.setData('align', 'center');
+ if (this.element.hasClass('ai-widget--right'))
+ this.setData('align', 'right');
+ if (this.element.hasClass('ai-widget--more'))
+ this.setData('icon', 'ai-widget--more');
+ // == !!!!! This line prevents a bug
+ // == !!!!! with the nested editable parts of a widget
+ editor.widgets.checkWidgets();
+ },
+
+ data: function() {
+ if (this.data.align) {
+ for (var s in _align) {
+ this.element.removeClass(_align[s]);
+ }
+ this.element.addClass(_align[this.data.align]);
+ }
+ if (this.data.icon) {
+ for (var s in _icons) {
+ this.element.removeClass(_icons[s]);
+ }
+ this.element.addClass(_icons[this.data.icon]);
+ }
+ }
+
+ }); // editor.widgets.add
+
+ editor.ui.addButton && editor.ui.addButton('arte-widget-encadre', {
+ label: 'Widget encadre',
+ command: 'arte-widget-encadre',
+ toolbar: 'artewidgets,3',
+ icon: 'arte-widget-encadre'
+ }); // editor.ui.addButton
+
+ } // init
+
+}); // CKEDITOR.plugins.add
\ No newline at end of file
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/dialogs/arte-dialog.js b/modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/dialogs/arte-dialog.js
new file mode 100644
index 0000000..7a50b42
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/dialogs/arte-dialog.js
@@ -0,0 +1,87 @@
+CKEDITOR.dialog.add('arte-dialog-programmes', function(editor) {
+ return {
+ title: editor.lang['arte-widget-programmes'].dialogTitle,
+ minWidth: 200,
+ minHeight: 100,
+ contents: [
+ {
+ id: 'info',
+ elements: [
+ {
+ id: 'align',
+ type: 'select',
+ label: editor.lang['arte-widget-programmes'].labeAlign,
+ items: [
+ [ editor.lang.common.alignLeft, 'left' ],
+ [ editor.lang.common.alignRight, 'right' ],
+ [ editor.lang.common.alignCenter, 'center' ]
+ ],
+ setup: function(widget) {
+ this.setValue(widget.data.align);
+ },
+ commit: function( widget ) {
+ widget.setData('align', this.getValue());
+ }
+ },
+ {
+ id: 'emnum',
+ type: 'text',
+ label: editor.lang['arte-widget-programmes'].labelEm,
+ width: '150px',
+ setup: function(widget) {
+ this.setValue(widget.data.emnum);
+ },
+ commit: function(widget) {
+ var SELF = this;
+
+ CKEDITOR.ajax.load(editor.lang['arte-widget-programmes'].apiUrl + this.getValue(), function(data) {
+ var response = JSON.parse(data);
+
+ if (response.errors) {
+ // Display errors.
+ for (var i = 0; i < response.errors.length; i++) {
+ alert(response.errors[i].title + ' - ' + response.errors[i].detail);
+ console.log('OPA error code : ' + response.errors[i].code);
+ }
+ } else {
+ if (response.broadcastProgrammings) {
+ // Display widget data.
+ var prog = response.broadcastProgrammings;
+ if (prog.length >= 1) {
+ var promptMsg = '';
+ for (i = 0; i < prog.length; i++) {
+ // Convert date from UTC to local time (GMT+1 for example).
+ var programDate = new Date(prog[i].broadcastBegin).getTime();
+ programDate = new Date(programDate).toString();
+
+ promptMsg += "Touche " + (i + 1) + " pour : " + programDate + "\n";
+ }
+ var msg = prompt(promptMsg);
+ var index = parseInt(msg, 10) - 1;
+
+ // Find programming and program.
+ var programming = response.broadcastProgrammings[index];
+ for (var i = 0; i < response.linked.programs.length; i++) {
+ // Check program Id.
+ if (programming.programId == response.linked.programs[i].programId && programming.language == response.linked.programs[i].language) {
+ programming.linked = response.linked.programs[i];
+ break;
+ }
+ }
+
+ widget.setData('abstractProgram', {prog: programming});
+ } else {
+ widget.setData('abstractProgram', {prog: prog[0]});
+ }
+ } else {
+ alert(editor.lang['arte-widget-programmes'].invalidEM);
+ }
+ }
+ });
+ }
+ }
+ ]
+ }
+ ]
+ };
+});
\ No newline at end of file
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/icons/arte-widget-programmes.png b/modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/icons/arte-widget-programmes.png
new file mode 100644
index 0000000000000000000000000000000000000000..8b1363a69a0fcec5aae223f18bcbe8f535790864
GIT binary patch
literal 1265
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|k|nMYCBgY=CFO}lsSJ)O`AMk?
zp1FzXsX?iUDV2pMQ*9U+n3Xa^B1$5BeXNr6bM+EIYV;~{3xK*A7;Nk-3KEmEQ%e+*
zQqwc@Y?a>c-mj#PnPRIHZt82`Ti~3Uk?B!Ylp0*+7m{3+ootz+WN)WnQ(*-(AUCxn
zQK2F?C$HG5!d3}vt`(3C64qBz04piUwpD^SD#ABF!8yMuRl!uxSU1_g&``n5OwZ87
z)XdCKN5ROz&`93^h|F{iO{`4Ktc=VRpg;*|TTx1yRgjAt)Gi>;Rw<*Tq`*pFzr4I$
zuiRKKzbIYb(9+TpWQLKEE>MMTab;dfVufyAu`<jAm(=3qqRfJl%=|nBkco*&`K2Yc
zN<f!FypUS}H#V;r8ce_d)2~P@&^OdG0C@?f(AO8g(%f9Q>f(~1RD^r68eAMwS&*t9
zlv<o$T9gcoxHM&uRRvbgMX8A;`9&f5`8lvq49LhY$uG{xFHmp}HdD|D&&*57FE7>v
ztM~P_^2{qPNz6-5^>ndS0-B(gnVDi`VPWoSZfb61?rLCcXy|I}=n8}`&Sp;LPNtS-
zE>1ALF8Rr&xv6<2Fuf@Vy~a58f|5dR0nlcb)S}F?)D*X({9FaFm#s2!yTt&fc~HG6
zxZPriQ?EYIG5Vm0MT%&c5HR(CnDAr^<iHbtY927P7Xg#?(r>nh7#J9Vq30M<aVu%c
z%3DVrxDpPEOcH(aBq^EAC~w~%CkN+=n~PQ~d~#gA-tO-Y<|kR+pWf~HwkrSrUiJ6;
z7iT|soDexRi77<f>bp*il!io_%2unJ5-ZZb?o1bORO7fRzNYr=&*#V1nm1l@C>3yA
z@XzwN+)|yrHy*6jQ$EpoVS)Nt_APr8U!Prl-roM-hs75nC2!7kIJon;oT#OyqDh1n
zCsV7!JH4oC)1zMJf&v91&(B%R@7%jYpe{h{VO;$~%NG7G4*&O6f4%o=_qzRU9WwjB
zzx(m`yF+yWTlW2XyICGR{B+qrFDl6)x!@%uTeHrl<>hxPczNt99wao0WLGA%D46W|
z^QHLe&h+9Wo(-=UtIThD@kz7^=o!z?)tO*b@mtp*Wz!qc`1+rv-@k@;$QZn7bexmB
zUc&78naTY23QavHI?ua0o1FG@jB0p%tXqGNjE=*xN0a@<=GFX>lz9|kBEURD!h?l@
ak&Pj<Vy1Z9PR^yELdetA&t;ucLK6Uda>0B6
literal 0
HcmV?d00001
diff --git a/modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/plugin.js b/modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/plugin.js
new file mode 100644
index 0000000..cee5aaf
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/arte-widget-programmes/plugin.js
@@ -0,0 +1,241 @@
+CKEDITOR.plugins.add('arte-widget-programmes', {
+
+ requires: 'widget,ajax',
+
+ icons: 'arte-widget-programmes',
+
+ init: function(editor) {
+
+ var _align = {
+ 'left': 'ai-widget--left',
+ 'right': 'ai-widget--right',
+ 'center': 'ai-widget--center'
+ },
+ _emnum = '';
+
+ CKEDITOR.dialog.add('arte-dialog-programmes', this.path + 'dialogs/arte-dialog.js');
+
+ editor.widgets.add('arte-widget-programmes', {
+
+ dialog: 'arte-dialog-programmes',
+
+ // requiredContent: 'div(ai-widget)',
+ // allowedContent: 'div(!ai-widget,ai-widget--left,ai-widget--right,ai-widget--center);' +
+ // 'p(!ai-exergue);' +
+ // 'h3(!ai-title,ai-title-5);' +
+ // 'p(!ai-paragraph-ck,ai-separator,pt) a[*]; br strong em span',
+
+ editables: {
+ date: {
+ selector: '.ai-widget .ai-title-date',
+ allowedContent: ' '
+ },
+ hour: {
+ selector: '.ai-widget .ai-title-hour',
+ allowedContent: ' '
+ },
+ title: {
+ selector: '.ai-widget .ai-title-4',
+ allowedContent: 'br strong em'
+ },
+ paragraph: {
+ selector: '.ai-widget .ai-paragraph-ck',
+ allowedContent: ''
+ }
+ },
+
+ template:
+ '<div class="ai-widget ai-widget--program">' +
+ ' <h4 class="ai-title-date">{date}</h4>' +
+ ' <p class="ai-title-hour">{hour}</p>' +
+ ' <h3 class="ai-title ai-title-4 ai-separator">{title}</h4>' +
+ ' <p class="ai-paragraph-ck">{paragraph}</p>' +
+ '</div>',
+
+ defaults: {
+ align: 'left',
+ date: 'dd/mm/yyyy',
+ hour: '00.00',
+ title: 'title',
+ paragraph: 'text'
+ },
+
+ upcast: function(element) {
+ return element.name == 'div' && element.hasClass('ai-widget');
+ },
+
+ init: function() {
+ if (this.element.hasClass('ai-widget--left'))
+ this.setData('align', 'left');
+ if (this.element.hasClass('ai-widget--center'))
+ this.setData('align', 'center');
+ if (this.element.hasClass('ai-widget--right'))
+ this.setData('align', 'right');
+ },
+
+ data: function() {
+ var SELF = this;
+ if (this.data.abstractProgram) { // 000519-000
+ var prog = this.data.abstractProgram.prog;
+ var d = new Date(prog.broadcastBegin);
+ this.element.setAttribute('data-teaser-type', 'LinkTeaserView');
+ this.element.setAttribute('data-teaser-href', prog.linked.url);
+ if (window.__drupalLang == 'fr') {
+ SELF.editables.date.$.innerHTML = editor.lang['arte-widget-programmes'].days[d.getDay()] + ' ' + d.getDate().addZero() + ' ' + editor.lang['arte-widget-programmes'].months[d.getMonth()];
+ } else if (window.__drupalLang == 'de') {
+ SELF.editables.date.$.innerHTML = editor.lang['arte-widget-programmes'].days[d.getDay()] + ', ' + d.getDate().addZero() + '. ' + editor.lang['arte-widget-programmes'].months[d.getMonth()];
+ } else {
+ SELF.editables.date.$.innerHTML = editor.lang['arte-widget-programmes'].days[d.getDay()] + ' ' + d.getDate().addZero() + ' ' + editor.lang['arte-widget-programmes'].months[d.getMonth()];
+ }
+ var h = new Date(prog.broadcastBeginRounded);
+ var minutes = h.getMinutes();
+ if (minutes < 10) { minutes = "0" + minutes; }
+
+ SELF.editables.hour.$.innerHTML = h.getHours() + '.' + minutes;
+ SELF.editables.title.$.innerHTML = prog.linked.originalTitle;
+ SELF.editables.paragraph.$.innerHTML = prog.linked.shortDescription || '';
+ }
+/*
+DTW texte court || STL (priorite au stl)
+BCS : date dans tableau .BAD jour
+.BAT horaire
+broadcastDurationSeconds -> minutes
+picto arteplus7 quand dispo
+*/
+/*
+// == Readonly version
+var html = SELF.template.output({
+ date: editor.lang['arte-widget-programmes'].days[d.getDay()] + ' ' + d.getDate().addZero() + ' ' + editor.lang['arte-widget-programmes'].months[d.getMonth()],
+ hour: response.abstractProgram.BCS[0].BAT,
+ title: response.abstractProgram.TIT,
+ paragraph: response.abstractProgram.STL || response.abstractProgram.DTW || ''
+});
+SELF.element.setHtml(html);
+*/
+ if (this.data.align) {
+ for (var s in _align) {
+ this.element.removeClass(_align[s]);
+ }
+ this.element.addClass(_align[this.data.align]);
+ }
+ }
+
+ }); // editor.widgets.add
+
+ editor.ui.addButton && editor.ui.addButton('arte-widget-programmes', {
+ label: editor.lang['arte-widget-programmes'].buttonLabel,
+ command: 'arte-widget-programmes',
+ toolbar: 'artewidgets,4',
+ icon: 'arte-widget-programmes'
+ }); // editor.ui.addButton
+
+ } // init
+
+}); // CKEDITOR.plugins.add
+
+if ('undefined' == typeof Number.prototype.addZero) {
+ Number.prototype.addZero = function() { return (this < 10 ? '0' : '') + this; };
+}
+
+(function(langs) {
+ window.__drupalLang = 'fr';
+ var regExp = new RegExp('/(fr|de)/').exec(new String(window.location));
+ if (null !== regExp && 2 === regExp.length) { window.__drupalLang = regExp[1]; }
+ for (var lang in langs) {
+ CKEDITOR.plugins.setLang('arte-widget-programmes', lang, langs[window.__drupalLang]);
+ }
+})({
+ 'en': {
+ 'apiUrl': Drupal.settings.basePath + 'en/ajax/opa/query/broadcastProgrammings?language=fr&include=programs&emNumber=',
+ 'buttonLabel': 'Widget programmes',
+ 'invalidEM': 'Numéro d\'EM invalide',
+ 'dialogTitle': 'Config',
+ 'labeAlign': 'Align',
+ 'labelEm': 'N° EM (Ex. : 048738-000)',
+ 'days': [
+ 'Dimanche',
+ 'Lundi',
+ 'Mardi',
+ 'Mercredi',
+ 'Jeudi',
+ 'Vendredi',
+ 'Samedi'
+ ],
+ 'months': [
+ 'janvier',
+ 'février',
+ 'mars',
+ 'avril',
+ 'mai',
+ 'juin',
+ 'juillet',
+ 'août',
+ 'septembre',
+ 'octobre',
+ 'novembre',
+ 'décembre'
+ ]
+ },
+ 'fr': {
+ 'apiUrl': Drupal.settings.basePath + 'fr/ajax/opa/query/broadcastProgrammings?language=fr&include=programs&emNumber=',
+ 'buttonLabel': 'Widget programmes',
+ 'invalidEM': 'Numéro d\'EM invalide',
+ 'dialogTitle': 'Config',
+ 'labeAlign': 'Align',
+ 'labelEm': 'N° EM (Ex. : 048738-000)',
+ 'days': [
+ 'Dimanche',
+ 'Lundi',
+ 'Mardi',
+ 'Mercredi',
+ 'Jeudi',
+ 'Vendredi',
+ 'Samedi'
+ ],
+ 'months': [
+ 'janvier',
+ 'février',
+ 'mars',
+ 'avril',
+ 'mai',
+ 'juin',
+ 'juillet',
+ 'août',
+ 'septembre',
+ 'octobre',
+ 'novembre',
+ 'décembre'
+ ]
+ },
+ 'de': {
+ 'apiUrl': Drupal.settings.basePath + 'de/ajax/opa/query/broadcastProgrammings?language=de&include=programs&emNumber=',
+ 'buttonLabel': 'Widget programmes',
+ 'invalidEM': 'Numéro d\'EM invalide',
+ 'dialogTitle': 'Config',
+ 'labeAlign': 'Align',
+ 'labelEm': 'N° EM (Ex. : 048738-000)',
+ 'days': [
+ 'Sonntag',
+ 'Montag',
+ 'Dienstag',
+ 'Mittwoch',
+ 'Donnerstag',
+ 'Freitag',
+ 'Samstag'
+ ],
+ 'months': [
+ 'Januar',
+ 'Februar',
+ 'März',
+ 'April',
+ 'Mai',
+ 'Juni',
+ 'Juli',
+ 'August',
+ 'September',
+ 'Oktober',
+ 'November',
+ 'Dezember'
+ ]
+ }
+});
\ No newline at end of file
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/dialogs/iframe.js b/modules/features/foundation_ckeplugins/plugins/iframe/dialogs/iframe.js
new file mode 100644
index 0000000..f2469a7
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/dialogs/iframe.js
@@ -0,0 +1,218 @@
+/**
+ * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or http://ckeditor.com/license
+ */
+
+( function() {
+ // Map 'true' and 'false' values to match W3C's specifications
+ // http://www.w3.org/TR/REC-html40/present/frames.html#h-16.5
+ var checkboxValues = {
+ scrolling: { 'true': 'yes', 'false': 'no' },
+ frameborder: { 'true': '1', 'false': '0' }
+ };
+
+ function loadValue( iframeNode ) {
+ var isCheckbox = this instanceof CKEDITOR.ui.dialog.checkbox;
+ if ( iframeNode.hasAttribute( this.id ) ) {
+ var value = iframeNode.getAttribute( this.id );
+ if ( isCheckbox )
+ this.setValue( checkboxValues[ this.id ][ 'true' ] == value.toLowerCase() );
+ else
+ this.setValue( value );
+ }
+ }
+
+ function commitValue( iframeNode ) {
+ var isRemove = this.getValue() === '',
+ isCheckbox = this instanceof CKEDITOR.ui.dialog.checkbox,
+ value = this.getValue();
+ if ( isRemove )
+ iframeNode.removeAttribute( this.att || this.id );
+ else if ( isCheckbox )
+ iframeNode.setAttribute( this.id, checkboxValues[ this.id ][ value ] );
+ else
+ iframeNode.setAttribute( this.att || this.id, value );
+ }
+
+ CKEDITOR.dialog.add( 'iframe', function( editor ) {
+ var iframeLang = editor.lang.iframe,
+ commonLang = editor.lang.common,
+ dialogadvtab = editor.plugins.dialogadvtab;
+ return {
+ title: iframeLang.title,
+ minWidth: 350,
+ minHeight: 260,
+ onShow: function() {
+ // Clear previously saved elements.
+ this.fakeImage = this.iframeNode = null;
+
+ var fakeImage = this.getSelectedElement();
+ if ( fakeImage && fakeImage.data( 'cke-real-element-type' ) && fakeImage.data( 'cke-real-element-type' ) == 'iframe' ) {
+ this.fakeImage = fakeImage;
+
+ var iframeNode = editor.restoreRealElement( fakeImage );
+ this.iframeNode = iframeNode;
+
+ this.setupContent( iframeNode );
+ }
+ },
+ onOk: function() {
+ var iframeNode;
+ if ( !this.fakeImage )
+ iframeNode = new CKEDITOR.dom.element( 'iframe' );
+ else
+ iframeNode = this.iframeNode;
+
+ // A subset of the specified attributes/styles
+ // should also be applied on the fake element to
+ // have better visual effect. (#5240)
+ var extraStyles = {},
+ extraAttributes = {};
+ this.commitContent( iframeNode, extraStyles, extraAttributes );
+
+ // Refresh the fake image.
+ var newFakeImage = editor.createFakeElement( iframeNode, 'cke_iframe', 'iframe', true );
+ newFakeImage.setAttributes( extraAttributes );
+ newFakeImage.setStyles( extraStyles );
+ if ( this.fakeImage ) {
+ newFakeImage.replace( this.fakeImage );
+ editor.getSelection().selectElement( newFakeImage );
+ } else
+ editor.insertElement( newFakeImage );
+ },
+ contents: [
+ {
+ id: 'info',
+ label: commonLang.generalTab,
+ accessKey: 'I',
+ elements: [
+ {
+ type: 'vbox',
+ padding: 0,
+ children: [
+ {
+ id: 'src',
+ type: 'text',
+ label: commonLang.url,
+ required: true,
+ validate: CKEDITOR.dialog.validate.notEmpty( iframeLang.noUrl ),
+ setup: loadValue,
+ commit: commitValue
+ }
+ ]
+ },
+ {
+ type: 'hbox',
+ children: [
+ {
+ id: 'width',
+ type: 'text',
+ requiredContent: 'iframe[width]',
+ style: 'width:100%',
+ labelLayout: 'vertical',
+ label: commonLang.width,
+ validate: CKEDITOR.dialog.validate.htmlLength( commonLang.invalidHtmlLength.replace( '%1', commonLang.width ) ),
+ setup: loadValue,
+ commit: commitValue
+ },
+ {
+ id: 'height',
+ type: 'text',
+ requiredContent: 'iframe[height]',
+ style: 'width:100%',
+ labelLayout: 'vertical',
+ label: commonLang.height,
+ validate: CKEDITOR.dialog.validate.htmlLength( commonLang.invalidHtmlLength.replace( '%1', commonLang.height ) ),
+ setup: loadValue,
+ commit: commitValue
+ },
+ {
+ id: 'align',
+ type: 'select',
+ requiredContent: 'iframe[align]',
+ 'default': '',
+ items: [
+ [ commonLang.notSet, '' ],
+ [ commonLang.alignLeft, 'left' ],
+ [ commonLang.alignRight, 'right' ],
+ [ commonLang.alignTop, 'top' ],
+ [ commonLang.alignMiddle, 'middle' ],
+ [ commonLang.alignBottom, 'bottom' ]
+ ],
+ style: 'width:100%',
+ labelLayout: 'vertical',
+ label: commonLang.align,
+ setup: function( iframeNode, fakeImage ) {
+ loadValue.apply( this, arguments );
+ if ( fakeImage ) {
+ var fakeImageAlign = fakeImage.getAttribute( 'align' );
+ this.setValue( fakeImageAlign && fakeImageAlign.toLowerCase() || '' );
+ }
+ },
+ commit: function( iframeNode, extraStyles, extraAttributes ) {
+ commitValue.apply( this, arguments );
+ if ( this.getValue() )
+ extraAttributes.align = this.getValue();
+ }
+ }
+ ]
+ },
+ {
+ type: 'hbox',
+ widths: [ '50%', '50%' ],
+ children: [
+ {
+ id: 'scrolling',
+ type: 'checkbox',
+ requiredContent: 'iframe[scrolling]',
+ label: iframeLang.scrolling,
+ setup: loadValue,
+ commit: commitValue
+ },
+ {
+ id: 'frameborder',
+ type: 'checkbox',
+ requiredContent: 'iframe[frameborder]',
+ label: iframeLang.border,
+ setup: loadValue,
+ commit: commitValue
+ }
+ ]
+ },
+ {
+ type: 'hbox',
+ widths: [ '50%', '50%' ],
+ children: [
+ {
+ id: 'name',
+ type: 'text',
+ requiredContent: 'iframe[name]',
+ label: commonLang.name,
+ setup: loadValue,
+ commit: commitValue
+ },
+ {
+ id: 'title',
+ type: 'text',
+ requiredContent: 'iframe[title]',
+ label: commonLang.advisoryTitle,
+ setup: loadValue,
+ commit: commitValue
+ }
+ ]
+ },
+ {
+ id: 'longdesc',
+ type: 'text',
+ requiredContent: 'iframe[longdesc]',
+ label: commonLang.longDescr,
+ setup: loadValue,
+ commit: commitValue
+ }
+ ]
+ },
+ dialogadvtab && dialogadvtab.createAdvancedTab( editor, { id: 1, classes: 1, styles: 1 }, 'iframe' )
+ ]
+ };
+ } );
+} )();
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/icons/hidpi/iframe.png b/modules/features/foundation_ckeplugins/plugins/iframe/icons/hidpi/iframe.png
new file mode 100644
index 0000000000000000000000000000000000000000..ff17604da22bf1ecb420fa142dc5fd35d6c1356b
GIT binary patch
literal 3091
zcmV+u4D9oXP)<h;3K|Lk000e1NJLTq001BW001Be1^@s6b9#F800006VoOIv0RI60
z0RN!9r;`8x010qNS#tmY4c7nw4c7reD4Tcy01GThL_t(o!;P0~a1_^>hM&{jGt)gi
zGnyGmGtzJok}oWhkdTCt0}=ueLm4kD2{tjCqSni<YvW5TY{j^2yxH2s75fK}82bk*
zgOeD?#bv|Vjvb6y?6r+!14c?@ff6B^yO2Oa%t)G<o}TIM{h>>+y@_+G`bSrFpZ7W6
z>3-kuh*Nv_@^wQ9fg}X7EF%el5aR!R&T$-U$HB5JY{$WIoUff*`D=t-ih{1H<mo!9
z+x;hi34!r@$8j)BlSDE}(lE&8a$gIg{3T(xqTp3k!hS#QU=T5Tb}g_HSO^pYvGG@~
z0DZuRz^|Q-jy5wMXJ}-Elwn~01rYJ&Ef7MW$TEISBR>$B5MBj5<IT&PdD|_wP>`Pw
zLf{^+MlPF02*JSMAYI+vB;)ZeV6)TF@wyq0bA5Q2k#w4zWqk$W3jh=1L0u;jjUsAm
zOMsUPW3k5h_4Qb}TwGJt-!EOZEVQJ#Ia*p;8U&=XXV3QU+qbXp-S^&`o|l)GXW6#*
zx5th#*w=Ry_y?!8^}@Al*N7*RUxAnem=Mp?b)sY9O^T-N|J%FoF7T?VIeq%{&z^nu
z*=oQ8#DO4?1<X^YPMxi+tki(AuCA_*ojZ5lINjMf$AQ2*@4h>TX|8eF+CI2?^(u)k
zK}-V3l0-n)i4_$g>gt*bii_V_xqP|HG)?2@Kl@paqA2Q{Z@$?ZjYcom*VktNa~$N1
z*X#ABQmJ+0lU5mqF`}xf-O$+B7l}k_-uv*wY+`V5nbX?(!Il1ghLcGw+Xg_ISiMV8
z$PWY%b#*2F{QUhZmoIl^O_N+U>j{U$c|wR=*REaL(A3oQ-I|)3^;K0>_sy6wqkrw%
zwI4t6#1k1+)BYQ109HM^VZ#<c`{?M=I>Ru2yR^C4rH4ZMMO|G<ejtELQ6~Q+acb{g
zWJx0E^HDTq3ZlCD{d?D}X&fCM{{4y-D~1mpIy6sF6g3<U<2VkIBmrO;M$0R&yfV<(
z*cj;O==j%y!ov4^y1T!7ddrrp6`MBQ0vNzcKyz(f-Kmn&((2a_960K<w=e4N?Ik`s
zie=kK6RQvUe2D7mRSk<5Hx3RAm~X%RcKG3kA6}HnWI8+^52k67%jGallWaE2i4!Nj
zH+AaNrRUF|e{}x*`8WFe`v-&&QpKiC0tg*_`srTaZeU+qYwL{OOPBiQH#Iei>grWN
zpKr1Xk|YFPj|bK7N9g)9LBF4A)21B*x`6GvuHSGR2ivx>ENk+*<BmIs78TVO7Z(pb
z^2j4+M@L2!Al<uXkMr5CT_?Sf2*-Z%69-rioLIJOSx?aKM|i!@sD3|Qj|WKzBw3aT
z=sKdNrgm{d!^~^ft_|#d`Q<X;0U^Y@r%#{0OO|DvaU-#98`Ct2$K#|^sS9tu_12Ah
z?z!g{z;YZ%8_8slH4V4VhZ+j;>Gthe;NGWy^rLBm0|Ud08X9Jbnwr{xu8&!}Bm^Es
z0azLE`SAPw-M~{rd-n7L&E=JqVq*2CX<`@#i9~|#?(R#Sot=?rBoYGt33w1l8@U|L
z*ve2m9$bL{zkA_@QQ(E?GiJ00d_I7c9z{VC;wCHB^@XWait5^06L@{pG->VZJo3=`
z^$$e~3S72rGcq#b3=a>d5{X3m+_`fT7JUCFTeh^xs*2)vqi7mP5(t5iBxJW6N7DdW
zzOi6I^Pz(WLDv^fW`W~4*p@|MBvPC<4C)swxO`#v?$M-SP&;eZ;`{Hv|M>pBdmFOZ
z?D>-?PpUxd@ZrN<Kp3b!vuoFAAR5J%B!nb^B>gF@#w&rUa^clijc6?PJHs&UDU3vl
z?Qt`b0Bpy>r|U7(G+DD^#UC9-!L%%Zt^c-R!#Db`Uj1xfU?2q)06lZ(&J8`bY15-Z
zh|KL36+|KtR82#=>HogT-;opr$?azC>eYYDSr$H@FJ_NBp)?VrZnqm*mifcQi>Fjg
zL%3W3*MUd7dU`@;Hrp$Nct;5FcsLy1xNYm!BY-C6&zA~IN(g_+U~V3gETd@}uOB|#
zB`XSUw|mlxB^(DF2O&v=Uayz(k`fUJ1n}rOZ7nU?6I-{w=$535eOImoPj`0yb0`#w
z0B82?-#<&$w7>U<!%IbZxs)G^5%l?R$?_K<1R%>YKEI#U%a(<_nuZW!a6(scfShHa
z>v~3#Wq=y5*ZXU?rjfPn3DWhz=JHvyT84&(_6Q;RflsQcs!B7adH!4`^FN}p@_^Ic
z{-FSdlgY6jz_ww$lTuX`V78DXbX_-dmW2Z-wryh=2J`04yWZK>hC45BF1n89@sP=8
zade&5mX@AuGP(ZF?|<J7tN?CZ^38AlO<_R+nM`J8Fc>W8K6kE3R9CNYIy=w!1_v34
z$4MFnV%+G^b!4BfDw9rAKX2Z3!!WRI8_BjTlF1}bZQg7o;&Do*Oqna@&2xqPe%vk>
zvfGW@??=ner{krU%)tW(4!HdO+Yo|OI*ky5;-aGb`ntN={!r)-qP+YwZQ;Uy3Hp2}
zvW!bn2>bnr*|W82#l=e!i3FQBZ%!wZNo>nPvTd7GD#esw@Z-V3!HfB!P=riovl<Q)
z&~;oc7qX(Ds4B9ik+v+%;o(!gy}cLGsT8JZ;y4bfs&ZFzGYguUDuAiVc*f-EI<9aS
z;PF^d(bR!~fs0du!H-j^)K~=^AUBrHZ|wf%FHIwrVp?hGlcKV+y0Ea2JY7c_|GFI^
zNErt0Jv~$B%$alM`p{4&o6TZb7Fp9Il}uu0GVIvBJ7J{L<axd17Z)SS%V$h2Eqy$d
zO!AA}yA9xtoNeO(5|RXpLdT9BZHpTkoUCP?n;MI`6ixfN+}!MnMx&Du<1tM2t+#%(
z=havBNMYfpqobo_v)Rdf_`IiQ@O$glc|<NpFd9Y7o-N$E{?lo(n3~Jw&MsNFP;~6r
z(T1XcB#p(fP!y~&fhSM3x5qABym(`Fd3m*+Nc>b;vcwfFDkALn<8ishY!+1DgZsYo
z9Y#h*$mMbvhCyFn-<9hF0}}AR!C(+kRppgDo_)8Mm94yd>C%mk_Vy{jla`_&CgK=C
zND{*3qV4(TUjt6Qedy5D_|Q<Uw6ydgE0H)ZYHH>bOq<5EXq5c?d^%rz@j9?={R0oQ
zjf{?(rfHH)CRx3Dbq`<zZDQfVDai5%x0jWzPNh=Ww+<fc15UO*|NLvh<r=f?$(Br#
zkX$Zsy8+f!mX}8kA31U(o6W{6Dk`c~zyFvhFaHm9`Eu9P+is(L)-19I58eQdyWQ?H
zxm*sH%hkSZ+qQxuM~>Vjg!o6`c*U$)wWFh>@k56WU9YOBC<4~ub|c*cFxiwkwvA<)
znDIDwY}l{}I1E^2Wo73*s(O1ok)Z#|m21Gs@vC*!x4+$4R$992*e9PfEnmL;<Cc~d
z<?`jrHGaR}m7kxFEX&<JJv}9W3@rV0`}X(U!635R{Z)Voh@4?yCKAlsxN#BiUqHcc
z4jycM@WBU*6h$c(l7wYh80j?ec$`>qF|k;T&p-bhS(fp5JQ#*?W#`VFmshS_c_%Ok
z+;`%+=iYbc<)NtRr1)0=036FAm&uSxB&grGu>^PpXaq>5QmKFc!4J9*{OVVXjEv~A
zEJwzhm4RR=l)iWMYVn^x{9&n2*S+J@9R=1Mf9|;pp1eF1j|VYk_kSK>0>Uy)vgtIr
zWRg1{d+b}lv%pOLy3qwZd2H*}*A!jHrD<bj|C0Eh1(?{5iSHtpN@2v~G(7cGE%0}Y
z9Zq9>@o;*DvBT*bAN}~pZE7%x;`L7M_swO$dHf#%1MLeV7b5=v001R)MObuXVRU6W
zV{&C-bY%cCFflVNFg7hRFjO%yIxsgnFf=PLGCD9Y_Tr{V0000bbVXQnWMOn=I&E)c
zX=Zr<GB7bSEig7MGB8vzF*-0eIxsXVFfuwYFo(Y$^#A|>8FWQhbW?9;ba!ELWdL_~
hcP?peYja~^aAhuUa%Y?FJQ@H1002ovPDHLkV1m(?{jvZ6
literal 0
HcmV?d00001
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/icons/iframe.png b/modules/features/foundation_ckeplugins/plugins/iframe/icons/iframe.png
new file mode 100644
index 0000000000000000000000000000000000000000..f72d191553f382efc7cab78ad1ec4eb13c4b446d
GIT binary patch
literal 989
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b
zKpodXn9)gNb_D|i(>G5S#}JFtwUcdqUYClr&A-22*YHa-pMXzZkdSavrizKL?2fa(
z3pIU?EaaQQC(-Pq=f`v8$iahWXUy1r=U~Y$J}&NZ;XR_A9bHKtoD=ID8o6FNX(njq
z#<xdzOir(#SA1@Ev5(#S;}Xq>A0BvHcKPz<!~a9KMm_!XX;RwePL(&`H(Y;x^l4FI
zPa%^$Q-9-j>pSZY_#X)NylytTx4WDB-Me=i-jw~Wf2e-I&qPXg_0=pn&-I?0rcIx|
z*V)<mJyX3@^1K}}dVAvZ%XZ72e*DqqK;Cw1V`JlDVGfq6rh^I74WGGch*bUm@#DwQ
zd-v|eS<TgBT>V|B|2Xp`hB?P(G+(`Xb!&#nuW}WkKpVMmqnR~)Q|{z_x1J<3>E7)-
zcVgJTF)m-ie$dHi<{6J)3PPPzmMvdC)kEb;(ayYU*RIt~5wW(idi3N8i|5Azi$BsE
z6gXE4UwYix+4;4xvGHxx+HWg@Rt9KIy>aW-t<IxK^O<M5Eq2^|bIHYwHNR^1-M3cU
zKkLAzHJ3MU-mK}FfA-wDy6qb_eE9U{&6{-3$7{p7y_Oz&_)u|aP-oTNbEi&uU3yqB
z$8ODq>(|5mmImc}IbB-b>GEiE(N3B7Z{L1p+&gK-)vP)5=U>j-?g^Cs^8NdCc^13*
z@2eA5DH}{$HhtQ(IQFaqat2DBw{PG6eddwf{Cr=bE3Zr4+}!3domVL=Ej{}6tLegk
z7l9Ts|I%w}Vq#-sndX&CG1Q21u<ToN{dL6Etf_P7&Sg$GBw_rl#Omd{cWKGVkJAbY
z3@+!GNy^Hm78PycP3VziJ+|rQ8^^6ttxgLYRLa#R|76o(OrGmk<~g5-pMQJv!34)k
z#}7yZoJ=vg?^Ptu#d_jtkw~|z%F(j&^6d>wA9!YXEx+uz|9<_39XodL)$snAdN!?o
zqKLLwH!#q{n_~3J?LA{Ief#t0kJSeu3)WN9QvVv5n{U_4j1JlppkY&>HvhbGXW4Gw
z)mIO_|6bkDZ`Cfu#Pa9j&tv-EzJJ%xHItr}n%MI&zSw^gXJLYyCoo&6mbgZgq$HN4
zS|t~y0x1R~14Cn719M#ilMq95D+6O7(l#)%GBEI6vKyFXkTm4xr(~v8;?`jEllcfx
xgCxj?;QX|b^2DN4hVt@qz0ADq;^f4FRK5J7^x5xhq=1STJYD@<);T3K0RXAwzk>h(
literal 0
HcmV?d00001
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/images/placeholder.png b/modules/features/foundation_ckeplugins/plugins/iframe/images/placeholder.png
new file mode 100644
index 0000000000000000000000000000000000000000..b40c7b20fc2984e0c9bf8dac94ab1873ab17dc4d
GIT binary patch
literal 449
zcmV;y0Y3hTP)<h;3K|Lk000e1NJLTq0027x000{Z0ssI2P3vIN00009a7bBm000XU
z000XU0RWnu7ytkOAY({UO#lFTB>(_`g8%^e{{R4h=>PzAFaQARU;qF*m;eA5Z<1fd
zMgRZ-M@d9MRCwC#meFm4Fc3hWt1jRboDs|jtUyMH<O#wEFhUq1tl$yi6+8lr;C^rd
zLK9Vrno6iX`NJH-ew-i1B<B+Bra7k)kP>?dr9RkOWa3Pmi8JwkBOXVT;&=oo3Y1z}
zQ9MqDuslBBjZrdvFPW|b2th8}_Q7aM-HrB2jkP8vX}8-pISj-|T}wU$LZB=G;aiV0
zp?HthPp3!;Yu{<bILefBIf16Z80pVp4BiW|G4J$vl4P@9bMkPYs<>PhVr#LM(}@`G
zpv#gN={mfZMR+*HB;K!CF|XH@JfEdM)wt`3Q8b-ASrc1}F|;jOQ&m5U_ZBOfhO(q>
zMcKYbYldNYJ?}-Eb(x=N`d7Q#^@=gnH8J8n)-Fz072|mK{Y|VJB{o*fd&u|mW<DS1
re_kfe#F;n~zZ9Q1hf=%Yb?$2b_qff(j7>UT00000NkvXXu0mjfm%_Ew
literal 0
HcmV?d00001
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/af.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/af.js
new file mode 100644
index 0000000..e166db3
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/af.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'af', {
+ border: 'Wys rand van raam',
+ noUrl: 'Gee die iframe URL',
+ scrolling: 'Skuifbalke aan',
+ title: 'IFrame Eienskappe',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/ar.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ar.js
new file mode 100644
index 0000000..cfd1550
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ar.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'ar', {
+ border: 'إظهار حدود الإطار',
+ noUrl: 'فضلا أكتب رابط الـ iframe',
+ scrolling: 'تفعيل أشرطة الإنتقال',
+ title: 'خصائص iframe',
+ toolbar: 'iframe'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/bg.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/bg.js
new file mode 100644
index 0000000..115d707
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/bg.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'bg', {
+ border: 'Показва рамка на карето',
+ noUrl: 'Моля въведете URL за iFrame',
+ scrolling: 'Вкл. скролбаровете',
+ title: 'IFrame настройки',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/bn.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/bn.js
new file mode 100644
index 0000000..bad5fbf
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/bn.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'bn', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/bs.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/bs.js
new file mode 100644
index 0000000..bec9c6b
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/bs.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'bs', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/ca.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ca.js
new file mode 100644
index 0000000..06face8
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ca.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'ca', {
+ border: 'Mostra la vora del marc',
+ noUrl: 'Si us plau, introdueixi la URL de l\'iframe',
+ scrolling: 'Activa les barres de desplaçament',
+ title: 'Propietats de l\'IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/cs.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/cs.js
new file mode 100644
index 0000000..62d207d
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/cs.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'cs', {
+ border: 'Zobrazit okraj',
+ noUrl: 'Zadejte prosím URL obsahu pro IFrame',
+ scrolling: 'Zapnout posuvníky',
+ title: 'Vlastnosti IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/cy.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/cy.js
new file mode 100644
index 0000000..2ce1372
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/cy.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'cy', {
+ border: 'Dangos ymyl y ffrâm',
+ noUrl: 'Rhowch URL yr iframe',
+ scrolling: 'Galluogi bariau sgrolio',
+ title: 'Priodweddau IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/da.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/da.js
new file mode 100644
index 0000000..f1763db
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/da.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'da', {
+ border: 'Vis kant på rammen',
+ noUrl: 'Venligst indsæt URL på iframen',
+ scrolling: 'Aktiver scrollbars',
+ title: 'Iframe egenskaber',
+ toolbar: 'Iframe'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/de.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/de.js
new file mode 100644
index 0000000..1dcb74d
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/de.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'de', {
+ border: 'Rahmen anzeigen',
+ noUrl: 'Bitte geben Sie die IFrame-URL an',
+ scrolling: 'Rollbalken anzeigen',
+ title: 'IFrame-Eigenschaften',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/el.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/el.js
new file mode 100644
index 0000000..7227745
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/el.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'el', {
+ border: 'Προβολή περιγράμματος πλαισίου',
+ noUrl: 'Παρακαλούμε εισάγεται το URL του iframe',
+ scrolling: 'Ενεργοποίηση μπαρών κύλισης',
+ title: 'Ιδιότητες IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/en-au.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/en-au.js
new file mode 100644
index 0000000..9a5d3ed
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/en-au.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'en-au', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/en-ca.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/en-ca.js
new file mode 100644
index 0000000..2045057
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/en-ca.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'en-ca', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/en-gb.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/en-gb.js
new file mode 100644
index 0000000..0db330a
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/en-gb.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'en-gb', {
+ border: 'Show frame border',
+ noUrl: 'Please type the iframe URL',
+ scrolling: 'Enable scrollbars',
+ title: 'IFrame Properties',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/en.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/en.js
new file mode 100644
index 0000000..8e5e749
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/en.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'en', {
+ border: 'Show frame border',
+ noUrl: 'Please type the iframe URL',
+ scrolling: 'Enable scrollbars',
+ title: 'IFrame Properties',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/eo.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/eo.js
new file mode 100644
index 0000000..40c81a2
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/eo.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'eo', {
+ border: 'Montri borderon de kadro (frame)',
+ noUrl: 'Bonvolu entajpi la retadreson de la ligilo al la enlinia kadro (IFrame)',
+ scrolling: 'Ebligi rulumskalon',
+ title: 'Atributoj de la enlinia kadro (IFrame)',
+ toolbar: 'Enlinia kadro (IFrame)'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/es.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/es.js
new file mode 100644
index 0000000..5e0b25f
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/es.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'es', {
+ border: 'Mostrar borde del marco',
+ noUrl: 'Por favor, escriba la dirección del iframe',
+ scrolling: 'Activar barras de desplazamiento',
+ title: 'Propiedades de iframe',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/et.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/et.js
new file mode 100644
index 0000000..a96e9e8
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/et.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'et', {
+ border: 'Raami äärise näitamine',
+ noUrl: 'Vali iframe URLi liik',
+ scrolling: 'Kerimisribade lubamine',
+ title: 'IFrame omadused',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/eu.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/eu.js
new file mode 100644
index 0000000..4f10ac0
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/eu.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'eu', {
+ border: 'Markoaren ertza ikusi',
+ noUrl: 'iframe-aren URLa idatzi, mesedez.',
+ scrolling: 'Korritze barrak gaitu',
+ title: 'IFrame-aren Propietateak',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/fa.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/fa.js
new file mode 100644
index 0000000..87b3966
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/fa.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'fa', {
+ border: 'نمایش خطوط frame',
+ noUrl: 'لطفا مسیر URL iframe را درج کنید',
+ scrolling: 'نمایش خطکشها',
+ title: 'ویژگیهای IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/fi.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/fi.js
new file mode 100644
index 0000000..3d3797f
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/fi.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'fi', {
+ border: 'Näytä kehyksen reunat',
+ noUrl: 'Anna IFrame-kehykselle lähdeosoite (src)',
+ scrolling: 'Näytä vierityspalkit',
+ title: 'IFrame-kehyksen ominaisuudet',
+ toolbar: 'IFrame-kehys'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/fo.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/fo.js
new file mode 100644
index 0000000..13a732b
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/fo.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'fo', {
+ border: 'Vís frame kant',
+ noUrl: 'Vinarliga skriva URL til iframe',
+ scrolling: 'Loyv scrollbars',
+ title: 'Møguleikar fyri IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/fr-ca.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/fr-ca.js
new file mode 100644
index 0000000..388d725
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/fr-ca.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'fr-ca', {
+ border: 'Afficher la bordure du cadre',
+ noUrl: 'Veuillez entre l\'URL du IFrame',
+ scrolling: 'Activer les barres de défilement',
+ title: 'Propriétés du IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/fr.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/fr.js
new file mode 100644
index 0000000..17ed8a2
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/fr.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'fr', {
+ border: 'Afficher une bordure de la IFrame',
+ noUrl: 'Veuillez entrer l\'adresse du lien de la IFrame',
+ scrolling: 'Permettre à la barre de défilement',
+ title: 'Propriétés de la IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/gl.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/gl.js
new file mode 100644
index 0000000..fbb2041
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/gl.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'gl', {
+ border: 'Amosar o bordo do marco',
+ noUrl: 'Escriba o enderezo do iframe',
+ scrolling: 'Activar as barras de desprazamento',
+ title: 'Propiedades do iFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/gu.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/gu.js
new file mode 100644
index 0000000..f384315
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/gu.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'gu', {
+ border: 'ફ્રેમ બોર્ડેર બતાવવી',
+ noUrl: 'iframe URL ટાઈપ્ કરો',
+ scrolling: 'સ્ક્રોલબાર ચાલુ કરવા',
+ title: 'IFrame વિકલ્પો',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/he.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/he.js
new file mode 100644
index 0000000..5e98e22
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/he.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'he', {
+ border: 'הראה מסגרת לחלון',
+ noUrl: 'יש להכניס כתובת לחלון.',
+ scrolling: 'אפשר פסי גלילה',
+ title: 'מאפייני חלון פנימי (iframe)',
+ toolbar: 'חלון פנימי (iframe)'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/hi.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/hi.js
new file mode 100644
index 0000000..581bba7
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/hi.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'hi', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/hr.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/hr.js
new file mode 100644
index 0000000..d2c3bc0
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/hr.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'hr', {
+ border: 'Prikaži okvir IFrame-a',
+ noUrl: 'Unesite URL iframe-a',
+ scrolling: 'Omogući trake za skrolanje',
+ title: 'IFrame svojstva',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/hu.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/hu.js
new file mode 100644
index 0000000..482c579
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/hu.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'hu', {
+ border: 'Legyen keret',
+ noUrl: 'Kérem írja be a iframe URL-t',
+ scrolling: 'Gördítősáv bekapcsolása',
+ title: 'IFrame Tulajdonságok',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/id.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/id.js
new file mode 100644
index 0000000..fce1273
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/id.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'id', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/is.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/is.js
new file mode 100644
index 0000000..0818385
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/is.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'is', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/it.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/it.js
new file mode 100644
index 0000000..ddb8a78
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/it.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'it', {
+ border: 'Mostra il bordo',
+ noUrl: 'Inserire l\'URL del campo IFrame',
+ scrolling: 'Abilita scrollbar',
+ title: 'Proprietà IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/ja.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ja.js
new file mode 100644
index 0000000..1990ae2
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ja.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'ja', {
+ border: 'フレームの枠を表示',
+ noUrl: 'iframeのURLを入力してください。',
+ scrolling: 'スクロールバーの表示を許可',
+ title: 'iFrameのプロパティ',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/ka.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ka.js
new file mode 100644
index 0000000..b6bab4c
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ka.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'ka', {
+ border: 'ჩარჩოს გამოჩენა',
+ noUrl: 'აკრიფეთ iframe-ის URL',
+ scrolling: 'გადახვევის ზოლების დაშვება',
+ title: 'IFrame-ის პარამეტრები',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/km.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/km.js
new file mode 100644
index 0000000..9f71d4d
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/km.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'km', {
+ border: 'បង្ហាញ​បន្ទាត់​ស៊ុម',
+ noUrl: 'សូម​បញ្ចូល URL របស់ iframe',
+ scrolling: 'ប្រើ​របារ​រំកិល',
+ title: 'លក្ខណៈ​សម្បត្តិ IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/ko.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ko.js
new file mode 100644
index 0000000..606410c
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ko.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'ko', {
+ border: '프레임 테두리 표시',
+ noUrl: 'iframe 대응 URL을 입력해주세요.',
+ scrolling: '스크롤바 사용',
+ title: 'IFrame 속성',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/ku.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ku.js
new file mode 100644
index 0000000..483ad62
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ku.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'ku', {
+ border: 'نیشاندانی لاکێشه بە چوواردەوری چووارچێوە',
+ noUrl: 'تکایه ناونیشانی بەستەر بنووسه بۆ چووارچێوه',
+ scrolling: 'چالاککردنی هاتووچۆپێکردن',
+ title: 'دیالۆگی چووارچێوه',
+ toolbar: 'چووارچێوه'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/lt.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/lt.js
new file mode 100644
index 0000000..e1201f4
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/lt.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'lt', {
+ border: 'Rodyti rėmelį',
+ noUrl: 'Nurodykite iframe nuorodą',
+ scrolling: 'Įjungti slankiklius',
+ title: 'IFrame nustatymai',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/lv.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/lv.js
new file mode 100644
index 0000000..bfc0eff
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/lv.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'lv', {
+ border: 'Rādīt rāmi',
+ noUrl: 'Norādiet iframe adresi',
+ scrolling: 'Atļaut ritjoslas',
+ title: 'IFrame uzstādījumi',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/mk.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/mk.js
new file mode 100644
index 0000000..43523bf
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/mk.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'mk', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/mn.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/mn.js
new file mode 100644
index 0000000..ecc4390
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/mn.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'mn', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/ms.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ms.js
new file mode 100644
index 0000000..415b979
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ms.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'ms', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/nb.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/nb.js
new file mode 100644
index 0000000..523b616
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/nb.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'nb', {
+ border: 'Viss ramme rundt iframe',
+ noUrl: 'Vennligst skriv inn URL for iframe',
+ scrolling: 'Aktiver scrollefelt',
+ title: 'Egenskaper for IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/nl.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/nl.js
new file mode 100644
index 0000000..4ac2f61
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/nl.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'nl', {
+ border: 'Framerand tonen',
+ noUrl: 'Vul de IFrame URL in',
+ scrolling: 'Scrollbalken inschakelen',
+ title: 'IFrame-eigenschappen',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/no.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/no.js
new file mode 100644
index 0000000..c2ce0b4
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/no.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'no', {
+ border: 'Viss ramme rundt iframe',
+ noUrl: 'Vennligst skriv inn URL for iframe',
+ scrolling: 'Aktiver scrollefelt',
+ title: 'Egenskaper for IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/pl.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/pl.js
new file mode 100644
index 0000000..4dbeeb3
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/pl.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'pl', {
+ border: 'Pokaż obramowanie obiektu IFrame',
+ noUrl: 'Podaj adres URL elementu IFrame',
+ scrolling: 'Włącz paski przewijania',
+ title: 'Właściwości elementu IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/pt-br.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/pt-br.js
new file mode 100644
index 0000000..a167fd1
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/pt-br.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'pt-br', {
+ border: 'Mostra borda do iframe',
+ noUrl: 'Insira a URL do iframe',
+ scrolling: 'Abilita scrollbars',
+ title: 'Propriedade do IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/pt.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/pt.js
new file mode 100644
index 0000000..496cc5a
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/pt.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'pt', {
+ border: 'Mostrar a borda da Frame',
+ noUrl: 'Por favor, digite o URL da iframe',
+ scrolling: 'Ativar barras de deslocamento',
+ title: 'Propriedades da IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/ro.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ro.js
new file mode 100644
index 0000000..01fdeba
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ro.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'ro', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/ru.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ru.js
new file mode 100644
index 0000000..40d370b
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ru.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'ru', {
+ border: 'Показать границы фрейма',
+ noUrl: 'Пожалуйста, введите ссылку фрейма',
+ scrolling: 'Отображать полосы прокрутки',
+ title: 'Свойства iFrame',
+ toolbar: 'iFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/si.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/si.js
new file mode 100644
index 0000000..07bad1b
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/si.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'si', {
+ border: 'සැකිල්ලේ කඩයිම් ',
+ noUrl: 'කරුණාකර රුපයේ URL ලියන්න',
+ scrolling: 'සක්ක්‍රිය කරන්න',
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/sk.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sk.js
new file mode 100644
index 0000000..1b37ae0
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sk.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'sk', {
+ border: 'Zobraziť rám frame-u',
+ noUrl: 'Prosím, vložte URL iframe',
+ scrolling: 'Povoliť skrolovanie',
+ title: 'Vlastnosti IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/sl.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sl.js
new file mode 100644
index 0000000..3ff6dae
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sl.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'sl', {
+ border: 'Pokaži mejo okvira',
+ noUrl: 'Prosimo, vnesite iframe URL',
+ scrolling: 'Omogoči scrollbars',
+ title: 'IFrame Lastnosti',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/sq.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sq.js
new file mode 100644
index 0000000..5e9db55
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sq.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'sq', {
+ border: 'Shfaq kufirin e kornizës',
+ noUrl: 'Ju lutemi shkruani URL-në e iframe-it',
+ scrolling: 'Lejo shiritët zvarritës',
+ title: 'Karakteristikat e IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/sr-latn.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sr-latn.js
new file mode 100644
index 0000000..361e239
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sr-latn.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'sr-latn', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/sr.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sr.js
new file mode 100644
index 0000000..abe80d9
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sr.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'sr', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame' // MISSING
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/sv.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sv.js
new file mode 100644
index 0000000..bdd0f77
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/sv.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'sv', {
+ border: 'Visa ramkant',
+ noUrl: 'Skriv in URL för iFrame',
+ scrolling: 'Aktivera rullningslister',
+ title: 'iFrame Egenskaper',
+ toolbar: 'iFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/th.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/th.js
new file mode 100644
index 0000000..8c31e7b
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/th.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'th', {
+ border: 'Show frame border', // MISSING
+ noUrl: 'Please type the iframe URL', // MISSING
+ scrolling: 'Enable scrollbars', // MISSING
+ title: 'IFrame Properties', // MISSING
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/tr.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/tr.js
new file mode 100644
index 0000000..de96a52
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/tr.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'tr', {
+ border: 'Çerceve sınırlarını göster',
+ noUrl: 'Lütfen IFrame köprü (URL) bağlantısını yazın',
+ scrolling: 'Kaydırma çubuklarını aktif et',
+ title: 'IFrame Özellikleri',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/ug.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ug.js
new file mode 100644
index 0000000..8e8e36a
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/ug.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'ug', {
+ border: 'كاندۇك گىرۋەكلىرىنى كۆرسەت',
+ noUrl: 'كاندۇكنىڭ ئادرېسى(Url)نى كىرگۈزۈڭ',
+ scrolling: 'دومىلىما سۈرگۈچكە يول قوي',
+ title: 'IFrame خاسلىق',
+ toolbar: 'IFrame '
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/uk.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/uk.js
new file mode 100644
index 0000000..a3a32dd
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/uk.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'uk', {
+ border: 'Показати рамки фрейму',
+ noUrl: 'Будь ласка введіть посилання для IFrame',
+ scrolling: 'Увімкнути прокрутку',
+ title: 'Налаштування для IFrame',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/vi.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/vi.js
new file mode 100644
index 0000000..87b80f4
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/vi.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'vi', {
+ border: 'Hiển thị viền khung',
+ noUrl: 'Vui lòng nhập địa chỉ iframe',
+ scrolling: 'Kích hoạt thanh cuộn',
+ title: 'Thuộc tính iframe',
+ toolbar: 'Iframe'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/zh-cn.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/zh-cn.js
new file mode 100644
index 0000000..49dd9b6
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/zh-cn.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'zh-cn', {
+ border: '显示框架边框',
+ noUrl: '请输入框架的 URL',
+ scrolling: '允许滚动条',
+ title: 'IFrame 属性',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/lang/zh.js b/modules/features/foundation_ckeplugins/plugins/iframe/lang/zh.js
new file mode 100644
index 0000000..4f49db8
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/lang/zh.js
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'iframe', 'zh', {
+ border: '顯示框架框線',
+ noUrl: '請輸入 iframe URL',
+ scrolling: '啟用捲軸列',
+ title: 'IFrame 屬性',
+ toolbar: 'IFrame'
+} );
diff --git a/modules/features/foundation_ckeplugins/plugins/iframe/plugin.js b/modules/features/foundation_ckeplugins/plugins/iframe/plugin.js
new file mode 100644
index 0000000..e09b34b
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/iframe/plugin.js
@@ -0,0 +1,83 @@
+/**
+ * @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( 'iframe', {
+ requires: 'dialog,fakeobjects',
+ 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: 'iframe', // %REMOVE_LINE_CORE%
+ hidpi: true, // %REMOVE_LINE_CORE%
+ onLoad: function() {
+ CKEDITOR.addCss( 'img.cke_iframe' +
+ '{' +
+ 'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/placeholder.png' ) + ');' +
+ 'background-position: center center;' +
+ 'background-repeat: no-repeat;' +
+ 'border: 1px solid #a9a9a9;' +
+ 'width: 80px;' +
+ 'height: 80px;' +
+ '}'
+ );
+ },
+ init: function( editor ) {
+ var pluginName = 'iframe',
+ lang = editor.lang.iframe,
+ allowed = 'iframe[align,longdesc,frameborder,height,name,scrolling,src,title,width]';
+
+ if ( editor.plugins.dialogadvtab )
+ allowed += ';iframe' + editor.plugins.dialogadvtab.allowedContent( { id: 1, classes: 1, styles: 1 } );
+
+ CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/iframe.js' );
+ editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName, {
+ allowedContent: allowed,
+ requiredContent: 'iframe'
+ } ) );
+
+ editor.ui.addButton && editor.ui.addButton( 'Iframe', {
+ label: lang.toolbar,
+ command: pluginName,
+ toolbar: 'insert,80'
+ } );
+
+ editor.on( 'doubleclick', function( evt ) {
+ var element = evt.data.element;
+ if ( element.is( 'img' ) && element.data( 'cke-real-element-type' ) == 'iframe' )
+ evt.data.dialog = 'iframe';
+ } );
+
+ if ( editor.addMenuItems ) {
+ editor.addMenuItems( {
+ iframe: {
+ label: lang.title,
+ command: 'iframe',
+ group: 'image'
+ }
+ } );
+ }
+
+ // If the "contextmenu" plugin is loaded, register the listeners.
+ if ( editor.contextMenu ) {
+ editor.contextMenu.addListener( function( element, selection ) {
+ if ( element && element.is( 'img' ) && element.data( 'cke-real-element-type' ) == 'iframe' )
+ return { iframe: CKEDITOR.TRISTATE_OFF };
+ } );
+ }
+ },
+ afterInit: function( editor ) {
+ var dataProcessor = editor.dataProcessor,
+ dataFilter = dataProcessor && dataProcessor.dataFilter;
+
+ if ( dataFilter ) {
+ dataFilter.addRules( {
+ elements: {
+ iframe: function( element ) {
+ return editor.createFakeParserElement( element, 'cke_iframe', 'iframe', true );
+ }
+ }
+ } );
+ }
+ }
+ } );
+} )();
diff --git a/modules/features/foundation_ckeplugins/plugins/xml/plugin.js b/modules/features/foundation_ckeplugins/plugins/xml/plugin.js
new file mode 100644
index 0000000..32e070e
--- /dev/null
+++ b/modules/features/foundation_ckeplugins/plugins/xml/plugin.js
@@ -0,0 +1,161 @@
+/**
+ * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or http://ckeditor.com/license
+ */
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.xml} class, which represents a
+ * loaded XML document.
+ */
+
+(function() {
+ CKEDITOR.plugins.add( 'xml', {} );
+
+ /**
+ * Represents a loaded XML document.
+ *
+ * var xml = new CKEDITOR.xml( '<books><book title="My Book" /></books>' );
+ *
+ * @class
+ * @constructor Creates xml class instance.
+ * @param {Object/String} xmlObjectOrData A native XML (DOM document) object or
+ * a string containing the XML definition to be loaded.
+ */
+ CKEDITOR.xml = function( xmlObjectOrData ) {
+ var baseXml = null;
+
+ if ( typeof xmlObjectOrData == 'object' )
+ baseXml = xmlObjectOrData;
+ else {
+ var data = ( xmlObjectOrData || '' ).replace( /&nbsp;/g, '\xA0' );
+ if ( window.DOMParser )
+ baseXml = ( new DOMParser() ).parseFromString( data, 'text/xml' );
+ else if ( window.ActiveXObject ) {
+ try {
+ baseXml = new ActiveXObject( 'MSXML2.DOMDocument' );
+ } catch ( e ) {
+ try {
+ baseXml = new ActiveXObject( 'Microsoft.XmlDom' );
+ } catch ( e ) {}
+ }
+
+ if ( baseXml ) {
+ baseXml.async = false;
+ baseXml.resolveExternals = false;
+ baseXml.validateOnParse = false;
+ baseXml.loadXML( data );
+ }
+ }
+ }
+
+ /**
+ * The native XML (DOM document) used by the class instance.
+ */
+ this.baseXml = baseXml;
+ };
+
+ CKEDITOR.xml.prototype = {
+ /**
+ * Get a single node from the XML document, based on a XPath query.
+ *
+ * // Create the XML instance.
+ * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' );
+ * // Get the first <item> node.
+ * var itemNode = <b>xml.selectSingleNode( 'list/item' )</b>;
+ * // Alert "item".
+ * alert( itemNode.nodeName );
+ *
+ * @param {String} xpath The XPath query to execute.
+ * @param {Object} [contextNode] The XML DOM node to be used as the context
+ * for the XPath query. The document root is used by default.
+ * @returns {Object} A XML node element or null if the query has no results.
+ */
+ selectSingleNode: function( xpath, contextNode ) {
+ var baseXml = this.baseXml;
+
+ if ( contextNode || ( contextNode = baseXml ) ) {
+ if ( CKEDITOR.env.ie || contextNode.selectSingleNode ) // IE
+ return contextNode.selectSingleNode( xpath );
+ else if ( baseXml.evaluate ) // Others
+ {
+ var result = baseXml.evaluate( xpath, contextNode, null, 9, null );
+ return ( result && result.singleNodeValue ) || null;
+ }
+ }
+
+ return null;
+ },
+
+ /**
+ * Gets a list node from the XML document, based on a XPath query.
+ *
+ * // Create the XML instance.
+ * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' );
+ * // Get the first <item> node.
+ * var itemNodes = xml.selectSingleNode( 'list/item' );
+ * // Alert "item" twice, one for each <item>.
+ * for ( var i = 0 ; i < itemNodes.length ; i++ )
+ * alert( itemNodes[i].nodeName );
+ *
+ * @param {String} xpath The XPath query to execute.
+ * @param {Object} [contextNode] The XML DOM node to be used as the context
+ * for the XPath query. The document root is used by default.
+ * @returns {Array} An array containing all matched nodes. The array will
+ * be empty if the query has no results.
+ */
+ selectNodes: function( xpath, contextNode ) {
+ var baseXml = this.baseXml,
+ nodes = [];
+
+ if ( contextNode || ( contextNode = baseXml ) ) {
+ if ( CKEDITOR.env.ie || contextNode.selectNodes ) // IE
+ return contextNode.selectNodes( xpath );
+ else if ( baseXml.evaluate ) // Others
+ {
+ var result = baseXml.evaluate( xpath, contextNode, null, 5, null );
+
+ if ( result ) {
+ var node;
+ while ( ( node = result.iterateNext() ) )
+ nodes.push( node );
+ }
+ }
+ }
+
+ return nodes;
+ },
+
+ /**
+ * Gets the string representation of hte inner contents of a XML node,
+ * based on a XPath query.
+ *
+ * // Create the XML instance.
+ * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' );
+ * // Alert "<item id="test1" /><item id="test2" />".
+ * alert( xml.getInnerXml( 'list' ) );
+ *
+ * @param {String} xpath The XPath query to execute.
+ * @param {Object} [contextNode] The XML DOM node to be used as the context
+ * for the XPath query. The document root is used by default.
+ * @returns {String} The textual representation of the inner contents of
+ * the node or null if the query has no results.
+ */
+ getInnerXml: function( xpath, contextNode ) {
+ var node = this.selectSingleNode( xpath, contextNode ),
+ xml = [];
+ if ( node ) {
+ node = node.firstChild;
+ while ( node ) {
+ if ( node.xml ) // IE
+ xml.push( node.xml );
+ else if ( window.XMLSerializer ) // Others
+ xml.push( ( new XMLSerializer() ).serializeToString( node ) );
+
+ node = node.nextSibling;
+ }
+ }
+
+ return xml.length ? xml.join( '' ) : null;
+ }
+ };
+})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment