Adding html to t() in Drupal 6 template.php? Hi I am trying to add html to the "t('Older Posts')" and "t('Newer Posts')" Is this possible ? I can figure it out ????
I am in a Drupal 6 template.php file. 

This is the code I am trying to add as html - 

 &lt;a href="" class="action"&gt;&lt;span&gt;Newer Posts&lt;/span&gt;&lt;/a&gt;
 &lt;a href="" class="action back"&gt;&lt;span&gt;Older Posts&lt;/span&gt;&lt;/a&gt;


I need to replace the above in these spots located in the full function below ?

 t('Older Posts')
 t('Newer Posts')


I want to create something like this 

 t('&lt;a href="" class="action back"&gt;&lt;span&gt;Older Posts&lt;/span&gt;&lt;/a&gt;')
 t('&lt;a href="" class="action"&gt;&lt;span&gt;Newer Posts&lt;/span&gt;&lt;/a&gt;')


Full Function

 function theme_views_mini_pager($tags = array(), $limit = 10, 
 $element = 0,  $parameters = array(), $quantity = 9) {      
 global $pager_page_array, $pager_total;

 // Calculate various markers within this pager piece:
 // Middle is used to "center" pages around the current page.
 $pager_middle = ceil($quantity / 2);
 // current is the page we are currently paged to
 $pager_current = $pager_page_array[$element] + 1;
 // max is the maximum page number
 $pager_max = $pager_total[$element];
 // End of marker calculations.


$li_previous = theme('pager_previous', (isset($tags[1]) ? $tags[1] : 
t('Older Posts')), $limit, $element, 1, $parameters);
 if (empty($li_previous)) {
$li_previous = "&amp;nbsp;";
}

$li_next = theme('pager_next', (isset($tags[3]) ? $tags[3] : t('Newer Posts')), 
$limit,$element, 1, $parameters);
if (empty($li_next)) {
$li_next = "&amp;nbsp;";
}

if ($pager_total[$element] &gt; 5) {
$items[] = array(
  'class' =&gt; 'action back pager-previous',
  'data' =&gt; $li_previous,
);

$items[] = array(
  'class' =&gt; 'action pager-next',
  'data' =&gt; $li_next,
);
return theme('item_list', $items, NULL, 'ul', array('class' =&gt; 'pager'));
}
}


I am trying to figure out if this is possible I have tried many things and nothing has worked yet.
You should probably look into overriding the pager theme functions instead.


theme_pager_previous
theme_pager_next