Révision c73bc8d8
Ajouté par Assos Assos il y a environ 7 ans
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 2017-02-28
|
|
28 |
version = "7.x-2.0-rc11"
|
|
27 |
; Information added by Drupal.org packaging script on 2017-03-05
|
|
28 |
version = "7.x-2.0-rc12"
|
|
29 | 29 |
core = "7.x" |
30 | 30 |
project = "media" |
31 |
datestamp = "1488279796"
|
|
31 |
datestamp = "1488724088"
|
|
32 | 32 |
|
drupal7/sites/all/modules/media/media.views.inc | ||
---|---|---|
19 | 19 |
if (module_exists('search_api')) { |
20 | 20 |
// If the Search API module exists, also allow indices of the file-entity |
21 | 21 |
// that has the fid field indexed. |
22 |
$indices = search_api_index_load_multiple(NULL);
|
|
22 |
$indices = search_api_index_load_multiple(FALSE);
|
|
23 | 23 |
foreach ($indices as $machine_name => $index) { |
24 | 24 |
if ($index->item_type == 'file' && isset($index->options['fields']['fid'])) { |
25 | 25 |
$base[] = 'search_api_index_' . $machine_name; |
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 2017-02-28
|
|
19 |
version = "7.x-2.0-rc11"
|
|
18 |
; Information added by Drupal.org packaging script on 2017-03-05
|
|
19 |
version = "7.x-2.0-rc12"
|
|
20 | 20 |
core = "7.x" |
21 | 21 |
project = "media" |
22 |
datestamp = "1488279796"
|
|
22 |
datestamp = "1488724088"
|
|
23 | 23 |
|
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 2017-02-28
|
|
16 |
version = "7.x-2.0-rc11"
|
|
15 |
; Information added by Drupal.org packaging script on 2017-03-05
|
|
16 |
version = "7.x-2.0-rc12"
|
|
17 | 17 |
core = "7.x" |
18 | 18 |
project = "media" |
19 |
datestamp = "1488279796"
|
|
19 |
datestamp = "1488724088"
|
|
20 | 20 |
|
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 2017-02-28
|
|
11 |
version = "7.x-2.0-rc11"
|
|
10 |
; Information added by Drupal.org packaging script on 2017-03-05
|
|
11 |
version = "7.x-2.0-rc12"
|
|
12 | 12 |
core = "7.x" |
13 | 13 |
project = "media" |
14 |
datestamp = "1488279796"
|
|
14 |
datestamp = "1488724088"
|
|
15 | 15 |
|
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 2017-02-28
|
|
12 |
version = "7.x-2.0-rc11"
|
|
11 |
; Information added by Drupal.org packaging script on 2017-03-05
|
|
12 |
version = "7.x-2.0-rc12"
|
|
13 | 13 |
core = "7.x" |
14 | 14 |
project = "media" |
15 |
datestamp = "1488279796"
|
|
15 |
datestamp = "1488724088"
|
|
16 | 16 |
|
drupal7/sites/all/modules/media/modules/media_wysiwyg/includes/media_wysiwyg.filter.inc | ||
---|---|---|
348 | 348 |
} |
349 | 349 |
} |
350 | 350 |
// Multi-value select lists show up here with 3 array items. |
351 |
elseif (count($parsed_field) == 3 && is_numeric($parsed_field[2])) {
|
|
351 |
elseif (count($parsed_field) == 3 && (empty($parsed_field[2]) || is_numeric($parsed_field[2]))) {
|
|
352 | 352 |
$info = field_info_field($parsed_field[0]); |
353 | 353 |
// They just need the value column. |
354 | 354 |
$parsed_field[3] = key($info['columns']); |
drupal7/sites/all/modules/media/modules/media_wysiwyg/media_wysiwyg.info | ||
---|---|---|
15 | 15 |
|
16 | 16 |
configure = admin/config/media/browser |
17 | 17 |
|
18 |
; Information added by Drupal.org packaging script on 2017-02-28
|
|
19 |
version = "7.x-2.0-rc11"
|
|
18 |
; Information added by Drupal.org packaging script on 2017-03-05
|
|
19 |
version = "7.x-2.0-rc12"
|
|
20 | 20 |
core = "7.x" |
21 | 21 |
project = "media" |
22 |
datestamp = "1488279796"
|
|
22 |
datestamp = "1488724088"
|
|
23 | 23 |
|
drupal7/sites/all/modules/media/modules/media_wysiwyg/media_wysiwyg.install | ||
---|---|---|
178 | 178 |
// Migrate the configuration from the old variables into the new DB tables. |
179 | 179 |
$types = file_type_load_all(TRUE); |
180 | 180 |
foreach ($types as $type) { |
181 |
$enabled = variable_get("media_wysiwyg_view_mode_" . $type->type . "_file__wysiwyg_restricted_view_modes_status", FALSE);
|
|
181 |
$enabled = variable_get("media_wysiwyg_view_mode_" . $type->type . "_file_wysiwyg_restricted_view_modes_status", FALSE); |
|
182 | 182 |
if ($enabled) { |
183 | 183 |
$wysiwyg_restricted_view_modes = variable_get("media_wysiwyg_view_mode_" . $type->type . "_file_wysiwyg_restricted_view_modes", array()); |
184 | 184 |
foreach ($wysiwyg_restricted_view_modes as $wysiwyg_restricted_view_mode) { |
... | ... | |
191 | 191 |
} |
192 | 192 |
} |
193 | 193 |
|
194 |
$enabled = variable_get("media_wysiwyg_view_mode_" . $type->type . "_wysiwyg_view_mode_status"); |
|
194 |
$enabled = variable_get("media_wysiwyg_view_mode_" . $type->type . "_wysiwyg_view_mode_status", FALSE);
|
|
195 | 195 |
if ($enabled) { |
196 | 196 |
$file_wysiwyg_view_mode = variable_get("media_wysiwyg_view_mode_" . $type->type . "_file_wysiwyg_view_mode", 'wysiwyg'); |
197 | 197 |
db_insert('media_view_mode_wysiwyg') |
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 2017-02-28
|
|
7 |
version = "7.x-2.0-rc11"
|
|
6 |
; Information added by Drupal.org packaging script on 2017-03-05
|
|
7 |
version = "7.x-2.0-rc12"
|
|
8 | 8 |
core = "7.x" |
9 | 9 |
project = "media" |
10 |
datestamp = "1488279796"
|
|
10 |
datestamp = "1488724088"
|
|
11 | 11 |
|
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 2017-02-28
|
|
8 |
version = "7.x-2.0-rc11"
|
|
7 |
; Information added by Drupal.org packaging script on 2017-03-05
|
|
8 |
version = "7.x-2.0-rc12"
|
|
9 | 9 |
core = "7.x" |
10 | 10 |
project = "media" |
11 |
datestamp = "1488279796"
|
|
11 |
datestamp = "1488724088"
|
|
12 | 12 |
|
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 2017-02-28
|
|
10 |
version = "7.x-2.0-rc11"
|
|
9 |
; Information added by Drupal.org packaging script on 2017-03-05
|
|
10 |
version = "7.x-2.0-rc12"
|
|
11 | 11 |
core = "7.x" |
12 | 12 |
project = "media" |
13 |
datestamp = "1488279796"
|
|
13 |
datestamp = "1488724088"
|
|
14 | 14 |
|
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/theme/views-slideshow-cycle-main-frame-row-item.tpl.php | ||
---|---|---|
7 | 7 |
* - $classes: Classes. |
8 | 8 |
* - $item: Row item. |
9 | 9 |
* |
10 |
* @ingroup views_templates
|
|
10 |
* @ingroup vss_templates
|
|
11 | 11 |
*/ |
12 | 12 |
?> |
13 | 13 |
<div class="<?php print $classes; ?>"> |
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/theme/views-slideshow-cycle-main-frame-row.tpl.php | ||
---|---|---|
8 | 8 |
* - $classes: Classes. |
9 | 9 |
* - $rendered_items: Rendered items. |
10 | 10 |
* |
11 |
* @ingroup views_templates
|
|
11 |
* @ingroup vss_templates
|
|
12 | 12 |
*/ |
13 | 13 |
?> |
14 | 14 |
<div id="views_slideshow_cycle_div_<?php print $variables['vss_id']; ?>_<?php print $variables['count']; ?>" class="<?php print $classes; ?>" <?php print $aria; ?>> |
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/theme/views-slideshow-cycle-main-frame.tpl.php | ||
---|---|---|
8 | 8 |
* - $classes: Classes. |
9 | 9 |
* - $rendered_rows: Rendered rows. |
10 | 10 |
* |
11 |
* @ingroup views_templates
|
|
11 |
* @ingroup vss_templates
|
|
12 | 12 |
*/ |
13 | 13 |
?> |
14 | 14 |
<div id="views_slideshow_cycle_teaser_section_<?php print $variables['vss_id']; ?>" class="<?php print $classes; ?>"> |
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/theme/views-slideshow-cycle.tpl.php | ||
---|---|---|
3 | 3 |
/** |
4 | 4 |
* @file |
5 | 5 |
* Views Slideshow: Single Frame template file. |
6 |
* |
|
7 |
* @ingroup vss_templates |
|
6 | 8 |
*/ |
7 | 9 |
?> |
8 | 10 |
|
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/theme/views_slideshow_cycle.theme.inc | ||
---|---|---|
8 | 8 |
/** |
9 | 9 |
* Views Slideshow: Theme the main frame wrapper. |
10 | 10 |
* |
11 |
* @ingroup themeable
|
|
11 |
* @ingroup vss_theme
|
|
12 | 12 |
*/ |
13 | 13 |
function template_preprocess_views_slideshow_cycle_main_frame(&$vars) { |
14 | 14 |
$settings = $vars['settings']; |
... | ... | |
172 | 172 |
/** |
173 | 173 |
* Views Slideshow slideshow rows. |
174 | 174 |
* |
175 |
* @ingroup themeable
|
|
175 |
* @ingroup vss_theme
|
|
176 | 176 |
*/ |
177 | 177 |
function template_preprocess_views_slideshow_cycle_main_frame_row(&$vars) { |
178 | 178 |
$current = $vars['count'] + 1; |
... | ... | |
204 | 204 |
|
205 | 205 |
/** |
206 | 206 |
* Implements hook_preprocess_views_slideshow_cycle_main_frame_row_item(). |
207 |
* |
|
208 |
* @ingroup vss_theme |
|
207 | 209 |
*/ |
208 | 210 |
function template_preprocess_views_slideshow_cycle_main_frame_row_item(&$vars) { |
209 | 211 |
$vars['classes_array'][] = 'views-row views-row-' . $vars['item_count']; |
... | ... | |
223 | 225 |
|
224 | 226 |
/** |
225 | 227 |
* Implements hook_preprocess_views_slideshow_pager_fields(). |
228 |
* |
|
229 |
* @ingroup vss_theme |
|
226 | 230 |
*/ |
227 | 231 |
function views_slideshow_cycle_preprocess_views_slideshow_pager_fields(&$vars) { |
228 | 232 |
$slide_count = count($vars['view']->result); |
... | ... | |
261 | 265 |
|
262 | 266 |
/** |
263 | 267 |
* Implements hook_preprocess_views_slideshow_slide_counter(). |
268 |
* |
|
269 |
* @ingroup vss_theme |
|
264 | 270 |
*/ |
265 | 271 |
function views_slideshow_cycle_preprocess_views_slideshow_slide_counter(&$vars) { |
266 | 272 |
if ($vars['view']->style_options['slideshow_type'] == 'views_slideshow_cycle') { |
... | ... | |
272 | 278 |
/** |
273 | 279 |
* Backwards compatability wrapper. |
274 | 280 |
* |
281 |
* @deprecated Removed in 3.5 when the hook_theme() implementation was fixed. |
|
282 |
* |
|
275 | 283 |
* @see template_preprocess_views_slideshow_cycle_main_frame(). |
284 |
* |
|
285 |
* @ingroup vss_theme |
|
276 | 286 |
*/ |
277 | 287 |
function _views_slideshow_cycle_preprocess_views_slideshow_cycle_main_frame(&$vars) { |
278 | 288 |
template_preprocess_views_slideshow_cycle_main_frame($vars); |
... | ... | |
281 | 291 |
/** |
282 | 292 |
* Backwards compatability wrapper. |
283 | 293 |
* |
294 |
* @deprecated Removed in 3.5 when the hook_theme() implementation was fixed. |
|
295 |
* |
|
284 | 296 |
* @see template_preprocess_views_slideshow_cycle_main_frame_row(). |
297 |
* |
|
298 |
* @ingroup vss_theme |
|
285 | 299 |
*/ |
286 | 300 |
function _views_slideshow_cycle_preprocess_views_slideshow_cycle_main_frame_row(&$vars) { |
287 | 301 |
template_preprocess_views_slideshow_cycle_main_frame_row($vars); |
... | ... | |
290 | 304 |
/** |
291 | 305 |
* Backwards compatability wrapper. |
292 | 306 |
* |
307 |
* @deprecated Removed in 3.5 when the hook_theme() implementation was fixed. |
|
308 |
* |
|
293 | 309 |
* @see template_preprocess_views_slideshow_cycle_main_frame_row_item(). |
310 |
* |
|
311 |
* @ingroup vss_theme |
|
294 | 312 |
*/ |
295 | 313 |
function _views_slideshow_cycle_preprocess_views_slideshow_cycle_main_frame_row_item(&$vars) { |
296 | 314 |
template_preprocess_views_slideshow_cycle_main_frame_row_item($vars); |
297 |
} |
|
315 |
} |
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/views_slideshow_cycle.css | ||
---|---|---|
1 |
/** |
|
2 |
* @file |
|
3 |
* Basic styling for Views Slideshow Cycle. |
|
4 |
*/ |
|
1 | 5 |
|
2 | 6 |
.views_slideshow_cycle_no_display, |
3 | 7 |
.views_slideshow_cycle_hidden, |
... | ... | |
8 | 12 |
display: none; |
9 | 13 |
} |
10 | 14 |
|
15 |
/* Only show control blocks if the JavaScript successfully initialized. */ |
|
11 | 16 |
.views-slideshow-cycle-processed .views-slideshow-controls-bottom, |
12 | 17 |
.views-slideshow-cycle-processed .views-slideshow-controls-top { |
13 | 18 |
display: block; |
14 | 19 |
} |
15 | 20 |
|
16 |
.views-slideshow-cycle-main-frame, |
|
17 |
.views-slideshow-cycle-main-frame div, |
|
18 |
.views-slideshow-cycle-main-frame img { |
|
19 |
max-width: 100%; |
|
20 |
} |
|
21 |
|
|
22 |
|
|
23 | 21 |
/* Pager Settings */ |
24 | 22 |
|
25 | 23 |
.views-slideshow-pager-fields img { |
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/views_slideshow_cycle.info | ||
---|---|---|
5 | 5 |
package = Views |
6 | 6 |
core = 7.x |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2017-02-28
|
|
9 |
version = "7.x-3.7"
|
|
8 |
; Information added by Drupal.org packaging script on 2017-03-06
|
|
9 |
version = "7.x-3.8"
|
|
10 | 10 |
core = "7.x" |
11 | 11 |
project = "views_slideshow" |
12 |
datestamp = "1488323886"
|
|
12 |
datestamp = "1488825863"
|
|
13 | 13 |
|
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/views_slideshow_cycle_responsive_example.css | ||
---|---|---|
1 |
/** |
|
2 |
* @file |
|
3 |
* Example rules to enhance responsiveness of Views Slideshow. |
|
4 |
* |
|
5 |
* Due to various site styles and markup, this won't work on all sites. |
|
6 |
* Which is why it was removed from views_slideshow_cycle.css as that caused |
|
7 |
* bugs on some sites, especially those using floats on the parent elements but |
|
8 |
* without any width declarations. |
|
9 |
*/ |
|
10 |
|
|
11 |
.views-slideshow-cycle-main-frame, |
|
12 |
.views-slideshow-cycle-main-frame div, |
|
13 |
.views-slideshow-cycle-main-frame img { |
|
14 |
max-width: 100%; |
|
15 |
} |
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_simple_pager/views_slideshow_simple_pager.info | ||
---|---|---|
4 | 4 |
package = Views |
5 | 5 |
core = 7.x |
6 | 6 |
|
7 |
; Information added by Drupal.org packaging script on 2017-02-28
|
|
8 |
version = "7.x-3.7"
|
|
7 |
; Information added by Drupal.org packaging script on 2017-03-06
|
|
8 |
version = "7.x-3.8"
|
|
9 | 9 |
core = "7.x" |
10 | 10 |
project = "views_slideshow" |
11 |
datestamp = "1488323886"
|
|
11 |
datestamp = "1488825863"
|
|
12 | 12 |
|
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_simple_pager/views_slideshow_simple_pager.module | ||
---|---|---|
37 | 37 |
|
38 | 38 |
/** |
39 | 39 |
* Template preprocess function for Views Slideshow simple pager. |
40 |
* |
|
41 |
* @ingroup vss_theme |
|
40 | 42 |
*/ |
41 | 43 |
function template_preprocess_views_slideshow_simple_pager(&$vars) { |
42 | 44 |
// Call the fields pager preprocess function. |
drupal7/sites/all/modules/views_slideshow/theme/views-slideshow-controls-text-next.tpl.php | ||
---|---|---|
8 | 8 |
* - $classes: Text control classes. |
9 | 9 |
* - $vss_id: The Views Slideshow unique id. |
10 | 10 |
* |
11 |
* @ingroup views_templates
|
|
11 |
* @ingroup vss_templates
|
|
12 | 12 |
*/ |
13 | 13 |
?> |
14 | 14 |
<span id="views_slideshow_controls_text_next_<?php print $vss_id; ?>" class="<?php print $classes; ?>"> |
drupal7/sites/all/modules/views_slideshow/theme/views-slideshow-controls-text-pause.tpl.php | ||
---|---|---|
8 | 8 |
* - $classes: Text control classes. |
9 | 9 |
* - $start_text: Start/Pause control text. |
10 | 10 |
* |
11 |
* @ingroup views_templates
|
|
11 |
* @ingroup vss_templates
|
|
12 | 12 |
*/ |
13 | 13 |
?> |
14 | 14 |
<span id="views_slideshow_controls_text_pause_<?php print $variables['vss_id']; ?>" class="<?php print $classes; ?>"><a href="#"><?php print $start_text; ?></a></span> |
drupal7/sites/all/modules/views_slideshow/theme/views-slideshow-controls-text-previous.tpl.php | ||
---|---|---|
8 | 8 |
* - $classes: Text control classes. |
9 | 9 |
* - $vss_id: The Views Slideshow unique ID. |
10 | 10 |
* |
11 |
* @ingroup views_templates
|
|
11 |
* @ingroup vss_templates
|
|
12 | 12 |
*/ |
13 | 13 |
?> |
14 | 14 |
<span id="views_slideshow_controls_text_previous_<?php print $vss_id; ?>" class="<?php print $classes; ?>"> |
drupal7/sites/all/modules/views_slideshow/theme/views-slideshow-controls-text.tpl.php | ||
---|---|---|
10 | 10 |
* - $rendered_control_pause: Rendered control - pause. |
11 | 11 |
* - $rendered_control_next: Rendered control - next. |
12 | 12 |
* |
13 |
* @ingroup views_templates
|
|
13 |
* @ingroup vss_templates
|
|
14 | 14 |
*/ |
15 | 15 |
?> |
16 | 16 |
<div id="views_slideshow_controls_text_<?php print $variables['vss_id']; ?>" class="<?php print $classes; ?>"> |
drupal7/sites/all/modules/views_slideshow/theme/views-slideshow-pager-field-field.tpl.php | ||
---|---|---|
10 | 10 |
* - $field_item: The field being rendered. |
11 | 11 |
* - $field_rendered: The pre-rendered field. |
12 | 12 |
* |
13 |
* @ingroup views_templates
|
|
13 |
* @ingroup vss_templates
|
|
14 | 14 |
*/ |
15 | 15 |
?> |
16 | 16 |
<div class="views-field-<?php print $css_id; ?>"> |
drupal7/sites/all/modules/views_slideshow/theme/views-slideshow-pager-field-item.tpl.php | ||
---|---|---|
10 | 10 |
* - $view: The view the pager is attached to. |
11 | 11 |
* - $vss_id: The id of the slideshow. |
12 | 12 |
* |
13 |
* @ingroup views_templates
|
|
13 |
* @ingroup vss_templates
|
|
14 | 14 |
*/ |
15 | 15 |
?> |
16 | 16 |
<div id="views_slideshow_pager_field_item_<?php print $variables['location']; ?>_<?php print $vss_id; ?>_<?php print $count; ?>" class="<?php print $classes; ?>" aria-controls="views_slideshow_cycle_div_<?php print $variables['vss_id']; ?>_<?php print $variables['count']; ?>"> |
drupal7/sites/all/modules/views_slideshow/theme/views-slideshow-pager-fields.tpl.php | ||
---|---|---|
8 | 8 |
* - $classes: Classes. |
9 | 9 |
* - $rendered_field_items: Rendered field items. |
10 | 10 |
* |
11 |
* @ingroup views_templates
|
|
11 |
* @ingroup vss_templates
|
|
12 | 12 |
*/ |
13 | 13 |
?> |
14 | 14 |
<div id="<?php print $widget_id; ?>" class="<?php print $classes; ?>"> |
drupal7/sites/all/modules/views_slideshow/theme/views-slideshow-slide-counter.tpl.php | ||
---|---|---|
8 | 8 |
* - $classes: Classes. |
9 | 9 |
* - $slide_count: Slide count. |
10 | 10 |
* |
11 |
* @ingroup views_templates
|
|
11 |
* @ingroup vss_templates
|
|
12 | 12 |
*/ |
13 | 13 |
?> |
14 | 14 |
<div id="views_slideshow_slide_counter_<?php print $variables['vss_id']; ?>" class="<?php print $classes; ?>"> |
drupal7/sites/all/modules/views_slideshow/theme/views-slideshow.tpl.php | ||
---|---|---|
9 | 9 |
* - $rows: The rows output from the View. |
10 | 10 |
* - $title: The title of this group of rows. May be empty. |
11 | 11 |
* |
12 |
* @ingroup views_templates
|
|
12 |
* @ingroup vss_templates
|
|
13 | 13 |
*/ |
14 | 14 |
?> |
15 | 15 |
|
drupal7/sites/all/modules/views_slideshow/theme/views_slideshow.theme.inc | ||
---|---|---|
3 | 3 |
/** |
4 | 4 |
* @file |
5 | 5 |
* The theme system, which controls the output of views slideshow. |
6 |
*/ |
|
7 |
|
|
8 |
/** |
|
9 |
* @defgroup vss_templates Templates |
|
10 |
* @{ |
|
11 |
* Slideshow and component templates. |
|
6 | 12 |
* |
7 |
* This just adds a wrapper div to the slideshow. |
|
13 |
* @see vss_theme |
|
14 |
* @} |
|
15 |
*/ |
|
16 |
|
|
17 |
/** |
|
18 |
* @defgroup vss_theme Theme Functions |
|
19 |
* @{ |
|
20 |
* Theme processing and display generation. |
|
21 |
* |
|
22 |
* Most of the logic behind the generation of the slideshow is here. |
|
23 |
* |
|
24 |
* @see vss_templates |
|
8 | 25 |
*/ |
9 | 26 |
|
10 | 27 |
/** |
... | ... | |
179 | 196 |
|
180 | 197 |
/** |
181 | 198 |
* The current element of the slideshow. |
182 |
* |
|
183 |
* @ingroup themeable |
|
184 | 199 |
*/ |
185 | 200 |
function theme_views_slideshow_main_section($vars) { |
186 | 201 |
return '<div id="' . $vars['plugin'] . '_main_' . $vars['vss_id'] . '" class="' . $vars['plugin'] . '_main views_slideshow_main">' . $vars['slides'] . '</div>'; |
... | ... | |
188 | 203 |
|
189 | 204 |
/** |
190 | 205 |
* Views Slideshow: pager. |
191 |
* |
|
192 |
* @ingroup themeable |
|
193 | 206 |
*/ |
194 | 207 |
function theme_views_slideshow_pager_widget_render($vars) { |
195 | 208 |
if (isset($vars['settings']['hide_on_single_slide']) && $vars['settings']['hide_on_single_slide'] === 1 && count($vars['rows']) < 2) { |
196 | 209 |
return ''; |
197 | 210 |
} |
198 |
$master_pager = isset($vars['settings']['master_pager']) ? views_slideshow_format_addons_name($vars['settings']['master_pager']) : ''; |
|
211 |
|
|
199 | 212 |
// Add JavaScript settings for the pager type. |
200 | 213 |
$js_vars = array( |
201 | 214 |
'viewsSlideshowPager' => array( |
202 | 215 |
$vars['vss_id'] => array( |
203 | 216 |
$vars['location'] => array( |
204 | 217 |
'type' => views_slideshow_format_addons_name($vars['settings']['type']), |
205 |
'master_pager' => $master_pager,
|
|
218 |
'master_pager' => views_slideshow_format_addons_name($vars['settings']['master_pager']),
|
|
206 | 219 |
), |
207 | 220 |
), |
208 | 221 |
), |
... | ... | |
287 | 300 |
|
288 | 301 |
/** |
289 | 302 |
* Views Slideshow: pager item. |
290 |
* |
|
291 |
* @ingroup themeable |
|
292 | 303 |
*/ |
293 | 304 |
function template_preprocess_views_slideshow_pager_field_item(&$vars) { |
294 | 305 |
$vars['classes_array'][] = 'views_slideshow_pager_field_item'; |
... | ... | |
303 | 314 |
|
304 | 315 |
/** |
305 | 316 |
* Views Slideshow: pager field item field. |
306 |
* |
|
307 |
* @ingroup themeable |
|
308 | 317 |
*/ |
309 | 318 |
function template_preprocess_views_slideshow_pager_field_field(&$vars) { |
310 | 319 |
$view = $vars['view']; |
... | ... | |
318 | 327 |
|
319 | 328 |
/** |
320 | 329 |
* Views Slideshow: Controls. |
321 |
* |
|
322 |
* @inggroup themeable |
|
323 | 330 |
*/ |
324 | 331 |
function theme_views_slideshow_controls_widget_render($vars) { |
325 | 332 |
// Add JavaScript settings for the controls type. |
... | ... | |
353 | 360 |
|
354 | 361 |
/** |
355 | 362 |
* The slideshow controls. |
356 |
* |
|
357 |
* @ingroup themeable |
|
358 | 363 |
*/ |
359 | 364 |
function template_preprocess_views_slideshow_controls_text(&$vars) { |
360 | 365 |
$module_path = drupal_get_path('module', 'views_slideshow'); |
... | ... | |
383 | 388 |
|
384 | 389 |
/** |
385 | 390 |
* Views Slideshow: "previous" control. |
386 |
* |
|
387 |
* @ingroup themeable |
|
388 | 391 |
*/ |
389 | 392 |
function template_preprocess_views_slideshow_controls_text_previous(&$vars) { |
390 | 393 |
$vars['classes_array'][] = 'views_slideshow_controls_text_previous'; |
... | ... | |
392 | 395 |
|
393 | 396 |
/** |
394 | 397 |
* Views Slideshow: "pause" control. |
395 |
* |
|
396 |
* @ingroup themeable |
|
397 | 398 |
*/ |
398 | 399 |
function template_preprocess_views_slideshow_controls_text_pause(&$vars) { |
399 | 400 |
$vars['classes_array'][] = 'views_slideshow_controls_text_pause views-slideshow-controls-text-status-play'; |
... | ... | |
402 | 403 |
|
403 | 404 |
/** |
404 | 405 |
* Views Slideshow: "next" control. |
405 |
* |
|
406 |
* @ingroup themeable |
|
407 | 406 |
*/ |
408 | 407 |
function template_preprocess_views_slideshow_controls_text_next(&$vars) { |
409 | 408 |
$vars['classes_array'][] = 'views_slideshow_controls_text_next'; |
... | ... | |
411 | 410 |
|
412 | 411 |
/** |
413 | 412 |
* Views Slideshow: Slide Counter. |
414 |
* |
|
415 |
* @inggroup themeable |
|
416 | 413 |
*/ |
417 | 414 |
function theme_views_slideshow_slide_counter_widget_render($vars) { |
418 | 415 |
return theme(views_theme_functions('views_slideshow_slide_counter', $vars['view'], $vars['view']->display[$vars['view']->current_display]), array( |
... | ... | |
435 | 432 |
/** |
436 | 433 |
* Backwards compatability wrapper. |
437 | 434 |
* |
435 |
* @deprecated Removed in 3.5 when the hook_theme() implementation was fixed. |
|
436 |
* |
|
438 | 437 |
* @see template_preprocess_views_slideshow(). |
439 | 438 |
*/ |
440 | 439 |
function _views_slideshow_preprocess_views_slideshow(&$vars) { |
... | ... | |
444 | 443 |
/** |
445 | 444 |
* Backwards compatability wrapper. |
446 | 445 |
* |
446 |
* @deprecated Removed in 3.5 when the hook_theme() implementation was fixed. |
|
447 |
* |
|
447 | 448 |
* @see template_preprocess_views_slideshow_pager_fields(). |
448 | 449 |
*/ |
449 | 450 |
function _views_slideshow_preprocess_views_slideshow_pager_fields(&$vars) { |
... | ... | |
453 | 454 |
/** |
454 | 455 |
* Backwards compatability wrapper. |
455 | 456 |
* |
457 |
* @deprecated Removed in 3.5 when the hook_theme() implementation was fixed. |
|
458 |
* |
|
456 | 459 |
* @see template_preprocess_views_slideshow_pager_field_item(). |
457 | 460 |
*/ |
458 | 461 |
function _views_slideshow_preprocess_views_slideshow_pager_field_item(&$vars) { |
... | ... | |
462 | 465 |
/** |
463 | 466 |
* Backwards compatability wrapper. |
464 | 467 |
* |
468 |
* @deprecated Removed in 3.5 when the hook_theme() implementation was fixed. |
|
469 |
* |
|
465 | 470 |
* @see template_preprocess_views_slideshow_controls_text(). |
466 | 471 |
*/ |
467 | 472 |
function _views_slideshow_preprocess_views_slideshow_controls_text(&$vars) { |
... | ... | |
480 | 485 |
/** |
481 | 486 |
* Backwards compatability wrapper. |
482 | 487 |
* |
488 |
* @deprecated Removed in 3.5 when the hook_theme() implementation was fixed. |
|
489 |
* |
|
483 | 490 |
* @see template_preprocess_views_slideshow_controls_text_pause(). |
484 | 491 |
*/ |
485 | 492 |
function _views_slideshow_preprocess_views_slideshow_controls_text_pause(&$vars) { |
... | ... | |
489 | 496 |
/** |
490 | 497 |
* Backwards compatability wrapper. |
491 | 498 |
* |
499 |
* @deprecated Removed in 3.5 when the hook_theme() implementation was fixed. |
|
500 |
* |
|
492 | 501 |
* @see template_preprocess_views_slideshow_controls_text_next(). |
493 | 502 |
*/ |
494 | 503 |
function _views_slideshow_preprocess_views_slideshow_controls_text_next(&$vars) { |
... | ... | |
498 | 507 |
/** |
499 | 508 |
* Backwards compatability wrapper. |
500 | 509 |
* |
510 |
* @deprecated Removed in 3.5 when the hook_theme() implementation was fixed. |
|
511 |
* |
|
501 | 512 |
* @see template_preprocess_views_slideshow_slide_counter(). |
502 | 513 |
*/ |
503 | 514 |
function _views_slideshow_preprocess_views_slideshow_slide_counter(&$vars) { |
504 | 515 |
template_preprocess_views_slideshow_slide_counter($vars); |
505 |
} |
|
516 |
} |
|
517 |
|
|
518 |
/** |
|
519 |
* @} End of "defgroup vss_theme". |
|
520 |
*/ |
drupal7/sites/all/modules/views_slideshow/views_slideshow.api.php | ||
---|---|---|
6 | 6 |
*/ |
7 | 7 |
|
8 | 8 |
/** |
9 |
* @addtogroup hooks
|
|
9 |
* @defgroup vss_hooks Hooks
|
|
10 | 10 |
* @{ |
11 |
* Hooks for modules to implement to extend or modify Views Slideshow. |
|
12 |
* |
|
13 |
* Allows modules to create actual slideshow implementations or add |
|
14 |
* widgets such as pagers. |
|
15 |
* |
|
16 |
* @see contrib\views_slideshow_simple_pager\views_slideshow_simple_pager.module |
|
17 |
* @see https://api.drupal.org/api/drupal/includes%21module.inc/group/hooks/7.x |
|
11 | 18 |
*/ |
12 | 19 |
|
13 | 20 |
/** |
... | ... | |
202 | 209 |
} |
203 | 210 |
|
204 | 211 |
/** |
205 |
* @} End of "addtogroup hooks".
|
|
212 |
* @} End of "defgroup vss_hooks".
|
|
206 | 213 |
*/ |
drupal7/sites/all/modules/views_slideshow/views_slideshow.developer-documentation.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
/** @mainpage Views Slideshow API & Developer Documentation |
|
4 |
* Welcome to the Views Slideshow developer's documentation. |
|
5 |
* |
|
6 |
* Newcomers to Drupal development should read the conceptual information |
|
7 |
* in @link https://www.drupal.org/docs/7/api/ Drupal API Introduction @endlink |
|
8 |
* or @link https://api.drupal.org/api/drupal/7.x Drupal API Docs @endlink. |
|
9 |
* The heavily documented |
|
10 |
* @link https://api.drupal.org/api/examples/7.x-1.x Example modules @endlink |
|
11 |
* may also be helpful. |
|
12 |
* |
|
13 |
* For any support or questions see the |
|
14 |
* @link https://drupal.org/project/views_slideshow module page @endlink |
|
15 |
* |
|
16 |
* |
|
17 |
* - Primary components of Views Slideshow |
|
18 |
* - @link vss_hooks Views Slideshow Hooks @endlink |
|
19 |
* - @link vss_theme Theme Functions @endlink |
|
20 |
* - @link vss_templates Templates @endlink |
|
21 |
* - @link contrib/views_slideshow_cycle/views_slideshow_cycle.module Cycle Module @endlink |
|
22 |
*/ |
drupal7/sites/all/modules/views_slideshow/views_slideshow.info | ||
---|---|---|
6 | 6 |
|
7 | 7 |
files[] = views_slideshow_plugin_style_slideshow.inc |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2017-02-28
|
|
10 |
version = "7.x-3.7"
|
|
9 |
; Information added by Drupal.org packaging script on 2017-03-06
|
|
10 |
version = "7.x-3.8"
|
|
11 | 11 |
core = "7.x" |
12 | 12 |
project = "views_slideshow" |
13 |
datestamp = "1488323886"
|
|
13 |
datestamp = "1488825863"
|
|
14 | 14 |
|
drupal7/sites/all/modules/views_slideshow/views_slideshow_plugin_style_slideshow.inc | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 |
/** |
|
4 |
* @file |
|
5 |
* Contains the list style plugin. |
|
6 |
*/ |
|
7 |
|
|
8 | 3 |
/** |
9 | 4 |
* Style plugin to render each item in a slideshow. |
10 |
* |
|
11 |
* @ingroup views_style_plugins |
|
12 | 5 |
*/ |
13 | 6 |
class views_slideshow_plugin_style_slideshow extends views_plugin_style { |
14 | 7 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules