You are here

function filedepot_libraries_info in filedepot 7

Implements hook_libraries_info()

File

./filedepot.module, line 43
filedepot.module Filedepot: File Management Module developed by Nextide www.nextide.ca Full featured document managment module with a desktop application feel. Integrated Organic Group, Role and User permissions to secure folders, automated…

Code

function filedepot_libraries_info() {
  $libraries = array();
  $libraries['jquery.blockui'] = array(
    'name' => 'JQuery BlockUI',
    'vendor url' => 'http://jquery.malsup.com/block',
    'download url' => 'http://malsup.github.com/jquery.blockUI.js',
    'version arguments' => array(
      'file' => 'jquery.blockui.js',
      'pattern' => '/Version (\\d+)/',
      'lines' => 5,
    ),
    'files' => array(
      'js' => array(
        'jquery.blockui.js',
      ),
    ),
  );
  $libraries['html_encoder'] = array(
    'name' => 'HTML Encoder',
    'vendor url' => 'http://www.strictly-software.com/',
    'download url' => 'http://www.strictly-software.com/scripts/downloads/encoder.js',
    'version arguments' => array(
      'file' => 'html_encoder.js',
      'pattern' => '/Version (\\d+)/',
      'lines' => 5,
    ),
    'files' => array(
      'js' => array(
        'html_encoder.js',
      ),
    ),
  );
  return $libraries;
}