From 2097778cc5f393985fa4553577eb86384f7c5959 Mon Sep 17 00:00:00 2001 From: Cameron Date: Fri, 4 Feb 2022 13:26:52 -0800 Subject: [PATCH] Experimental schema template added to FAQs. --- e107_handlers/e_parse_class.php | 1 + e107_plugins/faqs/faqs.php | 10 ++++++++-- e107_plugins/faqs/templates/faqs_template.php | 18 ++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index b06ca0ee9..77e177b0f 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -837,6 +837,7 @@ class e_parse $parse = e107::getScParser(); $parse->setMode('schema'); $text = e107::getScParser()->parseCodes($text, $parseSCFiles, $extraCodes, $eVars); + $text = str_replace('