[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple add
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple addbooks.tmpl,1.20.2.1,1.20.2.2 isbnsearch.tmpl,1.15.2.3,1.15.2.4 |
Date: |
Fri, 18 Mar 2005 01:40:43 -0800 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv667/koha-tmpl/intranet-tmpl/default/en/acqui.simple
Modified Files:
Tag: rel_2_2
addbooks.tmpl isbnsearch.tmpl
Log Message:
improving isbnsearch (search before cataloguing)
We now use the official Koha API for search in the catalogue. It means the user
don't have to write the title exactly as in biblio.title (empty words are now
excluded)
Index: addbooks.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbooks.tmpl,v
retrieving revision 1.20.2.1
retrieving revision 1.20.2.2
diff -C2 -r1.20.2.1 -r1.20.2.2
*** addbooks.tmpl 3 Feb 2005 16:21:14 -0000 1.20.2.1
--- addbooks.tmpl 18 Mar 2005 09:40:41 -0000 1.20.2.2
***************
*** 12,17 ****
<form action="isbnsearch.pl">
<h2 class="catalogue">To add a new biblio/item, scan or
type the ISBN/ISSN number</h2>
! <p><label class="label20">ISBN</label> <input
type="text" name="isbn" /></p>
! <p><label class="label20">Title</label> <input
type="text" name="title" /></p>
<p><input type="submit" value="Go" class="button
catalogue" /></p>
</form>
--- 12,33 ----
<form action="isbnsearch.pl">
<h2 class="catalogue">To add a new biblio/item, scan or
type the ISBN/ISSN number</h2>
! <p>
! <label class="label100"
for="title">Title</label>
! <input type="hidden" name="marclist"
value="biblio.title">
!
! <input type="hidden" name="and_or" value="and">
! <input type="hidden" name="excluding" value="">
! <input type="hidden" name="operator"
value="contains">
! <input type="text" name="value"
id="title"size="35">
! </p>
! <p>
! <label class="label100" for="title">ISBN</label>
! <input type="hidden" name="marclist"
value="biblioitems.issn">
!
! <input type="hidden" name="and_or" value="and">
! <input type="hidden" name="excluding" value="">
! <input type="hidden" name="operator"
value="contains">
! <input type="text" name="value"
id="title"size="35">
! </p>
<p><input type="submit" value="Go" class="button
catalogue" /></p>
</form>
Index: isbnsearch.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/isbnsearch.tmpl,v
retrieving revision 1.15.2.3
retrieving revision 1.15.2.4
diff -C2 -r1.15.2.3 -r1.15.2.4
*** isbnsearch.tmpl 8 Mar 2005 13:18:39 -0000 1.15.2.3
--- isbnsearch.tmpl 18 Mar 2005 09:40:41 -0000 1.15.2.4
***************
*** 3,84 ****
<h1 class="catalogue">Biblio Search Results</h1>
<div id="bloc25">
! <h2 class="catalogue">You searched on <!-- TMPL_IF name="isbn"
-->ISBN <!-- TMPL_VAR NAME="isbn" --><!-- /TMPL_IF --><!-- TMPL_IF name="title"
-->title <!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></h2>
! <!-- TMPL_IF name="total" -->
! <p><!-- TMPL_VAR NAME="total" --> results found</p>
! <p>Results <i><!-- TMPL_VAR NAME="showoffset" --></i>
to <i><!-- TMPL_VAR NAME="total" --></i> displayed</p>
<!-- /TMPL_IF -->
</div>
! <div id="bloc100">
<h2 class="catalogue">Biblios in koha</h2>
! <table>
! <tr>
! <th class="catalogue">Title</th>
! <th class="catalogue">Author</th>
! <th class="catalogue">©</th>
! <th class="catalogue"> </th>
! <!-- TMPL_UNLESS NAME="NOTMARC" -->
! <th class="catalogue"> </th>
! <!-- /TMPL_UNLESS -->
! </tr>
! <!-- TMPL_IF name="loop" -->
! <!-- TMPL_LOOP NAME="loop" -->
! <!-- TMPL_IF NAME="toggle" --><tr><!--
TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
! <td><!-- TMPL_VAR NAME="title" --></a>
! <td><!-- TMPL_VAR NAME="author" --></td>
! <td><!-- TMPL_VAR NAME="copyrightdate"
--></td>
! <!-- TMPL_IF NAME="NOTMARC" -->
! <td><a
href="additem-nomarc.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"
class="button catalogue">Add items</a></td>
! <!-- TMPL_ELSE -->
! <td><a
href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"
class="button catalogue">Edit...</a></td>
<!-- /TMPL_IF -->
! <!-- TMPL_UNLESS NAME="NOTMARC" -->
! <td>
! <a
href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber"
-->&op=duplicate" class="button catalogue">
! Duplicate
</a>
! </td>
<!-- /TMPL_UNLESS -->
</tr>
! <!-- /TMPL_LOOP -->
! <!-- TMPL_ELSE -->
! <tr><td colspan="4">Nothing found</td></tr>
! <!-- /TMPL_IF -->
! </table>
! <p class="center">
! <!-- Row of numbers corresponding to search result
pages -->
! <!-- TMPL_IF name="displayprev" -->
! <a href="isbnsearch.pl?offset=<!-- TMPL_VAR
NAME="prevstartfrom" -->&<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="value" ESCAPE=URL -->">
! <img src="<!-- TMPL_VAR
NAME="themelang" -->/images/numbers/prev.gif" border="0">
! </a>
! <!-- TMPL_ELSE -->
! <img src="<!-- TMPL_VAR NAME="themelang"
-->/images/numbers/placeholder.gif" border="0">
! <!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="numbers" -->
! <!-- TMPL_IF name="highlight" -->
! <img src="<!-- TMPL_VAR
NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number"
-->-highlight.gif">
<!-- TMPL_ELSE -->
! <a href="isbnsearch.pl?offset=<!--
TMPL_VAR NAME="startfrom" -->&<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="value" ESCAPE=URL -->">
! <img src="<!-- TMPL_VAR
NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif"
border="0">
! </a>
<!-- /TMPL_IF -->
! <!-- /TMPL_LOOP -->
! <!-- TMPL_IF name="displaynext" -->
! <a href="isbnsearch.pl?offset=<!-- TMPL_VAR
NAME="nextstartfrom" -->&<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="value" ESCAPE=URL -->">
! <img src="<!-- TMPL_VAR
NAME="themelang" -->/images/numbers/next.gif" border="0">
! </a>
! <!-- TMPL_ELSE -->
! <img src="<!-- TMPL_VAR NAME="themelang"
-->/images/numbers/placeholder.gif" border="0">
! <!-- /TMPL_IF -->
! </p>
<h2 class="catalogue">Biblios in reservoir</h2>
<!-- TMPL_IF name="breeding_loop" -->
<table>
<tr>
! <th>Title</th>
! <th>Author</th>
! <th>ISBN</th>
! <th>coming from</th>
! <th> </th>
! <th> </th>
</tr>
<!-- TMPL_LOOP NAME="breeding_loop" -->
--- 3,122 ----
<h1 class="catalogue">Biblio Search Results</h1>
<div id="bloc25">
! <h2 class="catalogue">You searched on </h2>
! <!-- TMPL_IF name="isbn" -->
! <p>ISBN <!-- TMPL_VAR NAME="isbn" --></p>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="title" -->
! <p>title <!-- TMPL_VAR NAME="title" --></p>
<!-- /TMPL_IF -->
</div>
! <div id="bloc25">
<h2 class="catalogue">Biblios in koha</h2>
! <!-- TMPL_IF name="loop" -->
! <div id="resultnumber">
! <p>
! <!-- TMPL_IF NAME="displayprev" -->
! <a class="resultnumber"
href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&<!--
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage" -->&type=intranet&op=do_search">
! <<Previous
! </a>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="numbers" -->
! <!-- TMPL_IF NAME="highlight"
-->
! <span
class="highlight"><!-- TMPL_VAR NAME="number" --></span>
! <!-- TMPL_ELSE -->
! <a class="resultnumber"
href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&<!--
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage" -->&type=intranet&op=do_search">
! <!-- TMPL_VAR
NAME="number" -->
! </a>
! <!-- /TMPL_IF -->
! <!-- /TMPL_LOOP -->
! <!-- TMPL_IF NAME="displaynext" -->
! <a class="resultnumber"
href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&<!--
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->&resultsperpage=<!--
TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search">
! Next>>
</a>
! <!-- /TMPL_IF -->
! </p>
! <p class="resultcount">
! <!-- TMPL_IF NAME="total" -->
! Results <!-- TMPL_VAR NAME="from" -->
to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" -->
! <!-- TMPL_ELSE -->
! No results found.
! <!-- /TMPL_IF -->
! </p>
! </div>
! <table>
! <tr>
! <th class="catalogue">Title</th>
! <th class="catalogue">Author</th>
! <th class="catalogue">©</th>
! <th class="catalogue"> </th>
! <!-- TMPL_UNLESS NAME="NOTMARC" -->
! <th
class="catalogue"> </th>
<!-- /TMPL_UNLESS -->
</tr>
! <!-- TMPL_LOOP NAME="loop" -->
! <!-- TMPL_IF NAME="toggle" --><tr><!--
TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
! <td><!-- TMPL_VAR NAME="title"
--></a>
! <td><!-- TMPL_VAR NAME="author"
--></td>
! <td><!-- TMPL_VAR
NAME="copyrightdate" --></td>
! <!-- TMPL_IF NAME="NOTMARC" -->
! <td><a
href="additem-nomarc.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"
class="button catalogue">Add items</a></td>
! <!-- TMPL_ELSE -->
! <td><a
href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"
class="button catalogue">Edit...</a></td>
! <!-- /TMPL_IF -->
! <!-- TMPL_UNLESS NAME="NOTMARC"
-->
! <td>
! <a
href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber"
-->&op=duplicate" class="button catalogue">
! Duplicate
! </a>
! </td>
! <!-- /TMPL_UNLESS -->
! </tr>
! <!-- /TMPL_LOOP -->
! </table>
! <div id="resultnumber">
! <p>
! <!-- TMPL_IF NAME="displayprev" -->
! <a class="resultnumber"
href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&<!--
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage" -->&type=intranet&op=do_search">
! <<Previous
! </a>
! <!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="numbers" -->
! <!-- TMPL_IF NAME="highlight"
-->
! <span
class="highlight"><!-- TMPL_VAR NAME="number" --></span>
! <!-- TMPL_ELSE -->
! <a class="resultnumber"
href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&<!--
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage" -->&type=intranet&op=do_search">
! <!-- TMPL_VAR
NAME="number" -->
! </a>
! <!-- /TMPL_IF -->
! <!-- /TMPL_LOOP -->
! <!-- TMPL_IF NAME="displaynext" -->
! <a class="resultnumber"
href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&<!--
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->&resultsperpage=<!--
TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search">
! Next>>
! </a>
! <!-- /TMPL_IF -->
! </p>
! <p class="resultcount">
! <!-- TMPL_IF NAME="total" -->
! Results <!-- TMPL_VAR NAME="from" -->
to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" -->
<!-- TMPL_ELSE -->
! No results found.
<!-- /TMPL_IF -->
! </p>
! </div>
! <!-- TMPL_ELSE -->
! <p>None</p>
! <!-- /TMPL_IF -->
! </div>
! <div id="bloc25">
<h2 class="catalogue">Biblios in reservoir</h2>
<!-- TMPL_IF name="breeding_loop" -->
<table>
<tr>
! <th class="catalogue">Title</th>
! <th class="catalogue">Author</th>
! <th class="catalogue">ISBN</th>
! <th class="catalogue">coming from</th>
! <th class="catalogue"> </th>
! <th class="catalogue"> </th>
</tr>
<!-- TMPL_LOOP NAME="breeding_loop" -->
***************
*** 91,95 ****
<!-- TMPL_ELSE -->
! <td><a
href="addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->">Add biblio</a></td>
<!-- /TMPL_IF -->
</tr>
--- 129,133 ----
<!-- TMPL_ELSE -->
! <td><a
href="addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->" class="button
catalogue">Add biblio</a></td>
<!-- /TMPL_IF -->
</tr>
***************
*** 97,102 ****
</table>
<!-- TMPL_ELSE -->
! <p class="center">Nothing found</p>
<!-- /TMPL_IF -->
<p class="center">
<!-- TMPL_IF NAME="NOTMARC" -->
--- 135,143 ----
</table>
<!-- TMPL_ELSE -->
! <p>None</p>
<!-- /TMPL_IF -->
+ </div>
+ <div id="bloc25">
+ <h2 class="catalogue">Add biblio</h2>
<p class="center">
<!-- TMPL_IF NAME="NOTMARC" -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple addbooks.tmpl,1.20.2.1,1.20.2.2 isbnsearch.tmpl,1.15.2.3,1.15.2.4,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha/C4 Suggestions.pm,1.4,1.4.2.1
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities auth_finder.tmpl,1.6.2.1,1.6.2.2 searchresultlist-auth.tmpl,1.5.2.1,1.5.2.2
- Previous by thread:
[Koha-cvs] CVS: koha/C4 Suggestions.pm,1.4,1.4.2.1
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities auth_finder.tmpl,1.6.2.1,1.6.2.2 searchresultlist-auth.tmpl,1.5.2.1,1.5.2.2
- Index(es):