1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Update admin.php

This commit is contained in:
Gábor
2017-04-30 15:58:27 +02:00
committed by GitHub
parent 4c0ac0d955
commit 52c4719ed5

View File

@@ -535,7 +535,7 @@ TMPO;
if($us->passwordAPIExists() === true && $us->getDefaultHashType() !== PASSWORD_E107_PHP && e107::pref('core','password_CHAP')==0)
{
$message = LAN_UI_PASSWORD_WARNING;
$message = e107::getParser()->toHTML(LAN_UI_PASSWORD_WARNING, true);
$srch = array('[',']');
$repl = array("<a class='alert-link' href='".e_ADMIN."prefs.php#nav-core-prefs-security'>","</a>");
$mes->addWarning(str_replace($srch,$repl,$message));