You are here

function theme_og_gmapnodelabel in GMap Module 5

Theme an Organic Groups node info window.

File

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

Code

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