1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Contact LANs updated to v2 specifications. BC fix included.

This commit is contained in:
Cameron
2021-03-29 17:50:51 -07:00
parent dbefbe4630
commit 0876e0d43b
6 changed files with 83 additions and 90 deletions

View File

@@ -15,9 +15,9 @@ $foot = '</form>';
$template = e107::getCoreTemplate('contact','menu');
$contact_shortcodes = e107::getScBatch('contact');
$text = $tp->parseTemplate($head. $template . $foot, true, $contact_shortcodes);
$text = e107::getParser()->parseTemplate($head. $template . $foot, true, $contact_shortcodes);
$ns->tablerender(LANCONTACT_00, $text, 'contact-menu');
e107::getRender()->tablerender(defset('LAN_CONTACT_00', 'Contact Us'), $text, 'contact-menu');