Projet

Général

Profil

Révision 5d940405

Ajouté par Assos Assos il y a environ 4 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/media/media.info
24 24
; We have to add a fake version so Git checkouts do not fail Media dependencies
25 25
version = 7.x-2.x-dev
26 26

  
27
; Information added by Drupal.org packaging script on 2019-10-31
28
version = "7.x-2.24"
27
; Information added by Drupal.org packaging script on 2020-03-22
28
version = "7.x-2.26"
29 29
core = "7.x"
30 30
project = "media"
31
datestamp = "1572552486"
31
datestamp = "1584902430"
drupal7/sites/all/modules/media/media.install
112 112

  
113 113
  if ($phase == 'update') {
114 114
    $info = system_get_info('module', 'file_entity');
115
    $file_entity_installed_date = $info['datestamp'];
116 115
    $file_entity_version = $info['version'];
117 116
    $file_entity_minimum_date = 1495439635;
117
    if (isset($info['datestamp'])) {
118
      $file_entity_installed_date = $info['datestamp'];
119
    }
120
    else {
121
      if (strpos($file_entity_version, '7.x-3') !== FALSE) {
122
        // Good version, any number that passes the condition is good.
123
        $file_entity_installed_date = $file_entity_minimum_date + 1;
124
      }
125
      else {
126
        // Check version 2 release and parse into a number.
127
        // No need to check version 1 as that's checked below.
128
        $version_number = str_replace('7.x-2.', '', $file_entity_version);
129
        if (is_numeric($version_number)) {
130
          // Plain number, so good version.
131
          $file_entity_installed_date = $file_entity_minimum_date + 1;
132
        }
133
        else {
134
          // Bad version or release (beta, alpha, unstable...).
135
          $file_entity_installed_date = $file_entity_minimum_date - 1;
136
        }
137
      }
138
    }
139

  
118 140
    // Time of 2017-05-22 07:53:55 is most recent commit in 7.x-2.0.
119 141
    if ($file_entity_installed_date < $file_entity_minimum_date) {
120 142
      $description = $t('Media 2.10 or newer requires <a href="@url">File entity 2.0 or newer (2.4 or higher recommended)</a>. Please download the correct version and make sure you have deleted the file_entity folder inside the media module directory.', array('@url' => 'http://drupal.org/project/file_entity'));
......
135 157
    }
136 158
  }
137 159

  
138
  if (module_exists('entity_translation')) {
139
    if ($phase == 'update' || $phase == 'install' || $phase == 'runtime' ) {
140
      $entity_translation_info = system_get_info('module', 'entity_translation');
141
      $et_installed_version = $entity_translation_info['version'];
142
      $et_installed_datestamp = $entity_translation_info['datestamp'];
143
      $march3rd_entity_translation_timestamp = 1488530885;
144
      if (!isset($entity_translation_info['version']) || !isset($entity_translation_info['datestamp'])) {
145
        $et_installed_datestamp = 1488530884;
146
      }
147

  
148
      if ($et_installed_datestamp < $march3rd_entity_translation_timestamp) {
149
        $description = $t('Your entity_translation installation version: %version is too old. media requires entity_translation at least beta6 from march 3 2017 or newer.  Your choice is to either upgrade entity_translation or to disable it.', array('%version' => $et_installed_version));
150
        $requirements['entity_translation']['description'] = $description;
151
        $requirements['entity_translation']['severity'] = REQUIREMENT_ERROR;
152
        $requirements['entity_translation']['value'] = $et_installed_version;
153
        $requirements['entity_translation']['title'] = $t('Entity translation (when installed) with Media');
154
        drupal_set_message($description, 'error', TRUE);
155
      }
156
    }
157
  }
158 160
  return $requirements;
159 161
}
160 162

  
drupal7/sites/all/modules/media/modules/media_bulk_upload/media_bulk_upload.info
15 15
files[] = includes/MediaBrowserBulkUpload.inc
16 16
files[] = tests/media_bulk_upload.test
17 17

  
18
; Information added by Drupal.org packaging script on 2019-10-31
19
version = "7.x-2.24"
18
; Information added by Drupal.org packaging script on 2020-03-22
19
version = "7.x-2.26"
20 20
core = "7.x"
21 21
project = "media"
22
datestamp = "1572552486"
22
datestamp = "1584902430"
drupal7/sites/all/modules/media/modules/media_internet/media_internet.info
12 12
files[] = includes/MediaInternetValidationException.inc
13 13
files[] = tests/media_internet.test
14 14

  
15
; Information added by Drupal.org packaging script on 2019-10-31
16
version = "7.x-2.24"
15
; Information added by Drupal.org packaging script on 2020-03-22
16
version = "7.x-2.26"
17 17
core = "7.x"
18 18
project = "media"
19
datestamp = "1572552486"
19
datestamp = "1584902430"
drupal7/sites/all/modules/media/modules/media_internet/tests/media_internet_test.info
7 7
files[] = includes/MediaInternetTestStreamWrapper.inc
8 8
files[] = includes/MediaInternetTestHandler.inc
9 9

  
10
; Information added by Drupal.org packaging script on 2019-10-31
11
version = "7.x-2.24"
10
; Information added by Drupal.org packaging script on 2020-03-22
11
version = "7.x-2.26"
12 12
core = "7.x"
13 13
project = "media"
14
datestamp = "1572552486"
14
datestamp = "1584902430"
drupal7/sites/all/modules/media/modules/media_migrate_file_types/media_migrate_file_types.info
8 8

  
9 9
configure = admin/structure/file-types/upgrade
10 10

  
11
; Information added by Drupal.org packaging script on 2019-10-31
12
version = "7.x-2.24"
11
; Information added by Drupal.org packaging script on 2020-03-22
12
version = "7.x-2.26"
13 13
core = "7.x"
14 14
project = "media"
15
datestamp = "1572552486"
15
datestamp = "1584902430"
drupal7/sites/all/modules/media/modules/media_wysiwyg/media_wysiwyg.info
16 16

  
17 17
configure = admin/config/media/browser
18 18

  
19
; Information added by Drupal.org packaging script on 2019-10-31
20
version = "7.x-2.24"
19
; Information added by Drupal.org packaging script on 2020-03-22
20
version = "7.x-2.26"
21 21
core = "7.x"
22 22
project = "media"
23
datestamp = "1572552486"
23
datestamp = "1584902430"
drupal7/sites/all/modules/media/modules/media_wysiwyg_settings/media_wysiwyg_settings.features.filter.inc
1
<?php
2

  
3
/**
4
 * @file
5
 * media_wysiwyg_settings.features.filter.inc
6
 */
