[ic] Catalog_before.cfg has link template code in bar_link subroutine

Julia Jacobs interchange-users@interchange.redhat.com
Mon Apr 22 19:19:00 2002


It looks like catalog_before.cfg has link template code in bar_link
subroutine.  I think it was a patch so I guess I'm O.K. I guess I have to
mess around with the image properties and such.  Unless anyone has done this
before. . . .

my $tmpl = $record->{link_template}
             || $extra
             || $Variable->{BAR_LINK_TEMPLATE}
             || q{<A HREF="$URL$" class=barlink>$ANCHOR$</A>};
    $record->{ANCHOR} = $anchor;
    $record->{URL} = $url;
    $tmpl =~ s!{HIGHLIGHT}(.*?){/HIGHLIGHT}! $highlight ? $1 : '' !gise;
    $tmpl =~ s/\$(\w+)\$/$record->{$1}/g;
    return $tmpl;
-- 
Julia Jacobs
Currant Media
407-261-9351
Fax 407-261-0176
http://www.currantmedia.com
Members of The Better Business Bureau
* Multimedia Producers
* Web Design & Development
* 2D/3D Graphics/Animation
* Hosting, domain and e-mail
* E-Commerce ­ check, credit card validation