You are here

function theme_gmap_location_infowindow_node__image in GMap Module 6

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

Default theme for image nodes. @@@ Todo: Move to a tpl.

File

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

Code

function theme_gmap_location_infowindow_node__image($node) {
  $out = '<a href="' . url('node/' . $node->nid) . '">' . check_plain($node->title) . '</a> <br>';
  $out .= image_display($node, 'thumbnail');
  return $out;
}