Tags:
create new tag
, view all tags
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
Topic revision: r3 - 2002-03-20 - RichardDonkin
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.