7

  
8
/**
9
 * Implements hook_filter_default_formats().
10
 */
11
function media_wysiwyg_settings_filter_default_formats() {
12
  $formats = array();
13

  
14
  // Exported format: Filtered HTML.
15
  $formats['filtered_html'] = array(
16
    'format' => 'filtered_html',
17
    'name' => 'Filtered HTML',
18
    'cache' => 1,
19
    'status' => 1,
20
    'weight' => 0,
21
    'filters' => array(
22
      'media_filter_paragraph_fix' => array(
23
        'weight' => -49,
24
        'status' => 1,
25
        'settings' => array(
26
          'replace' => 1,
27
        ),
28
      ),
29
      'filter_html' => array(
30
        'weight' => -48,
31
        'status' => 1,
32
        'settings' => array(
33
          'allowed_html' => '<a> <em> <strong> <cite> <blockquote> <code> <img> <h2> <h1> <h3> <div> <span> <section> <b> <ul> <ol> <li> <dl> <dt> <dd> <p> <table> <td> <tr>',
34
          'filter_html_help' => 1,
35
          'filter_html_nofollow' => 0,
36
        ),
37
      ),
38
      'filter_htmlcorrector' => array(
39
        'weight' => -42,
40
        'status' => 1,
41
        'settings' => array(),
42
      ),
43
      'media_filter' => array(
44
        'weight' => -41,
45
        'status' => 1,
46
        'settings' => array(),
47
      ),
48
    ),
49
  );
50

  
51
  // Exported format: Full HTML.
52
  $formats['full_html'] = array(
53
    'format' => 'full_html',
54
    'name' => 'Full HTML',
55
    'cache' => 1,
56
    'status' => 1,
57
    'weight' => 1,
58
    'filters' => array(
59
      'filter_htmlcorrector' => array(
60
        'weight' => -43,
61
        'status' => 1,
62
        'settings' => array(),
63
      ),
64
      'media_filter_paragraph_fix' => array(
65
        'weight' => -42,
66
        'status' => 1,
67
        'settings' => array(
68
          'replace' => 1,
69
        ),
70
      ),
71
      'media_filter' => array(
72
        'weight' => -41,
73
        'status' => 1,
74
        'settings' => array(),
75
      ),
76
    ),
77
  );
78

  
79
  return $formats;
80
}
drupal7/sites/all/modules/media/modules/media_wysiwyg_settings/media_wysiwyg_settings.features.wysiwyg.inc
1
<?php
2

  
3
/**
4
 * @file
5
 * media_wysiwyg_settings.features.wysiwyg.inc
6
 */
7

  
8
/**
9
 * Implements hook_wysiwyg_default_profiles().
10
 */
