You are here

function theme_locations in Location 5

Same name and namespace in other branches
  1. 5.3 location.d5.inc \theme_locations()
1 theme call to theme_locations()
location_nodeapi in ./location.module
Implementation of hook_nodeapi().

File

./location.theme, line 92

Code

function theme_locations($locations = array(), $hide = array()) {
  $output = '';
  if (count($locations)) {
    $output .= '<h3>' . t('Location(s)') . '</h3>';
    foreach ($locations as $location) {
      $output .= theme('location', $location, $hide);
    }
  }
  return $output;
}