[dev] [cvs] commit: framework/Horde Horde.php

Michael M Slusarz slusarz at horde.org
Mon Jun 29 16:13:33 UTC 2009


Quoting Michael Rubinsky <mrubinsk at horde.org>:

>> slusarz     2009-06-29 01:42:05 EDT
>>
>> Modified files:
>>   Horde                Horde.php  Log:
>> Move RFC 2397 generation code from IMP to Horde.
>>  Revision  Changes    Path
>> 1.723     +25 -4     framework/Horde/Horde.php
>
> This breaks any place where we pass a fully qualified url to  
> Horde::img() as the $src.

 From what I know about Horde::img(), this is incorrect usage.  The  
whole reason to use img() is to automatically generate images based on  
the current registry values (in other words, img() is designed to  
create links to images that live in either that app's or horde's  
themes/ directory).  If you have a fully qualified URL, what's the  
point in using img()?  Instead, the image should simply be directly  
output.  img() is not designed as a shortcut to creating a HTML <img>  
tag.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list