11
function media_wysiwyg_settings_wysiwyg_default_profiles() {
12
  $profiles = array();
13

  
14
  // Exported profile: filtered_html.
15
  $profiles['filtered_html'] = array(
16
    'format' => 'filtered_html',
17
    'editor' => 'ckeditor',
18
    'settings' => array(
19
      'buttons' => array(
20
        'default' => array(
21
          'Bold' => 1,
22
          'Italic' => 1,
23
          'Underline' => 1,
24
          'Strike' => 1,
25
          'JustifyLeft' => 1,
26
          'JustifyCenter' => 1,
27
          'JustifyRight' => 1,
28
          'JustifyBlock' => 1,
29
          'BulletedList' => 1,
30
          'NumberedList' => 1,
31
          'Outdent' => 1,
32
          'Indent' => 1,
33
          'Undo' => 1,
34
          'Link' => 1,
35
          'Unlink' => 1,
36
          'TextColor' => 1,
37
          'BGColor' => 1,
38
          'Superscript' => 1,
39
          'Blockquote' => 1,
40
          'Source' => 1,
41
          'HorizontalRule' => 1,
42
          'Cut' => 1,
43
          'Copy' => 1,
44
          'Paste' => 1,
45
          'FontSize' => 1,
46
          'Styles' => 1,
47
          'Table' => 1,
48
          'Find' => 1,
49
          'Replace' => 1,
50
          'CreateDiv' => 1,
51
          'Maximize' => 1,
52
        ),
53
        'drupal' => array(
54
          'media' => 1,
55
        ),
56
      ),
57
      'theme' => 'advanced',
58
      'language' => 'en',
59
      'toolbarLocation' => 'top',
60
      'resize_enabled' => 1,
61
      'default_toolbar_grouping' => 0,
62
      'simple_source_formatting' => 0,
63
      'acf_mode' => 1,
64
      'acf_allowed_content' => 'properties;
65
table[class](*);
66
tbody[class](*);
67
tr[class](*);
68
td[class,colspan](*);
69
img[title,alt,src,data-cke-saved-src](wysiwyg-break,drupal-content);
70
video[width,height,controls,src,controlslist,data-delta,data-fid,data-media-element](*);
71
source[src,type,data-cke-saved-src];
72
audio[controls,src](*);
73
img[*](media-element,file-default,media-wysiwyg-align-right,media-wysiwyg-align-left,media-wysiwyg-align-center);
74
p[class](*);
75
audio[controls,src](*);
76
b[class](*);
77
p[class](default,fanc*,text-align*,Indent*);
78
a[href,hreflang,data-entity-type,data-entity-uuid,title,target,class,tabindex](*);
79
h1[class](*);
80
h2[class](*);
81
h3[class](*);
82
h4[class](*);
83
h5[class](*);
84
h6[class](*);
85
hr[class](*);
86
div[class,aria-labelledby,data-parent,id](*);
87
button[class,aria-controls,aria-expanded,data-target,data-toggle,type,id](*);
88
sub[class](*);
89
sup[class](*);
90
strong[class](*);
91
em[class](*);
92
cite[class](*);
93
footer[class](default);
94
blockquote[class](*);
95
ul[class,type](*);
96
ol[class,start,type](*);
97
span[!class](*);
98
span[!lang](*);
99
li[class](*);',
100
      'css_setting' => 'theme',
101
      'css_theme' => '',
102
      'css_path' => '',
103
      'stylesSet' => '',
104
      'block_formats' => 'p,address,pre,h2,h3,h4,h5,h6,div',
105
      'mobile_disable' => 0,
106
      'forcePasteAsPlainText' => 0,
107
      'pasteFromWordPromptCleanup' => 0,
108
      'pasteFromWordRemoveFontStyles' => 0,
109
    ),
110
    'preferences' => array(
111
      'default' => 1,
112
      'user_choose' => 0,
113
      'show_toggle' => 1,
114
      'add_to_summaries' => 1,
115
      'version' => '4.14.0.8a12b04171',
116
    ),
117
    'name' => 'formatfiltered_html',
118
    'rdf_mapping' => array(),
119
  );
120

  
121
  // Exported profile: full_html.
122
  $profiles['full_html'] = array(
123
    'format' => 'full_html',
124
    'editor' => 'ckeditor',
125
    'settings' => array(
126
      'buttons' => array(
127
        'default' => array(
128
          'Bold' => 1,
129
          'Italic' => 1,
130
          'Underline' => 1,
131
          'Strike' => 1,
132
          'JustifyLeft' => 1,
133
          'JustifyCenter' => 1,
134
          'BulletedList' => 1,
135
          'NumberedList' => 1,
136
          'Outdent' => 1,
137
          'Indent' => 1,
138
          'Undo' => 1,
139
          'Redo' => 1,
140
          'Link' => 1,
141
          'Unlink' => 1,
142
          'Anchor' => 1,
143
          'Image' => 1,
144
          'BGColor' => 1,
145
          'Superscript' => 1,
146
          'Subscript' => 1,
147
          'Blockquote' => 1,
148
          'Source' => 1,
149
          'HorizontalRule' => 1,
150
          'Cut' => 1,
151
          'Copy' => 1,
152
          'Paste' => 1,
153
          'Font' => 1,
154
          'FontSize' => 1,
155
          'Styles' => 1,
156
          'Table' => 1,
157
          'Find' => 1,
158
          'Replace' => 1,
159
          'CreateDiv' => 1,
160
          'Iframe' => 1,
161
          'Maximize' => 1,
162
        ),
163
        'drupal' => array(
164
          'media' => 1,
165
        ),
166
      ),
167
      'theme' => 'advanced',
168
      'language' => 'en',
169
      'toolbarLocation' => 'top',
170
      'resize_enabled' => 1,
171
      'default_toolbar_grouping' => 0,
172
      'simple_source_formatting' => 0,
173
      'acf_mode' => 0,
174
      'acf_allowed_content' => 'properties;
175
table[class](*);
176
tbody[class](*);
177
tr[class](*);
178
td[class,colspan](*);
179
img[title,alt,src,data-cke-saved-src](wysiwyg-break,drupal-content);
180
video[width,height,controls,src,controlslist,data-delta,data-fid,data-media-element](*);
181
source[src,type,data-cke-saved-src];
182
audio[controls,src](*);
183
img[*](media-element,file-default,media-wysiwyg-align-right,media-wysiwyg-align-left,media-wysiwyg-align-center);
184
p[class](*);
185
audio[controls,src](*);
186
b[class](*);
187
p[class](default,fanc*,text-align*,Indent*);
188
a[href,hreflang,data-entity-type,data-entity-uuid,title,target,class,tabindex](*);
189
h1[class](*);
190
h2[class](*);
191
h3[class](*);
192
h4[class](*);
193
h5[class](*);
194
h6[class](*);
195
hr[class](*);
196
div[class,aria-labelledby,data-parent,id](*);
197
button[class,aria-controls,aria-expanded,data-target,data-toggle,type,id](*);
198
sub[class](*);
199
sup[class](*);
200
strong[class](*);
201
em[class](*);
202
cite[class](*);
203
footer[class](default);
204
blockquote[class](*);
205
ul[class,type](*);
206
ol[class,start,type](*);
207
span[!class](*);
208
span[!lang](*);
209
li[class](*);',
210
      'css_setting' => 'theme',
211
      'css_theme' => '',
212
      'css_path' => '',
213
      'stylesSet' => '',
214
      'block_formats' => 'p,address,pre,h2,h3,h4,h5,h6,div',
215
      'mobile_disable' => 0,
216
      'forcePasteAsPlainText' => 0,
217
      'pasteFromWordPromptCleanup' => 0,
218
      'pasteFromWordRemoveFontStyles' => 0,
219
    ),
220
    'preferences' => array(
221
      'default' => 1,
222
      'user_choose' => 0,
223
      'show_toggle' => 1,
224
      'add_to_summaries' => 1,
225
      'version' => '4.14.0.8a12b04171',
226
    ),
227
    'name' => 'formatfull_html',
228
    'rdf_mapping' => array(),
229
  );
230

  
231
  return $profiles;
232
}
drupal7/sites/all/modules/media/modules/media_wysiwyg_settings/media_wysiwyg_settings.info
1
name = Media Wysiwyg Settings
2
description = If you are using the wysiwyg module with the ckeditor library and you want to embed media, enable this for working defaults
3
core = 7.x
4
package = User Interface
5
version = 7.x-4.1
6
dependencies[] = features
7
dependencies[] = filter
8
dependencies[] = media_wysiwyg
9
dependencies[] = wysiwyg
10
features[features_api][] = api:2
11
features[filter][] = filtered_html
12
features[filter][] = full_html
13
features[wysiwyg][] = filtered_html
14
features[wysiwyg][] = full_html
15

  
16
; Information added by Drupal.org packaging script on 2020-03-22
17
version = "7.x-2.26"
18
core = "7.x"
19
project = "media"
20
datestamp = "1584902430"
drupal7/sites/all/modules/media/modules/media_wysiwyg_settings/media_wysiwyg_settings.module
1
<?php
2

  
3
/**
4
 * @file
5
 * Drupal needs this blank file.
6
 */
