merging from 1,2 branch. Seems OK

This commit is contained in:
tipaul 2002-10-09 15:49:49 +00:00
parent cebf30c287
commit 7ec937a07e
4 changed files with 387 additions and 28 deletions

View file

@ -0,0 +1,79 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<TMPL_IF NAME="loggedinuser">
<p align=left>Logged in as: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/logout.pl>Log Out</a>]</p>
<TMPL_ELSE>
<p align=left><a href=/cgi-bin/koha/userpage.pl>Log In</a> to Koha</p>
</TMPL_IF>
<TMPL_LOOP NAME="BIBLIO_RESULTS">
<font SIZE=6><em><TMPL_VAR NAME="title"> (<TMPL_VAR NAME="author">)
<TMPL_VAR NAME="class"></em></font><p>
<table cellspacing="0" callpadding="5" border="1" align="left" width="220">
<!-----------------BIBLIO RECORD TABLE--------->
<tr valign="top">
<td bgcolor="#99cccc">
<b>BIBLIO RECORD</b>
<TMPL_VAR NAME="biblionumber">
</td>
</tr>
<tr valign="top">
<td>
<br>
<FONT SIZE=2 face="arial, helvetica">
<b>Subtitle:</b> <TMPL_VAR NAME="subtitle"><br>
<b>Author:</b> <TMPL_VAR NAME="author"><br>
<b>Additional Author:</b> <TMPL_VAR NAME="additional"><br>
<b>Series Title:</b> <TMPL_VAR NAME="series"><br>
<b>Subject:</b> <TMPL_VAR NAME="subject"><br>
<b>Copyright:</b> <TMPL_VAR NAME="copyrightdate"><br>
<b>Notes:</b> <TMPL_VAR NAME="notes"><br>
<b>Unititle:</b> <TMPL_VAR NAME="unititle"><br>
<b>Serial:</b> <TMPL_VAR NAME="serial"><br>
<b>Total Number of Items:</b> <TMPL_VAR NAME="count">
<p>
</font></td>
</tr>
</table>
</TMPL_LOOP>
<center>
<table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor="#99cccc">
<td>Item Type</td>
<td>Class</td>
<td>Location</td>
<td>Date Due</td>
<td>Last Seen</td>
</tr>
<TMPL_LOOP NAME="ITEM_RESULTS">
<tr>
<td><TMPL_VAR NAME="itemtype"></td>
<td><TMPL_VAR NAME="class"></td>
<td><TMPL_VAR NAME="branchname"></td>
<td><TMPL_VAR NAME="datedue"></td>
<td><TMPL_VAR NAME="datelastseen"></td>
</tr>
</TMPL_LOOP>
<TMPL_LOOP NAME="WEB_RESULTS">
<tr>
<td><TMPL_VAR NAME="itemtype"></td>
<td>Website</td>
<td>Online</td>
<td>Available</td>
<td></td>
<td><a href="/cgi-bin/koha/moredetail.pl?item=<TMPL_VAR
NAME="itemnumber>&bib=<TMPL_VAR NAME="biblionumber">&bi=<TMPL_VAR
NAME="biblioitemnumber">">http://<TMPL_VAR NAME="url"></a></td>
</tr>
</TMPL_LOOP>
</table>
<p>
</center>
<br clear=all>
<p />
<p />
<TMPL_INCLUDE NAME="opac-bottom.inc">

View file

