[eluser]David Johansson[/eluser]
I don't like the pagination class, so I rewrote all of it in my own adaptation. One of the changes I made was to let the URI pass the page number instead of the offset.
I also created a function that would receive the current page (instead of getting it from the URI) so it would go throught the same validation process.
Also I made it possible to add inactive prev/next-buttons with custom text if you for instance want to have a grayed out image showing when you can't go to next/prev page (same with first/last)-
Finally I also accept 0 as num_link that would show all pages as links.
If someone's interested in the code PM me