You are here

function date_popup_library in Date 7

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

File

date_popup/date_popup.module, line 37
A module to enable jquery calendar and time entry popups. Requires the Date API.

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(
        'preprocess' => FALSE,
      ),
    ),
  );
  return $libraries;
}