From db3f0048d80f4f7aaa903d367ace67b8cd0389dc Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 10 Dec 2018 22:23:56 -0500 Subject: templates: rename template function Str2html -> Str2HTML --- templates/user/auth/activate.tmpl | 6 +++--- templates/user/auth/forgot_passwd.tmpl | 2 +- templates/user/auth/login.tmpl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/user/auth') diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl index 471d3fcd..efcce984 100644 --- a/templates/user/auth/activate.tmpl +++ b/templates/user/auth/activate.tmpl @@ -15,15 +15,15 @@ {{else if .ResendLimited}}
{{.i18n.Tr "auth.resent_limit_prompt"}}
{{else}} -{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .LoggedUser.Email .Hours | Str2html}}
+{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .LoggedUser.Email .Hours | Str2HTML}}
{{end}} {{else}} {{if .IsSendRegisterMail}} -{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2html}}
+{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2HTML}}
{{else if .IsActivateFailed}}{{.i18n.Tr "auth.invalid_code"}}
{{else}} -{{.i18n.Tr "auth.has_unconfirmed_mail" .LoggedUser.Name .LoggedUser.Email | Str2html}}
+{{.i18n.Tr "auth.has_unconfirmed_mail" .LoggedUser.Name .LoggedUser.Email | Str2HTML}}
{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2html}}
+{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2HTML}}
{{else if .IsResetRequest}}