Bug 12150 - Use more javascript string formatting in intranet for translated strings.
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / resort_form.inc
1 <option value="relevance">Relevance</option>
2
3 <optgroup label="Popularity">
4         
5         [% IF ( sort_by == "popularity_dsc" ) %]
6 <option value="popularity_dsc" selected="selected">Popularity (most to least)</option>
7 [% ELSE %]
8     <option value="popularity_dsc">Popularity (most to least)</option>
9  [% END %]
10 [% IF ( sort_by == "popularity_asc" ) %]
11 <option value="popularity_asc" selected="selected">Popularity (least to most)</option>
12 [% ELSE %]
13     <option value="popularity_asc">Popularity (least to most)</option>
14  [% END %]
15
16 </optgroup>
17
18 <optgroup label="Author">
19         
20         [% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %]
21 <option value="author_az" selected="selected">Author (A-Z)</option>     
22 [% ELSE %]
23 <option value="author_az">Author (A-Z)</option>
24  [% END %]
25 [% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %]
26 <option value="author_za" selected="selected">Author (Z-A)</option>
27 [% ELSE %]
28 <option value="author_za">Author (Z-A)</option>
29  [% END %]
30
31 </optgroup>
32
33 <optgroup label="Call Number">
34         
35         [% IF ( sort_by == "call_number_asc" ) %]
36 <option value="call_number_asc" selected="selected">Call Number (0-9 to A-Z)</option>
37 [% ELSE %]
38     <option value="call_number_asc">Call number (0-9 to A-Z)</option>
39 [% END %]
40
41 [% IF ( sort_by == "call_number_dsc" ) %]
42 <option value="call_number_dsc" selected="selected">Call number (Z-A to 9-0)</option>
43 [% ELSE %]
44     <option value="call_number_dsc">Call number (Z-A to 9-0)</option>
45 [% END %]
46
47 </optgroup>
48
49 <optgroup label="Dates">
50         [% IF ( sort_by == "pubdate_dsc" ) %]
51 <option value="pubdate_dsc" selected="selected" >Publication/Copyright date: newest to oldest</option>
52         [% ELSE %]
53 <option value="pubdate_dsc">Publication/Copyright date: newest to oldest</option>
54 [% END %]
55
56 [% IF ( sort_by == "pubdate_asc" ) %]
57 <option value="pubdate_asc" selected="selected" >Publication/Copyright date: oldest to newest</option>
58 [% ELSE %]
59 <option value="pubdate_asc">Publication/Copyright date: oldest to newest</option>
60 [% END %]
61
62 [% IF ( sort_by == "acqdate_dsc" ) %]
63 <option value="acqdate_dsc" selected="selected">Acquisition date: newest to oldest</option>
64 [% ELSE %]
65 <option value="acqdate_dsc">Acquisition date: newest to oldest</option>
66  [% END %]
67
68  [% IF ( sort_by == "acqdate_asc" ) %]
69 <option value="acqdate_asc" selected="selected">Acquisition date: oldest to newest</option>
70 [% ELSE %]
71 <option value="acqdate_asc">Acquisition date: oldest to newest</option>
72  [% END %]
73 </optgroup>
74
75 <optgroup label="Title">
76         [% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %]
77 <option value="title_az" selected="selected">Title (A-Z)</option>
78         [% ELSE %]
79 <option value="title_az">Title (A-Z)</option>
80          [% END %]
81         [% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %]
82 <option value="title_za" selected="selected">Title (Z-A)</option>       
83         [% ELSE %]
84 <option value="title_za">Title (Z-A)</option>
85 [% END %]
86 </optgroup>