-
Notifications
You must be signed in to change notification settings - Fork 0
/
nivo_slider.nivo_slider.inc
58 lines (55 loc) · 1.49 KB
/
nivo_slider.nivo_slider.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/**
* @file
* Declare default themes included with the Nivo Slider jQuery plugin.
*/
/**
* Implements hook_nivo_slider_theme_info().
*/
function nivo_slider_nivo_slider_theme_info() {
// Find the path to the Nivo Slider jQuery plugin
$lib = backdrop_get_library('nivo_slider', 'nivo-slider'); //'nivo_slider', 'nivo_slider_library');
$library_path = 'libraries/nivo-slider';
return array(
'bar' => array(
'name' => t('Bar'),
'description' => t('The bottom bar skin for the Nivo Slider.'),
'thumb_support' => FALSE,
'resources' => array(
'css' => array(
$library_path . '/themes/bar/bar.css',
),
),
),
'dark' => array(
'name' => t('Dark'),
'description' => t('A dark skin for the Nivo Slider.'),
'thumb_support' => TRUE,
'resources' => array(
'css' => array(
$library_path . '/themes/dark/dark.css',
),
),
),
'default' => array(
'name' => t('Default'),
'description' => t('The default skin for the Nivo Slider.'),
'thumb_support' => TRUE,
'resources' => array(
'css' => array(
$library_path . '/themes/default/default.css',
),
),
),
'light' => array(
'name' => t('Light'),
'description' => t('A light skin for the Nivo Slider.'),
'thumb_support' => TRUE,
'resources' => array(
'css' => array(
$library_path . '/themes/light/light.css',
),
),
),
);
}