I stubled on a bug while designing a new skin.
When searching multiple web, only one instance of
%WEB% is expansed in the
repeated pattern per web.
fix:
On file
lib/TWiki/Search.pm, replace lines 400 and 401 (Dec 2001 release)
$beforeText =~ s/%WEBBGCOLOR%/$thisWebBGColor/o;
$beforeText =~ s/%WEB%/$thisWebName/o;
by:
$beforeText =~ s/%WEBBGCOLOR%/$thisWebBGColor/og;
$beforeText =~ s/%WEB%/$thisWebName/og;
(just add
g to the end)
--
ColasNahaboo - 23 Feb 2002
Now in CVS for
TWikiAlphaRelease.
--
RichardDonkin - 20 Mar 2002
Category:
TWikiPatches