You are here

function gmap_location_user_point in GMap Module 5

Same name and namespace in other branches
  1. 6.2 gmap_location.module \gmap_location_user_point()
  2. 6 gmap_location.module \gmap_location_user_point()
  3. 7.2 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
Implementation of hook_menu().

File

./gmap_location.module, line 220
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(array(
    'uid' => $uid,
  )))) {
    echo theme('gmap_location_user_html', $account);
    exit;
  }
}