You are here

function nivo_slider_nivo_slider_theme_info in Nivo Slider 7

Same name and namespace in other branches
  1. 8 nivo_slider.nivo_slider.inc \nivo_slider_nivo_slider_theme_info()

Implements hook_nivo_slider_theme_info().

File

./nivo_slider.nivo_slider.inc, line 11
Declare default themes included with the Nivo Slider jQuery plugin.

Code

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',
        ),
      ),
    ),
  );
}