You are here

function galleria_get_theme_file in Galleria 7

Returns the JavaScript file of the given theme, or FALSE if it could not be found.

1 call to galleria_get_theme_file()
galleria_add_js in ./galleria.module
This function loads the required JavaScripts and settings for a Galleria instance.

File

./galleria.module, line 281
A light-weight, customizable image gallery plugin for Drupal based on jQuery

Code

function galleria_get_theme_file($theme) {
  $themes = galleria_get_themes();
  return isset($themes[$theme]) ? $themes[$theme] : FALSE;
}