1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Add support for wrappers in contact menu

CLOSES #4849
This commit is contained in:
Jimako
2022-08-16 13:51:46 +02:00
committed by GitHub
parent 29331ea635
commit 0b71c5a3b2

View File

@@ -29,7 +29,8 @@ $range = range(00,24);
$template = e107::getCoreTemplate('contact','menu');
$contact_shortcodes = e107::getScBatch('contact');
$contact_shortcodes = e107::getScBatch('contact');
$contact_shortcodes->wrapper('contact/menu');
$text = e107::getParser()->parseTemplate($head. $template . $foot, true, $contact_shortcodes);