Allow html text

pull/2487/head
jmontoyaa 7 years ago
parent 81f23ed7b7
commit 694138422a
  1. 10
      main/inc/lib/template.lib.php

@ -1412,9 +1412,11 @@ class Template
$message = get_lang('AccountInactive'); $message = get_lang('AccountInactive');
if (api_get_setting('allow_registration') === 'confirmation') { if (api_get_setting('allow_registration') === 'confirmation') {
$message = get_lang('AccountNotConfirmed') $message = get_lang('AccountNotConfirmed').PHP_EOL;
.PHP_EOL $message .= Display::url(
.Display::url(get_lang('ReSendConfirmationMail'), api_get_path(WEB_PATH) . 'main/auth/resend_confirmation_mail.php'); get_lang('ReSendConfirmationMail'),
api_get_path(WEB_PATH).'main/auth/resend_confirmation_mail.php'
);
} }
break; break;
case 'user_password_incorrect': case 'user_password_incorrect':
@ -1437,7 +1439,7 @@ class Template
break; break;
} }
} }
return Display::return_message($message, 'error'); return Display::return_message($message, 'error', false);
} }
/** /**

Loading…
Cancel
Save