On Fri, 14 Sep 2007 16:23:34 +1000, Thomas Bruederli <[EMAIL PROTECTED]>  
wrote:

> Jorge Asch wrote:
>> How would I print out a variable on a template.
>
> Such a feature is not available yet. There are some hard-coded properties
> like the username that you can access from within the template.
>>
>> For example, I would like to display a text with the user's email
>> address, or display a text with the currently choosen language setting.
>
> For the current user name it would be
> <roundcube:object name="username" />
>
> For a generic solution we could probably provide access to config, env  
> and
> request variables using the same syntax as for contitional tags. You  
> could
> then access the language something like this:
> <roundcube:var name="env:language" />
>
> But this still has to be implemented. We've also planned to enable PHP  
> code
> in RoundCube templates.

Can you we use a proper template engine and no PHP, stick to principle?


> Regards,
> Thomas
> _______________________________________________
> List info: http://lists.roundcube.net/dev/



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to