[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/catalogue detail.tmpl,1.3,1.4 MARCdetail.tmpl,1.6,1.7

Paul POULAIN tipaul at users.sourceforge.net
Fri Mar 7 17:37:48 CET 2003


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/catalogue
In directory sc8-pr-cvs1:/tmp/cvs-serv14603/koha-tmpl/intranet-tmpl/default/en/catalogue

Modified Files:
	detail.tmpl MARCdetail.tmpl 
Log Message:
* bugfixes 
* adding buttons to switch between normal and MARC view of a record
* adding graphic buttons in templates

Index: detail.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** detail.tmpl	28 Oct 2002 22:29:09 -0000	1.3
--- detail.tmpl	7 Mar 2003 16:37:40 -0000	1.4
***************
*** 1,5 ****
  <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>
--- 1,4 ----
***************
*** 7,64 ****
      <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>
! <!-- FIXME - "callpadding" should be "cellpadding", right? -->
! <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="seriestitle"><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>
  <!-- FIXME - The help box overflows on the right. I think this is
--- 6,58 ----
      <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="<TMPL_VAR name="themelang">/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" cellpadding="5" border="1" align="left" width="220">
! 	<!-----------------BIBLIO RECORD TABLE--------->
! 	<tr valign="top">
! 		<td bgcolor="#cccc99" background="/images/background-mem.gif">
! 			<b>BIBLIO RECORD <TMPL_VAR NAME="biblionumber"></b>
! 		</td>
! 	</tr>
! 	<tr valign="top">
! 		<td>
! 			<form action="/cgi-bin/koha/modbib.pl" method="post">
! 			<table width="100%" border=0 cellspacing=0 cellpadding=0>
! 				<tr>
! 					<td width="33%">
! 						<input type="hidden" name="bibnum" value="<TMPL_VAR NAME="biblionumber">">
! 						<input type="image" name="submit" value="modify" border="0" src="<TMPL_VAR NAME='interface'>/<TMPL_VAR name="theme">/images/fileopen.png"  width=32 hspace=0 vspace=0 border=0>
! 					</td>
! 					<td width="33%"><input type="image" name="delete" value="delete" border="0" src="<TMPL_VAR NAME='interface'>/<TMPL_VAR name="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0"></td>
! 					<td width="33%"><a href="MARCdetail.pl?bib=<TMPL_VAR name="biblionumber">">MARC</a></td>
! 				</tr>
! 			</table>
! 			</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="seriestitle"><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>
  <!-- FIXME - The help box overflows on the right. I think this is
***************
*** 72,128 ****
  <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>
--- 66,123 ----
  <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 />
! 		</td>
! 	</tr>
  </table>
  </center>

Index: MARCdetail.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MARCdetail.tmpl	27 Feb 2003 16:56:12 -0000	1.6
--- MARCdetail.tmpl	7 Mar 2003 16:37:40 -0000	1.7
***************
*** 1,3 ****
--- 1,4 ----
  <TMPL_INCLUDE NAME="cat-top.inc">
+ 
  <STYLE TYPE="text/css" MEDIA=screen>
  	table {	font-family:Arial;
***************
*** 7,31 ****
  </STYLE>
  
! <table width=100% cellspacing=0 cellpadding=5 border=1>
! <tr background="/images/background-mem.gif">
! 	<th>MARC biblio : <TMPL_VAR name="bibid"></th>
! </tr>
  <tr>
  	<td>
! 	<table width=100% border=0 colspacing=0 cellpadding=0>
! 	<tr>
! 		<td width=9% align="center"><a href="javascript:active(0)"><div id="link0">0</div></a></td>
! 		<td width=9% align="center"><a href="javascript:active(1)" ><div id="link1">1</div></a></td>
! 		<td width=9% align="center"><a href="javascript:active(2)"><div  id="link2">2</div></a></td>
! 		<td width=9% align="center"><a href="javascript:active(3)"><div  id="link3">3</div></a></td>
! 		<td width=9% align="center"><a href="javascript:active(4)"><div  id="link4">4</div></a></td>
! 		<td width=9% align="center"><a href="javascript:active(5)"><div  id="link5">5</div></a></td>
! 		<td width=9% align="center"><a href="javascript:active(6)"><div  id="link6">6</div></a></td>
! 		<td width=9% align="center"><a href="javascript:active(7)"><div  id="link7">7</div></a></td>
! 		<td width=9% align="center"><a href="javascript:active(8)"><div  id="link8">8</div></a></td>
! 		<td width=9% align="center"><a href="javascript:active(9)"><div  id="link9">9</div></a></td>
! 		<td width=10% align="center"><a href="javascript:active(10)"><div  id="link10">Item</div></a></td>
! 	</tr>
! 	</table>
  	</td>
  </tr>
--- 8,53 ----
  </STYLE>
  
! <table width="100%" cellspacing=0 cellpadding=5>
  <tr>
+ 	<td width="80%">
+ 		<table width=100% cellspacing=0 cellpadding=5 border=1>
+ 		<tr background="/images/background-mem.gif">
+ 			<td>
+ 			<table width="100%" border=0 cellpadding=0 cellspacing=0>
+ 				<tr>
+ 					<td width=8%><a href="acqui.simple/addbiblio.pl?oldbiblionumber=<TMPL_VAR name="biblionumber">"><img border="0" src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/fileopen.png"></td>
+ 					<td width=8%><a href="detail.pl?bib=<TMPL_VAR name="biblionumber">">Normal</a></td>
+ 					<td align="center"><b>MARC biblio : <TMPL_VAR name="bibid"></b></td>
+ 				</tr>
+ 			</table>
+ 			</td>
+ 		</tr>
+ 		<tr>
+ 			<td colspan=3>
+ 			<table width=100% border=0 colspacing=0 cellpadding=0>
+ 			<tr>
+ 				<td width=9% align="center"><a href="javascript:active(0)"><div id="link0">0</div></a></td>
+ 				<td width=9% align="center"><a href="javascript:active(1)" ><div id="link1">1</div></a></td>
+ 				<td width=9% align="center"><a href="javascript:active(2)"><div  id="link2">2</div></a></td>
+ 				<td width=9% align="center"><a href="javascript:active(3)"><div  id="link3">3</div></a></td>
+ 				<td width=9% align="center"><a href="javascript:active(4)"><div  id="link4">4</div></a></td>
+ 				<td width=9% align="center"><a href="javascript:active(5)"><div  id="link5">5</div></a></td>
+ 				<td width=9% align="center"><a href="javascript:active(6)"><div  id="link6">6</div></a></td>
+ 				<td width=9% align="center"><a href="javascript:active(7)"><div  id="link7">7</div></a></td>
+ 				<td width=9% align="center"><a href="javascript:active(8)"><div  id="link8">8</div></a></td>
+ 				<td width=9% align="center"><a href="javascript:active(9)"><div  id="link9">9</div></a></td>
+ 				<td width=10% align="center"><a href="javascript:active(10)"><div  id="link10">Item</div></a></td>
+ 			</tr>
+ 			</table>
+ 			</td>
+ 		</tr>
+ 		</table>
+ 	</td>
  	<td>
! 		<TMPL_IF NAME="norequests">
! 		<TMPL_ELSE>
! 			<a href=request.pl?bib=<TMPL_VAR NAME="biblionumber">><img height=42  WIDTH=120 BORDER="0"
! 			src="<TMPL_VAR name="themelang">/images/requests.gif" align="right" border="0"></a>
! 		</TMPL_IF>
  	</td>
  </tr>





More information about the Koha-cvs mailing list