summaryrefslogtreecommitdiffstats
path: root/templates/html/htmljssearchdata.tpl
blob: 802795ed070d29b38dbb5ecadec80d0da74f3366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{# input: si: SymbolIndex #}
var indexSectionsWithContent =
{
{% set count=0 %}
{% for idx in searchIndices %}
  {% if idx.symbolIndices %}
    {{ count }}:"{% for si in idx.symbolIndices %}{{ si.letter }}{% endfor %}"{%if not forloop.last %},{% endif %}
    {% set count=count+1 %}
  {% endif %}
{% endfor %}
};
var indexSectionNames =
{
{% set count=0 %}
{% for idx in searchIndices %}
  {% if idx.symbolIndices %}
    {{ count }}:"{{ idx.name }}"{% if not forloop.last %},{% endif %}
    {% set count=count+1 %}
  {% endif %}
{% endfor %}
};
var indexSectionLabels =
{
{% set count=0 %}
{% for idx in searchIndices %}
  {% if idx.symbolIndices %}
    {{ count }}:"{{ idx.text }}"{% if not forloop.last %},{% endif %}
    {% set count=count+1 %}
  {% endif %}
{% endfor %}
};