You are here

function theme_gmap_location_node_page in GMap Module 5

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

Theme function for displaying the node page.

1 theme call to theme_gmap_location_node_page()
gmap_location_node_page in ./gmap_location.module
Draws a page with a google map with the node on it, or if no node is set all of the nodes on it.

File

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

Code

function theme_gmap_location_node_page($count, $header, $map, $footer) {
  $output = '';
  if ($header) {
    $output .= "<p>{$header}</p>";
  }
  $output .= $map;
  if ($footer) {
    $output .= "<p>{$footer}</p>";
  }
  return $output;
}