Lines 22-41
Link Here
|
22 |
<div class="container-fluid"> |
22 |
<div class="container-fluid"> |
23 |
<div class="row-fluid"> |
23 |
<div class="row-fluid"> |
24 |
<div class="span2"> |
24 |
<div class="span2"> |
25 |
[% IF ( results ) %] |
25 |
<div id="usertopissues"> |
26 |
<div id="usertopissues"> |
26 |
[% INCLUDE 'opac-topissues.inc' %] |
27 |
[% INCLUDE 'opac-topissues.inc' %] |
|
|
28 |
[% IF ( OpacNav || OpacNavBottom ) %] |
29 |
[% INCLUDE 'navigation.inc' %] |
30 |
[% END %] |
31 |
</div> |
32 |
[% ELSE %] |
33 |
[% IF ( OpacNav || OpacNavBottom ) %] |
27 |
[% IF ( OpacNav || OpacNavBottom ) %] |
34 |
<div id="leftmenus"> |
28 |
[% INCLUDE 'navigation.inc' %] |
35 |
[% INCLUDE 'navigation.inc' %] |
|
|
36 |
</div> |
37 |
[% END %] |
29 |
[% END %] |
38 |
[% END %] |
30 |
</div> |
39 |
</div> |
31 |
</div> |
40 |
<div class="span10"> |
32 |
<div class="span10"> |
41 |
<div id="topissues" class="maincontent"> |
33 |
<div id="topissues" class="maincontent"> |
Lines 44-51
Link Here
|
44 |
<table id="topissuest" class="table table-bordered table-striped"> |
36 |
<table id="topissuest" class="table table-bordered table-striped"> |
45 |
<caption> |
37 |
<caption> |
46 |
The [% limit %] most checked-out |
38 |
The [% limit %] most checked-out |
47 |
[% IF ( itemtype ) %] |
39 |
[% IF selected_itemtype %] |
48 |
[% itemtype %] |
40 |
[% ItemTypes.GetDescription(selected_itemtype) %] |
49 |
[% END %] |
41 |
[% END %] |
50 |
[% IF ( branch ) %] |
42 |
[% IF ( branch ) %] |
51 |
at |
43 |
at |
Lines 93-157
Link Here
|
93 |
</tbody> |
85 |
</tbody> |
94 |
</table> |
86 |
</table> |
95 |
[% ELSE %] |
87 |
[% ELSE %] |
96 |
<form method="post" action="/cgi-bin/koha/opac-topissues.pl"> |
88 |
No results, try to change filters. |
97 |
<fieldset class="rows"> |
89 |
[% END # / IF results %] |
98 |
<legend>See the most popular titles</legend> |
|
|
99 |
<ol> |
100 |
<li><label for="limit">Show the top </label> <select name="limit" id="limit"> |
101 |
[% IF ( limit == 10 ) %]<option value ="10" selected="selected">10 titles</option>[% ELSE %]<option value="10">10 titles</option>[% END %] |
102 |
[% IF ( limit == 15 ) %]<option value ="15" selected="selected">15 titles</option>[% ELSE %]<option value="15">15 titles</option>[% END %] |
103 |
[% IF ( limit == 20 ) %]<option value ="20" selected="selected">20 titles</option>[% ELSE %]<option value="20">20 titles</option>[% END %] |
104 |
[% IF ( limit == 30 ) %]<option value ="30" selected="selected">30 titles</option>[% ELSE %]<option value="30">30 titles</option>[% END %] |
105 |
[% IF ( limit == 40 ) %]<option value ="40" selected="selected">40 titles</option>[% ELSE %]<option value="40">40 titles</option>[% END %] |
106 |
[% IF ( limit == 50 ) %]<option value ="50" selected="selected">50 titles</option>[% ELSE %]<option value="50">50 titles</option>[% END %] |
107 |
[% IF ( limit == 100 ) %]<option value ="100" selected="selected">100 titles</option>[% ELSE %]<option value="100">100 titles</option>[% END %] |
108 |
</select> |
109 |
</li> |
110 |
<li> |
111 |
<label for="branch">From: </label> |
112 |
<select name="branch" id="branch"> |
113 |
<option value="">All libraries</option> |
114 |
[% FOREACH branchloo IN branchloop %] |
115 |
[% IF ( branchloo.selected ) %] |
116 |
<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option> |
117 |
[% ELSE %] |
118 |
<option value="[% branchloo.value %]">[% branchloo.branchname %]</option> |
119 |
[% END %] |
120 |
[% END %] |
121 |
</select> |
122 |
</li> |
123 |
<li> |
124 |
<label for="itemtype">Limit to: </label> |
125 |
<select name="itemtype" id="itemtype"> |
126 |
[% IF ( ccodesearch ) %] |
127 |
<option value="">All collections</option> |
128 |
[% ELSE %] |
129 |
<option value="">All item types</option> |
130 |
[% END %] |
131 |
[% FOREACH itemtypeloo IN itemtypeloop %] |
132 |
[% IF ( itemtypeloo.selected ) %]<option value="[% itemtypeloo.value %]" selected="selected">[% ELSE %]<option value="[% itemtypeloo.value %]">[% END %] |
133 |
[% itemtypeloo.description %] |
134 |
</option> |
135 |
[% END %] |
136 |
</select> |
137 |
</li> |
138 |
<li> |
139 |
<label for="timeLimit">of the last:</label> |
140 |
<select name="timeLimit" id="timeLimit"> |
141 |
[% IF ( timeLimit == 3 ) %]<option value="3" selected="selected">3 months</option>[% ELSE %]<option value="3">3 months</option>[% END %] |
142 |
[% IF ( timeLimit == 6 ) %]<option value="6" selected="selected">6 months</option>[% ELSE %]<option value="6">6 months</option>[% END %] |
143 |
[% IF ( timeLimit == 12 ) %]<option value="12" selected="selected">12 months</option>[% ELSE %]<option value="12">12 months</option>[% END %] |
144 |
[% IF ( timeLimit == 999 ) %]<option value="999" selected="selected">No limit</option>[% ELSE %]<option value="999">No limit</option>[% END %] |
145 |
</select> |
146 |
</li> |
147 |
</ol> |
148 |
<input type="hidden" name="do_it" value="1" /> |
149 |
</fieldset> |
150 |
<fieldset class="action"> |
151 |
<input type="submit" class="btn" value="Submit" /> |
152 |
</fieldset> |
153 |
</form> |
154 |
[% END # / IF results %] |
155 |
</div> <!-- / #topissues --> |
90 |
</div> <!-- / #topissues --> |
156 |
</div> <!-- / .span10 --> |
91 |
</div> <!-- / .span10 --> |
157 |
</div> <!-- / .row-fluid --> |
92 |
</div> <!-- / .row-fluid --> |