Lines 204-210
function placeHold () {
Link Here
|
204 |
<span class="clearall"></span></p> |
204 |
<span class="clearall"></span></p> |
205 |
[% END %] |
205 |
[% END %] |
206 |
|
206 |
|
207 |
[% IF direction == 'asc' %][% direction = 'desc' %][% ELSE %][% direction = 'asc' %][% END %] |
207 |
[% IF direction == 'asc' %][% SET new_direction = 'desc' %][% ELSE %][% SET new_direction = 'asc' %][% END %] |
208 |
<div class="pages">[% pagination_bar %]</div> |
208 |
<div class="pages">[% pagination_bar %]</div> |
209 |
<table> |
209 |
<table> |
210 |
<tr> |
210 |
<tr> |
Lines 212-245
function placeHold () {
Link Here
|
212 |
|
212 |
|
213 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %] |
213 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %] |
214 |
<th> |
214 |
<th> |
215 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=title&direction=[% direction %]">Title</a> |
215 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=title&direction=[% new_direction %]">Title</a> |
216 |
[% IF sort == 'title' %] |
216 |
[% IF sort == 'title' %] |
217 |
[% IF direction == 'asc' %] |
217 |
[% IF direction == 'asc' %] |
218 |
<img src="/intranet-tmpl/prog/img/asc.gif" /> |
218 |
<img src="/intranet-tmpl/prog/img/asc.gif" /> |
219 |
[% ELSIF direction == 'desc' %] |
219 |
[% ELSIF direction == 'desc' %] |
220 |
<img src="/intranet-tmpl/prog/img/desc.gif" /> |
220 |
<img src="/intranet-tmpl/prog/img/desc.gif" /> |
221 |
[% END %] |
221 |
[% END %] |
|
|
222 |
[% ELSE %] |
223 |
<img src="/intranet-tmpl/prog/img/ascdesc.gif" /> |
222 |
[% END %] |
224 |
[% END %] |
223 |
</th> |
225 |
</th> |
224 |
<th> |
226 |
<th> |
225 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=author&direction=[% direction %]">Author</a> |
227 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=author&direction=[% new_direction %]">Author</a> |
226 |
[% IF sort == 'author' %] |
228 |
[% IF sort == 'author' %] |
227 |
[% IF direction == 'asc' %] |
229 |
[% IF direction == 'asc' %] |
228 |
<img src="/intranet-tmpl/prog/img/asc.gif" /> |
230 |
<img src="/intranet-tmpl/prog/img/asc.gif" /> |
229 |
[% ELSIF direction == 'desc' %] |
231 |
[% ELSIF direction == 'desc' %] |
230 |
<img src="/intranet-tmpl/prog/img/desc.gif" /> |
232 |
<img src="/intranet-tmpl/prog/img/desc.gif" /> |
231 |
[% END %] |
233 |
[% END %] |
|
|
234 |
[% ELSE %] |
235 |
<img src="/intranet-tmpl/prog/img/ascdesc.gif" /> |
232 |
[% END %] |
236 |
[% END %] |
233 |
</th> |
237 |
</th> |
234 |
<th>Date added</th> |
238 |
<th>Date added</th> |
235 |
<th> |
239 |
<th> |
236 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=itemcallnumber&direction=[% direction %]">Call number</a> |
240 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=itemcallnumber&direction=[% new_direction %]">Call number</a> |
237 |
[% IF sort == 'itemcallnumber' %] |
241 |
[% IF sort == 'itemcallnumber' %] |
238 |
[% IF direction == 'asc' %] |
242 |
[% IF direction == 'asc' %] |
239 |
<img src="/intranet-tmpl/prog/img/asc.gif" /> |
243 |
<img src="/intranet-tmpl/prog/img/asc.gif" /> |
240 |
[% ELSIF direction == 'desc' %] |
244 |
[% ELSIF direction == 'desc' %] |
241 |
<img src="/intranet-tmpl/prog/img/desc.gif" /> |
245 |
<img src="/intranet-tmpl/prog/img/desc.gif" /> |
242 |
[% END %] |
246 |
[% END %] |
|
|
247 |
[% ELSE %] |
248 |
<img src="/intranet-tmpl/prog/img/ascdesc.gif" /> |
243 |
[% END %] |
249 |
[% END %] |
244 |
</th> |
250 |
</th> |
245 |
<th> </th> |
251 |
<th> </th> |