From: Neal R. <ne...@ri...> - 2005-07-19 22:06:45
|
Thanks! On Wed, 13 Jul 2005, Jose Ortiz wrote: > Hi, > > Regarding bug #1236435, here is a patch for htsearch/Display.cc. > > The patch is similar to this one: > http://sourceforge.net/mailarchive/forum.php?thread_id=1377415&forum_id=2688 > > The patch I'm attaching has these features: > > 1. It provides a Google-style paging. Say the current page is 9, > maximum_page_buttons > is 10 and the number of pages matching the search is bigger than 30, we > get this > for PAGELIST: > > [prev] 4 5 6 7 8 9 10 11 12 13 [next] > > The current page is centered if possible. > > 2. If an insufficient number of pictures is provided, it mixes up > graphics and text: > > [pic prev] [pic 4] [pic 5] [pic 6] [pic 7] [pic 8] [pic 9] [pic 10] 11 > 12 13 [pic next] > > To install the patch, update htsearch/Display.cc, compile the code and copy > % cp htsearch/.lig/htsearch to your cgi-bin directory. > > Jose > > -- Neal Richter Knowledgebase Developer RightNow Technologies, Inc. Customer Service for Every Web Site Office: 406-522-1485 |