You are here

function theme_footermap_header in footermap: a footer site map 7

Footermap Header theme function

Parameters

&$variables:

Return value

HTML output

1 theme call to theme_footermap_header()
footermap_render in ./footermap.module

File

./footermap.theme.inc, line 65

Code

function theme_footermap_header($variables) {
  $o = '';
  if (variable_get('footermap_heading', 0)) {
    $o .= '<h3>' . $variables['title'] . '</h3>';
  }
  $o .= '<ul ' . drupal_attributes($variables['attributes']) . '>';
  if (isset($variables['items'])) {
    foreach (element_children($variables['items']) as $child) {
      $o .= theme('footermap_item', $variables['items'][$child]);
    }
  }
  $o .= '</ul>';
  return $o;
}