You are here

function getlocations_paths_get in Get Locations 6

Same name and namespace in other branches
  1. 6.2 getlocations.module \getlocations_paths_get()
  2. 7.2 getlocations.module \getlocations_paths_get()
  3. 7 getlocations.module \getlocations_paths_get()
2 calls to getlocations_paths_get()
getlocations_settings_form in ./getlocations.admin.inc
Function to display the getlocations admin settings form
getlocations_setup_js in ./getlocations.module
Function to setup the map scripts

File

./getlocations.module, line 1719
Displays locations on a map. for Drupal 6 using version 3 googlemaps API

Code

function getlocations_paths_get() {
  $getlocations_paths = variable_get('getlocations_paths', array(
    'infobubble_path' => GETLOCATIONS_PATH . '/js/infobubble.js',
    'infobubble_options_path' => GETLOCATIONS_PATH . '/js/infobubble_options.js',
    'markermanager_path' => GETLOCATIONS_PATH . '/js/markermanager.js',
    'markerclusterer_path' => GETLOCATIONS_PATH . '/js/markerclusterer.js',
  ));
  if (!isset($getlocations_paths['markerclusterer_path'])) {
    $getlocations_paths['markerclusterer_path'] = GETLOCATIONS_PATH . '/js/markerclusterer.js';
  }
  return $getlocations_paths;
}