theme_domain_nav_menus

Versions
domain
theme_domain_nav_menus($options)

Themes the domain list as a menu-style group of tabs.

Parameters

$options An array of information about each domain.

Code

domain_nav/domain_nav.module, line 261

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

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List