On Thu, 18 Nov 2010 13:21:48 -0700
Carl Wiedemann <[email protected]> wrote:
> // Add to particular link class.
> if (empty($node->links['comment_comments']['attributes']['class'])) {
> $node->links['comment_comments']['attributes']['class'] = $myclass;
> }
> else {
> $node->links['comment_comments']['attributes']['class'] .= ' ' .
> $myclass;
> }
>
> // Reformat all links
> $vars['links'] = !empty($node->links) ? theme('links', $node->links,
> array('class' => 'links inline')) : '';
> }
> // END
Maybe I am misunderstanding it or/and I did not explain good.
Is not it supposed to show the text "no comments" when there are not
comments and instead when some comments it shows the text together with
the icon?
I want something different, when no comments, it shows no text but only
the icon. When some comments, it shows both text and icons.