1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-26 01:11:28 +02:00

Update admin.php

This commit is contained in:
Gábor
2017-05-02 06:45:49 +02:00
committed by GitHub
parent 52c4719ed5
commit c9c7a1a8cc

View File

@@ -535,7 +535,7 @@ TMPO;
if($us->passwordAPIExists() === true && $us->getDefaultHashType() !== PASSWORD_E107_PHP && e107::pref('core','password_CHAP')==0)
{
$message = e107::getParser()->toHTML(LAN_UI_PASSWORD_WARNING, true);
$message = LAN_PASSWORD_WARNING;
$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));