function gmap_location_user_point in GMap Module 7
Same name and namespace in other branches
- 5 gmap_location.module \gmap_location_user_point()
- 6.2 gmap_location.module \gmap_location_user_point()
- 6 gmap_location.module \gmap_location_user_point()
- 7.2 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 214 - 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;
}
}