You are here

function theme_footermap_item in footermap: a footer site map 7

Footermap Item theme function

Parameters

&$variables:

Return value

HTML output

2 theme calls to theme_footermap_item()
footermap_get_menu in ./footermap.module
theme_footermap_header in ./footermap.theme.inc
Footermap Header theme function

File

./footermap.theme.inc, line 45

Code

function theme_footermap_item($variables) {
  $o = '<li ' . drupal_attributes($variables['attributes']) . '>';
  $o .= l($variables['title'], $variables['href'], $variables['options']);
  $o .= '</li>';
  if (isset($variables['children'])) {
    foreach (element_children($variables['children']) as $child) {
      $o .= theme('footermap_item', $variables['children'][$child]);
    }
  }
  return $o;
}