[dev] [commits] Horde branch master updated. a96642d3db2e2910d3ad0c3d6224e4d214a4c224
Michael M Slusarz
slusarz at horde.org
Tue May 18 18:21:26 UTC 2010
Quoting Ben Klang <ben at alkaloid.net>:
>> You should be using Horde::img() (which, in turn will use
>> Horde_Themes::img() to get the image URI) in places where you want
>> to output an img tag for the image. Horde_Themes::img() only
>> returns an object with the URI for the image...
>>
> In both of these places I specifically do not want an <img> tag.
> The Horde_Themes::img() feels a little ugly here (especially vs.
> what we did in Horde 3), but it was the only option I saw. Any
> other suggestions?
What is ugly about Horde_Themes::img()? In other words - what do you
need to get back that can't currently be done? This is useful
information as we (read: me) try to finish up the API in this area.
Do note that doing something like grabbing an image dir and then
manually appending various image names to it is NOT supported in H4.
michael
--
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the dev
mailing list