mirror of
https://github.com/e107inc/e107.git
synced 2025-03-13 08:59:44 +01:00
55 lines
1.1 KiB
PHP
55 lines
1.1 KiB
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'] = '
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": "FAQPage",
|
|
"mainEntity": [
|
|
{
|
|
"@type": "Question",
|
|
"name": "{FAQ_QUESTION: html=0}",
|
|
"acceptedAnswer":
|
|
{
|
|
"@type": "Answer",
|
|
"text": "{FAQ_ANSWER: html=0}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
';
|