<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear list,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm sending my bug report to this list because
i can't get trough to the bug reporting system.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In the procedure tag_more_list in Interpolate.pm no
provision is made for the next-anchor being "none". Where it says something
like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> else
{<BR> $next_anchor = qq%<img
src="$next_anchor"$border>%;<BR> }<BR> $last = $next +
$chunk - 1;<BR> $last = $last > ($total - 1) ? $total - 1 :
$last;<BR> $arg =
"$session:$next:$last:$chunk$perm";<BR> $hash{next_link} =
more_link_template($next_anchor, $arg, $form_arg);<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>It should read something like the following to let
it act like it should:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> elsif ($next_anchor ne 'none')
{<BR> $next_anchor = qq%<img
src="$next_anchor"$border>%;<BR> }<BR> unless
($next_anchor eq 'none') {<BR> $arg =
"$session:$next:$last:$chunk$perm";<BR> $hash{next_link} =
more_link_template($next_anchor, $arg,
$form_arg);<BR> }<BR> $last = $next + $chunk -
1;<BR> $last = $last > ($total - 1) ? $total - 1 :
$last;<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>The reason why I want to get rid of al the next,
last, first and previous links is because I want to construct a select pull down
menu with pointers to the various page results
(<select><option>1</option><option>2</option>...</select>)instead
of the hyperlinked row of page links that can get uncontrolably long. With some
small changes to tag_more_list i was able to do this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In more_list i changed the following to have the
selected page to fit in de select box:</FONT></DIV>
<DIV><FONT face=Arial size=2> if($inc == $current) {<BR> $pa =~
s/__BORDER__/$border_selected || $border || ''/e;<BR># $list .=
qq|<strong>$pa</strong> | ;<BR> $list .=
more_selected_template($pa, $arg, $form_arg) . ' ';<BR> }<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Introduced the new function
"more_selected_template"which is basically the same as more_link_template but
with its own template string. The template string is defined as follows in
tag_more_list:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> undef $selected_template;<BR> $r =~
s:\[selected[-_]template\]($All)\[/selected[-_]template\]::i<BR> and
$selected_template = $1;<BR> $selected_template ||=
q{<strong>$ANCHOR$</strong>};<BR></DIV></FONT>
<DIV><FONT face=Arial size=2>right underneath where $link_template is defined.
Works great.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kind regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Bas</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></BODY></HTML>