[dev] ansel gallery pager
Ben Chavet
ben at chavet.net
Thu Nov 13 09:51:03 PST 2003
What do you know, I did miss a couple of links...
I ported the pager function that I developed and have been using for quite some
time now. I think it looks better then my original patch & it gives direct
links to each page. It looks something like this:
<<Prev [1-10] 11 12 13 14 15 16 17 18 19 20 [21-30] Next>>
Files modified:
ansel/lib/Ansel.php
ansel/templates/view/gallery.inc
ansel/templates/view/description-image.inc
ansel/view.php
--Ben
Quoting Chuck Hagenbuch <chuck at horde.org>:
> Quoting Ben Chavet <ben at chavet.net>:
>
> > Here is a very elementary pager feature for the thumbnail gallery view.
> I'm
> > not so sure I like how the 'next' and 'prev' links look, so I'll play
> around
> > with those a bit when I have time. The important part is that it works :)
> It
> > might be nice to have direct links to different pages.
> >
> > I added a 'page' variable that view.php looks for. It defaults to 0 if it
> is
> > not there (0 being the first page). I think I got all of the links that
> need
> > to have page specified, but I may have missed some.
>
> Committed, thanks! I'll take a closer look at it all later/tomorrow.
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck at horde.org>
> "I'm really... I'm not too fascinated by green food." - Average Joe
>
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ansel.php.diff
Type: text/diff
Size: 2933 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031113/dbb61cfe/Ansel.php.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: description-image.inc.diff
Type: text/diff
Size: 2412 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031113/dbb61cfe/description-image.inc.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gallery.inc.diff
Type: text/diff
Size: 2727 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031113/dbb61cfe/gallery.inc.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: view.php.diff
Type: text/diff
Size: 822 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031113/dbb61cfe/view.php.bin
More information about the dev
mailing list