drupal7/sites/all/modules/media/modules/media_wysiwyg_view_mode/media_wysiwyg_view_mode.info
3 3
package = Media
4 4
core = 7.x
5 5

  
6
; Information added by Drupal.org packaging script on 2019-10-31
7
version = "7.x-2.24"
6
; Information added by Drupal.org packaging script on 2020-03-22
7
version = "7.x-2.26"
8 8
core = "7.x"
9 9
project = "media"
10
datestamp = "1572552486"
10
datestamp = "1584902430"
drupal7/sites/all/modules/media/modules/mediafield/mediafield.info
4 4
core = 7.x
5 5
dependencies[] = media
6 6

  
7
; Information added by Drupal.org packaging script on 2019-10-31
8
version = "7.x-2.24"
7
; Information added by Drupal.org packaging script on 2020-03-22
8
version = "7.x-2.26"
9 9
core = "7.x"
10 10
project = "media"
11
datestamp = "1572552486"
11
datestamp = "1584902430"
drupal7/sites/all/modules/media/tests/media_module_test.info
6 6

  
7 7
files[] = includes/MediaModuleTest.inc
8 8

  
9
; Information added by Drupal.org packaging script on 2019-10-31
10
version = "7.x-2.24"
9
; Information added by Drupal.org packaging script on 2020-03-22
10
version = "7.x-2.26"
11 11
core = "7.x"
12 12
project = "media"
13
datestamp = "1572552486"
13
datestamp = "1584902430"
drupal7/sites/all/modules/media_ckeditor/README.txt
43 43
INSTALLATION
44 44
------------
45 45

  
46
***Very NEW***
47
  A module (sub module/feature) is provided with media_ckeditor , enable it and it will configure text format and working ckeditor defaults.
48
  Refer to the section below for dependency installation and troubleshooting, you will need the ckeditor library 4.14.0 installed (minimum recommended).
49
***Very NEW***
46 50
***NEW***
47 51
  For a quicker and easier setup, follow this recipe
48 52
  https://www.drupal.org/node/2843391
drupal7/sites/all/modules/media_ckeditor/js/plugins/media/plugin.js
19 19
    mediaLegacyWrappers: false,
20 20
    hidpi: true,
