{title help="FAQs"}{tr}{$faq_info.title}{/tr}{/title}
{$faq_info.description|escape}
{button href="tiki-list_faqs.php" class="btn btn-info" _text="{tr}List FAQs{/tr}"} {if $tiki_p_admin_faqs eq 'y'} {button href="tiki-list_faqs.php?faqId=$faqId" class="btn btn-primary" _text="{tr}Edit this FAQ{/tr}"} {/if} {if $tiki_p_admin_faqs eq 'y'} {button href="tiki-faq_questions.php?faqId=$faqId" class="btn btn-primary" _text="{tr}New Question{/tr}"} {/if} {self_link print='y' _icon_name='print' _menu_text='y' _menu_icon='y' _class='btn btn-link'} {tr}Print{/tr} {/self_link}

{tr}Questions{/tr}

{if !$channels} {tr}There are no questions in this FAQ.{/tr} {else}
    {section name=ix loop=$channels}
  1. {$channels[ix].question|escape}
  2. {/section}

{tr}Answers{/tr}

{section name=ix loop=$channels}
{if $prefs.faq_prefix neq 'none'} {if $prefs.faq_prefix eq 'QA'} {tr}Question:{/tr} {elseif $prefs.faq_prefix eq 'question_id'} {$smarty.section.ix.index_next}.  {/if} {/if} {$channels[ix].question|escape}
{if $prefs.faq_prefix eq 'QA'} {tr}Answer:{/tr}  {/if} {$channels[ix].parsed}
{/section} {/if} {if $faq_info.canSuggest eq 'y' and $tiki_p_suggest_faq eq 'y'}

{ticket} {if $prefs.feature_antibot eq 'y' && $user eq ''} {include file='antibot.tpl'} {/if}
{tr}Question:{/tr}
{tr}Answer:{/tr}
 
{if count($suggested) != 0}
{section name=ix loop=$suggested} {/section}
{tr}Suggested questions{/tr}
{$suggested[ix].question}
{/if}
{/if} {capture name='copyright_section'} {include file='show_copyright.tpl' copyright_context="faq"} {/capture} {* When copyright section is not empty show it *} {if $smarty.capture.copyright_section neq ''} {/if} {if $prefs.feature_faq_comments == 'y' && ($tiki_p_read_comments == 'y' || $tiki_p_post_comments == 'y' || $tiki_p_edit_comments == 'y')}
{jq} var id = '#comment-container'; $(id).comment_load($(id).data('bs-target')); $(document).ajaxComplete(function(){$(id).tiki_popover();}); {/jq} {/if}