function theme_gmap_location_infowindow_node__og in GMap Module 7.2
Same name and namespace in other branches
- 6.2 gmap_location.module \theme_gmap_location_infowindow_node__og()
- 6 gmap_location.module \theme_gmap_location_infowindow_node__og()
- 7 gmap_location.module \theme_gmap_location_infowindow_node__og()
Theme an Organic Groups node info window.
File
- ./
gmap_location.module, line 887 - GMap Location module is a module to add some gmap funcationality based on location.modules information.
Code
function theme_gmap_location_infowindow_node__og(&$vars) {
$node = $vars['node'];
$opt = $vars['opt'];
if (is_numeric($opt) && ($account = user_load($opt))) {
$output = theme('user_picture', array(
'account' => $account,
));
$output .= theme('username', array(
'account' => $account,
));
echo $output;
exit;
}
}