21 21
    onLoad: function() {
22
      // Check if this instance has widget support.
23
      // mediaPluginDefinition.hasWidgetSupport = typeof(CKEDITOR.plugins.registered.widget) != 'undefined';
22
      // Check if Image Properties option is set, and this instance has widget support.
23
      if (!Drupal.settings.media_ckeditor.image_properties) {
24
        mediaPluginDefinition.hasWidgetSupport = typeof(CKEDITOR.plugins.registered.widget) != 'undefined';
25
      }
24 26
      // Add dependency to widget plugin if possible.
25 27
      if (Drupal.settings.ckeditor.plugins['media'].compareVersions(CKEDITOR.version, '4.3') >= 0 && mediaPluginDefinition.hasWidgetSupport) {
26 28
        mediaPluginDefinition.requires.push('widget');
drupal7/sites/all/modules/media_ckeditor/media_ckeditor.info
15 15
test_dependencies[] = views
16 16
test_dependencies[] = ctools
17 17

  
18
; Information added by Drupal.org packaging script on 2019-07-11
19
version = "7.x-2.10"
18
; Information added by Drupal.org packaging script on 2020-03-22
19
version = "7.x-2.14"
20 20
core = "7.x"
21 21
project = "media_ckeditor"
22
datestamp = "1562859187"
22
datestamp = "1584902065"
drupal7/sites/all/modules/media_ckeditor/media_ckeditor.module
125 125
  else {
126 126
    $instance = FALSE;
127 127
  }
128
  // Build JavaScript data to be attached to the element.
129
  $data['media_ckeditor']['image_properties'] = variable_get('media_ckeditor_image_properties', FALSE);
128 130
  if (!empty($instance['settings']['wysiwyg_insert'])) {
129
    $element['#attached']['js'][] = array(
130
      'type' => 'setting',
131
      'data' => array(
132
        'media_ckeditor' => array(
133
          'wysiwyg_insert' => array(
134
            $element['#field_name'] => TRUE,
135
          ),
136
        ),
137
      ),
138
    );
131
    $data['media_ckeditor']['wysiwyg_insert'][$element['#field_name']] = TRUE;
139 132
  }
133
  $element['#attached']['js'][] = array(
134
    'type' => 'setting',
135
    'data' => $data,
136
  );
140 137
  return $element;
141 138
}
142 139

  
......
202 199
    '#description' => t('Check this box to render files in the WYSIWYG dynamically, to reflect any field overrides the user may have specified. Note that this requires the user has the corresponding permission: "View overridden file entities in wysiwyg"'),
203 200
    '#default_value' => variable_get('media_ckeditor_fully_rendered_files', FALSE),
204 201
  );
202
  $form['media_ckeditor']['media_ckeditor_image_properties'] = array(
203
    '#type' => 'checkbox',
204
    '#title' => t('Allow Image Properties configuration'),
205
    '#description' => t('Check this box to allow images inserted with the Media module to be resized and edited using the Image Properties menu option. Otherwise, resizing options should be provided as different image view modes.'),
206
    '#default_value' => variable_get('media_ckeditor_image_properties', FALSE),
207
  );
205 208
}
206 209

  
207 210
/**
drupal7/sites/all/modules/media_ckeditor/modules/media_ckeditor_settings/media_ckeditor_settings.features.ckeditor_profile.inc
1
<?php
2

  
3
/**
4
 * @file
5
 * media_ckeditor_settings.features.ckeditor_profile.inc
6
 */
7

  
8
/**
9
 * Implements hook_ckeditor_profile_defaults().
10
 */
