Révision 7547bb19
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/modules/views_slideshow/views_slideshow.module | ||
---|---|---|
249 | 249 |
'#markup' => '<div class="vs-dependent">', |
250 | 250 |
); |
251 | 251 |
|
252 |
// Option for master_pager to control all slideshows in this location. |
|
253 |
$form['master_pager'] = array( |
|
254 |
'#type' => 'checkbox', |
|
255 |
'#title' => t('Master Pager'), |
|
256 |
'#default_value' => $defaults['master_pager'], |
|
257 |
'#description' => t('Should this pager control all slideshows in this location.'), |
|
258 |
'#states' => array( |
|
259 |
'visible' => array( |
|
260 |
':input[name="' . $dependency . '[enable]"]' => array('checked' => TRUE), |
|
261 |
), |
|
262 |
), |
|
263 |
); |
|
264 |
|
|
252 | 265 |
// Add field to see if they would like to hide pager if there is only one |
253 | 266 |
// slide. |
254 | 267 |
$form['hide_on_single_slide'] = array( |
... | ... | |
513 | 526 |
|
514 | 527 |
// Defaults for the pager widget. |
515 | 528 |
foreach ($locations as $location) { |
529 |
$options['widgets']['contains'][$location]['contains']['views_slideshow_pager']['contains']['master_pager'] = array('default' => 0); |
|
516 | 530 |
$options['widgets']['contains'][$location]['contains']['views_slideshow_pager']['contains']['hide_on_single_slide'] = array('default' => 0); |
517 | 531 |
$options['widgets']['contains'][$location]['contains']['views_slideshow_pager']['contains']['type'] = array('default' => 0); |
518 | 532 |
$options['widgets']['contains'][$location]['contains']['views_slideshow_pager']['contains']['views_slideshow_pager_numbered_hover'] = array('default' => 0); |
Formats disponibles : Unified diff
Weekly update of contrib modules