diff --git includes/theme.inc includes/theme.inc index fb70383..c44ad5c 100644 --- includes/theme.inc +++ includes/theme.inc @@ -1375,14 +1375,16 @@ function theme_link($variables) { * * @param $variables * An associative array containing: - * - links: A keyed array of links to be themed. The key for each link is used + * - links: An associative array of links to be themed. The key for each link is used * as its css class. Each link should be itself an array, with the following * keys: * - title: the link text * - href: the link URL. If omitted, the 'title' is shown as a plain text * item in the links list. - * - html: (optional) set this to TRUE if 'title' is HTML so it will be - * escaped. + * - html: (optional) whether or not 'title' is HTML. If set, the title + * will not be escaped. + * - attributes: (optional) attributes for the tag used in place + * of an anchor if no 'href' is passed. Ignored if an href is passed. * Array items are passed on to the l() function's $options parameter when * creating the link. * - attributes: A keyed array of attributes.