@ -0,0 +1,154 @@
<TMPL_INCLUDE NAME="cat-top.inc">
<!--
<TMPL_IF NAME="loggedinuser">
<p align=left>Logged in as: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/logout.pl>Log Out</a>]</p>
<TMPL_ELSE>
<p align=left><a href=/cgi-bin/koha/userpage.pl>Log In</a> to Koha</p>
</TMPL_IF>
-->
<TMPL_LOOP NAME="BIBLIO_RESULTS">
<TMPL_IF NAME="norequests">
<TMPL_ELSE>
<a href=request.pl?bib=<TMPL_VAR NAME="biblionumber">><img height=42 WIDTH=120 BORDER="0"
src="/images/requests.gif" align="right" border="0"></a>
</TMPL_IF>
<font SIZE=6><em><TMPL_VAR NAME="title"> (<TMPL_VAR NAME="author">)
<TMPL_VAR NAME="class"></em></font><p>
<table cellspacing="0" callpadding="5" border="1" align="left" width="220">
<!-----------------BIBLIO RECORD TABLE--------->
<tr valign="top">
<td bgcolor="#cccc99" background="/images/background-mem.gif">
<b>BIBLIO RECORD</b>
<TMPL_VAR NAME="biblionumber">
</td>
</tr>
<tr valign="top">
<td>
<form action="/cgi-bin/koha/modbib.pl" method="post">
<input type="hidden" name="bibnum" value="<TMPL_VAR NAME="biblionumber">">
<input type="image" name="submit" value="modify" height="42" width="93"
border="0" src="/images/modify-mem.gif">
<input type="image" name="delete" value="delete" height="42" width="93"
border="0" src="/images/delete-mem.gif">
</form>
<br>
<FONT SIZE=2 face="arial, helvetica">
<b>Subtitle:</b> <TMPL_VAR NAME="subtitle"><br>
<b>Author:</b> <a href=/cgi-bin/koha/search.pl?author=<TMPL_VAR
NAME="author" ESCAPE=URL>><TMPL_VAR NAME="author"></a><br>
<b>Additional Author:</b> <TMPL_VAR NAME="additional"><br>
<b>Series Title:</b> <TMPL_VAR NAME="series"><br>
<b>Subject:</b> <TMPL_VAR NAME="subject"><br>
<b>Copyright:</b> <TMPL_VAR NAME="copyrightdate"><br>
<b>Notes:</b> <TMPL_VAR NAME="notes"><br>
<b>Unititle:</b> <TMPL_VAR NAME="unititle"><br>
<b>Serial:</b> <TMPL_VAR NAME="serial"><br>
<b>Total Number of Items:</b> <TMPL_VAR NAME="count">
<p>
</font></td>
</tr>
</table>
</TMPL_LOOP>
<center>
<table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor="#cccc99" background="/images/background-mem.gif">
<td>Item Type</td>
<td>Class</td>
<td>Location</td>
<td>Date Due</td>
<td>Last Seen</td>
<td>Barcode</td>
<td>Volume</td>
</tr>
<TMPL_LOOP NAME="ITEM_RESULTS">
<tr>
<td><TMPL_VAR NAME="itemtype"></td>
<td><a href=/cgi-bin/koha/search.pl?dewey=<TMPL_VAR NAME="dewey" ESCAPE=URL>><TMPL_VAR NAME="class"></a></td>
<td><TMPL_VAR NAME="branchname"></td>
<td><TMPL_VAR NAME="datedue"></td>
<td><TMPL_VAR NAME="datelastseen"></td>
<td><a href="/cgi-bin/koha/moredetail.pl?type=<TMPL_VAR NAME="type">&item=<TMPL_VAR NAME="itemnumber>&bib=<TMPL_VAR NAME="biblionumber">&bi=<TMPL_VAR NAME="biblioitemnumber">"><TMPL_VAR NAME="barcode"></a></td>
<td><TMPL_VAR NAME="volumeddesc"></td>
<TMPL_IF NAME="type">
<td><a href=/cgi-bin/koha/maint/catmaintain.pl?type=fixitemtype&bi=<TMPL_VAR
NAME="biblioitemnumber">&item=<TMPL_VAR NAME="itemtype">>Fix Itemtype</a></td>
</TMPL_IF>
</tr>
</TMPL_LOOP>
<TMPL_LOOP NAME="WEB_RESULTS">
<tr>
<td><TMPL_VAR NAME="itemtype"></td>
<td>Website</td>
<td>Online</td>
<td>Available</td>
<td></td>
<td><a href="/cgi-bin/koha/moredetail.pl?item=<TMPL_VAR
NAME="itemnumber>&bib=<TMPL_VAR NAME="biblionumber">&bi=<TMPL_VAR
NAME="biblioitemnumber">">http://<TMPL_VAR NAME="url"></a></td>
</tr>
</TMPL_LOOP>
</table>
<p>
<table border="0" cellspacing="0" cellpadding="5" width=70%>
<tr valign="top">
<td bgcolor="99cc33" background="/images/background-mem.gif"
colspan="2"><p><b>HELP</b><br>
<b>Update Biblio for all Items:</b> Click on the <b>Modify</b>
button [left] to amend the biblio. Any changes you make will update
the record for <b>all</b> the items listed above. <p>
<b>Updating the Biblio for only ONE or SOME Items:</b>
If some of the items listed above need a different biblio, or are on the
wrong biblio, you must use the
<a
href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">acquisitions</a>
process to fix this. You will need to "re-order" the items, and delete them
from this biblio.
<p /></tr>
</table>
</center>
<br clear=all>
<p />
<!--
<table border="1" cellspacing="0" cellpadding="5" width="90%">
<tr valign="top">
<td bgcolor="$main"
background="/images/background-mem.gif"><b>Abstract</b></td>
</tr>
<tr valign="top">
<TMPL_LOOP NAME="BIBLIO_RESULTS">
<td><TMPL_VAR NAME="abstract"></td>
</TMPL_LOOP>
</tr>
</table>
<p />
<table border="1" cellspacing="0" cellpadding="5" width="90%">
<tr valign="top">
<td bgcolor="$main" background="/images/background-mem.gif"><b>Links to
Associated Websites<b></td>
</tr>
<TMPL_LOOP NAME="SITE_RESULTS">
<tr>
<td><b>Title:</b> <TMPL_VAR name="title"><br>
<b>Description:</b> <TMPL_VAR name="description"><br>
<b>URL:</b><a href="http://<TMPL_VAR name="url">">http://<TMPL_VAR
name="url"></a><br>
</td>
</tr>
</TMPL_LOOP>
</table>
-->
<TMPL_INCLUDE NAME="cat-bottom.inc">

