You are here

function theme_gmap_location_infowindow_node__og in GMap Module 6

Same name and namespace in other branches
  1. 6.2 gmap_location.module \theme_gmap_location_infowindow_node__og()
  2. 7.2 gmap_location.module \theme_gmap_location_infowindow_node__og()
  3. 7 gmap_location.module \theme_gmap_location_infowindow_node__og()

Theme an Organic Groups node info window.

File

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

Code

function theme_gmap_location_infowindow_node__og($node, $opt) {
  if (is_numeric($opt) && ($account = user_load(array(
    'uid' => $opt,
  )))) {
    $output = theme('user_picture', $account);
    $output .= theme('username', $account);
    echo $output;
    exit;
  }
}