[ic] 4.7.3 __IMAGE_DIR__ Variable Problem...

Stefan Hornburg Racke interchange-users@lists.akopia.com
Thu Jun 14 12:41:00 2001


Jon Jensen <jon@redhat.com> writes:

> On Thu, 14 Jun 2001, Jon Jensen wrote:
> 
> > On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> >
> > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > fine, because it is not persistent, but we shouldn't touch Variables
> > > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
> >
> > I can't remember why I set that originally. It doesn't seem to be
> > necessary, so I took it out. John, let me know if that fixes your problem.
> 
> Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR} to
> write image paths. So it's now broken in the UI. I'll see what I can do to
> fix that.

Using IMAGE_DIR in a usertag is bogus IMHO. Why isn't $Config->{ImageDir}
used in the first place ?

Ciao
        Racke

-- 
Master of Swiss Web 2001: http://www.zweifel.ch/

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)