|
Lines 1-5
Link Here
|
| 1 |
[% BLOCK showhierarchy %] |
1 |
[% BLOCK showhierarchy %] |
| 2 |
[% FOREACH tree IN trees %] |
2 |
[% FOREACH tree IN trees %] |
|
|
3 |
[% PROCESS showtree tree = tree %] |
| 4 |
[% END %] |
| 5 |
[% END %] |
| 6 |
[% BLOCK showtree %] |
| 3 |
<ul class="hierarchy"> |
7 |
<ul class="hierarchy"> |
| 4 |
[% FOREACH node IN tree %] |
8 |
[% FOREACH node IN tree %] |
| 5 |
<li id="hier[% node.authid %]" class="[% node.class %] authnode"> |
9 |
<li id="hier[% node.authid %]" class="[% node.class %] authnode"> |
|
Lines 8-20
Link Here
|
| 8 |
[% ELSE %] |
12 |
[% ELSE %] |
| 9 |
<a href="opac-authoritiesdetail.pl?authid=[% node.authid %]" title="Term">[% node.value %]</a> |
13 |
<a href="opac-authoritiesdetail.pl?authid=[% node.authid %]" title="Term">[% node.value %]</a> |
| 10 |
[% END %] |
14 |
[% END %] |
| 11 |
[% IF ( node.children.size > 0 ) %] |
15 |
[% IF ( node.children && node.children.size > 0 ) %] |
| 12 |
[% PROCESS showhierarchy trees = [ node.children ] %] |
16 |
[% PROCESS showtree tree = node.children %] |
| 13 |
[% END %] |
17 |
[% END %] |
| 14 |
</li> |
18 |
</li> |
| 15 |
[% END %] |
19 |
[% END %] |
| 16 |
</ul> |
20 |
</ul> |
| 17 |
[% END %] |
|
|
| 18 |
[% END %] |
21 |
[% END %] |
| 19 |
|
22 |
|
| 20 |
[% BLOCK authtypelabel %] |
23 |
[% BLOCK authtypelabel %] |
| 21 |
- |
|
|