HTML code in translated messages

Moderator: crythias

Locked
silkgoat
Znuny newbie
Posts: 11
Joined: 29 Nov 2011, 16:26
Znuny Version: 2.4, 3.0.11

HTML code in translated messages

Post by silkgoat »

Hi,

Is there a way to display HTML code in translated messages?
I need to display a localized error message on customer login page if the login failed. Using $Text{"$Data{"Message"}"} gives me the message from the language file, but it displays the html code also. So, if I put a 'br' into the translated text (Login failed! Your user name or password was entered incorrectly.), it will be displayed instead of making a linefeed.

Anyway, I'd like to display an html message in the ErrorBox (CustomerLogin.dtl) instead of plain text.

Can anyone help me, how can I do that?

Regards,
Robert
Locked