You are here

function theme_gmap_macrotext in GMap Module 6.2

Same name and namespace in other branches
  1. 5 gmap.module \theme_gmap_macrotext()
  2. 6 gmap.module \theme_gmap_macrotext()
1 theme call to theme_gmap_macrotext()
gmap_elements in ./gmap.module
Implementation of hook_elements().

File

./gmap.module, line 880
GMap -- Routines to use the Google Maps API in Drupal.

Code

function theme_gmap_macrotext($element) {
  drupal_add_js(drupal_get_path('module', 'gmap') . '/js/macro.js');

  // @@@
  drupal_add_js(drupal_get_path('module', 'gmap') . '/js/macrobuilder.js');
  return theme('textarea', $element);
}