On 18-08-2009 at 11:04:02 Alister Cameron <alister.came...@cameroncreative.com> wrote:

Thanks heaps Kornel.
Can I extend this with variable substitution of the href attribute? As:

<div i18n:translate="structure">You must be <a i18n:name="loginlink" href=""
title="Log in" tal:replace="href tal/path/here"><span
i18n:translate="">logged in</span></a> to post a comment.</div>

??

Yes, just use tal:attributes for href (assuming you want it specified by the application and not translation file) and i18n:attributes for title.

--
regards, Kornel

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to