- Where Developers Learn, Share, & Build Careers
Is it possible to add a simple HTML link to the title / title of the label? I tried the following code:
& lt ;? Php $ form ['legal'] ['# type'] = 'checkbox'; $ Form ['legal'] ['# essential'] = true; $ '[' Legal '] [' # Title '] = T (' You are our TOS and Delgals', Array ('@' (& gt; L (T ('Terms of Service'), 'Node / 6') , '@glals' = & gt; L (T ('leagles'), 'node / 7'));? & Gt; But that simulation label (HTML markup " Translated "does not exist):
" You have our & lt; a href = "/ node / 6" & gt; Terms of Service & lt; / a & gt; and & lt; A href = "/ node / 7" & gt; legals & lt; / a & gt; *
(I've added spaces after the open bracket that it will not be converted to that link I have to do it)
Is not it possible to do this? I'm new to Doppel, maybe someone can help me ... thanks!
Before you text the text plain text.
(t (' Terms of Service '),' node / 6 '),'! Leagles' = & gt; L (T ('leagles', 'node / 7'))); ? & Gt; Note that you are using the function, which works differently on the prefix of the replacement if you enter @tos , then check_plain (), The HTML will never be processed by the browser as it encodes HTML entities ! Tos allows HTML markup because it is check_plain () 'd.
Comments
Post a Comment