[imp] Template question changing Reply link to graphic?

Michael M Slusarz slusarz at horde.org
Wed Mar 1 13:01:23 PST 2006


Quoting Barry Flanagan <barryf-lists at flanagan.ie>:

> Michael M Slusarz wrote:
>> Quoting Barry Flanagan <barryf-lists at flanagan.ie>:
>>
>  > <snip>
>>>
>>> So, can this be done just by changing the template file, or do I have to
>>> edit the message.php itself, and if so, where can I find the syntax to
>>> Horde::widget
>>
>>
>> To change a template tag, you indeed must edit the definition of the
>> tag in message.php.  The syntax for Horde::widget() can be found here:
>> http://dev.horde.org/api/framework/Horde_Framework/Horde.html#methodwidget
>>
>
> Thanks for the reply. Surely this is counter to the whole purpose of the
> template system - separating logic from display? I was hoping to avoid
> having to hack actual logic. It's enough trouble just maintaining custom
> templates.

Unfortunately, this is the best we can do right now.  We are a step  
better then we used to be - we had all sorts of PHP code in the  
"template" files - but we can't (or at least don't) hardlink <a> tags  
due to the dynamic nature of them.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]


More information about the imp mailing list