You are here

function photos_init in Album Photos 6.2

Same name and namespace in other branches
  1. 7.3 photos.module \photos_init()

File

./photos.module, line 1191

Code

function photos_init() {
  drupal_add_js(drupal_get_path('module', 'photos') . '/js/photos.js');
  drupal_add_js(drupal_get_path('module', 'photos') . '/js/jquery.jeditable.pack.js');
  if (!module_exists('thickbox')) {
    drupal_add_js(drupal_get_path('module', 'photos') . '/thickbox/thickbox-compressed.js');
    drupal_add_css(drupal_get_path('module', 'photos') . '/thickbox/thickbox.css');
  }
  drupal_add_css(drupal_get_path('module', 'photos') . '/css/photos.css');
}