2011-12-13 12:29:05 +01:00
|
|
|
|
|
|
|
<!-- plugin_faq_category_faqs.tpl start -->
|
|
|
|
|
2016-09-23 10:46:54 +02:00
|
|
|
<div id="serendipity_faq_plugin" class="clearfix serendipity_entry faq-categoryfaqs">
|
|
|
|
<div id="serendipityFAQNav" class="faq-nav">
|
|
|
|
<div>
|
|
|
|
<a href="{$serendipityBaseURL}">{$CONST.ADMIN_FRONTPAGE}</a> > <a href="{$serendipityBaseURL}{$faq_plugin.plugin_url}">{$CONST.FAQ_CATEGORIES}</a>
|
2011-12-13 12:29:05 +01:00
|
|
|
|
2016-09-23 10:46:54 +02:00
|
|
|
{foreach $cat_tree AS $cat}
|
|
|
|
> {if $cat.id != $faq_plugin.catid}<a href="{$serendipityBaseURL}{$faq_plugin.plugin_url}/{$cat.id}">{/if}{$cat.category}{if $cat.id != $faq_plugin.catid}</a>{/if}
|
|
|
|
{/foreach}
|
|
|
|
</div>
|
|
|
|
</div>
|
2011-12-13 12:29:05 +01:00
|
|
|
|
2016-09-23 10:46:54 +02:00
|
|
|
<h3>{$faq_plugin.category}</h3>
|
|
|
|
{if $faq_plugin.introduction}<div>{$faq_plugin.introduction}</div>{/if}
|
2011-12-13 12:29:05 +01:00
|
|
|
|
2016-09-23 10:46:54 +02:00
|
|
|
{if is_array($faq_plugin.subcategories)}
|
|
|
|
<ul>
|
|
|
|
{foreach $faq_plugin.subcategories AS $subcat}
|
|
|
|
<li><a href="{$serendipityBaseURL}{$faq_plugin.plugin_url}/{$subcat.id}">{$subcat.category}</a></li>
|
|
|
|
{/foreach}
|
|
|
|
</ul>
|
|
|
|
{/if}
|
2011-12-13 12:29:05 +01:00
|
|
|
|
2016-09-23 10:46:54 +02:00
|
|
|
{if is_array($faq_plugin.faqs)}
|
|
|
|
<ul class="faq-faqs">
|
|
|
|
{foreach $faq_plugin.faqs AS $faq}
|
|
|
|
<li><icon class="faq_question-icon"></icon> <a href="{$serendipityBaseURL}{$faq_plugin.plugin_url}/{$faq.cid}/{$faq.id}">{$faq.question}</a> <em class="faq-status{if $faq.status == $CONST.FAQ_NEW} faq-new{/if}">{$faq.status}</em></li>
|
|
|
|
{/foreach}
|
|
|
|
</ul>
|
|
|
|
{/if}
|
|
|
|
</div>
|
2011-12-13 12:29:05 +01:00
|
|
|
|
|
|
|
<!-- plugin_faq_category_faqs.tpl end -->
|