title: drupal 6 mini pager theming
body: <p>I am trying to theme particular pagers on the site and no matter what id I try it doesn't seem to get picked up. This is what I am using to theme all pagers now.</p>
  
  <pre><code>function Subtle_Hightlights_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 = $quantity;
    // End of marker calculations.
  
  
    $li_previous = theme('pager_previous', (isset($tags[1]) ? $tags[1] : t('')), $limit, $element, 1, $parameters);
    if (empty($li_previous)) {
      $li_previous = "";
    }
  
    $li_next = theme('pager_next', (isset($tags[3]) ? $tags[3] : t('')), $limit, $element, 1, $parameters);
    if (empty($li_next)) {
      $li_next = "";
    }
  
    if ($pager_total[$element] &gt; 1) {
      $items[] = array(
        'class' =&gt; 'pager-previous-mini',
        'data' =&gt; $li_previous,
      );
   if ($pager_current == 9){
      $li_next = "";
   }
      $items[] = array(
        'class' =&gt; 'pager-current-mini',
        'data' =&gt; t('@current of @max', array('@current' =&gt; $pager_current, '@max' =&gt; $pager_max)),
      );
  
      $items[] = array(
        'class' =&gt; 'pager-next-mini',
        'data' =&gt; $li_next,
      );
      return theme('item_list', $items, NULL, 'ul', array('class' =&gt; 'pager'));
    }
  }
  </code></pre>
  
  <p>now this works to theme all mini pagers but when I try to apply the name of the view and block like this. </p>
  
  <p><code>function Subtle_Hightlights_views_mini_pager__news_items__block_2($tags = array(), $limit = ``10, $element = 0, $parameters = array(), $quantity = 9) {</code></p>
  
  <p>does nothing acts as though the code isnt there anymore. Anyone else tried this and it actually worked? </p>