Move to maketext: sample templates

Vitaly Fedrushkov fedrushkov at users.sourceforge.net
Sun Mar 22 04:35:02 UTC 2009


Good $daytime,

> Variant 1.2: introduce functions for 'FILTER html' and so on
>   [% |l("<a href=\"editusers.cgi?action=edit&userid=" _
>       url_quote(otheruser.id) _ "\" title=\"" _
>       l("Edit user '[_1]'", html(otheruser.login)) _ "\">",
>         "</a>") %]
>     [_1]Edit this user[_2]
>   [% END %]

Done: https://bugzilla.mozilla.org/attachment.cgi?id=368754&action=diff

Function is called FILTER_html(), just to make things obvious.  Diffstat is the 
same as before, but I hope readability is better and 008filter.t checking 
wouldn't be too complex.

Again, your feedback is very appreciated.

   Regards,
   Vitaly.
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list