You are here

function theme_links in Drupal 4

Same name and namespace in other branches
  1. 5 includes/theme.inc \theme_links()
  2. 6 includes/theme.inc \theme_links()
  3. 7 includes/theme.inc \theme_links()

Return a themed set of links.

Parameters

$links: An array of links to be themed.

$delimiter: A string used to separate the links.

Return value

A string containing the themed links.

Related topics

12 theme calls to theme_links()
aggregator_page_categories in modules/aggregator.module
Menu callback; displays all the categories used by the aggregator.
aggregator_page_sources in modules/aggregator.module
Menu callback; displays all the feeds used by the aggregator.
chameleon_comment in themes/chameleon/chameleon.theme
chameleon_node in themes/chameleon/chameleon.theme
chameleon_page in themes/chameleon/chameleon.theme

... See full list

File

includes/theme.inc, line 494
The theme system, which controls the output of Drupal.

Code

function theme_links($links, $delimiter = ' | ') {
  if (!is_array($links)) {
    return '';
  }
  return implode($delimiter, $links);
}