mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 23:56:58 +02:00
Correction of shortcode global issue. As per e107 v1.x - shortcodes should only ever be registered globally using e_shortcode.php or xxx.sc files.
This commit is contained in:
@@ -204,19 +204,19 @@ class faq
|
||||
{
|
||||
if($prevcat !='')
|
||||
{
|
||||
$text .= $tp->parseTemplate($FAQ_LISTALL_END, true);
|
||||
$text .= $tp->parseTemplate($FAQ_LISTALL_END, true, $sc);
|
||||
}
|
||||
$text .= "\n\n<!-- FAQ Start ".$rw['faq_info_order']."-->\n\n";
|
||||
$text .= $tp->parseTemplate($FAQ_LISTALL_START, true);
|
||||
$text .= $tp->parseTemplate($FAQ_LISTALL_START, true, $sc);
|
||||
$start = TRUE;
|
||||
}
|
||||
|
||||
$text .= $tp->parseTemplate($FAQ_LISTALL_LOOP, true);
|
||||
$text .= $tp->parseTemplate($FAQ_LISTALL_LOOP, true, $sc);
|
||||
$prevcat = $rw['faq_info_order'];
|
||||
|
||||
}
|
||||
$text .= $tp->parseTemplate($FAQ_LISTALL_END, true);
|
||||
$text .= $tp->parseTemplate($FAQ_END, true);
|
||||
$text .= $tp->parseTemplate($FAQ_LISTALL_END, true, $sc);
|
||||
$text .= $tp->parseTemplate($FAQ_END, true, $sc);
|
||||
|
||||
$ret['title'] = FAQLAN_FAQ;
|
||||
$ret['text'] = $text;
|
||||
|
Reference in New Issue
Block a user