Is there a module? Or: How to alter the Drupal pager to get this? I want to add to alter the output of theme_pager(), and add a &lt;li&gt; tag, as the following:

&lt;li class="pager_go_input last"&gt;to &lt;input type="text" id="pager_go_input_1" class="form_text pager_form_go_input" alt="1" value="1"&gt;
  page
&lt;/li&gt;


How is possible to do this?

Update of the question:

I want to change the Drupal pager to this style: http://www.dedecms.com/knowledge/servers/windows/list_66_1.html. Is there a module? Or: How to alter the theme_pager to get that?
the pager is located at the bottom of the pager. as this displays(首页 1 2 3 4 下一页 末页 the selected downlist 共 4页33条). Compare this to the Drupal default pager. It adds a selected downlist, when selects a page from the downlist, the site then auto redirect to the specific page. The whole count  pager (how many the pager have pages?)  and the count of all the records in the pager.
You need to look at the code above and understand what it is doing. Where does li.pager-last come from? Notice that the last line uses theme('item_list') to build the result and it passes in $items. Just above that you'll see the code which adds an item to the $items array with 'class' =&gt; 'pager-last':

if ($li_last) {
  $items[] = array(
    'class' =&gt; 'pager-last',
    'data' =&gt; $li_last,
  );
}


If you want to add another item after li.pager-last, you might try duplicating these 5 lines and modifying them to do what you want.