You are here

function theme_gmap_location_infowindow_node__image in GMap Module 7.2

Same name and namespace in other branches
  1. 6.2 gmap_location.module \theme_gmap_location_infowindow_node__image()
  2. 6 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 874
GMap Location module is a module to add some gmap funcationality based on location.modules information.

Code

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