View file

@ -1,30 +1,115 @@
<TMPL_INCLUDE NAME="cat-top.inc">
<a href=search.pl?template=cmsdsearchresults.tmpl&startfrom=<TMPL_VAR NAME="startfrom">>Results with dewey</a>
| <a href=search.pl?template=searchresults.tmpl&startfrom=<TMPL_VAR NAME="startfrom">>Results with biblionumber</a>
<hr>
<table border=0 cellspacing=0 cellpadding=5>
<tr bgcolor=#ccccff><th>Title</th><th>Author</th><th>Item Count</th><th>Biblionumber</th><th>MARC detail</th></tr>
<TMPL_LOOP NAME=SEARCH_RESULTS>
<tr>
<td> <TMPL_VAR NAME=title> </td>
<td> <TMPL_VAR NAME=author> </td>
<td align=center> <TMPL_VAR NAME=itemcount> </td>
<td> <TMPL_VAR NAME=biblionumber> </td>
<td> <a href="MARCdetail.pl?biblionumber=<TMPL_VAR name="biblionumber">">MARC</a>
</tr>
</TMPL_LOOP>
<tr><td colspan=5 bgcolor=#ccccff>
<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr><td align=left>
<a href=search.pl?template=<TMPL_VAR NAME="template">&startfrom=<TMPL_VAR NAME="prevstartfrom">>Previous Records</a>
</td><td align=right>
<a href=search.pl?template=<TMPL_VAR NAME="template">&startfrom=<TMPL_VAR NAME="nextstartfrom">>Next Records</a>
<TMPL_IF NAME="opac">
<TMPL_INCLUDE NAME="opac-top.inc">
<TMPL_ELSE>
<TMPL_INCLUDE NAME="cat-top.inc">
</TMPL_IF>
<center>
<TMPL_IF NAME="loggedinuser">
<p align=left>Logged in as: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/logout.pl>Log Out</a>]</p>
<TMPL_ELSE>
<p align=left><a href=/cgi-bin/koha/userpage.pl>Log In</a> to Koha</p>
</TMPL_IF>
<TMPL_IF NAME=searchdesc>
You searched on <b><TMPL_VAR NAME=searchdesc></b>
<TMPL_ELSE>
You did not specify any seach criteria<br>
</TMPL_IF>
<TMPL_VAR NAME=numrecords> results found
<p>
<!-- Row of numbers corresponding to search result pages -->
<TMPL_IF NAME=displayprev>
<a href=search.pl?startfrom=<TMPL_VAR NAME="prevstartfrom">&<TMPL_LOOP NAME=FORMINPUTS><TMPL_VAR NAME=line>&</TMPL_LOOP>type=<TMPL_IF NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>><img src=/images/numbers/prev.gif border=0></a>
<TMPL_ELSE>
<img src=/images/numbers/placeholder.gif border=0>
</TMPL_IF>
<TMPL_LOOP NAME=numbers>
<TMPL_IF NAME=highlight>
<img src=/images/numbers/<TMPL_VAR NAME=number>-highlight.gif>
<TMPL_ELSE>
<a href=search.pl?startfrom=<TMPL_VAR NAME=startfrom>&<TMPL_LOOP NAME=FORMINPUTS><TMPL_VAR NAME=line>&</TMPL_LOOP>type=<TMPL_IF NAME=opac>opac<TMPL_ELSE>intra</TMPL_IF>><img src=/images/numbers/<TMPL_VAR NAME=number>.gif border=0></a>
</TMPL_IF>
</TMPL_LOOP>
<TMPL_IF NAME=displaynext>
<a href=search.pl?startfrom=<TMPL_VAR NAME="nextstartfrom">&<TMPL_LOOP NAME=FORMINPUTS><TMPL_VAR NAME=line>&</TMPL_LOOP>type=<TMPL_IF NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>><img src=/images/numbers/next.gif border=0></a>
<TMPL_ELSE>
<img src=/images/numbers/placeholder.gif border=0>
</TMPL_IF>
<p>
<!-- Search Results Table -->
<TMPL_IF NAME=numrecords>
<table border=0 cellspacing=0 cellpadding=2 width=90%>
<tr <TMPL_IF NAME="opac">bgcolor=#99cccc background=/images/background-opac.gif<TMPL_ELSE> background="/images/background-mem.gif"</TMPL_IF>>
<th align=left>Title</th><th align=left>Author</th><th>&copy;</th><th>Item Count</th><th>Location</th>
<TMPL_IF NAME="opac">
<TMPL_ELSE>
<th>&nbsp;</th>
</TMPL_IF>
</tr>
<!-- Actual Search Results -->
<TMPL_LOOP NAME=SEARCH_RESULTS>
<tr>
<td><a href=/cgi-bin/koha/detail.pl?type=<TMPL_IF NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>&bib=<TMPL_VAR NAME=biblionumber ESCAPE=HTML>><TMPL_VAR NAME=title></a></td>
<td><a href=/cgi-bin/koha/search.pl?author=<TMPL_VAR NAME=authorhtmlescaped>&type=<TMPL_IF NAME=opac>opac<TMPL_ELSE>intra</TMPL_IF>><TMPL_VAR NAME=author></a></td>
<td align=center> <TMPL_VAR NAME=copyrightdate> </td>
<td align=center> <TMPL_VAR NAME=itemcount> </td>
<td> <TMPL_VAR NAME=location> </td>
<TMPL_IF NAME="opac">
<TMPL_ELSE>
<td> <a href=/cgi-bin/koha/request.pl?bib=<TMPL_VAR NAME="biblionumber">>Request</a></td>
</TMPL_IF>
</tr>
</TMPL_LOOP>
<tr <TMPL_IF NAME="opac">bgcolor=#99cccc background=/images/background-opac.gif<TMPL_ELSE>bgcolor=#ccccff background="/images/background-mem.gif"</TMPL_IF>><td colspan=6>
<table border=0 cellpadding=0 cellspacing=0 width=100%">
<tr <TMPL_IF NAME="opac">bgcolor=#99cccc background=/images/background-opac.gif<TMPL_ELSE>bgcolor=#ccccff background="/images/background-mem.gif"</TMPL_IF>><td align=left>
<TMPL_IF NAME=displayprev>
<a href=search.pl?startfrom=<TMPL_VAR NAME="prevstartfrom">&<TMPL_LOOP NAME=FORMINPUTS><TMPL_VAR NAME=line>&</TMPL_LOOP>type=<TMPL_IF NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>>Previous Records</a>
<TMPL_ELSE>
&nbsp;
</TMPL_IF>
</td><td align=right>
<TMPL_IF NAME=displaynext>
<a href=search.pl?startfrom=<TMPL_VAR NAME="nextstartfrom">&<TMPL_LOOP NAME=FORMINPUTS><TMPL_VAR NAME=line>&</TMPL_LOOP>type=<TMPL_IF NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>>Next Records</a>
<TMPL_ELSE>
&nbsp;
</TMPL_IF>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
<br>
Results <TMPL_VAR NAME="startfrom"> through <TMPL_VAR NAME="endat"> of <TMPL_VAR NAME="numrecords"> records.
<hr>
</body>
</html>
<br>
Results <TMPL_VAR NAME="startfrom"> through <TMPL_VAR NAME="endat"> of <TMPL_VAR NAME="numrecords"> records.
<hr>
Try another <a href=/cgi-bin/koha/catalogue-home.pl>search</a>
<TMPL_ELSE>
Try another <a href=/cgi-bin/koha/catalogue-home.pl>search</a>
</TMPL_IF>
<TMPL_IF NAME="opac">
<TMPL_INCLUDE NAME="opac-bottom.inc">
<TMPL_ELSE>
<TMPL_INCLUDE NAME="cat-bottom.inc">
</TMPL_IF>

