Re: New SlidingWindowPager Class
| From: | Alan Knowles | Date: | Thu, 14 Nov 2002 14:15:44 +0000 |
| Subject: | Re: New SlidingWindowPager Class | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10791@lists.php.net to get a copy of this message | ||
i would assume the simpletemplate/flexy (and posibly smarty) code for it would look something like this.
so range would be a associative array...
{foreach:t.range,key,active}
{if:active}{key}{else:}<a href="someurl?page={key}">{key}</a>{end:}
{end:}
Regards
Alan
Lorenzo Alberton wrote:
14/11/2002 13.40.30As you like :-) But if you just confirm that thing on "range" boolean values, I'll do it, since I don't think that it will take much time... Regards, Lorenzo PS: still waiting for some +1 (or -1!) before submitting it to PEAR... --- [Quipo ISP - Questa E-mail e' stata controllata dal programma Declude Virus] [Quipo ISP - This E-mail was scanned for viruses by Declude Virus]Done. Have a look at this example: http://cambiano.onlinein.it/pearzone/SWPager/SWPager_example2.php Download (with updated docs) at: http://cambiano.onlinein.it/pearzone/ @ Alan Knowles: let me know if you still need that thing about using pager with templates and how you'd like it to be...Dont worry at the moment - When I get round to using it - I'll send you a patch.. Regards Alan