Markup cleanup on subscription catalog search form and results page

This commit is contained in:
Owen Leonard 2009-12-11 11:13:57 -05:00 committed by Henri-Damien LAURENT
parent 26c85a4277
commit 558b916e84
2 changed files with 19 additions and 20 deletions

View file

@ -1,5 +1,5 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Search Results</title>
<title>Koha &rsaquo; Serials &rsaquo; Search Results</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/javascript" language="javascript">
//<![CDATA[
@ -21,23 +21,19 @@ function GetIt(bibno,title)
<div id="bd">
<h1>Search results from <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></h1>
<!-- TMPL_IF NAME="total"-->
<h1>Search results from <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></h1>
<table>
<tr>
<th>Title</th>
<th>Author</th>
<th>publisher</th>
<th>Publisher</th>
<th>Publication year</th>
<th>&nbsp;</th>
</tr>
<!-- TMPL_LOOP NAME="resultsloop" -->
<tr>
<td>
<a href="#" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR escape="URL" NAME="title" -->');" title="Get this one !">
<!-- TMPL_VAR NAME="title" escape="html" -->
</a>
<br />
<small><!-- TMPL_VAR ESCAPE="HTML" NAME="subtitle" --></small>
<td><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR ESCAPE="HTML" NAME="subtitle" -->
</td>
<td>
<!-- TMPL_VAR ESCAPE="HTML" NAME="author" -->
@ -48,6 +44,7 @@ function GetIt(bibno,title)
<td>
<!-- TMPL_VAR ESCAPE="HTML" NAME="publicationyear" -->
</td>
<td><a href="#" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR escape="URL" NAME="title" -->');" title="Choose this record">Choose</a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
@ -60,9 +57,8 @@ function GetIt(bibno,title)
<!-- TMPL_IF NAME="displaynext" -->
<a href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&amp;type=intranet&amp;startfrom=<!-- TMPL_VAR ESCAPE="URL" NAME="startfromnext" -->&amp;q=<!-- TMPL_VAR ESCAPE="URL" NAME="query" -->">&gt;&gt;</a>
<!-- /TMPL_IF -->
<br/>
<a href="subscription-bib-search.pl">Search for another Biblio</a>
<a class="button" href="#" onclick="window.close()"> Close</a>
<p><a href="subscription-bib-search.pl">Search for another record</a></p>
<fieldset class="action"><a class="button close" href="#">Close</a></fieldset>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->

View file

@ -1,5 +1,5 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Serials</title>
<title>Koha &rsaquo; Serials &rsaquo; Catalog search</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
@ -15,12 +15,14 @@
<form name="f" action="/cgi-bin/koha/serials/subscription-bib-search.pl" method="get">
<input type="hidden" name="op" value="do_search" />
<input type="hidden" name="type" value="intranet" />
<label for="q">Keyword</label>
<input type="text" id="q" name="q" />
<fieldset class="rows">
<ol>
<li><label for="q">Keyword: </label>
<input type="text" id="q" name="q" /></li>
<!-- ITEMTYPE LIMITS -->
<p>Limit type to:
<select name="itemtypelimit">
<li><label for="itemtypelimit">Limit type to: </label>
<select name="itemtypelimit" id="itemtypelimit">
<option value="">All</option>
<!--TMPL_LOOP Name="itemtypeloop"-->
<option value="<!--TMPL_VAR Name="code" -->">
@ -28,10 +30,11 @@
</option>
<!--/TMPL_LOOP-->
</select>
</p>
</li>
<!-- /ITEMTYPE LIMITS -->
<input type="submit" value="Search" />
</ol>
</fieldset>
<fieldset class="action"><input type="submit" value="Search" /></fieldset>
</form>