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

Added {RELATED_DATE} shortcode

This commit is contained in:
Tijn Kuyper
2019-05-09 11:04:58 +02:00
committed by GitHub
parent 270c4c458a
commit f880986bb0

View File

@@ -4338,7 +4338,8 @@ var_dump($select_options);*/
'RELATED_URL' => $tp->replaceConstants($val['url'],'full'), 'RELATED_URL' => $tp->replaceConstants($val['url'],'full'),
'RELATED_TITLE' => $val['title'], 'RELATED_TITLE' => $val['title'],
'RELATED_IMAGE' => $tp->toImage($val['image']), 'RELATED_IMAGE' => $tp->toImage($val['image']),
'RELATED_SUMMARY' => $tp->toHTML($val['summary'],true,'BODY') 'RELATED_SUMMARY' => $tp->toHTML($val['summary'],true,'BODY'),
'RELATED_DATE' => $val['date'],
); );
$list[] = $tp->simpleParse($TEMPLATE['item'], $row); $list[] = $tp->simpleParse($TEMPLATE['item'], $row);