11
function media_ckeditor_settings_ckeditor_profile_defaults() {
12
  $data = array(
13
    'Advanced' => array(
14
      'name' => 'Advanced',
15
      'settings' => array(
16
        'ss' => 2,
17
        'toolbar' => '[
18
    [\'Source\'],
19
    [\'Cut\',\'Copy\',\'Paste\',\'PasteText\',\'PasteFromWord\',\'-\',\'SpellChecker\', \'Scayt\'],
20
    [\'Undo\',\'Redo\',\'Find\',\'Replace\',\'-\',\'SelectAll\'],
21
    [\'Image\',\'Media\',\'Flash\',\'Table\',\'HorizontalRule\',\'Smiley\',\'SpecialChar\'],
22
    [\'Maximize\', \'ShowBlocks\'],
23
    \'/\',
24
    [\'Format\'],
25
    [\'Bold\',\'Italic\',\'Underline\',\'Strike\',\'-\',\'Subscript\',\'Superscript\',\'-\',\'RemoveFormat\'],
26
    [\'NumberedList\',\'BulletedList\',\'-\',\'Outdent\',\'Indent\',\'Blockquote\'],
27
    [\'JustifyLeft\',\'JustifyCenter\',\'JustifyRight\',\'JustifyBlock\',\'-\',\'BidiLtr\',\'BidiRtl\'],
28
    [\'Link\',\'Unlink\',\'Anchor\',\'Linkit\']
29
]
30
    ',
31
        'expand' => 't',
32
        'default' => 't',
33
        'show_toggle' => 't',
34
        'uicolor' => 'custom',
35
        'uicolor_user' => '#542002',
36
        'width' => '100%',
37
        'lang' => 'en',
38
        'auto_lang' => 't',
39
        'language_direction' => 'default',
40
        'allowed_content' => 't',
41
        'extraAllowedContent' => 'properties;
42
table[class](*);
43
tbody[class](*);
44
tr[class](*);
45
td[class,colspan](*);
46
img[title,alt,src,data-cke-saved-src](wysiwyg-break,drupal-content);
47
video[width,height,controls,src,controlslist,data-delta,data-fid,data-media-element](*);
48
source[src,type,data-cke-saved-src];
49
audio[controls,src](*);
50
img[*](media-element,file-default,media-wysiwyg-align-right,media-wysiwyg-align-left,media-wysiwyg-align-center);
51
p[class](*);
52
audio[controls,src](*);
53
b[class](*);
54
p[class](default,fanc*,text-align*,Indent*);
55
a[href,hreflang,data-entity-type,data-entity-uuid,title,target,class,tabindex](*);
56
h1[class](*);
57
h2[class](*);
58
h3[class](*);
59
h4[class](*);
60
h5[class](*);
61
h6[class](*);
62
hr[class](*);
63
div[class,aria-labelledby,data-parent,id](*);
64
button[class,aria-controls,aria-expanded,data-target,data-toggle,type,id](*);
65
sub[class](*);
66
sup[class](*);
67
strong[class](*);
68
em[class](*);
69
cite[class](*);
70
footer[class](default);
71
blockquote[class](*);
72
ul[class,type](*);
73
ol[class,start,type](*);
74
span[!class](*);
75
span[!lang](*);
76
li[class](*);',
77
        'enter_mode' => 'p',
78
        'shift_enter_mode' => 'br',
79
        'font_format' => 'p;div;pre;address;h1;h2;h3;h4;h5;h6',
80
        'custom_formatting' => 'f',
81
        'formatting' => array(
82
          'custom_formatting_options' => array(
83
            'indent' => 'indent',
84
            'breakBeforeOpen' => 'breakBeforeOpen',
85
            'breakAfterOpen' => 'breakAfterOpen',
86
            'breakAfterClose' => 'breakAfterClose',
87
            'breakBeforeClose' => 0,
88
            'pre_indent' => 0,
89
          ),
90
        ),
91
        'css_mode' => 'none',
92
        'css_path' => '',
93
        'css_style' => 'theme',
94
        'styles_path' => '',
95
        'filebrowser' => 'none',
96
        'filebrowser_image' => '',
97
        'filebrowser_flash' => '',
98
        'UserFilesPath' => '%b%f/',
99
        'UserFilesAbsolutePath' => '%d%b%f/',
100
        'forcePasteAsPlainText' => 'f',
101
        'html_entities' => 'f',
102
        'scayt_autoStartup' => 'f',
103
        'theme_config_js' => 'f',
104
        'js_conf' => '',
105
        'loadPlugins' => array(
106
          'drupalbreaks' => array(
107
            'name' => 'drupalbreaks',
108
            'desc' => 'Plugin for inserting Drupal teaser and page breaks.',
109
            'path' => '%plugin_dir%drupalbreaks/',
110
            'buttons' => array(
111
              'DrupalBreak' => array(
112
                'label' => 'DrupalBreak',
113
                'icon' => 'images/drupalbreak.png',
114
              ),
115
            ),
116
            'default' => 't',
117
          ),
118
          'media' => array(
119
            'name' => 'media',
120
            'desc' => 'Plugin for embedding files using Media CKEditor',
121
            'path' => '%base_path%profiles/media_dev/modules/contrib/media_ckeditor/js/plugins/media/',
122
            'buttons' => array(
123
              'Media' => array(
124
                'icon' => 'icons/media.png',
125
                'label' => 'Add media',
126
              ),
127
            ),
128
            'default' => 'f',
129
          ),
130
        ),
131
      ),
132
      'input_formats' => array(
133
        'filtered_html' => 'Filtered HTML',
134
      ),
135
    ),
136
    'CKEditor Global Profile' => array(
137
      'name' => 'CKEditor Global Profile',
138
      'settings' => array(
139
        'skin' => 'moono',
140
        'ckeditor_path' => '//cdn.ckeditor.com/4.14.0/full-all',
141
        'ckeditor_local_path' => '',
142
        'ckeditor_plugins_path' => '%m/plugins',
143
        'ckeditor_plugins_local_path' => '',
144
        'ckfinder_path' => '%m/ckfinder',
145
        'ckfinder_local_path' => '',
146
        'ckeditor_aggregate' => 'f',
147
        'toolbar_wizard' => 't',
148
        'loadPlugins' => array(),
149
      ),
150
      'input_formats' => array(),
151
    ),
152
    'Full' => array(
153
      'name' => 'Full',
154
      'settings' => array(
155
        'ss' => 2,
156
        'toolbar' => '[
157
    [\'Source\'],
158
    [\'Cut\',\'Copy\',\'Paste\',\'PasteText\',\'PasteFromWord\',\'-\',\'SpellChecker\', \'Scayt\'],
159
    [\'Undo\',\'Redo\',\'Find\',\'Replace\',\'-\',\'SelectAll\'],
160
    [\'Image\',\'Media\',\'Flash\',\'Table\',\'HorizontalRule\',\'Smiley\',\'SpecialChar\',\'Iframe\'],
161
    \'/\',
162
    [\'Bold\',\'Italic\',\'Underline\',\'Strike\',\'-\',\'Subscript\',\'Superscript\',\'-\',\'RemoveFormat\'],
163
    [\'NumberedList\',\'BulletedList\',\'-\',\'Outdent\',\'Indent\',\'Blockquote\',\'CreateDiv\'],
164
    [\'JustifyLeft\',\'JustifyCenter\',\'JustifyRight\',\'JustifyBlock\',\'-\',\'BidiLtr\',\'BidiRtl\',\'-\',\'Language\'],
165
    [\'Link\',\'Unlink\',\'Anchor\',\'Linkit\'],
166
    [\'DrupalBreak\'],
167
    \'/\',
168
    [\'Format\',\'Font\',\'FontSize\'],
169
    [\'TextColor\',\'BGColor\'],
170
    [\'Maximize\', \'ShowBlocks\']
171
]
172
    ',
173
        'expand' => 't',
174
        'default' => 't',
175
        'show_toggle' => 't',
176
        'uicolor' => 'default',
177
        'uicolor_user' => 'default',
178
        'width' => '100%',
179
        'lang' => 'en',
180
        'auto_lang' => 't',
181
        'language_direction' => 'default',
182
        'allowed_content' => 'f',
183
        'extraAllowedContent' => 'properties;
184
table[class](*);
185
tbody[class](*);
186
tr[class](*);
187
td[class,colspan](*);
188
img[title,alt,src,data-cke-saved-src](wysiwyg-break,drupal-content);
189
video[width,height,controls,src,controlslist,data-delta,data-fid,data-media-element](*);
190
source[src,type,data-cke-saved-src];
191
audio[controls,src](*);
192
img[*](media-element,file-default,media-wysiwyg-align-right,media-wysiwyg-align-left,media-wysiwyg-align-center);
193
p[class](*);
194
audio[controls,src](*);
195
b[class](*);
196
p[class](default,fanc*,text-align*,Indent*);
197
a[href,hreflang,data-entity-type,data-entity-uuid,title,target,class,tabindex](*);
198
h1[class](*);
199
h2[class](*);
200
h3[class](*);
201
h4[class](*);
202
h5[class](*);
203
h6[class](*);
204
hr[class](*);
205
div[class,aria-labelledby,data-parent,id](*);
206
button[class,aria-controls,aria-expanded,data-target,data-toggle,type,id](*);
207
sub[class](*);
208
sup[class](*);
209
strong[class](*);
210
em[class](*);
211
cite[class](*);
212
footer[class](default);
213
blockquote[class](*);
214
ul[class,type](*);
215
ol[class,start,type](*);
216
span[!class](*);
217
span[!lang](*);
218
li[class](*);',
219
        'enter_mode' => 'p',
220
        'shift_enter_mode' => 'br',
221
        'font_format' => 'p;div;pre;address;h1;h2;h3;h4;h5;h6',
222
        'custom_formatting' => 'f',
223
        'formatting' => array(
224
          'custom_formatting_options' => array(
225
            'indent' => 'indent',
226
            'breakBeforeOpen' => 'breakBeforeOpen',
227
            'breakAfterOpen' => 'breakAfterOpen',
228
            'breakAfterClose' => 'breakAfterClose',
229
            'breakBeforeClose' => 0,
230
            'pre_indent' => 0,
231
          ),
232
        ),
233
        'css_mode' => 'none',
234
        'css_path' => '',
235
        'css_style' => 'theme',
236
        'styles_path' => '',
237
        'filebrowser' => 'none',
238
        'filebrowser_image' => '',
239
        'filebrowser_flash' => '',
240
        'UserFilesPath' => '%b%f/',
241
        'UserFilesAbsolutePath' => '%d%b%f/',
242
        'forcePasteAsPlainText' => 'f',
243
        'html_entities' => 'f',
244
        'scayt_autoStartup' => 'f',
245
        'theme_config_js' => 'f',
246
        'js_conf' => '',
247
        'loadPlugins' => array(
248
          'drupalbreaks' => array(
249
            'name' => 'drupalbreaks',
250
            'desc' => 'Plugin for inserting Drupal teaser and page breaks.',
251
            'path' => '%plugin_dir%drupalbreaks/',
252
            'buttons' => array(
253
              'DrupalBreak' => array(
254
                'label' => 'DrupalBreak',
255
                'icon' => 'images/drupalbreak.png',
256
              ),
257
            ),
258
            'default' => 't',
259
          ),
260
          'media' => array(
261
            'name' => 'media',
262
            'desc' => 'Plugin for embedding files using Media CKEditor',
263
            'path' => '%base_path%profiles/media_dev/modules/contrib/media_ckeditor/js/plugins/media/',
264
            'buttons' => array(
265
              'Media' => array(
266
                'icon' => 'icons/media.png',
267
                'label' => 'Add media',
268
              ),
269
            ),
270
            'default' => 'f',
271
          ),
272
        ),
273
      ),
274
      'input_formats' => array(
275
        'full_html' => 'Full HTML',
276
      ),
277
    ),
278
  );
279
  return $data;
280
}
drupal7/sites/all/modules/media_ckeditor/modules/media_ckeditor_settings/media_ckeditor_settings.features.filter.inc
1
<?php
2

  
3
/**
4
 * @file
5
 * media_ckeditor_settings.features.filter.inc
6
 */
7

  
8
/**
9
 * Implements hook_filter_default_formats().
10
 */
11
function media_ckeditor_settings_filter_default_formats() {
12
  $formats = array();
13

  
14
  // Exported format: Filtered HTML.
15
  $formats['filtered_html'] = array(
16
    'format' => 'filtered_html',
17
    'name' => 'Filtered HTML',
18
    'cache' => 1,
19
    'status' => 1,
20
    'weight' => 0,
21
    'filters' => array(
22
      'media_filter_paragraph_fix' => array(
23
        'weight' => -49,
24
        'status' => 1,
25
        'settings' => array(
26
          'replace' => 1,
27
        ),
28
      ),
29
      'filter_html' => array(
30
        'weight' => -48,
31
        'status' => 1,
32
        'settings' => array(
33
          'allowed_html' => '<a> <em> <strong> <cite> <blockquote> <code> <img> <h2> <h1> <h3> <div> <span> <section> <b> <ul> <ol> <li> <dl> <dt> <dd> <p> <table> <td> <tr>',
34
          'filter_html_help' => 1,
35
          'filter_html_nofollow' => 0,
36
        ),
37
      ),
38
      'filter_htmlcorrector' => array(
39
        'weight' => -42,
40
        'status' => 1,
41
        'settings' => array(),
42
      ),
43
      'media_filter' => array(
44
        'weight' => -41,
45
        'status' => 1,
46
        'settings' => array(),
47
      ),
48
    ),
49
  );
50

  
51
  // Exported format: Full HTML.
52
  $formats['full_html'] = array(
53
    'format' => 'full_html',
54
    'name' => 'Full HTML',
55
    'cache' => 1,
56
    'status' => 1,
57
    'weight' => 1,
58
    'filters' => array(
59
      'filter_htmlcorrector' => array(
60
        'weight' => -43,
61
        'status' => 1,
62
        'settings' => array(),
63
      ),
64
      'media_filter_paragraph_fix' => array(
65
        'weight' => -42,
66
        'status' => 1,
67
        'settings' => array(
68
          'replace' => 1,
69
        ),
70
      ),
71
      'media_filter' => array(
72
        'weight' => -41,
73
        'status' => 1,
74
        'settings' => array(),
75
      ),
76
    ),
77
  );
78

  
79
  // Exported format: Plain text.
80
  $formats['plain_text'] = array(
81
    'format' => 'plain_text',
82
    'name' => 'Plain text',
83
    'cache' => 1,
84
    'status' => 1,
85
    'weight' => 10,
86
    'filters' => array(
87
      'filter_html_escape' => array(
88
        'weight' => 0,
89
        'status' => 1,
90
        'settings' => array(),
91
      ),
92
      'filter_url' => array(
93
        'weight' => 1,
94
        'status' => 1,
95
        'settings' => array(
96
          'filter_url_length' => 72,
97
        ),
98
      ),
99
      'filter_autop' => array(
100
        'weight' => 2,
101
        'status' => 1,
102
        'settings' => array(),
103
      ),
104
    ),
105
  );
106

  
107
  return $formats;
108
}
drupal7/sites/all/modules/media_ckeditor/modules/media_ckeditor_settings/media_ckeditor_settings.info
1
name = Media Ckeditor Settings
2
description = If you are using the media_ckeditor module and you want to embed media, enable this for working ACF defaults
3
core = 7.x
4
package = User interface
5
version = 7.x-4.1
6
dependencies[] = ckeditor
7
dependencies[] = features
8
dependencies[] = filter
9
dependencies[] = media_ckeditor
10
dependencies[] = media_wysiwyg
11
features[ckeditor_profile][] = Advanced
12
features[ckeditor_profile][] = CKEditor Global Profile
13
features[ckeditor_profile][] = Full
14
features[features_api][] = api:2
15
features[filter][] = filtered_html
16
features[filter][] = full_html
17
features[filter][] = plain_text
18

  
19
; Information added by Drupal.org packaging script on 2020-03-22
20
version = "7.x-2.14"
21
core = "7.x"
22
project = "media_ckeditor"
23
datestamp = "1584902065"
drupal7/sites/all/modules/media_ckeditor/modules/media_ckeditor_settings/media_ckeditor_settings.module
1
<?php
2

  
3
/**
4
 * @file
5
 * Drupal needs this blank file.
6
 */
drupal7/sites/all/modules/media_ckeditor/tests/media_ckeditor_test.info
4 4
core = 7.x
5 5
hidden = FALSE
6 6

  
7
; Information added by Drupal.org packaging script on 2019-07-11
8
version = "7.x-2.10"
7
; Information added by Drupal.org packaging script on 2020-03-22
8
version = "7.x-2.14"
9 9
core = "7.x"
10 10
project = "media_ckeditor"
11
datestamp = "1562859187"
11
datestamp = "1584902065"

Formats disponibles : Unified diff