e107_plugins/faqs/templates/faqs_template.php
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*/
$FAQS_TEMPLATE['start'] = "
<div class='faq-start'>{FAQ_SUBMIT_QUESTION: expand=1}
{FAQ_SUBMIT_QUESTION_LIST}
";
$FAQS_TEMPLATE['end'] = "
<div class='faq-submit-question'></div>
</div>
";
$FAQS_TEMPLATE['all']['start'] = "
<div>
<h2 class='faq-listall'>{FAQ_CATEGORY=extend}</h2>
<ul class='faq-listall'>
";
$FAQS_TEMPLATE['all']['item'] = "
<li class='faq-listall'>{FAQ_QUESTION=expand|tags=1|share=1}</li>
";
$FAQS_TEMPLATE['all']['end'] = "
</ul>
</div>
";
$FAQS_TEMPLATE['caption'] = "{FAQ_CAPTION} <small>{FAQ_COUNT}</small>";
/** @experimental */
$FAQS_TEMPLATE['schema']['start'] = '{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [';
$FAQS_TEMPLATE['schema']['item'] = '{
"@type": "Question",
"name": "{FAQ_QUESTION}",
"acceptedAnswer": {
"@type": "Answer",
"text": "{FAQ_ANSWER}"
}
}';
$FAQS_TEMPLATE['schema']['end'] = ']
}
';