1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

Change references from e107help.org to Github Discussions area

This commit is contained in:
Moc
2022-10-01 13:52:00 +02:00
parent a1f6de6a37
commit f2f8877a05
2 changed files with 9 additions and 3 deletions

View File

@@ -462,13 +462,13 @@ TMPO;
if($numDays < 3) // installed in the past 3 days.
{
$srch = array('[',']');
$repl = array("<a href='http://e107help.org' target='_blank' rel='external'>","</a>");
$repl = array("<a href='https://github.com/e107inc/e107/discussions' target='_blank' rel='external'>","</a>");
echo e107::getMessage()->setTitle(ADLAN_190,E_MESSAGE_INFO)->addInfo("<p>".str_replace($srch,$repl,ADLAN_192)."</p>")->render();
}
elseif($pref < $v2ReleaseDate && !file_exists($upgradeAlertFlag)) // installed prior to v2 release.
{
$srch = array('[',']');
$repl = array("<a href='http://e107help.org' target='_blank' rel='external'>","</a>");
$repl = array("<a href='https://github.com/e107inc/e107/discussions' target='_blank' rel='external'>","</a>");
$message = str_replace($srch,$repl,ADLAN_191);
$message .= "<div class='text-right'><a class='btn btn-xs btn-primary ' href='admin.php?dismiss=upgrade'>".LAN_DONT_SHOW_AGAIN."</a></div>"; //todo do it with class=e-ajax and data-dismiss='alert'
echo e107::getMessage()->setTitle(LAN_UPGRADING,E_MESSAGE_INFO)->addInfo($message)->render();