function views_galleriffic_history in Views Galleriffic 6
Same name and namespace in other branches
- 7 views_galleriffic.module \views_galleriffic_history()
Return an array depending on whether history js is downloaded.
1 call to views_galleriffic_history()
File
- ./
views_galleriffic.module, line 100
Code
function views_galleriffic_history() {
$file_path = drupal_get_path('module', 'views_galleriffic') . '/js/jquery.history.js';
if (file_exists($file_path)) {
$history = array(
'type' => 'select',
'description' => t('Specifies whether the url\'s hash and the browser\'s history cache should update when the current slideshow image changes.'),
);
return $history;
}
$history = array(
'type' => 'item',
'description' => t('You must download the jquery.history.js to use this feature. Download from: http://galleriffic.googlecode.com/svn/trunk/example/js/jquery.history.js and place in the views_galleriffic/js/ folder.'),
);
return $history;
}