function theme_gmap_location_node_page in GMap Module 7
Same name and namespace in other branches
- 5 gmap_location.module \theme_gmap_location_node_page()
- 6.2 gmap_location.module \theme_gmap_location_node_page()
- 6 gmap_location.module \theme_gmap_location_node_page()
- 7.2 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 394 - GMap Location module is a module to add some gmap funcationality based on location.modules information.
Code
function theme_gmap_location_node_page(&$vars) {
$count = $vars['count'];
$header = $vars['header'];
$map = $vars['map'];
$footer = $vars['footer'];
$output = '';
if ($header) {
$output .= "<p>{$header}</p>";
}
$output .= $map;
if ($footer) {
$output .= "<p>{$footer}</p>";
}
return $output;
}