mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Issue #4372 Make sure shortcode is loaded.
This commit is contained in:
@@ -252,7 +252,9 @@ class contact_front
|
|||||||
message_handler("P_ALERT", $error);
|
message_handler("P_ALERT", $error);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$contact_shortcodes = e107::getScBatch('contact');
|
||||||
|
|
||||||
if(deftrue('SITECONTACTINFO') || !empty($pref['contact_info']))
|
if(deftrue('SITECONTACTINFO') || !empty($pref['contact_info']))
|
||||||
{
|
{
|
||||||
@@ -261,7 +263,7 @@ class contact_front
|
|||||||
$CONTACT_INFO = e107::getCoreTemplate('contact','info');
|
$CONTACT_INFO = e107::getCoreTemplate('contact','info');
|
||||||
}
|
}
|
||||||
|
|
||||||
$contact_shortcodes = e107::getScBatch('contact');
|
|
||||||
$contact_shortcodes->wrapper('contact/info');
|
$contact_shortcodes->wrapper('contact/info');
|
||||||
$text = $tp->parseTemplate($CONTACT_INFO, true, $contact_shortcodes);
|
$text = $tp->parseTemplate($CONTACT_INFO, true, $contact_shortcodes);
|
||||||
$ns->tablerender(LANCONTACT_01, $text,"contact-info");
|
$ns->tablerender(LANCONTACT_01, $text,"contact-info");
|
||||||
|
Reference in New Issue
Block a user