1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +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

@@ -30,6 +30,7 @@ $range = range(00,24);
$template = e107::getCoreTemplate('contact','menu'); $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); $text = e107::getParser()->parseTemplate($head. $template . $foot, true, $contact_shortcodes);