theme_domain_nav_ul

Versions
domain
theme_domain_nav_ul($options)

Themes the domain list as an unordered list of links.

Parameters

$options An array of information about each domain.

Code

domain_nav/domain_nav.module, line 246

<?php
function theme_domain_nav_ul($options) {
  foreach ($options as $key => $value) {
    (isset($value['active'])) ? $active = 'active' : $active =  '';
    $class = "domain-id-". $value['domain_id'] ." ". $active;
    $items[] = l($value['sitename'], $value['path'], array('attributes' => array('class' => $class)));
  }
  return theme('item_list', $items);
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List