View file

@ -0,0 +1,41 @@
<TMPL_IF NAME="opac">
<TMPL_INCLUDE NAME="opac-top.inc">
<TMPL_ELSE>
<TMPL_INCLUDE NAME="cat-top.inc">
</TMPL_IF>
<TMPL_IF NAME="loggedinuser">
<p align=left>Logged in as: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/logout.pl>Log Out</a>]</p>
<TMPL_ELSE>
<p align=left><a href=/cgi-bin/koha/userpage.pl>Log In</a> to Koha</p>
</TMPL_IF>
<center>
<table border=0 cellspacing=0 cellpadding=2>
<tr <TMPL_IF NAME="opac">bgcolor=#99cccc background=/images/background-opac.gif<TMPL_ELSE> background="/images/background-mem.gif"</TMPL_IF>>
<th>Subject</th></tr>
<TMPL_LOOP NAME=SEARCH_RESULTS>
<tr>
<td><a href=/cgi-bin/koha/search.pl?type=<TMPL_IF NAME=opac>opac<TMPL_ELSE>intra</TMPL_IF>&subjectitems=<TMPL_VAR NAME=subject2 ESCAPE=HTML>><TMPL_VAR NAME=subject></a></td>
</tr>
</TMPL_LOOP>
<tr <TMPL_IF NAME="opac">bgcolor=#99cccc background=/images/background-opac.gif<TMPL_ELSE> background="/images/background-mem.gif"</TMPL_IF>><td colspan=4>
<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr><td align=left>
<a href=search.pl?template=<TMPL_VAR NAME="template">&startfrom=<TMPL_VAR NAME="prevstartfrom">>Previous Records</a>
</td><td align=right>
<a href=search.pl?template=<TMPL_VAR NAME="template">&startfrom=<TMPL_VAR NAME="nextstartfrom">>Next Records</a>
</td></tr>
</table>
</td></tr>
</table>
<br>
Results <TMPL_VAR NAME="startfrom"> through <TMPL_VAR NAME="endat"> of <TMPL_VAR NAME="numrecords"> records.
<hr>
<TMPL_IF NAME="opac">
<TMPL_INCLUDE NAME="opac-bottom.inc">
<TMPL_ELSE>
<TMPL_INCLUDE NAME="cat-bottom.inc">
</TMPL_IF>