Révision 7547bb19
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/views_slideshow_cycle.views_slideshow.inc | ||
---|---|---|
61 | 61 |
'pause_when_hidden_type' => array('default' => 'full'), |
62 | 62 |
'amount_allowed_visible' => array('default' => ''), |
63 | 63 |
'nowrap' => array('default' => 0), |
64 |
'pause_after_slideshow' => array('default' => 0), |
|
64 | 65 |
'fixed_height' => array('default' => 1), |
65 | 66 |
'items_per_slide' => array('default' => 1), |
66 | 67 |
'wait_for_image_load' => array('default' => 1), |
... | ... | |
358 | 359 |
), |
359 | 360 |
), |
360 | 361 |
); |
362 |
$form['views_slideshow_cycle']['pause_after_slideshow'] = array( |
|
363 |
'#type' => 'checkbox', |
|
364 |
'#title' => t('Pause slideshow and return to first slide after running one slideshow'), |
|
365 |
'#default_value' => $view->options['views_slideshow_cycle']['pause_after_slideshow'], |
|
366 |
'#description' => t('If selected the slideshow will pause and return to first slide after completeing one slideshow. This option will not work if you are using it with End slideshow after last slide option'), |
|
367 |
'#states' => array( |
|
368 |
'visible' => array( |
|
369 |
':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE), |
|
370 |
), |
|
371 |
), |
|
372 |
); |
|
361 | 373 |
$form['views_slideshow_cycle']['fixed_height'] = array( |
362 | 374 |
'#type' => 'checkbox', |
363 | 375 |
'#title' => t('Make the slide window height fit the largest slide'), |
... | ... | |
446 | 458 |
} |
447 | 459 |
else { |
448 | 460 |
$form['views_slideshow_cycle']['advanced_options_info'] = array( |
449 |
'#markup' => '<p>' . t('You can find a list of all the available options at !url. If one of the options you add uses a function, example fxFn, then you need to only enter what goes inside the function call. The variables that are in the !documentation on the jquery cycle site will be available to you.', array(
|
|
461 |
'#markup' => '<p>' . t('You can find a list of all the available options at !documentation. If one of the options you add uses a function, example fxFn, then you need to only enter what goes inside the function call. The variables that are in the !documentation on the jquery cycle site will be available to you.', array(
|
|
450 | 462 |
'!documentation' => l(t('documentation'), 'http://malsup.com/jquery/cycle/options.html'), |
451 | 463 |
)) . '</p>', |
452 | 464 |
); |
Formats disponibles : Unified diff
Weekly update of contrib modules