[ic] 5.5.0 errors - bugs?

Mike Heins mike at perusion.com
Tue Oct 31 08:15:02 EST 2006


Quoting Kevin Walsh (kevin at cursor.biz):
> Peter <peter at pajamian.dhs.org> wrote:
> > Index: code/UI_Tag/version.coretag
> > ===================================================================
> > RCS file: /var/cvs/interchange/code/UI_Tag/version.coretag,v
> > retrieving revision 1.12
> > diff -u -p -r1.12 version.coretag
> > --- code/UI_Tag/version.coretag	8 Nov 2005 18:14:40 -0000	1.12
> > +++ code/UI_Tag/version.coretag	31 Oct 2006 01:26:11 -0000
> > @@ -22,8 +22,10 @@ sub {
> >  	}
> > 
> >  	if($opt->{local_error}) {
> > -		my $fn = $Vend::Cfg->{ErrorFile};
> > -		push @out, $Tag->page("$::Variable->{UI_BASE}/do_view", $fn) . "$fn</a>";
> > +		my $dfn = my $fn = $Vend::Cfg->{ErrorFile};
> > +		my $pre = $Global::Catalog{$Vend::Cat}->{dir} . '/';
> > +		$fn =~ s:^\Q$pre\E::;
> > +		push @out, $Tag->page("$::Variable->{UI_BASE}/do_view", $fn) .
> > "$dfn</a>";
> >  		$done_something = 1;
> >  	}
> > 
> Hello Peter.
> 
> If you commit that patch (and I think you should) can you change
> $Tag->page() to $Tag->area().
> 
>     my $href = $Tag->area("$::Variable->{UI_BASE}/do_view",$fn);
>     push(@out,"<a href="$href">$dfn</a>");
> 
> I just can't stand [page] and think it should slowly (or quickly) fade
> into oblivion. :-)
> 

It has been fading for nearly 11 years now. It was one of the 9 original
tags in Interchange, the ones I inherited from Vend. I added [area ...]
right away, but it actually was intended for client-side imagemaps and
wasn't used for links in the beginning.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

If you think nobody cares if you're alive, try missing a couple of
car payments.  -- Earl Wilson


More information about the interchange-users mailing list