Lines 1-4
Link Here
|
1 |
[% BLOCK showreference %] |
1 |
[% BLOCK showreference %] |
|
|
2 |
<!-- |
3 |
Parameters: |
4 |
heading: the heading itself |
5 |
linkType: currently 'seefrom' or 'seealso', controls the label for the entry |
6 |
type: |
7 |
authid: if it is a linked authority, its authid |
8 |
--> |
2 |
[% SET authidurl = '/cgi-bin/koha/authorities/detail.pl?authid=' %] |
9 |
[% SET authidurl = '/cgi-bin/koha/authorities/detail.pl?authid=' %] |
3 |
[% SET searchurl = '/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&marclist=any&operator=contains&orderby=HeadingAsc&value=' %] |
10 |
[% SET searchurl = '/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&marclist=any&operator=contains&orderby=HeadingAsc&value=' %] |
4 |
|
11 |
|
Lines 15-28
Link Here
|
15 |
[% END %] |
22 |
[% END %] |
16 |
[% ELSE %] |
23 |
[% ELSE %] |
17 |
<span class="label"> |
24 |
<span class="label"> |
18 |
[% IF ( type=='seefrom' ) %] |
25 |
[% IF ( linkType=='seefrom' ) %] |
19 |
used for/see from: |
26 |
used for/see from: |
20 |
[% ELSIF ( type=='seealso' ) %] |
27 |
[% ELSIF ( linkType=='seealso' ) %] |
21 |
see also: |
28 |
see also: |
22 |
[% END %] |
29 |
[% END %] |
23 |
</span> |
30 |
</span> |
24 |
<span class="heading"> |
31 |
<span class="heading"> |
25 |
[% IF ( type=='seealso' ) %] |
32 |
[% IF ( linkType=='seealso' ) %] |
26 |
[% IF ( authid ) %] |
33 |
[% IF ( authid ) %] |
27 |
<a href="[% authidurl | url %][% authid | url %]">[% heading | html %]</a> |
34 |
<a href="[% authidurl | url %][% authid | url %]">[% heading | html %]</a> |
28 |
[% ELSE %] |
35 |
[% ELSE %] |
Lines 68-74
Link Here
|
68 |
[% IF summary.seefrom %] |
75 |
[% IF summary.seefrom %] |
69 |
<div class="authres_seefrom"> |
76 |
<div class="authres_seefrom"> |
70 |
[% FOREACH see IN summary.seefrom %] |
77 |
[% FOREACH see IN summary.seefrom %] |
71 |
[% PROCESS showreference heading=see.heading label="" type=see.type search='' %] |
78 |
[% PROCESS showreference heading=see.heading linkType="" type=see.type search='' %] |
72 |
[% IF ! loop.last %] ; [% END %] |
79 |
[% IF ! loop.last %] ; [% END %] |
73 |
[% END %] |
80 |
[% END %] |
74 |
</div> |
81 |
</div> |
Lines 76-82
Link Here
|
76 |
[% IF summary.seealso %] |
83 |
[% IF summary.seealso %] |
77 |
<div class="authres_seealso"> |
84 |
<div class="authres_seealso"> |
78 |
[% FOREACH see IN summary.seealso %] |
85 |
[% FOREACH see IN summary.seealso %] |
79 |
[% PROCESS showreference heading=see.heading label="" type=see.type search='' %] |
86 |
[% PROCESS showreference heading=see.heading linkType="" type=see.type search='' %] |
80 |
[% IF ! loop.last %] ; [% END %] |
87 |
[% IF ! loop.last %] ; [% END %] |
81 |
[% END %] |
88 |
[% END %] |
82 |
</div> |
89 |
</div> |
Lines 96-101
Link Here
|
96 |
<div class="seefrom authref"> |
103 |
<div class="seefrom authref"> |
97 |
[% PROCESS showreference |
104 |
[% PROCESS showreference |
98 |
heading=seefro.heading |
105 |
heading=seefro.heading |
|
|
106 |
linkType='seefrom' |
99 |
type=seefro.type |
107 |
type=seefro.type |
100 |
authid=seefro.authid |
108 |
authid=seefro.authid |
101 |
%] |
109 |
%] |
Lines 107-112
Link Here
|
107 |
<div class="seealso authref"> |
115 |
<div class="seealso authref"> |
108 |
[% PROCESS showreference |
116 |
[% PROCESS showreference |
109 |
heading=seeals.heading |
117 |
heading=seeals.heading |
|
|
118 |
linkType='seealso' |
110 |
type=seeals.type |
119 |
type=seeals.type |
111 |
authid=seeals.authid |
120 |
authid=seeals.authid |
112 |
%] |
121 |
%] |
113 |
- |
|
|