You are here

function gmap_location_user_point in GMap Module 7.2

Same name and namespace in other branches
  1. 5 gmap_location.module \gmap_location_user_point()
  2. 6.2 gmap_location.module \gmap_location_user_point()
  3. 6 gmap_location.module \gmap_location_user_point()
  4. 7 gmap_location.module \gmap_location_user_point()

AHAH callback for getting the contents of a user point popup.

1 string reference to 'gmap_location_user_point'
gmap_location_menu in ./gmap_location.module
Implements hook_menu().

File

./gmap_location.module, line 238
GMap Location module is a module to add some gmap funcationality based on location.modules information.

Code

function gmap_location_user_point() {
  $uid = arg(3);
  if (is_numeric($uid) && ($account = user_load($uid))) {
    echo theme('gmap_location_infowindow_user', array(
      'account' => $account,
    ));
    exit;
  }
}