1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 13:11:52 +02:00

News Carousel - Also allow {NAV} in start of template

This commit is contained in:
Tijn Kuyper 2019-04-11 16:17:34 +02:00
parent 8ff1c4cf70
commit 5db162b05c
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2

View File

@ -127,7 +127,8 @@
$count++;
}
$header = $template['start'];
$header = str_replace("{NAV}", implode("\n", $nav), $template['start']);
$footer = str_replace("{NAV}", implode("\n", $nav), $template['end']);