Owen Leonard
5cc3cdeb29
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
111 lines
No EOL
4.7 KiB
Cheetah
111 lines
No EOL
4.7 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" --> -- Library Catalog
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<script language="JavaScript" type="text/javascript">
|
|
function Dopop(link) {
|
|
newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE name="masthead.inc" -->
|
|
|
|
<div id="doc3" class="yui-t1">
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b"><div class="yui-g">
|
|
|
|
<form method="post">
|
|
<fieldset class="rows">
|
|
<legend>See the Most Popular Titles</legend>
|
|
<ol> <li><label for="limit">Show the top </label> <select name="limit" id="limit">
|
|
<option value ="10" checked>10</option>
|
|
<option value ="15">15</option>
|
|
<option value ="20">20</option>
|
|
<option value ="25">25</option>
|
|
<option value ="40">40</option>
|
|
<option value ="50">50</option>
|
|
<option value ="100">100</option>
|
|
</select> titles
|
|
</li>
|
|
<li>
|
|
<label for="branch">From: </label>
|
|
<select name="branch" id="branch">
|
|
<option value="">All branches</option>
|
|
<!-- TMPL_LOOP name="branchloop" -->
|
|
<option value="<!-- TMPL_VAR name="value" -->">
|
|
<!-- TMPL_VAR name="branchname" -->
|
|
</option>
|
|
<!-- /TMPL_LOOP -->
|
|
</select>
|
|
</li>
|
|
<li><label for="itemtype">Limit to: </label>
|
|
<select name="itemtype" id="itemtype">
|
|
<option value="">All item types</option>
|
|
<!-- TMPL_LOOP name="itemtypeloop" -->
|
|
<option value="<!-- TMPL_VAR name="value" -->">
|
|
<!-- TMPL_VAR name="description" -->
|
|
</option>
|
|
<!-- /TMPL_LOOP -->
|
|
</select></li>
|
|
<li>
|
|
<label for="timeLimit">Acquired in the last:</label> <select name="timeLimit" id="timeLimit">
|
|
<option value="3">3 months</option>
|
|
<option value="6">6 months</option>
|
|
<option value="12">12 months</option>
|
|
<option value="999">No limit</option>
|
|
<li></ol>
|
|
<input type="hidden" name="do_it" value="1" />
|
|
</fieldset><fieldset class="action">
|
|
<input type="submit" value="Submit" /></fieldset>
|
|
</form>
|
|
|
|
<!-- TMPL_IF NAME="results_loop" -->
|
|
|
|
<table>
|
|
<caption>The <!-- TMPL_VAR NAME="limit"--> most checked-out
|
|
<!-- TMPL_IF name="itemtype" -->
|
|
<!-- TMPL_VAR name="itemtype" -->
|
|
<!-- TMPL_ELSE --> titles<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="branch" -->
|
|
at
|
|
<!-- TMPL_VAR name="branch" -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="timeLimit" -->
|
|
in the past <!-- TMPL_VAR name="timeLimit" --> months
|
|
<!-- TMPL_ELSE --> of all time<!-- /TMPL_IF -->
|
|
</caption>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Itemtype</th>
|
|
<th>Issues</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="results_loop" -->
|
|
<tr>
|
|
<td>
|
|
<p><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">
|
|
<!-- TMPL_VAR name="title" --></a>
|
|
</p>
|
|
<p>
|
|
<!-- TMPL_VAR NAME="author" -->
|
|
<!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF --> <!-- TMPL_IF name="seriestitle" -->(<!-- TMPL_VAR name="seriestitle" -->)<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
|
|
</td>
|
|
<td><!-- TMPL_VAR name="description" --></td>
|
|
<td><!-- TMPL_VAR name="tot" --></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP-->
|
|
</table>
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
|
<!-- TMPL_INCLUDE name="usermenu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> |