40 lines
1.3 KiB
Smarty
40 lines
1.3 KiB
Smarty
<script type="text/javascript" src="{$base_dir_ssl}js/jquery/accordion/accordion.ui.js"></script>
|
|
<link media="all" type="text/css" rel="stylesheet" href="{$base_dir_ssl}modules/ant_support/ant_support.css">
|
|
|
|
{include file="$tpl_dir./breadcrumb.tpl"}
|
|
|
|
<h1>{l s='Questions frequentes' mod='ant_support'}</h1>
|
|
<div class='ant_support'>
|
|
{foreach $result as $section name=result}
|
|
|
|
{literal}
|
|
<script>
|
|
$(function() {
|
|
$('#accordion_{/literal}{$section['section']->id_section}{literal}').accordion({
|
|
collapsible: true,
|
|
autoHeight: false,
|
|
navigation: true
|
|
});
|
|
});
|
|
</script>
|
|
{/literal}
|
|
<div class="section-help">
|
|
<h2>{$section['section']->title[$cookie->id_lang]}</h2>
|
|
<div id="accordion_{$section['section']->id_section}">
|
|
{if !empty($section['section']->description[$cookie->id_lang])}
|
|
<p>{$section['section']->description[$cookie->id_lang]}</p>
|
|
{/if}
|
|
{foreach $section['questions'] as $question name=questions}
|
|
<h4 style="cursor:pointer;">{$question->title[$cookie->id_lang]}</h4>
|
|
<div>
|
|
{$question->answer[$cookie->id_lang]}
|
|
</div>
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
|
|
{/foreach}
|
|
</div>
|
|
|
|
|