rendered paste body// Override $links output// NOTE: change function name to match theme name eg. change mbacc_links to chameleon_links if using the chameleon themefunction amword_links($links, $delimiter = ' | ') {if (!is_array($links)) {return '';}/* Maps a link to it's associated class */$link_to_id = array(t('add new comment') => 'comment',t('printer friendly version') => 'print',t('email this page') => 'email',t('delete') => 'delete',t('edit') => 'edit',t('reply') => 'reply',t('calendar') => 'calendar',);$new_links = array();foreach ($links as $link) {foreach ($link_to_id as $text => $id) {if (strpos($link, $text)) {$link = str_replace('<a ', "<a class=\"lti-$id\" ", $link);}}$new_links[] = $link;}return implode($new_links);}?>