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

Loading…
Cancel
Save