You are here

function theme_domain_nav_ul in Domain Access 5

Same name and namespace in other branches
  1. 6.2 domain_nav/domain_nav.module \theme_domain_nav_ul()
  2. 7.3 domain_nav/domain_nav.module \theme_domain_nav_ul()
  3. 7.2 domain_nav/domain_nav.module \theme_domain_nav_ul()

Themes the domain list as an unordered list of links.

Parameters

$options: An array of information about each domain.

File

domain_nav/domain_nav.module, line 201
Navigation block and menu options for Domain Access

Code

function theme_domain_nav_ul($options) {
  foreach ($options as $key => $value) {
    $items[] = l($value['sitename'], $value['path']);
  }
  return theme('item_list', $items);
}