1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

Issue #2669 Incorrect FB og:image used. Issue #6 LAN modified.

This commit is contained in:
Cameron
2018-08-26 13:54:25 -07:00
parent d4834c43e9
commit f958f66dcb
5 changed files with 23 additions and 10 deletions

View File

@@ -455,13 +455,13 @@ TMPO;
if($numDays < 3) // installed in the past 3 days.
{
$srch = array('[',']');
$repl = array("<a href='http://e107help.org' rel='external'>","</a>");
echo e107::getMessage()->setTitle(ADLAN_190,E_MESSAGE_INFO)->addInfo("<p>".e107::getParser()->lanVars(e107::getParser()->toHTML(ADLAN_192, true), (str_replace($srch,$repl)))."</p>")->render();
$repl = array("<a href='http://e107help.org' 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' rel='external'>","</a>");
$repl = array("<a href='http://e107help.org' 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();

View File

@@ -385,7 +385,7 @@ if(!empty($pref['sitebutton']) && strpos($pref['sitebutton'],'{')===false && fil
$text .= $frm->imagepicker('sitebutton',$pref['sitebutton'],'','help='.PRFLAN_225); //todo use 'LegacyPath' option instead of code above.
$text .= $frm->imagepicker('sitebutton',$pref['sitebutton'],'','w=200&help='.PRFLAN_225); //todo use 'LegacyPath' option instead of code above.
$text .= "
</td>