pear/Pager — pull request #1 by Mav (2012-03-04 17:08:06+00:00)
Title: New link formatting options for Pager

Hi,

I've added a few options to Pager that would allow people to better specify link formatting. It still defaults to 'span' so it's backwards compatible. But the use of ```span``` and ``` ``` is a bit dated, with these new options you can now use unordered lists if you wanted to with Pager.

http://pear.php.net/bugs/bug.php?id=18983
I got the idea from this feature request, and it was exactly what I needed for a site I'm working on too. Then I found out pear has been moving to github. And since I always wanted to try and learn Git... this is my first time using git(hub) and forking something. I think I may have messed up a few times with the amount of minor commits tho. :P

**New options:**
curTag - Current page html tag, this was hardcoded to be `````` but is now changeable.
linkContainer - Wraps all links in given html tag, useful for unordered lists. ```
```
curLinkContainerClassName - Adds a class to linkContainer for 'current page'.

I've also added an example file showing the new options and how to use them to get a simple unordered list for pagination.

[Link to example screenshot](http://img190.imageshack.us/img190/7049/pagernewoptions.png)
![Example screenshot](http://img190.imageshack.us/img190/7049/pagernewoptions.png)

Best,
Atilla Hulsebos