1
0
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:
Cameron
2013-05-31 18:40:56 -07:00
parent 8d94fa8b23
commit b8cdc71795
8 changed files with 27 additions and 26 deletions

View File

@@ -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;