summaryrefslogtreecommitdiffstats
path: root/templates/html/htmljssearchdata.tpl
blob: 5146bae330aa35e7f730afeb92c36d441454caf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{# input: si: SymbolIndex #}
var indexSectionsWithContent =
{
{% set count=0 %}
{% for idx in searchIndices %}{% if idx.symbolIndices %}{% if count>0 %},
{% endif %}  {{ count }}:"{% for si in idx.symbolIndices %}{{ si.letter }}{% endfor %}"{% set count=count+1 %}{% endif %}{% endfor %}
};

var indexSectionNames =
{
{% set count=0 %}
{% for idx in searchIndices %}{% if idx.symbolIndices %}{% if count>0 %},
{% endif %}  {{ count }}:"{{ idx.name }}"{% set count=count+1 %}{% endif %}{% endfor %}
};

var indexSectionLabels =
{
{% set count=0 %}
{% for idx in searchIndices %}{% if idx.symbolIndices %}{% if count>0 %},
{% endif %}  {{ count }}:"{{ idx.text }}"{% set count=count+1 %}{% endif %}{% endfor %}
};