You are here

function date_popup_library in Date 7.3

Same name and namespace in other branches
  1. 7 date_popup/date_popup.module \date_popup_library()
  2. 7.2 date_popup/date_popup.module \date_popup_library()

Implements hook_library().

File

date_popup/date_popup.module, line 79
A module to enable jQuery calendar and time entry popups.

Code

function date_popup_library() {
  $libraries = array();
  $path = drupal_get_path('module', 'date_popup');
  $libraries['timeentry'] = array(
    'title' => 'Time Entry',
    'website' => 'http://plugins.jquery.com/project/timeEntry',
    'version' => '1.4.7',
    'js' => array(
      $path . '/jquery.timeentry.pack.js' => array(),
    ),
    'css' => array(
      $path . '/themes/jquery.timeentry.css' => array(),
    ),
  );
  return $libraries;
}