On Thu, 18 Nov 2010 12:31:23 -0700 Carl Wiedemann <carl.wiedemann@gmail.com> wrote:
$vars['links'] is generated by theme_links(). Look at template_preprocess_node() in includes/theme.inc: http://drupalcode.org/viewvc/drupal/drupal/includes/theme.inc?revision=1.415...
$variables['links'] = !empty($node->links) ? theme('links', $node->links, array('class' => 'links inline')) : '';
Yes i misunderstood it, i thought it was some kind of overriding
Unless you absolutely consider the icons to be content and not styling, CSS is the way to go instead of <img> tags. Different CSS classes may be applied via theme_links() to indicate whether comments exist. CSS also allows for the use of sprites.
As i said in the previous comment, in some cases, i'd want only the icon which i suppose i can't achieve only with CSS.