ported 257:258 from hidra branch
[webpac] / template_html / README
1 How to edit HTML templates?
2
3 There are number of variables which are specific to this templates, and
4 erasing them and/or misspelling could lead to incorrect operation of
5 WebPac. 
6
7 Some fields in search.html have special meaning. Text fields which
8 are called f[number] and v[number]  will be used to construct search query.
9 'f' fields will keep name of field, while 'v' fields will keep value of
10 that field. Currently, there is hard-code limit of 10 fields, but that
11 can be changed.
12
13
14 Please don't remove following tags from results.html:
15
16 <TMPL_VAR NAME="PAGER_JAVASCRIPT">
17 <TMPL_LOOP NAME="PAGER_DATA_LIST">
18 <TMPL_VAR NAME="PAGER_DATA_COL_*">
19 </TMPL_LOOP>
20 <TMPL_VAR NAME="PAGER_PREV">
21 <TMPL_VAR NAME="PAGER_JUMP">
22 <TMPL_VAR NAME="PAGER_NEXT">
23 <TMPL_VAR NAME="PAGER_HIDDEN">
24
25 They are all needed for correct operation.
26