nivo_slider.nivo_slider.inc in Nivo Slider 7
Same filename and directory in other branches
Declare default themes included with the Nivo Slider jQuery plugin.
File
nivo_slider.nivo_slider.incView source
<?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
$library_path = libraries_get_path('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',
),
),
),
);
}
Functions
Name![]() |
Description |
---|---|
nivo_slider_nivo_slider_theme_info | Implements hook_nivo_slider_theme_info(). |