[dev] [patch] Insert Ansel images in htmlarea richt text editor

Roel Gloudemans roel at gloudemans.info
Sat Oct 16 00:48:45 PDT 2004


Quoting Chuck Hagenbuch <chuck at horde.org>:

>> I added the following functions:
>> - selectGalleries; returns an optionlist of galleries
>> - selectImages; returns an optionlist of images
>
> HTML generation really doesn't belong in API functions like this.

[.....] initially I started to defend the choice, but upon finishing 
the text I
decided that it would be better to just have listGalleries and 
listImages which
both return a two dimensional array of id's and names.

Cheers,
Roel.





More information about the dev mailing list