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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user