1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Issue #3216 PHP7 Fixes.

This commit is contained in:
Cameron
2019-01-17 13:20:56 -08:00
parent 68a4aaea16
commit 221f12088b
5 changed files with 73 additions and 63 deletions

View File

@@ -55,8 +55,8 @@ $rc->list_pref = $rc->getListPrefs();
//render message if set
if(isset($message))
{
$MESSAGE = $message;
$t = preg_replace("/\{(.*?)\}/e", '$\1', $rc->template['ADMIN_MESSAGE']);
$scArray = array('MESSAGE' => $message);
$t = $tp->parseTemplate($rc->template['ADMIN_MESSAGE'], false, $scArray);
$mes->addInfo($message);
//$rc->e107->ns->tablerender('', $t);
}
@@ -73,7 +73,7 @@ e107::getRender()->tablerender(LAN_PLUGIN_LIST_NEW_NAME, $mes->render(). $text);
*/
function admin_list_config_adminmenu()
{
$act = "";
unset($var);
$var=array();
//$var['general']['text'] = LIST_ADMIN_OPT_1;
@@ -82,8 +82,10 @@ function admin_list_config_adminmenu()
$var['list-new-new-page']['text'] = LIST_ADMIN_OPT_4;
$var['list-new-new-menu']['text'] = LIST_ADMIN_OPT_5;
e107::getNav()->admin(LAN_OPTIONS.'--id--list_new', 'list-new-recent-page', $var);
return null;
}
require_once(e_ADMIN."footer.php");
?>