1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +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

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']);