[Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en acqui.s...

Tumer Garip tgarip at neu.edu.tr
Thu Sep 7 03:11:10 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Changes by:	Tumer Garip <tgarip1957>	06/09/07 01:11:09

Removed files:
	koha-tmpl/intranet-tmpl/default/en/acqui.simple: 
	                                                 addbiblio-nomarc.tmpl 
	                                                 addbiblio.tmpl 
	                                                 addbooks.tmpl 
	                                                 additem-nomarc.tmpl 
	                                                 additem.tmpl 
	                                                 isbnsearch.tmpl 
	                                                 marcimport.tmpl 
	koha-tmpl/intranet-tmpl/default/en/authorities: auth_finder.tmpl 
	                                                authorities-home.tmpl 
	                                                authorities.tmpl 
	                                                blinddetail-biblio-search.tmpl 
	                                                detail-biblio-search.tmpl 
	                                                detail.tmpl 
	                                                searchresultlist-auth.tmpl 
	                                                searchresultlist.tmpl 
	koha-tmpl/intranet-tmpl/default/en/barcodes: barcodes-bottom.inc 
	                                             barcodes-top.inc 
	                                             barcodes.tmpl 
	                                             printerConfig.tmpl 
	koha-tmpl/intranet-tmpl/default/en/bookshelves: 
	                                                addbookbybiblionumber.tmpl 
	                                                shelves.tmpl 
	koha-tmpl/intranet-tmpl/default/en/bull: bull-home.tmpl 
	                                         distributedto.tmpl 
	                                         full-serial-issues.tmpl 
	                                         lateissues.tmpl 
	                                         order.tmpl 
	                                         printlist.tmpl 
	                                         receipt-search-result.tmpl 
	                                         result.tmpl 
	                                         search-supply.tmpl 
	                                         search.tmpl 
	                                         searchresultlist.tmpl 
	                                         serial-issues.tmpl 
	                                         statecollection.tmpl 
	                                         subscription-add.tmpl 
	                                         subscription-bib-search.tmpl 
	                                         subscription-detail.tmpl 
	                                         subscription-renew.tmpl 
	                                         viewalerts.tmpl 
	koha-tmpl/intranet-tmpl/default/en/catalogue: ISBDdetail.tmpl 
	                                              MARCdetail.tmpl 
	                                              catalogue-home.tmpl 
	                                              cmsdsearchresults.tmpl 
	                                              detail-opac.tmpl 
	                                              detail.tmpl 
	                                              detailprint.tmpl 
	                                              moredetail.tmpl 
	                                              searchresults.tmpl 
	                                              subject.tmpl 
	koha-tmpl/intranet-tmpl/default/en/circ: branchtransfers.tmpl 

Log message:
	cleaning

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio-nomarc.tmpl?cvsroot=koha&r1=1.7&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl?cvsroot=koha&r1=1.42&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbooks.tmpl?cvsroot=koha&r1=1.22&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem-nomarc.tmpl?cvsroot=koha&r1=1.11&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl?cvsroot=koha&r1=1.28&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/isbnsearch.tmpl?cvsroot=koha&r1=1.21&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/marcimport.tmpl?cvsroot=koha&r1=1.9&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl?cvsroot=koha&r1=1.9&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/authorities/authorities-home.tmpl?cvsroot=koha&r1=1.6&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl?cvsroot=koha&r1=1.11&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl?cvsroot=koha&r1=1.7&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/authorities/detail-biblio-search.tmpl?cvsroot=koha&r1=1.4&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/authorities/detail.tmpl?cvsroot=koha&r1=1.6&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl?cvsroot=koha&r1=1.9&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl?cvsroot=koha&r1=1.10&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/barcodes/barcodes-bottom.inc?cvsroot=koha&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/barcodes/barcodes-top.inc?cvsroot=koha&r1=1.3&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/barcodes/barcodes.tmpl?cvsroot=koha&r1=1.4&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/barcodes/printerConfig.tmpl?cvsroot=koha&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bookshelves/addbookbybiblionumber.tmpl?cvsroot=koha&r1=1.5&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bookshelves/shelves.tmpl?cvsroot=koha&r1=1.8&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/bull-home.tmpl?cvsroot=koha&r1=1.5&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/distributedto.tmpl?cvsroot=koha&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/full-serial-issues.tmpl?cvsroot=koha&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/lateissues.tmpl?cvsroot=koha&r1=1.3&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/order.tmpl?cvsroot=koha&r1=1.5&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/printlist.tmpl?cvsroot=koha&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/receipt-search-result.tmpl?cvsroot=koha&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/result.tmpl?cvsroot=koha&r1=1.5&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/search-supply.tmpl?cvsroot=koha&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/search.tmpl?cvsroot=koha&r1=1.4&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/searchresultlist.tmpl?cvsroot=koha&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/serial-issues.tmpl?cvsroot=koha&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/statecollection.tmpl?cvsroot=koha&r1=1.11&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/subscription-add.tmpl?cvsroot=koha&r1=1.12&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/subscription-bib-search.tmpl?cvsroot=koha&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/subscription-detail.tmpl?cvsroot=koha&r1=1.14&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/subscription-renew.tmpl?cvsroot=koha&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/viewalerts.tmpl?cvsroot=koha&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/ISBDdetail.tmpl?cvsroot=koha&r1=1.6&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl?cvsroot=koha&r1=1.37&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/catalogue-home.tmpl?cvsroot=koha&r1=1.13&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/cmsdsearchresults.tmpl?cvsroot=koha&r1=1.4&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/detail-opac.tmpl?cvsroot=koha&r1=1.8&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl?cvsroot=koha&r1=1.24&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/detailprint.tmpl?cvsroot=koha&r1=1.4&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/moredetail.tmpl?cvsroot=koha&r1=1.16&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/searchresults.tmpl?cvsroot=koha&r1=1.17&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/subject.tmpl?cvsroot=koha&r1=1.8&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/circ/branchtransfers.tmpl?cvsroot=koha&r1=1.15&r2=0

Patches:
Index: acqui.simple/addbiblio-nomarc.tmpl
===================================================================
RCS file: acqui.simple/addbiblio-nomarc.tmpl
diff -N acqui.simple/addbiblio-nomarc.tmpl
--- acqui.simple/addbiblio-nomarc.tmpl	22 Sep 2005 15:34:17 -0000	1.7
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,36 +0,0 @@
-<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-
-<div id="mainbloc">
-	<h1 class="catalogue">Adding a new Biblio</h1>
-	
-	<div class="bloc25">
-		<h2 class="catalogue">Section One: Copyright Information </h2>
-	
-		<!-- TMPL_IF NAME="ERROR" -->
-			<p class="problem">Please Specify a Title</p>
-		<!-- /TMPL_IF -->
-		
-		<form action="savebiblio.pl" method="post">
-		<p><label class="label100">Title: *</label><input name="title" size="40" /></p>
-		<p><label class="label100">Subtitle:</label><input name="subtitle" size="40" /></p>
-		<p><label class="label100">Author:</label><input name="author" size="40" /></p>
-		<p>Additional Authors: <i>One Author per line</i></p>
-		<p><label class="label100">&nbsp;</label>
-			<textarea class="form-box-textarea2" name="additionalauthors" cols="30" rows="6"></textarea>
-		</p>
-		</p>
-		<p>Series Title: <i>(if applicable)</i></p>
-		<p><label class="label100">&nbsp;</label><input name="seriestitle" size="40" /></p>
-		<p>Subject Headings: <i>One Subject per line</i></p>
-		<p><label class="label100">&nbsp;</label>
-			<textarea class="form-box-textarea2" name="subjectheadings" cols="40" rows="6"></textarea>
-		</p>
-		<p><label class="label100">Copyright Date:</label><input name="copyrightdate" size="40" /></p>
-		<p><label class="label100">Abstract:</label><textarea cols="40" rows="6" name="abstract"></textarea></p>
-		<p><label class="label100">Notes:</label><textarea cols="40" rows="6" name="notes"></textarea></p>
-		<p><input type="submit" value="Submit" class="button catalogue"></p>
-		</form>
-		* Required
-	</div>
-</div>
-<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->

Index: acqui.simple/addbiblio.tmpl
===================================================================
RCS file: acqui.simple/addbiblio.tmpl
diff -N acqui.simple/addbiblio.tmpl
--- acqui.simple/addbiblio.tmpl	6 Jan 2006 16:39:39 -0000	1.42
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,651 +0,0 @@
-<!-- TMPL_INCLUDE NAME="marc-top.inc" -->
-<div class="tabbed">
-	<form method="post" name="f">
-	<h1 class="catalogue">Biblionumber : <!-- TMPL_VAR NAME="biblionumber" -->     With Framework :<!--TMPL_VAR Name="framework" --></b></h1>
-	<p>
-		<input type="hidden" name="op" value="addbiblio">
-		<input type="hidden" name="addfield_field">
-		<input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->">
-		<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
-		<!-- TMPL_IF name="biblionumber" -->
-			<input type="button" value="Save" onclick="Check(this.form)" accesskey="w" class="button catalogue">
-		<!-- TMPL_ELSE -->
-			<input type="button" value="Add biblio" onclick="Check(this.form)" accesskey="w" class="button catalogue">
-		<!-- /TMPL_IF -->
-		<a href="javascript:PopupZ3950()" class="button catalogue">z3950 search</a>
-	</p>
-</div>
-
-	<div class="tabs">
-		<!-- TMPL_IF name="0XX" -->
-		<a href="javascript:active(0)" id="link0">0</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="1XX" -->
-		<a href="javascript:active(1)" id="link1">1</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="2XX" -->
-		<a href="javascript:active(2)" id="link2">2</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="3XX" -->
-		<a href="javascript:active(3)" id="link3">3</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="4XX" -->
-		<a href="javascript:active(4)" id="link4">4</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="5XX" -->
-		<a href="javascript:active(5)" id="link5">5</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="6XX" -->
-		<a href="javascript:active(6)" id="link6">6</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="7XX" -->
-		<a href="javascript:active(7)" id="link7">7</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="8XX" -->
-		<a href="javascript:active(8)" id="link8">8</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="9XX" -->
-			<a href="javascript:active(9)" id="link9">9</a>
-		<!-- /TMPL_IF -->
-	</div>
-	
-	<div name="0XX" id="0XX" class="tab" style="visibility:visible">
-		<!-- TMPL_IF name="duplicatebiblionumber" -->
-			<div class="problem">
-				<p>Duplicate suspected with <a href='javascript:openWindow("../MARCdetail.pl?bib=<!-- TMPL_VAR name="duplicatebiblionumber" -->&popup=1", "Duplicate biblio")' class="button catalogue"><!-- TMPL_VAR name="duplicatetitle" --></a></p>
-				<p>You must either :</p>
-				<ul>
-					<p><input type="checkbox" value=1 name="confirm_not_duplicate">confirm it's not a duplicate (and click on Add biblio again)</p>
-					<p>Go to <a href="additem.pl?biblionumber=<!-- TMPL_VAR name="duplicatebiblionumber" -->" class="button catalogue">edit items</a> from this duplicate biblio</p>
-				</ul>
-			</div>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_LOOP NAME="0XX" -->
-			<!-- TMPL_IF name="tag" -->
-				<p class="MARCtag">
-				<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<!-- TMPL_VAR NAME="tag" -->
-					<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> - 
-				<!-- TMPL_ELSE -->
-					<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_VAR NAME="tag_lib" -->
-				<!-- TMPL_IF name="repeatable" -->
-					<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
-				<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield_loop" -->
-				<p class="MARCsubfield">
-					<label class="labelsubfield">
-					<!-- TMPL_UNLESS name="hide_marc" -->
-						<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-							<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
-					<!-- TMPL_ELSE -->
-							<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<!-- /TMPL_UNLESS -->
-					<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-					<!-- TMPL_VAR NAME="marc_lib" -->
-					<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-					</label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-					<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-					<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-				</p>
-			<!-- /tmpl_loop -->
-		<!-- /tmpl_loop -->
-	</div>
-	
-	<div name="1XX" id="1XX" class="tab">
-		<!-- TMPL_LOOP NAME="1XX" -->
-			<!-- TMPL_IF name="tag" -->
-				<p class="MARCtag">
-				<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<!-- TMPL_VAR NAME="tag" -->
-					<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> - 
-				<!-- TMPL_ELSE -->
-					<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_VAR NAME="tag_lib" -->
-				<!-- TMPL_IF name="repeatable" -->
-					<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
-				<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield_loop" -->
-				<p>
-					<label class="labelsubfield">
-					<!-- TMPL_UNLESS name="hide_marc" -->
-						<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-							<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
-					<!-- TMPL_ELSE -->
-							<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<!-- /TMPL_UNLESS -->
-					<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-					<!-- TMPL_VAR NAME="marc_lib" -->
-					<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-					</label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-					<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-					<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-				</p>
-			<!-- /tmpl_loop -->
-		<!-- /tmpl_loop -->
-	</div>
-	
-	<div name="2XX" id="2XX" class="tab">
-		<!-- TMPL_LOOP NAME="2XX" -->
-			<!-- TMPL_IF name="tag" -->
-				<p class="MARCtag">
-				<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<!-- TMPL_VAR NAME="tag" -->
-					<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> - 
-				<!-- TMPL_ELSE -->
-					<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_VAR NAME="tag_lib" -->
-				<!-- TMPL_IF name="repeatable" -->
-					<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
-				<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield_loop" -->
-				<p>
-					<label class="labelsubfield">
-					<!-- TMPL_UNLESS name="hide_marc" -->
-						<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-							<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
-					<!-- TMPL_ELSE -->
-							<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<!-- /TMPL_UNLESS -->
-					<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-					<!-- TMPL_VAR NAME="marc_lib" -->
-					<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-					</label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-					<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-					<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-				</p>
-			<!-- /tmpl_loop -->
-		<!-- /tmpl_loop -->
-	</div>
-	
-	<div name="3XX" id="3XX" class="tab">
-		<!-- TMPL_LOOP NAME="3XX" -->
-			<!-- TMPL_IF name="tag" -->
-				<p class="MARCtag">
-				<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<!-- TMPL_VAR NAME="tag" -->
-					<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> - 
-				<!-- TMPL_ELSE -->
-					<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_VAR NAME="tag_lib" -->
-				<!-- TMPL_IF name="repeatable" -->
-					<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
-				<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield_loop" -->
-				<p>
-					<label class="labelsubfield">
-					<!-- TMPL_UNLESS name="hide_marc" -->
-						<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-							<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
-					<!-- TMPL_ELSE -->
-							<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<!-- /TMPL_UNLESS -->
-					<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-					<!-- TMPL_VAR NAME="marc_lib" -->
-					<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-					</label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-					<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-					<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-				</p>
-			<!-- /tmpl_loop -->
-		<!-- /tmpl_loop -->
-	</div>
-	
-	<div name="4XX" id="4XX" class="tab">
-		<!-- TMPL_LOOP NAME="4XX" -->
-			<!-- TMPL_IF name="tag" -->
-				<p class="MARCtag">
-				<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<!-- TMPL_VAR NAME="tag" -->
-					<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> - 
-				<!-- TMPL_ELSE -->
-					<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_VAR NAME="tag_lib" -->
-				<!-- TMPL_IF name="repeatable" -->
-					<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
-				<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield_loop" -->
-				<p>
-					<label class="labelsubfield">
-					<!-- TMPL_UNLESS name="hide_marc" -->
-						<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-							<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
-					<!-- TMPL_ELSE -->
-							<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<!-- /TMPL_UNLESS -->
-					<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-					<!-- TMPL_VAR NAME="marc_lib" -->
-					<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-					</label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-					<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-					<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-				</p>
-			<!-- /tmpl_loop -->
-		<!-- /tmpl_loop -->
-	</div>
-	
-	<div name="5XX" id="5XX" class="tab">
-		<!-- TMPL_LOOP NAME="5XX" -->
-			<!-- TMPL_IF name="tag" -->
-				<p class="MARCtag">
-				<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<!-- TMPL_VAR NAME="tag" -->
-					<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> - 
-				<!-- TMPL_ELSE -->
-					<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_VAR NAME="tag_lib" -->
-				<!-- TMPL_IF name="repeatable" -->
-					<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
-				<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield_loop" -->
-				<p>
-					<label class="labelsubfield">
-					<!-- TMPL_UNLESS name="hide_marc" -->
-						<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-							<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
-					<!-- TMPL_ELSE -->
-							<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<!-- /TMPL_UNLESS -->
-					<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-					<!-- TMPL_VAR NAME="marc_lib" -->
-					<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-					</label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-					<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-					<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-				</p>
-			<!-- /tmpl_loop -->
-		<!-- /tmpl_loop -->
-	</div>
-	
-	<div name="6XX" id="6XX" class="tab">
-		<!-- TMPL_LOOP NAME="6XX" -->
-			<!-- TMPL_IF name="tag" -->
-				<p class="MARCtag">
-				<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<!-- TMPL_VAR NAME="tag" -->
-					<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> - 
-				<!-- TMPL_ELSE -->
-					<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_VAR NAME="tag_lib" -->
-				<!-- TMPL_IF name="repeatable" -->
-					<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
-				<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield_loop" -->
-				<p>
-					<label class="labelsubfield">
-					<!-- TMPL_UNLESS name="hide_marc" -->
-						<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-							<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
-					<!-- TMPL_ELSE -->
-							<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<!-- /TMPL_UNLESS -->
-					<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-					<!-- TMPL_VAR NAME="marc_lib" -->
-					<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-					</label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-					<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-					<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-				</p>
-			<!-- /tmpl_loop -->
-		<!-- /tmpl_loop -->
-	</div>
-	
-	<div name="7XX" id="7XX" class="tab">
-		<!-- TMPL_LOOP NAME="7XX" -->
-			<!-- TMPL_IF name="tag" -->
-				<p class="MARCtag">
-				<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<!-- TMPL_VAR NAME="tag" -->
-					<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> - 
-				<!-- TMPL_ELSE -->
-					<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_VAR NAME="tag_lib" -->
-				<!-- TMPL_IF name="repeatable" -->
-					<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
-				<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield_loop" -->
-				<p>
-					<label class="labelsubfield">
-					<!-- TMPL_UNLESS name="hide_marc" -->
-						<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-							<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
-					<!-- TMPL_ELSE -->
-							<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<!-- /TMPL_UNLESS -->
-					<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-					<!-- TMPL_VAR NAME="marc_lib" -->
-					<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-					</label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-					<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-					<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-				</p>
-			<!-- /tmpl_loop -->
-		<!-- /tmpl_loop -->
-	</div>
-	
-	<div name="8XX" id="8XX" class="tab">
-		<!-- TMPL_LOOP NAME="8XX" -->
-			<!-- TMPL_IF name="tag" -->
-				<p class="MARCtag">
-				<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<!-- TMPL_VAR NAME="tag" -->
-					<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> - 
-				<!-- TMPL_ELSE -->
-					<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_VAR NAME="tag_lib" -->
-				<!-- TMPL_IF name="repeatable" -->
-					<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
-				<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield_loop" -->
-				<p>
-					<label class="labelsubfield">
-					<!-- TMPL_UNLESS name="hide_marc" -->
-						<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-							<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
-					<!-- TMPL_ELSE -->
-							<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<!-- /TMPL_UNLESS -->
-					<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-					<!-- TMPL_VAR NAME="marc_lib" -->
-					<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-					</label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-					<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-					<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-				</p>
-			<!-- /tmpl_loop -->
-		<!-- /tmpl_loop -->
-	</div>
-	
-	<div name="9XX" id="9XX" class="tab">
-		<!-- TMPL_LOOP NAME="9XX" -->
-			<!-- TMPL_IF name="tag" -->
-				<p class="MARCtag">
-				<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<!-- TMPL_VAR NAME="tag" -->
-					<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> - 
-				<!-- TMPL_ELSE -->
-					<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_VAR NAME="tag_lib" -->
-				<!-- TMPL_IF name="repeatable" -->
-					<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
-				<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield_loop" -->
-				<p>
-					<label class="labelsubfield">
-					<!-- TMPL_UNLESS name="hide_marc" -->
-						<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-							<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
-					<!-- TMPL_ELSE -->
-							<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<!-- /TMPL_UNLESS -->
-					<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-					<!-- TMPL_VAR NAME="marc_lib" -->
-					<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-					</label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-					<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-					<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-				</p>
-			<!-- /tmpl_loop -->
-		<!-- /tmpl_loop -->
-	</div>
-	
-		<div name="hidden" id="hidden" class="tab">
-		<!-- TMPL_LOOP NAME="hidden_loop" -->
-				<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-				<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-				<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-				<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-		<!-- /TMPL_LOOP -->
-		</div>
-		<!-- TMPL_IF name="biblionumtagfield" -->
-			<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="biblionumtagfield" -->">
-			<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="biblionumtagsubfield" -->">
-			<input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="biblionumber" -->">
-			<input type="hidden" name="mandatory" value="0">
-			<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-			<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="biblioitemnumtagfield" -->">
-			<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="biblioitemnumtagsubfield" -->">
-			<input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->">
-			<input type="hidden" name="mandatory" value="0">
-			<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-			<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-		<!-- /TMPL_IF -->
-	</form>
-<script language="JavaScript" type="text/javascript">
-function _(s) { return s } // dummy function for gettext
-function active(numlayer)
-{
-	for (i=0; i < 10 ; i++ ) {
-		ong = i+"XX";
-		link = "link"+i;
-		if (numlayer==i) {
-			document.getElementById(ong).style.visibility="visible";
-			document.getElementById(link).style.color="#FFFFFF";
-		} else {
-			document.getElementById(ong).style.visibility="hidden";
-			if (document.getElementById(link))
-				{
-					document.getElementById(link).style.color="#000000";
-				}
-		}
-	}
-}
-active(0);
-function Check(f) {
-	// Scan for nonempty fields
-	var field_is_nonempty_p = new Array();
-	for (i=0 ; i<f.field_value.length ; i++) {
-	    field_is_nonempty_p[f.tag[i].value] = 0;
-	}
-	for (i=0 ; i<f.field_value.length ; i++) {
-	    if (f.field_value[i].value.length != 0) {
-		field_is_nonempty_p[f.tag[i].value] += 1;
-	    }
-	}
-
-	// Scan for missing mandatory subfields
-	var total_missing_mandatory_subfields = 0;
-	var missing_mandatory_subfields = new Array();
-	for (i=0 ; i<f.field_value.length-2 ; i++) {
-		if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
-		    // We should not flag an error unless the tag is also
-		    // mandatory, or if something else in the tag is entered
-
-		    if (f.tag_mandatory[i].value == 1 || field_is_nonempty_p[f.tag[i].value]) {
-			document.getElementById("error"+i).style.backgroundColor="#FF0000";
-			total_missing_mandatory_subfields++;
-			if (document.getElementById("error"+i).parentNode.tagName == "B")
-			{
-				missing_mandatory_subfields.push(document.getElementById("error"+i).innerHTML + " (tab " +  document.getElementById("error"+i).parentNode.parentNode.parentNode.parentNode.id.substr(0,1) + ")");
-			}
-			else
-			{
-				missing_mandatory_subfields.push(document.getElementById("error"+i).innerHTML + " (tab " +  document.getElementById("error"+i).parentNode.parentNode.parentNode.id.substr(0,1) + ")");
-			}
-
-			}
-		} else {
-// 			alert("I = "+i);
-			document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
-		}
-	}
-
-	// Scan for missing mandatory tags
-	var total_missing_mandatory_tags = 0;
-	var seen_mandatory_tag_p = new Array();
-	var missing_mandatory_tags = new Array();
-	for (i=0 ; i<f.field_value.length ; i++) {
-	    var j = f.tag[i].value;
-	    if (!field_is_nonempty_p[j] && f.tag_mandatory[i].value == 1) {
-		if (seen_mandatory_tag_p[j] != 1) {
-		    seen_mandatory_tag_p[j] = 1;
-		    total_missing_mandatory_tags++;
- 		    if (document.getElementById("error"+i).parentNode.tagName == "B")
-		    {
-				missing_mandatory_tags.push(document.getElementById("error"+i).innerHTML + " (tab " +  document.getElementById("error"+i).parentNode.parentNode.parentNode.parentNode.id.substr(0,1) + ")");
-		    }
-		    else
-		    {
-				missing_mandatory_tags.push(document.getElementById("error"+i).innerHTML + " (tab " +  document.getElementById("error"+i).parentNode.parentNode.parentNode.id.substr(0,1) + ")");
-			}
-		}
-		document.getElementById("error"+i).style.backgroundColor="#ffff00";
-	    }
-	}
-
-	var total_errors = total_missing_mandatory_tags + total_missing_mandatory_subfields;
-	var alertString2;
-	if (total_errors!=0) {
-		alertString2  = _("Form not submitted because of the following problem(s)");
-		alertString2 += "\n------------------------------------------------------------------------------------\n";
-		alertString2 += "\n- "+ total_missing_mandatory_tags +_(" mandatory tags empty");
-		for (i=0; i<missing_mandatory_tags.length; i++)
-		{
-			alertString2 += "\n--->"+ missing_mandatory_tags[i];
-		}
-  		alertString2 += "\n- "+ total_missing_mandatory_subfields +_(" mandatory fields empty (see bold subfields)");
-		for (i=0; i<missing_mandatory_subfields.length; i++)
-		{
-			alertString2 += "\n--->"+ missing_mandatory_subfields[i];
-		}
-		alert(alertString2);
-	} else {
-		document.forms['f'].submit();
-	}
-}
-function Dopop(link,i) {
-	defaultvalue=document.forms['f'].field_value[i].value;
-	newin=window.open(link+"&result="+defaultvalue,"value builder",'width=550,height=550,toolbar=false,scrollbars=yes');
-}
-
-function PopupZ3950() {
-    var strQuery="";
-	for (i=0 ; i<document.forms['f'].field_value.length ; i++) {
-		if (document.forms['f'].kohafield[i].value == "biblioitems.isbn" && document.forms['f'].field_value[i].value.length>0) {
-		    strQuery += "&isbn="+document.forms['f'].field_value[i].value;
-		}
-		if (document.forms['f'].kohafield[i].value == "biblio.title" && document.forms['f'].field_value[i].value.length>0) {
-		    strQuery += "&title="+document.forms['f'].field_value[i].value;
-		}
-		if (document.forms['f'].kohafield[i].value == "biblio.author" &&document.forms['f'].field_value[i].value.length>0) {
-		    strQuery += "&author="+document.forms['f'].field_value[i].value;
-		}
-		if (document.forms['f'].kohafield[i].value == "biblioitems.issn" && document.forms['f'].field_value[i].value.length>0) {
-		    strQuery += "&issn="+document.forms['f'].field_value[i].value;
-		}
-	}
-	newin=window.open("../z3950/search.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"+strQuery,"z3950search",'width=800,height=400,toolbar=false,scrollbars=yes');
-}
-function Changefwk(FwkList) {
-  var fwk = FwkList.options[FwkList.selectedIndex].value;
-  window.location = "addbiblio.pl?oldbiblionumber=<!--TMPL_VAR Name="oldbiblionumber"-->&frameworkcode="+fwk;
-}
-
-function AddField(field) {
-	document.forms['f'].op.value = "addfield";
-	document.forms['f'].addfield_field.value=field;
-	document.f.submit();
-}
-
-function upSubfield(index) {
-// 	alert("UP "+index);
-	temp = document.forms['f'].field_value[index-1].value;
-	document.forms['f'].field_value[index-1].value=document.forms['f'].field_value[index].value;
-	document.forms['f'].field_value[index].value= temp;
-	temp = document.forms['f'].subfield[index-1].value;
-	document.forms['f'].subfield[index-1].value=document.forms['f'].subfield[index].value;
-	document.forms['f'].subfield[index].value = temp;
-	temp = document.forms['f'].mandatory[index-1].value;
-	document.forms['f'].mandatory[index-1].value=document.forms['f'].mandatory[index].value;
-	document.forms['f'].mandatory[index].value = temp;
-	temp = document.forms['f'].kohafield[index-1].value;
-	document.forms['f'].kohafield[index-1].value=document.forms['f'].kohafield[index].value;
-	document.forms['f'].kohafield[index].value = temp;
-// 	temp = document.getElementById('error'+index).value = "XXX";
-// 	document.forms['f'].kohafield[index-1].value=document.forms['f'].kohafield[index].value;
-// 	document.forms['f'].kohafield[index].value = temp;
-}
-</script>
-</body>
-</html>

Index: acqui.simple/addbooks.tmpl
===================================================================
RCS file: acqui.simple/addbooks.tmpl
diff -N acqui.simple/addbooks.tmpl
--- acqui.simple/addbooks.tmpl	4 May 2005 08:52:51 -0000	1.22
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,57 +0,0 @@
-<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-<div id="mainbloc">
-	<h1 class="catalogue">MARC biblio management</h1>
-	<!-- TMPL_IF name="noitemsfound" -->
-		<font color="red" size="4">No items found</font>
-	<!-- /TMPL_IF -->
-	<!-- TMPL_IF name="websiteadded" -->
-		<font color="red" size="4">Website Biblioitem Added</font>
-	<!-- /TMPL_IF -->
-	
-	<div id="bloc25">
-		<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.isbn">
-	
-				<input type="hidden" name="and_or" value="and">
-				<input type="hidden" name="excluding" value="">
-				<input type="hidden" name="operator" value="start">
-				<input type="text" name="value" id="title"size="35">
-			</p>
-			<p><input type="submit" value="Go" class="button catalogue" /></p>
-		</form>
-		<!-- TMPL_IF NAME="NOTMARC" -->
-			<p><a href="addbiblio-nomarc.pl" class="button catalogue">Create Empty biblio</a></p>
-		<!-- TMPL_ELSE -->
-			<p>
-				<form action="addbiblio.pl" method="post">
-					<select name="frameworkcode">
-						<option value="">Default</option>
-						<!-- TMPL_LOOP NAME="frameworkcodeloop" -->
-							<option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="frameworktext" --></option>
-						<!-- /TMPL_LOOP -->
-					</select>
-					<input type="submit" value="Create Empty biblio" class="button catalogue">
-				</form>
-			</p>
-		<!-- /TMPL_IF -->
-	</div>
-	<div id="bloc25">
-		<h2 class="catalogue">Hint</h2>
-		<p>If the ISBN or title is found in the biblio table, it will be retrieved and can be modified.<br/>
-				If the ISBN or title is found in the reservoir, it will be retrieved and a biblio will be added.<br/>
-				Otherwise, a biblio can be added from scratch.</p>
-	</div>
-</div>
-<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->

Index: acqui.simple/additem-nomarc.tmpl
===================================================================
RCS file: acqui.simple/additem-nomarc.tmpl
diff -N acqui.simple/additem-nomarc.tmpl
--- acqui.simple/additem-nomarc.tmpl	2 Sep 2005 14:46:52 -0000	1.11
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,100 +0,0 @@
-<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-<div id="mainbloc">
-		<h1 class="catalogue"><!-- TMPL_VAR NAME="TITLE" --></h1>
-	<div id="bloc25">
-		<p>
-		<!-- TMPL_IF NAME="NOBARCODE" -->
-			<p class="problem">You must give the item a barcode</p>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="NOBIBLIOITEM" -->
-			<p class="problem">You must create a new group for your item to be added to</p>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="BARCODEINUSE" -->
-			<p class="problem">Sorry, that barcode is already in use</p>
-		<!-- /TMPL_IF -->
-		<h2 class="catalogue">BIBLIO RECORD <!-- TMPL_VAR NAME="BIBNUM" --></h2>
-		<p><label class="label100">Author:</label> <!-- TMPL_VAR NAME="AUTHOR" --></p>
-		<p><label class="label100">Copyright:</label> <!-- TMPL_VAR NAME="COPYRIGHT" --></p>
-		<p><label class="label100">Series Title:</label> <!-- TMPL_VAR NAME="SERIES" --></p>
-		<p><label class="label100">Notes:</label> <!-- TMPL_VAR NAME="NOTES" --></p>
-		<!-- TMPL_LOOP NAME="BIBITEMS" -->
-			<!-- TMPL_IF NAME="WEB" -->
-				<h2 class="catalogue"><!-- TMPL_VAR NAME="biblioitemnumber" --> GROUP - <!-- TMPL_VAR NAME="itemtype" --></h2>
-				<p><label>URL:</label><!-- TMPL_VAR NAME="url" --></p>
-				<p><label>Date:</label> <!-- TMPL_VAR NAME="publicationyear" --></p>
-				<p><label>Notes:</label> <!-- TMPL_VAR NAME="notes" --></p>
-			<!-- TMPL_ELSE -->
-				<h2 class="catalogue"><!-- TMPL_VAR NAME="biblioitemnumber" --> GROUP - <!-- TMPL_VAR NAME="itemtype" --></h2>
-				<p><label>ISBN:</label> <!-- TMPL_VAR NAME="isbn" --></p>
-				<p><label>Dewey:</label> <!-- TMPL_VAR NAME="dewey" --></p>
-				<p><label>Publisher:</label> <!-- TMPL_VAR NAME="publishercode" --></p>
-				<p><label>Place:</label> <!-- TMPL_VAR NAME="place" --></p>
-				<p><label>Date:</label> <!-- TMPL_VAR NAME="publicationyear" --></p>
-				<!-- TMPL_LOOP NAME="ITEMS -->
-					<p><label class="label100">Item:</label> <!-- TMPL_VAR NAME="barcode" --></p>
-					<p><label class="label100">Home Branch:</label> <!-- TMPL_VAR NAME="homebranch" --></p>
-					<p><label class="label100">Notes:</label> <!-- TMPL_VAR NAME="itemnotes" --></p>
-				<!-- /TMPL_LOOP -->
-			<!-- /TMPL_IF -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	<div id="bloc25">
-		<form action="saveitem.pl" method="post">
-		<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="BIBNUM" -->">
-		<h2 class="catalogue">ADD NEW ITEM:</h2>
-		<p><i>For a website add the group only</i></p>
-		<p><label>Item Barcode:</label><input type="text" name="barcode" size="40"></p>
-		<p>
-			<label>Branch:</label>
-			<select name="homebranch">
-			<!-- TMPL_LOOP name="branchloop" -->
-				<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
-			<!-- /TMPL_LOOP -->
-			</select>
-		</p>
-		<p><label>Replacement Price:</label><input type="text" name="replacementprice" size="40"></p>
-		<p><label>Notes:</label><textarea name="itemnotes" cols="30" rows="6"></textarea></p>
-	</div>
-	<div id="bloc25">
-		<h3 class="catalogue">Add to existing group:</h2>
-		<p>
-			<label>Group:</label><select name="biblioitemnumber">
-			<!-- TMPL_LOOP NAME="BIBITEMS" -->
-				<!-- TMPL_IF NAME="WEB" -->
-				<!-- TMPL_ELSE -->
-					<option value="<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="itemtype" --></option>
-				<!-- /TMPL_IF -->
-			<!-- /TMPL_LOOP -->
-			</select>
-		</p>
-		<p><input type="submit" name="existinggroup" value="Add New Item to Existing Group" class="button catalogue"></p>
-		<h3 class="catalogue">OR Add to a new Group:</h2>
-		<p>
-			<label>Format:</label>
-			<select name="itemtype">
-			<!-- TMPL_LOOP name="itemtypeloop" -->
-				<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="description" --></option>
-			<!-- /TMPL_LOOP -->
-			</select>
-		</p>
-		<p><label>ISBN:</label><input name="isbn" size="40"></p>
-		<p><label>Publisher:</label><input name="publishercode" size="40"></p>
-		<p><label>Publication Year:</label><input name="publicationyear" size="40"></p>
-		<p><label>Place of Publication:</label><input name="place" size="40"></p>
-		<p><label>Illustrator:</label><input name="illus" size="40"></p>
-		<p><label>Website URL:</label><input name="url" size="40"></p>
-		<p><label>Dewey:</label><input name="dewey" size="40"></p>
-		<p><label>Dewey Subclass:</label><input name="subclass" size="40"></p>
-		<p><label>ISSN:</label><input name="issn" size="40"></p>
-		<p><label>LCCN:</label><input name="lccn" size="40"></p>
-		<p><label>Volume:</label><input name="volume" size="40"></p>
-		<p><label>Number:</label><input name="number" size="40"></p>
-		<p><label>Volume Description:</label><input name="volumeddesc" size="40"></p>
-		<p><label>Pages:</label><input name="pages" size="40"></p>
-		<p><label>Size:</label><input name="size" size="40"></p>
-		<p><label>Notes:</label><textarea name="notes" cols="30" rows="6"></textarea></p>
-		<p><input type="submit" name="newgroup" value="Add New Item to New Group" class="button catalogue"></p>
-		</form>
-	</div>
-</div>
-<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->

Index: acqui.simple/additem.tmpl
===================================================================
RCS file: acqui.simple/additem.tmpl
diff -N acqui.simple/additem.tmpl
--- acqui.simple/additem.tmpl	26 Oct 2005 09:15:56 -0000	1.28
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,133 +0,0 @@
-<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-<div id="mainbloc">
-	<form method="post" action="additem.pl" name="f">
-	<input type="hidden" name="op" value="<!-- TMPL_VAR NAME="op" -->">
-	<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
-	<input type="hidden" name="biblioitemnumber" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->">
-	<div class="tabbed">
-		<h1 class="catalogue"><!-- TMPL_VAR name="title" --> (<!-- TMPL_VAR name="author" --> biblionumber #<!-- TMPL_VAR NAME="biblionumber" -->)</h1>
-		<a href="addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Edit biblio
-		</a>
-		<a href="../MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			MARC
-		</a>
-		<a href="../detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Normal
-		</a>
-		<a href="../ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			ISBD
-		</a>
-	</div>
-	<!-- TMPL_IF name="item_loop" -->
-		<div id="bloc25">
-			<div name="10XX" id="10XX">
-			<h2 class="catalogue">Existing items</h2>
-			<table>
-				<tr>
-					<!-- TMPL_LOOP NAME="item_header_loop" -->
-						<th class="catalogue">
-							<!-- TMPL_VAR NAME="header_value" -->
-						</th>
-					<!-- /TMPL_LOOP -->
-					<th colspan="2" class="catalogue">&nbsp;</th>
-				</tr>
-					<!-- TMPL_LOOP NAME="item_loop" -->
-					<tr>
-						<!-- TMPL_VAR NAME="item_value" -->
-						<!-- TMPL_IF Name="nomod" -->
-							<td></td>
-							<td></td>
-						<!-- TMPL_ELSE -->
-							<td><a href="additem.pl?op=edititem&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" border="0"></a></td>
-							<td><a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="biblionumber" -->,<!-- TMPL_VAR NAME="itemnumber" -->)"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" border="0"></a></td>
-						<!-- /TMPL_IF -->
-					</tr>
-					<!-- /TMPL_LOOP -->
-			</table>
-			</div>
-		</div>
-	<!-- /TMPL_IF -->
-	<div id="bloc25">
-	<!-- TMPL_IF name="opisadd" -->
-		<h2 class="catalogue">New Item</h2>
-	<!-- TMPL_ELSE -->
-		<h2 class="catalogue">Modify Item</h2>
-	<!-- /TMPL_IF -->	
-		<!-- TMPL_LOOP NAME="item" -->
-			<p>
-					<label><!-- TMPL_VAR NAME="subfield" --> - <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!-- TMPL_VAR NAME="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-					<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-					<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-			</p>
-		<!-- /TMPL_LOOP -->
-	<input type="hidden" name="itemnumber" value="<!-- TMPL_VAR NAME="itemnumber" -->">
-	<!-- TMPL_IF name="barcode_not_unique" -->
-		<div id="problem"><b>ERROR : Barcode already exists !<b></div>
-	<!-- /TMPL_IF -->
-	<!-- TMPL_IF name="opisadd" -->
-	<input type="button" value="Add item" onClick="Check(this.form)" accesskey="w" class="button catalogue">
-	<!-- TMPL_ELSE -->
-	<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="itemtagfield" -->">
-	<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="itemtagsubfield" -->">
-	<input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="itemnumber" -->">
-	<input type="hidden" name="mandatory" value="0">
-	<input type="button" value="Modify item" onClick="Check(this.form)" accesskey="w" class="button catalogue">
-	<!-- /TMPL_IF -->
-	</form>
-</div>
-<script LANGUAGE="JavaScript">
-function _(s) { return s } // dummy function for gettext
-function active(numlayer)
-{
-	for (i=10; i < 11 ; i++ ) {
-		ong = i+"XX";
-			link = "link"+i;
-		if (numlayer==i) {
-			document.getElementById(ong).style.visibility="visible";
-			document.getElementById(link).style.backgroundColor="#11AA11";
-			document.getElementById(link).style.backgroundImage="url(<!-- TMPL_VAR NAME="themelang" -->/images/background-mem.gif)";
-		} else {
-			document.getElementById(ong).style.visibility="hidden";
-			document.getElementById(link).style.backgroundColor="#FFFFFF";
-			document.getElementById(link).style.backgroundImage="";
-		}
-	}
-}
-function Check(f) {
-	var total_errors=0;
-//	alert(f.field_value.length);
-	for (i=0 ; i<f.field_value.length ; i++) {
-//	alert (f.field_value[i].value);
-		if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
-			document.getElementById("error"+i).style.backgroundColor="#FF0000";
-			total_errors++;
-		} else {
-//			document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
-		}
-	}
-	var alertString2;
-	if (total_errors==0) {
-		document.f.submit();
-	} else {
-		alertString2  = _("Form not submitted because of the following problem(s)");
-		alertString2 += "\n------------------------------------------------------------------------------------\n";
-		alertString2 += "\n- "+ total_errors+_(" mandatory fields empty (see bold subfields)");
-		alert(alertString2);
-	}
-}
-function Dopop(link,i) {
-	defaultvalue=document.forms['f'].field_value[i].value;
-	newin=window.open(link+"&result="+defaultvalue,"value builder",'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-function confirm_deletion(bibid,itemnum) {
-	var is_confirmed = confirm(_('Do you confirm item deletion?'));
-	if (is_confirmed) {
-	window.location = "additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;
-	}
-}
-</script>
-</body>
-</html>

Index: acqui.simple/isbnsearch.tmpl
===================================================================
RCS file: acqui.simple/isbnsearch.tmpl
diff -N acqui.simple/isbnsearch.tmpl
--- acqui.simple/isbnsearch.tmpl	20 Jun 2005 14:16:03 -0000	1.21
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,158 +0,0 @@
-<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-<div id="mainbloc">
-	<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" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">
-							&lt;&lt;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" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;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" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">
-							Next&gt;&gt;
-						</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">&copy;</th>
-					<th class="catalogue">&nbsp;</th>
-					<!-- TMPL_UNLESS NAME="NOTMARC" -->
-						<th class="catalogue">&nbsp;</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" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">
-							&lt;&lt;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" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;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" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">
-							Next&gt;&gt;
-						</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">&nbsp;</th>
-					<th class="catalogue">&nbsp;</th>
-				</tr>
-					<!-- TMPL_LOOP NAME="breeding_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="isbn" --></td>
-							<td><!-- TMPL_VAR NAME="file" --></td>
-							<!-- TMPL_IF NAME="NOTMARC" -->
-							
-							<!-- TMPL_ELSE -->
-							<td><a href="addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->" class="button catalogue">Add biblio</a></td>
-							<!-- /TMPL_IF -->
-						</tr>
-					<!-- /TMPL_LOOP -->
-			</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" -->
-			<a href="addbiblio-nomarc.pl?isbn=<!-- TMPL_VAR NAME="isbn" -->" class="button catalogue">Add New Biblio</a>
-		<!-- TMPL_ELSE -->
-			<select name="frameworkcode">
-				<option value="">Default</option>
-				<!-- TMPL_LOOP NAME="frameworkcodeloop" -->
-					<option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="frameworktext" --></option>
-				<!-- /TMPL_LOOP -->
-			</select>
-			<a href="addbiblio.pl?isbn=<!-- TMPL_VAR NAME="isbn" -->" class="button catalogue">Add New Biblio</a>
-		<!-- /TMPL_IF -->
-		</p>
-	</div>
-	
-</div>
-<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->

Index: acqui.simple/marcimport.tmpl
===================================================================
RCS file: acqui.simple/marcimport.tmpl
diff -N acqui.simple/marcimport.tmpl
--- acqui.simple/marcimport.tmpl	3 Feb 2005 16:07:53 -0000	1.9
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,60 +0,0 @@
-<!-- TMPL_INCLUDE NAME="acquisitions-top.inc" -->
-<h1>MARC acquisition system</h1>
-
-<table bgcolor="#ffcc00" width="80%" cellpadding="3">
-	<tr valign="center">
-	<td><font size="4">Import into the reservoir</font></td>
-	</tr>
-</table>
-
-<!-- TMPL_IF name="uploadmarc" -->
-<p>Import results :</p>
-<ul>
-	<p><!-- TMPL_VAR NAME="imported" --> imported records</p>
-	<p><!-- TMPL_VAR NAME="alreadyindb" --> not imported because already in DB</p>
-	<p><!-- TMPL_VAR NAME="alreadyinfarm" --> not imported because already in farm</p>
-	<p><!-- TMPL_VAR NAME="notmarcrecord" --> not imported because they seems not to be MARC format (or ISBN/ISSN missing) !</p>
-	<p><!-- TMPL_VAR NAME="total" -->  records parsed</p>
-	<p><a href="addbooks.pl">Back to acquisition</a>
-</ul>
-<!-- TMPL_ELSE -->
-<ul>
-	<li>Select a file to import into the reservoir. It will be parsed, and for each ISBN found, a new baby will be created in the reservoir.</li>
-	<li>If an ISBN already exists in the reservoir, you can choose whether to ignore the new one or overwrite the old one.</li>
-	<li>You can enter a name for this import. It may be useful, when creating a biblio, to remember where the suggested MARC data comes from!</li>
-	<li>Of course, if the ISBN already exists in the active DB, the biblio will be ignored.</li>
-</ul>
-<form method="post" action="<!-- TMPL_VAR NAME="SCRIPT_NAME" -->" enctype="multipart/form-data">
-<table cellpadding="3" border="0">
-	<tr valign="top">
-		<td>Select the file to import:</td>
-		<td>
-			<input type="file" name="uploadmarc" /><br/>
-		</td>
-	</tr>
-	<tr valign="top">
-		<td>Name of this import:</td>
-		<td>
-			<input type="text" name="filename" /><br/>
-		</td>
-	</tr>
-	<tr valign="top">
-		<td>Character encoding (MARC21 or UNIMARC)</td>
-		<td>
-			<select name="syntax" /><option value="MARC21">MARC21</option><option value="UNIMARC">UNIMARC</option></select><br/>
-		</td>
-	</tr>
-	<tr valign="top">
-		<td>If ISBN is already in the reservoir: </td>
-		<td><input type="radio" name="overwrite_biblio" value="0" checked>Ignore this one, keep the existing one<br/>
-			<input type="radio" name="overwrite_biblio" value="1">Overwrite the existing one with this</td>
-	</tr>
-	<tr valign="top">
-		<td>&nbsp; </td>
-		<td><input type="submit" value="Import"></td>
-	</tr>
-
-</table>
-</form>
-<!-- /TMPL_IF -->
-<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->

Index: authorities/auth_finder.tmpl
===================================================================
RCS file: authorities/auth_finder.tmpl
diff -N authorities/auth_finder.tmpl
--- authorities/auth_finder.tmpl	26 Oct 2005 09:15:56 -0000	1.9
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,46 +0,0 @@
-<!-- TMPL_INCLUDE NAME="auth-search-top.inc" -->
-<div id="mainbloc">
-
-<h1 class="authority">Authority search</h1>
-
-<form name="f" action="/cgi-bin/koha/authorities/auth_finder.pl" method="post">
-	<input type="hidden" name="op" value="do_search">
-	<input type="hidden" name="type" value="intranet">
-	<input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
-	<div id="bloc25">
-		<h2 class="authority">Search on</h2>
-		<p>
-			<label class="label100">Authority type</label>
-			<!-- TMPL_VAR NAME="authtypecode" -->
-			<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
-		</p>
-		<p>
-			<label class="label100">Main entry</label><input type="text" name="value" value="<!-- TMPL_VAR name="resultstring" -->">
-			<input type="hidden" name="marclist" value="mainentry">
-			<input type="hidden" name="and_or" value="and">
-			<input type="hidden" name="excluding" value="">
-			<select name="operator">
-				<option value="start">start by</option>
-				<option value="contains">contains</option>
-			</select>
-			<input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
-		</p>
-		<p>
-			<label class="label100">Anywhere</label><input type="text" name="value">
-			<input type="hidden" name="marclist" value="">
-			<input type="hidden" name="and_or" value="and">
-			<input type="hidden" name="excluding" value="">
-			<select name="operator">
-				<option value="contains">contains</option>
-				<option value="start">start by</option>
-			</select>
-			<input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
-		</p>
-		<p>
-			<input type="submit" value="Start search" class="button authority">
-		</p>
-	</div>
-</form>
-</div>
-<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
-

Index: authorities/authorities-home.tmpl
===================================================================
RCS file: authorities/authorities-home.tmpl
diff -N authorities/authorities-home.tmpl
--- authorities/authorities-home.tmpl	26 Oct 2005 09:15:56 -0000	1.6
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,65 +0,0 @@
-    <!-- TMPL_INCLUDE NAME="auth-top.inc" -->
-<div id="mainbloc">
-
-<h1 class="authority">Authority search</h1>
-
-<form name="f" action="/cgi-bin/koha/authorities/authorities-home.pl" method="post">
-	<input type="hidden" name="op" value="do_search">
-	<input type="hidden" name="type" value="intranet">
-	<input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
-	<div id="bloc25">
-		<h2 class="authority">Search on
-			<select name="authtypecode">
-			<!-- TMPL_LOOP NAME="authtypesloop" -->
-				<option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
-					<!-- TMPL_VAR NAME="authtypetext" -->
-				</option>
-			<!-- /TMPL_LOOP -->
-			</select>
-		</h2>
-		<p>
-			<label class="label100">Main entry</label>
-			<input type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
-			<input type="hidden" name="marclist" value="mainentry">
-			<input type="hidden" name="and_or" value="and">
-			<input type="hidden" name="excluding" value="">
-			<select name="operator">
-				<option value="contains">contains</option>
-				<option value="start">start by</option>
-			</select>
-		</p>
-		<p>
-			<label class="label100">Anywhere</label>
-			<input type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
-			<input type="hidden" name="marclist" value="">
-			<input type="hidden" name="and_or" value="and">
-			<input type="hidden" name="excluding" value="">
-			<select name="operator">
-				<option value="contains">contains</option>
-				<option value="start">start by</option>
-			</select>
-		</p>
-		<p>
-			<input type="submit" value="Start search" class="button authority">
-		</p>
-	</div>
-</form>
-<div id="bloc25">
-<h2 class="authority">Add authority</h2>
-<form name="f2" method="post" action="authorities.pl">
-	<p>Authority type
-	<select name="authtypecode">
-		<!-- TMPL_LOOP name="authtypesloop" -->
-			<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
-				<!-- TMPL_VAR name="authtypetext" -->
-			</option>
-		<!-- /TMPL_LOOP -->
-	</select>
-	<input type="submit" value="Add" class="button authority">
-	</p>
-</form>
-</div>
-
-</div>
-<!-- TMPL_INCLUDE NAME="auth-bottom.inc" -->
-

Index: authorities/authorities.tmpl
===================================================================
RCS file: authorities/authorities.tmpl
diff -N authorities/authorities.tmpl
--- authorities/authorities.tmpl	26 Oct 2005 09:15:56 -0000	1.11
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,207 +0,0 @@
-<!-- TMPL_INCLUDE NAME="auth-top.inc" -->
-<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
-
-<div class="tabbed">
-	<form method="post" name="f">
-	<!-- TMPL_IF name="authid" -->
-		<h1 class="authority">Modify authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
-	<!-- TMPL_ELSE -->
-		<h1 class="authority">Adding authority (<!-- TMPL_VAR name="authtypetext" -->)</h1>
-	<!-- /TMPL_IF -->
-	<p>
-		<input type="hidden" name="op" value="add">
-		<input type="hidden" name="addfield_field">
-		<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
-		<input type="hidden" name="authid" value="<!-- TMPL_VAR NAME="authid" -->">
-		<!-- TMPL_IF name="authid" -->
-			<input type="button" value="Save" onClick="Check(this.form)" accesskey="w" class="button authority">
-		<!-- TMPL_ELSE -->
-			<input type="button" value="Add authority" onClick="Check(this.form)" accesskey="w" class="button authority">
-		<!-- /TMPL_IF -->
-	</p>
-</div>
-
-<br><br><br><br><br><br><br><br><br><br><br>
-<!-- TMPL_IF name="duplicateauthid" -->
-	<div class="problem">
-		<p>Duplicate suspected with <a href='javascript:openWindow("detail.pl?authid=<!-- TMPL_VAR name="duplicateauthid" -->&popup=1", "Duplicate Authority")' class="button authority"><!-- TMPL_VAR name="duplicateauthvalue" --></a></p>
-		<p>You must either :</p>
-		<ul>
-			<p><input type="checkbox" value=1 name="confirm_not_duplicate">confirm it's not a duplicate (and click on <input type="button" value="Add authority" onClick="Check(this.form)" accesskey="w" class="button authority"> again)</p>
-			<p>Go to <a href="authorities.pl?authid=<!-- TMPL_VAR name="duplicateauthid" -->" >original authority</a></p>
-		</ul>
-	</div>
-<!-- /TMPL_IF -->
-
-<!-- TMPL_LOOP NAME="0XX" -->
-	<!-- TMPL_IF name="tag" -->
-		<p class="MARCtag">
-		<!-- TMPL_VAR NAME="tag" -->
-		<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
-		<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> - <TMPL_VAR NAME="tag_lib">
-		<!-- TMPL_IF name="repeatable" -->
-			<a href="javascript:AddField(<!-- TMPL_VAR NAME="tag" -->)">+</a>
-		<!-- /TMPL_IF -->
-		</p>
-	<!-- /TMPL_IF -->
-	<!-- TMPL_LOOP NAME="subfield_loop" -->
-		<p>
-			<label class="labelsubfield">
-				<!-- TMPL_UNLESS name="hide_marc" -->
-					<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
-						<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
-				<!-- TMPL_ELSE -->
-						<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-				<!-- /TMPL_UNLESS -->
-				<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
-				<!-- TMPL_VAR NAME="marc_lib" -->
-				<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
-			</label>
-			<!-- TMPL_VAR NAME="marc_value" -->
-			<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-			<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-			<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-			<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-		</p>
-	<!-- /tmpl_loop -->
-<!-- /tmpl_loop -->
-		
-		<div name="hidden" id="hidden" class="tab">
-		<!-- TMPL_LOOP NAME="hidden_loop" -->
-				<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
-				<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
-				<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
-				<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-				<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-		<!-- /TMPL_LOOP -->
-		</div>
-		<!-- TMPL_IF name="oldbiblionumtagfield" -->
-			<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="oldbiblionumtagfield" -->">
-			<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="oldbiblionumtagsubfield" -->">
-			<input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="oldbiblionumber" -->">
-			<input type="hidden" name="mandatory" value="0">
-			<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-			<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="oldbiblioitemnumtagfield" -->">
-			<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="oldbiblioitemnumtagsubfield" -->">
-			<input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="oldbiblioitemnumber" -->">
-			<input type="hidden" name="mandatory" value="0">
-			<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
-			<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
-		<!-- /TMPL_IF -->
-	</form>
-<script language="JavaScript" type="text/javascript">
-function _(s) { return s } // dummy function for gettext
-function active(numlayer)
-{
-	for (i=0; i < 10 ; i++ ) {
-		ong = i+"XX";
-		link = "link"+i;
-		if (numlayer==i) {
-			document.getElementById(ong).style.visibility="visible";
-		} else {
-			document.getElementById(ong).style.visibility="hidden";
-		}
-	}
-}
-function Check(f) {
-	// Scan for nonempty fields
-	var field_is_nonempty_p = new Array();
-	for (i=0 ; i<f.field_value.length ; i++) {
-	    field_is_nonempty_p[f.tag[i].value] = 0;
-	}
-	for (i=0 ; i<f.field_value.length ; i++) {
-	    if (f.field_value[i].value.length != 0) {
-		field_is_nonempty_p[f.tag[i].value] += 1;
-	    }
-	}
-
-	// Scan for missing mandatory subfields
-	var total_missing_mandatory_subfields = 0;
-	for (i=0 ; i<f.field_value.length-2 ; i++) {
-		if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
-		    // We should not flag an error unless the tag is also
-		    // mandatory, or if something else in the tag is entered
-
-		    if (f.tag_mandatory[i].value == 1 || field_is_nonempty_p[f.tag[i].value]) {
-			document.getElementById("error"+i).style.backgroundColor="#FF0000";
-			total_missing_mandatory_subfields++;
-		    }
-		} else {
-			document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
-		}
-	}
-
-	// Scan for missing mandatory tags
-	var total_missing_mandatory_tags = 0;
-	var seen_mandatory_tag_p = new Array();
-	for (i=0 ; i<f.field_value.length ; i++) {
-	    var j = f.tag[i].value;
-	    if (!field_is_nonempty_p[j] && f.tag_mandatory[i].value == 1) {
-		if (seen_mandatory_tag_p[j] != 1) {
-		    seen_mandatory_tag_p[j] = 1;
-		    total_missing_mandatory_tags++;
-		}
-		document.getElementById("error"+i).style.backgroundColor="#ffff00";
-	    }
-	}
-
-	var total_errors = total_missing_mandatory_tags + total_missing_mandatory_subfields;
-	var alertString2;
-	if (total_errors!=0) {
-		alertString2  = _("Form not submitted because of the following problem(s)");
-		alertString2 += "\n------------------------------------------------------------------------------------\n";
-		alertString2 += "\n- "+ total_missing_mandatory_tags +_(" mandatory tags empty");
-		alertString2 += "\n- "+ total_missing_mandatory_subfields +_(" mandatory fields empty (see bold subfields)");
-		alert(alertString2);
-	} else {
-		document.forms[0].submit();
-	}
-}
-function Dopop(link,i) {
-	defaultvalue=document.forms['f'].field_value[i].value;
-	newin=window.open(link+"&result="+defaultvalue,"value builder",'width=550,height=550,toolbar=false,scrollbars=yes');
-}
-
-function PopupZ3950() {
-    var strQuery="";
-	for (i=0 ; i<document.forms['f'].field_value.length ; i++) {
-		if (document.forms['f'].kohafield[i].value == "biblioitems.isbn" && document.forms['f'].field_value[i].value.length>0) {
-		    strQuery += "&isbn="+document.forms['f'].field_value[i].value;
-		}
-		if (document.forms['f'].kohafield[i].value == "biblio.title" && document.forms['f'].field_value[i].value.length>0) {
-		    strQuery += "&title="+document.forms['f'].field_value[i].value;
-		}
-		if (document.forms['f'].kohafield[i].value == "biblio.author" &&document.forms['f'].field_value[i].value.length>0) {
-		    strQuery += "&author="+document.forms['f'].field_value[i].value;
-		}
-		if (document.forms['f'].kohafield[i].value == "biblioitems.issn" && document.forms['f'].field_value[i].value.length>0) {
-		    strQuery += "&issn="+document.forms['f'].field_value[i].value;
-		}
-	}
-	newin=window.open("../z3950/search.pl?bibid=<!-- TMPL_VAR NAME="bibid" -->"+strQuery,"z3950search",'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-
-function AddField(field) {
-	document.forms[1].op.value = "addfield";
-	document.forms[1].addfield_field.value=field;
-	document.f.submit();
-}
-
-function upSubfield(index) {
-	temp = document.forms['f'].field_value[index-1].value;
-	document.forms['f'].field_value[index-1].value=document.forms['f'].field_value[index].value;
-	document.forms['f'].field_value[index].value= temp;
-	temp = document.forms['f'].subfield[index-1].value;
-	document.forms['f'].subfield[index-1].value=document.forms['f'].subfield[index].value;
-	document.forms['f'].subfield[index].value = temp;
-	temp = document.forms['f'].mandatory[index-1].value;
-	document.forms['f'].mandatory[index-1].value=document.forms['f'].mandatory[index].value;
-	document.forms['f'].mandatory[index].value = temp;
-	temp = document.forms['f'].kohafield[index-1].value;
-	document.forms['f'].kohafield[index-1].value=document.forms['f'].kohafield[index].value;
-	document.forms['f'].kohafield[index].value = temp;
-}
-
-</script>
-</body>
-</html>

Index: authorities/blinddetail-biblio-search.tmpl
===================================================================
RCS file: authorities/blinddetail-biblio-search.tmpl
diff -N authorities/blinddetail-biblio-search.tmpl
--- authorities/blinddetail-biblio-search.tmpl	6 Jan 2006 16:39:39 -0000	1.7
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,59 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<body>
-<script language="JavaScript" type="text/javascript">
-
-function go()
-{
-var index_start = <!-- TMPL_VAR NAME="index" -->;
-var whichfield = opener.opener.document.f.tag[index_start].value;
-i=index_start
-// go forward, until reaching the end of the field.
-while (i<opener.opener.document.f.field_value.length) {
-	if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9') {
-		opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR NAME="authid" -->";
-	}
-	<!-- TMPL_LOOP NAME="0XX" -->
-		<!-- TMPL_LOOP NAME="subfield" -->
-			if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '<!-- TMPL_VAR NAME="marc_subfield" -->') 
-			{
-				opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR NAME="marc_value" -->";
-			}
-		<!-- /TMPL_LOOP -->
-	<!-- /TMPL_LOOP -->
-	if (opener.opener.document.f.tag[i].value != whichfield) {
-		i=opener.opener.document.f.field_value.length;
-	}
-	i++;
-}
-// go backward until the beginning of the field
-i=index_start
-while (i>=0) {
-	if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9') {
-		opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR NAME="authid">";
-	}
-	<!-- TMPL_LOOP NAME="0XX" -->
-		<!-- TMPL_LOOP NAME="subfield" -->
-			if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '<!-- TMPL_VAR NAME="marc_subfield" -->') 
-			{
-				opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR NAME="marc_value" -->";
-			}
-		<!-- /TMPL_LOOP -->
-	<!-- /TMPL_LOOP -->
-	if (opener.opener.document.f.tag[i].value != whichfield) {
-		i=0;
-	}
-	i--;
-}
-	opener.close();
-	self.close();
-	return false;
-
-
-}
-</script>
-<script language="javascript" type="text/javascript">
-window.onload = go();
-</script>
-</body>
-</html>

Index: authorities/detail-biblio-search.tmpl
===================================================================
RCS file: authorities/detail-biblio-search.tmpl
diff -N authorities/detail-biblio-search.tmpl
--- authorities/detail-biblio-search.tmpl	8 Nov 2004 10:01:14 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,86 +0,0 @@
-<!-- TMPL_INCLUDE NAME="auth-top.inc" -->
-<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
-<div class="tabbed">
-	<h1 class="authority">Authority number : <!-- TMPL_VAR NAME="authid" --></h1>
-	<a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
-		<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png">
-	</a>
-	<a href="javascript:confirm_deletion()">
-		<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
-	</a>
-	<a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->&index=<!-- TMPL_VAR NAME="index" -->')" class="button authority">
-		Print
-	</a>
-	<a href="javascript:CopyValues()">	<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/arrow.gif" height="45" width="45">
-
-	</a>
-</div>
-<br><br><br>
-<div name="0XX" id="0XX" class="tab" style="visibility:visible">
-	<!-- TMPL_LOOP NAME="0XX" -->
-			<p class="MARCtag">
-				<!-- TMPL_VAR NAME="tag" -->
-			</p>
-		<!-- TMPL_LOOP NAME="subfield" -->
-			<p>
-				<label class="labelsubfield">
-				<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-					<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15">
-				</a>
-				<!-- TMPL_VAR NAME="marc_subfield" -->
-				<!-- TMPL_VAR NAME="marc_lib" --></label>
-				<!-- TMPL_VAR NAME="marc_value" -->
-			</p>
-		<!-- /TMPL_LOOP -->
-	<!-- /TMPL_LOOP -->
-</div>
-	
-<script language="JavaScript" type="text/javascript">
-
-function confirm_deletion() {
-	var is_confirmed = confirm('Are you sure you want to delete this biblio?');
-	if (is_confirmed) {
-		window.location="acqui.simple/addbiblio.pl?op=delete&amp;bibid=<!-- TMPL_VAR NAME="bibid" -->";
-	}
-}
-function Dopop(link) {
-	newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-
-function CopyValues()
-{
-var index_start = <!-- TMPL_VAR NAME="index" -->;
-opener.opener.document.f.field_value[index_start].value = '<!-- TMPL_VAR NAME="authid">';
-var whichfield = opener.opener.document.f.tag[index_start].value;
-for (i=index_start ; i<opener.opener.document.f.field_value.length ; i++) {
-
-if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9') 
-	{
-		opener.opener.document.f.field_value[i].value = '<!-- TMPL_VAR NAME="authid">';
-	}
-
-}
-
-
-<!-- TMPL_LOOP NAME="0XX" -->
-   <!-- TMPL_LOOP NAME="subfield" -->
-for (i=index_start ; i<opener.opener.document.f.field_value.length ; i++) {
-
-if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '<!-- TMPL_VAR NAME="marc_subfield" -->') 
-	{
-		opener.opener.document.f.field_value[i].value = '<!-- TMPL_VAR NAME="marc_value" -->';
-	}
-
-}
-	
-   <!-- /TMPL_LOOP -->
-<!-- /TMPL_LOOP -->
-	opener.close();
-	self.close();
-	return false;
-	
-}
-
-</script>
-</body>
-</html>

Index: authorities/detail.tmpl
===================================================================
RCS file: authorities/detail.tmpl
diff -N authorities/detail.tmpl
--- authorities/detail.tmpl	26 Oct 2005 09:15:56 -0000	1.6
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,48 +0,0 @@
-<!-- TMPL_INCLUDE NAME="auth-top.inc" -->
-<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
-<div class="tabbed">
-	<h1 class="authority">Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
-	<a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
-		<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png">
-	</a>
-	<!-- TMPL_UNLESS name="count" -->
-		<a href="javascript:confirm_deletion()">
-			<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
-		</a>
-	<!-- /TMPL_UNLESS -->
-	<a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->')" class="button authority">
-		Print
-	</a>
-	<a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR name="count" --> biblios</a>
-</div>
-
-<div name="0XX" id="0XX" class="tab" style="visibility:visible">
-	<!-- TMPL_LOOP NAME="0XX" -->
-			<p class="MARCtag">
-				<!-- TMPL_VAR NAME="tag" -->
-			</p>
-		<!-- TMPL_LOOP NAME="subfield" -->
-			<p>
-				<label class="labelsubfield">
-				<!-- TMPL_VAR NAME="marc_subfield" -->
-				<!-- TMPL_VAR NAME="marc_lib" --></label>
-				<!-- TMPL_VAR NAME="marc_value" -->
-			</p>
-		<!-- /TMPL_LOOP -->
-	<!-- /TMPL_LOOP -->
-</div>
-	
-<script language="JavaScript" type="text/javascript">
-
-function confirm_deletion() {
-	var is_confirmed = confirm('Are you sure you want to delete this authority?');
-	if (is_confirmed) {
-		window.location="authorities-home.pl?op=delete&amp;authid=<!-- TMPL_VAR NAME="authid" -->";
-	}
-}
-function Dopop(link) {
-	newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-</script>
-</body>
-</html>

Index: authorities/searchresultlist-auth.tmpl
===================================================================
RCS file: authorities/searchresultlist-auth.tmpl
diff -N authorities/searchresultlist-auth.tmpl
--- authorities/searchresultlist-auth.tmpl	4 Aug 2005 13:48:31 -0000	1.9
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,131 +0,0 @@
-<!-- TMPL_INCLUDE NAME="auth-search-top.inc" -->
-<div id="mainbloc">
-	<h1 class="authority">Authority search results</h1>
-	<div id="bloc25">
-		<form name="f" method="post" action="auth_finder.pl">
-			<input type="hidden" name="op" value="do_search">
-			<input type="hidden" name="type" value="intranet">
-			<input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
-			<div id="bloc25">
-				<h2 class="authority">Search on</h2>
-				<p>
-					<label class="label100">Authority type</label>
-					<!-- TMPL_VAR NAME="authtypecode" -->
-					<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
-				</p>
-				<p>
-					<label class="label100">Main entry</label><input type="text" name="value" value="<!-- TMPL_VAR name="resultstring" -->">
-					<input type="hidden" name="marclist" value="mainentry">
-					<input type="hidden" name="and_or" value="and">
-					<input type="hidden" name="excluding" value="">
-					<select name="operator">
-						<option value="start">start by</option>
-						<option value="contains">contains</option>
-					</select>
-					<input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
-				</p>
-				<p>
-					<label class="label100">Anywhere</label><input type="text" name="value">
-					<input type="hidden" name="marclist" value="">
-					<input type="hidden" name="and_or" value="and">
-					<input type="hidden" name="excluding" value="">
-					<select name="operator">
-						<option value="contains">contains</option>
-						<option value="start">start by</option>
-					</select>
-					<input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
-				</p>
-				<p>
-				<input type="submit" value="Start search" class="button authority">
-				</p>
-			</div>
-		</form>
-	</div>
-	<div id="bloc25">
-		<div id="resultnumber">
-			<p>
-				<!-- TMPL_IF name="displayprev" -->
-					<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
-						<img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
-					</a>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_LOOP NAME="numbers" -->
-					<!-- TMPL_IF name="highlight" -->
-						<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
-					<!-- TMPL_ELSE -->
-						<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
-							<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0"></a>
-					<!-- /TMPL_IF -->
-				<!-- /TMPL_LOOP -->
-				<!-- TMPL_IF name="displaynext" -->
-					<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
-						<img src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
-				<!-- /TMPL_IF -->
-			</p>
-			<p>
-				<!-- TMPL_IF name="total" -->
-					&nbsp;<b>Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></b><br><br>
-				<!-- TMPL_ELSE -->
-					&nbsp;No results found.<br>
-				<!-- /TMPL_IF -->
-			</p>
-		</div>
-		<div id="resultlist">
-			<table>
-				<tr>
-					<th class="authority">Summary</th>
-					<th class="authority">Used</th>
-					<th class="authority">Get It!</th>
-				</tr>
-				<tr>
-					<td>&nbsp;</td>
-					<td>&nbsp;</td>
-					<td>
-						<a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=0&amp;index=<!-- TMPL_VAR NAME="index" -->')" class="button authority">
-							Clear
-						</a>
-					</td>
-				<!-- TMPL_LOOP NAME="result" -->
-					<tr>
-						<td><!-- TMPL_VAR NAME="summary" --></td>
-						<td><!-- TMPL_VAR NAME="used" --> times</td>
-						<td>
-							<a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=<!-- TMPL_VAR NAME="authid" -->&amp;index=<!-- TMPL_VAR NAME="index" -->')"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/arrow.gif" width="32" hspace="0" vspace="0" border="0"></a>
-						</td>
-					</tr>
-				<!-- /TMPL_LOOP -->
-			</table>
-	
-		</div>
-		<div id="resultnumber">
-			<p>
-				<!-- TMPL_IF name="displayprev" -->
-					<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&op=do_search&type=intranet">
-						<img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
-					</a>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_LOOP NAME="numbers" -->
-					<!-- TMPL_IF name="highlight" -->
-						<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
-					<!-- TMPL_ELSE -->
-						<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&op=do_search&type=intranet">
-							<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0"></a>
-					<!-- /TMPL_IF -->
-				<!-- /TMPL_LOOP -->
-				<!-- TMPL_IF name="displaynext" -->
-					<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&op=do_search&type=intranet">
-						<img src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
-				<!-- /TMPL_IF -->
-			</p>
-		</div>	
-	</div>
-</div>
-
-<script language="JavaScript" type="text/javascript">
-
-function jumpfull(page)
-{	
-	window.open(page,'','fullscreen,scrollbars');
-}
-</script>
-<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->

Index: authorities/searchresultlist.tmpl
===================================================================
RCS file: authorities/searchresultlist.tmpl
diff -N authorities/searchresultlist.tmpl
--- authorities/searchresultlist.tmpl	6 Jan 2006 16:39:39 -0000	1.10
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,104 +0,0 @@
-<!-- TMPL_INCLUDE NAME="auth-top.inc" -->
-<div id="mainbloc">
-	<h1 class="authority">Authority search results</h1>
-	<div id="resultnumber">
-		<p>
-			<!-- TMPL_IF name="displayprev" -->
-				<a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
-					<img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
-				</a>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="numbers" -->
-				<!-- TMPL_IF name="highlight" -->
-					<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
-				<!-- TMPL_ELSE -->
-					<a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
-						<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
-					</a>
-				<!-- /TMPL_IF -->
-			<!-- /TMPL_LOOP -->
-			<!-- TMPL_IF name="displaynext" -->
-				<a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
-					<img src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
-				</a>
-				<!-- /TMPL_IF -->
-		</p>
-		<p>
-			<!-- TMPL_IF name="total" -->
-			&nbsp;<b>Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></b><br><br>
-			<!-- TMPL_ELSE -->
-			&nbsp;No results found.<br>
-			<!-- /TMPL_IF -->
-		</p>
-	</div>
-	<div id="resultlist">
-		<table>
-			<tr>
-				<th class="authority">Summary</th>
-				<!-- TMPL_UNLESS name="isEDITORS" -->
-					<th class="authority">Used in</th>
-				<!-- /TMPL_UNLESS -->
-				<th class="authority">View</th>
-				<th class="authority">Delete</th>
-			</tr>
-			<!-- TMPL_LOOP NAME="result" -->
-				<tr>
-					<td><!-- TMPL_VAR NAME="summary" --></td>
-					<!-- TMPL_UNLESS name="isEDITORS" -->
-						<td>
-							<a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a>
-						</td>
-					<!-- /TMPL_UNLESS -->
-					<td>
-						<a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
-							<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR NAME="authid" -->" title="Authority number<!-- TMPL_VAR NAME="authid" -->">
-						</a>
-					</td>
-						<td>
-							<!-- TMPL_UNLESS name="used" -->
-							<a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">
-								<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
-							</a>
-							<!-- /TMPL_UNLESS -->
-						</td>
-				</tr>
-			<!-- /TMPL_LOOP -->
-		</table>
-	</div>
-	<div id="resultnumber">
-		<p>
-			<!-- TMPL_IF name="displayprev" -->
-				<a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
-					<img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
-				</a>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="numbers" -->
-				<!-- TMPL_IF name="highlight" -->
-					<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
-				<!-- TMPL_ELSE -->
-					<a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
-						<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
-					</a>
-				<!-- /TMPL_IF -->
-			<!-- /TMPL_LOOP -->
-			<!-- TMPL_IF name="displaynext" -->
-				<a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
-					<img src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
-				</a>
-				<!-- /TMPL_IF -->
-		</p>
-	</div>	
-</div>
-<!-- TMPL_INCLUDE NAME="auth-bottom.inc" -->
-
-
-<script language="JavaScript" type="text/javascript" >
-
-function confirm_deletion(id) {
-	
-	var is_confirmed = confirm('Are you sure you want to delete this authority?');
-	if (is_confirmed) {
-		window.location="authorities-home.pl?op=delete&amp;authid="+id;
-	}
-}
-</script>
\ No newline at end of file

Index: barcodes/barcodes-bottom.inc
===================================================================
RCS file: barcodes/barcodes-bottom.inc
diff -N barcodes/barcodes-bottom.inc
--- barcodes/barcodes-bottom.inc	20 Sep 2004 15:03:28 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-<br clear="all">
-<p> &nbsp; </p>
-
-<div class="center">
-<a href="/cgi-bin/koha/mainpage.pl">Home</a> ||
-<a href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a> ||
-<a href="/cgi-bin/koha/members/members-home.pl">Members</a> ||
-<a href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a> ||
-<a href="/cgi-bin/koha/circ/circulation.pl">Circulation</a> ||
-<a href="/cgi-bin/koha/reports-home.pl">Reports</a> ||
-<a href="/cgi-bin/koha/admin-home.pl">Parameters</a> ||
-<a href="/cgi-bin/koha/about.pl">About</a> || 
-Help
-</div>
-
-</body>
-</html>
\ No newline at end of file

Index: barcodes/barcodes-top.inc
===================================================================
RCS file: barcodes/barcodes-top.inc
diff -N barcodes/barcodes-top.inc
--- barcodes/barcodes-top.inc	19 Oct 2004 11:50:18 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,229 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html>
-<head>
-<title>KOHA: INTRANET: Parameters</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/common-style.css">
-<style>
-.parameters {
-	background-color: #86c268;
-	color: #FFFFFF;
-	text-decoration: normal;
-	font-weight: bold;
-	}
-a.parameters:hover {
-	background-color: #86c268;
-	color: #FFFFFF;
-	text-decoration: normal;
-	font-weight: bold;
-	}
-.ranges {
-	border:0;
-}
-
-.myTable TD{
-  border-width: 0px;
-  border-color: navy;
-  border-style: solid;
-}
-
-.panel { 
-	position:relative;
-}
-
-.countryPanel {
-	z-index:1;
-	width:300px;
-	display:none;
-	border:1px solid #000000;
-	padding:0px;
-}
-</style>
-
-
-<script type="text/javascript">
-	// Captura el evento onmousemove para cualquier navegador
-	if (document.layers) { // Netscape
-		document.captureEvents(Event.MOUSEMOVE);
-	    document.onmousemove = captureMousePosition;
-	} else if (document.all) { // Internet Explorer
-	    document.onmousemove = captureMousePosition;
-	} else if (document.getElementById) { // Netcsape 6
-	    document.onmousemove = captureMousePosition;
-	}
-
-	var mouseXMax = 0;
-	var mouseYMax = 0;
-	var mouseX = 0;
-	var mouseY = 0;
-
-	function captureMousePosition(e) {
-	    if (document.layers) {
-		    mouseX = e.pageX;
-			mouseY = e.pageY;
-	        mouseXMax = window.innerWidth + window.pageXOffset;
-		    mouseYMax = window.innerHeight + window.pageYOffset;
-	    } else if (document.all) {
-		    mouseX = window.event.x + document.body.scrollLeft;
-	        mouseY = window.event.y + document.body.scrollTop;
-	        mouseXMax = document.body.clientWidth + document.body.scrollLeft;
-	        mouseYMax = document.body.clientHeight + document.body.scrollTop;
-	    } else if (document.getElementById) {
-	        mouseX = e.pageX;
-		    mouseY = e.pageY;
-	        mouseXMax = window.innerWidth + window.pageXOffset;
-	        mouseYMax = window.innerHeight + window.pageYOffset;
-	    }
-	}
-
-/* Devuelve true si el explorador es Internet Explorer */
-var IE = document.all?true:false;
-
-function Help() {
-	newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
-}
-
-function correctRange (from, to) {
-	if (from <= to) {
-		return true;
-	} else {
-		return false;
-	}
-}
-
-function emptyField (field) {
-	if ((field == null) || (field == "")) {
-		return true;
-	} else {
-		return false;
-	}
-}
-
-function checkFields (aForm) {
-  var option = document.getElementById('rangeType').value;
-  if (option == 'continuous' || option == 'continuous2') {
-	if (emptyField(aForm.from.value) || emptyField(aForm.to.value)) {
-		alert("Please, complete all fields");
-	    return false;
-	} else {
-		if (correctRange(aForm.from.value, aForm.to.value)) {
-			return true;			
-		} else {
-			alert("The selected range is not correct");
-			return false;
-		}
-	}
-  } else {
-	var codeCount = document.getElementById('inventaryList').options.length;
-	if (codeCount == 0) {
-		alert("Please, complete all fields"); 
-	    return false;
-	} else {
-		var inventaryList = document.getElementById('inventaryList');
-		var allCodes = '';
-	  	for (i = 0; i <= inventaryList.options.length - 1; i++) {
-			allCodes = allCodes + "'" + inventaryList.options[i].text + "',";
-	  	}
-  		allCodes = '(' + allCodes.substr(0, allCodes.length - 1) + ')';
-	  	document.getElementById('individualCodes').value = allCodes;
-	    return true;
-	}
-  }
-}
-
-function changeRange(selectBox) {
-	var option = selectBox.value;
-	var panel = document.getElementById(option);
-	panel.style.display = 'inline';
-	if (option == 'continuous') {
-		document.getElementById('inventaryList').options.length = 0;
-		document.getElementById('individuals').style.display = 'none';
-		document.getElementById('individualCodes').value = "";
-	} else {
-		document.getElementById('from').value = "";
-		document.getElementById('to').value = "";
-		document.getElementById('continuous').style.display = 'none';
-	}
-}
-
-function itemExists(code, list) {
-  var ok = false;
-  var listLength = list.length - 1;
-  var count = 0;
-  while (!(ok) && (count <= listLength)) {
-	if (code == list[count].value) {
-	  ok = true;
-	}
-	count = count + 1;
-  }
-  return ok;	
-}
-
-function addItem() {
-  var codeObject = document.getElementById('inventaryCode');
-  var inventaryCode = document.getElementById('inventaryCode').value;
-  var inventaryList = document.getElementById('inventaryList');
-  if (inventaryCode == "") {
-    alert('You can´t add an empty code.');
-  } else {
-    if (itemExists(inventaryCode, inventaryList.options)) {
-	  codeObject.value = "";
-  	  alert("The code is already included."); 
-    } else {  	
-	  var optionObject = new Option(inventaryCode, inventaryCode);
-  	   if (!IE) {
-	     inventaryList.add(optionObject, inventaryList.options[inventaryList.options.length]); 
-      } else {
-	    inventaryList.add(optionObject, inventaryList.options.length);
-	  }
-      codeObject.value = "";
-    }
-  }	
-}
-
-function removeItem() {
-  var inventaryList = document.getElementById('inventaryList');
-  if (inventaryList.selectedIndex == -1) {
-  	alert('You have to select a code first.');
-  } else {
-  	inventaryList.options[inventaryList.selectedIndex] = null;
-  }
-}
-
-	function addCountryCode() {
-		var panel = document.getElementById('addCountryCode');
-		panel.style.display = 'inline';
-		panel.style.top = mouseY;
-		panel.style.left = mouseX;
-	}
-</script>
-</head>
-<body onload="javascript: changeRange(document.getElementById('rangeType'))">
-<!-- MENUS -->
-<div id="menubar">
-	<span class="koha">KOHA</span>
-	<a class="home" href="/cgi-bin/koha/mainpage.pl">Home</a>
-	<a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a>
-	<a class="members" href="/cgi-bin/koha/members/members-home.pl">Members</a>
-	<a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a>
-	<a class="circulation"  href="/cgi-bin/koha/circ/circulation.pl">Circulation</a>
-	<a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
-	<a class="reports" href="/cgi-bin/koha/reports-home.pl">Reports</a>
-	<a class="parameters" href="/cgi-bin/koha/admin-home.pl">Parameters</a>
-	<a class="about" href="/cgi-bin/koha/about.pl">About</a>
-	<a class="catalogue" href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">Help</a>
-</div>
-<div id="submenu">
-	<span class="koha">options &gt;&gt;&nbsp;&nbsp;</span>
-	<a href="/cgi-bin/koha/admin/aqbookfund.pl" class="submenu">Funds</a>
-	<a href="/cgi-bin/koha/admin/authorised_values.pl" class="submenu2">Auth value</a>
-	<a href="/cgi-bin/koha/admin/thesaurus.pl" class="submenu">Thesaurus</a>
-	<a href="/cgi-bin/koha/admin/currency.pl" class="submenu2">Currencies</a>
-	<a href="/cgi-bin/koha/admin/printers.pl" class="submenu">Printers</a>
-</div>
-<!-- TMPL_IF NAME="loggedinusername" -->
-    <p align="left">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
-<!-- TMPL_ELSE -->
-    <p align="left"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
-<!-- /TMPL_IF -->

Index: barcodes/barcodes.tmpl
===================================================================
RCS file: barcodes/barcodes.tmpl
diff -N barcodes/barcodes.tmpl
--- barcodes/barcodes.tmpl	4 Jan 2005 20:20:52 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,180 +0,0 @@
-<!-- TMPL_INCLUDE NAME="barcodes-top.inc" -->
-
-<!-- ******************************************************************************************************** -->
-<!-- ******                             START OF ADD COUNTRY CODE PANEL                                ****** -->
-<!-- ******************************************************************************************************** -->
-
-<div class="countryPanel" style="position:absolute" id="addCountryCode">
- 	<form action="/cgi-bin/koha/barcodes/barcodes.pl" method="post" style="display:inline">
-		<input type="hidden" name="addCode" value="1">
-		<table style="background-color:#EFEFEF;border:1px" align="center">
-			<tr>
-				<th colspan="2">
-					Add a new Country Code
-				</th>
-			</tr>
-			<tr>
-				<td>
-					Country Name &nbsp;<input type="text" size="10" id="countryName" name="countryName"  
-					                        style="background-color:#FFFFFF;color:Black"/>
-				</td>
-				<td>
-					Country Code &nbsp;<input type="text" size="3" id="countryCode" name="countryCode"  
-					                        style="background-color:#FFFFFF;color:Black"/>
-				</td>
-			</tr>
-			<tr>
-				<td align="right">
-					<input type="submit" name="submit" id="submit" value="Save Code"/>
-				</td>
-				<td align="left">
-					<input type="button" name="cancel" id="cancel" value="Cancel"
-					       onclick="document.getElementById('addCountryCode').style.display = 'none'"/>
-				</td>
-			</tr>
-		</table>
-	</form>
-</div>
-
-<!-- ******************************************************************************************************** -->
-<!-- ******                              END OF ADD COUNTRY CODE PANEL                                 ****** -->
-<!-- ******************************************************************************************************** -->
-
-<div id="mainbloc">
-	<h1>Barcodes Generator</h1>
-	<table bgcolor="#ffcc00" width="80%" cellpadding="3">
-		<tr valign="center">
-			<td><font size="4">Generate barcodes from inventory codes</font></td>
-		</tr>
-	</table>
-	<ul>
-		<li>Select a range of inventary codes. You can choose a continuous range or individual inventory codes</li>
-		<li>Select the standard type to generate barcodes.</li>
-		<li>Define the page size for output the PDF.</li>
-		<li>Depending on page size, Koha will show you how the page is arranged
-		    for each barcode. You can define wich point to start printing the page.
-		</li>
-	</ul>
-	<br>
-	<form id="formulario" method="POST" action="<!-- TMPL_VAR NAME="SCRIPT_NAME" -->" name="form1" onsubmit="return checkFields(this);" target="_blank">
-		
-		<table cellpadding="3" border=0 class="myTable">
-			<!-- TMPL_IF NAME="ERROR" -->
-			<tr align="center">
-				<td colspan="2" >
-					<p style="font-size:13pt;color:red">Can't find inventory codes in that range. Please try again.</p>
-				</td>
-			</tr>
-			<!-- /TMPL_IF -->
-  			<tr valign="top">
-				<td align="right" style="width:50%;padding-right:20px"> 
-					<table style="border:0px">
-						<tr align="right">
-							<td>Type of Interval</td>
-						</tr>
-						<tr align="right">
-							<td><!-- TMPL_VAR NAME="RANGE_TYPE" --></td>
-						</tr>
-					</table>
-				</td>
-				<td style="width:50%;padding-left:20px"> 
-					<div id="continuous" class="panel" style="display:inline">
-						<table class="ranges">
-							<tr>
-					   			<td>From:</td> 
-								<td><input id="from" type="text" name="from" size="20"></td>
-							</tr>
-							<tr>
-					   			<td>To:</td>
-								<td><input id="to" type="text" name="to" size="20"></td>
-							</tr>
-						</table>
-					</div> 
- 				    <div id="individuals" class="panel" style="display:none">
-						<table class="ranges">
-							<tr valign="top">
-								<td width="5%">
-									Inventory Code <BR>
-									<input id="inventaryCode" type="text" name="inventaryCode" size="20">
-								<td>
-								<td align="center">	
-									<img src="<!-- TMPL_VAR NAME="themelang" -->/images/rightarrow.png" onclick="addItem()"
-									     border="0" onclick="javascript: addItem();" style="cursor:pointer" style="display:table-cell">
-									<img src="<!-- TMPL_VAR NAME="themelang" -->/images/leftarrow.png" onclick="javascript: removeItem();" border="0" style="cursor:pointer" style="display:table-cell">
-								</td>
-								<td width="95%">		   
-									<select id="inventaryList" size="5" style="width:150px">
-									</select>
-									<input type="hidden" id="individualCodes" name="individualCodes">																						
-								</td>
-							</tr>
-						</table>	
-					</div>						
-				</td> <!-- Fin Rangos -->
-			</tr>
-			<tr> 
-				<td align="right" style="padding-right:20px">
-					<table style="border:0px">
-						<tr align="right">
-							<td>Country Code</td>
-						</tr>
-						<tr align="right">
-							<td>
-								<div style="display:inline">
-									<img src="<!-- TMPL_VAR NAME="themelang" -->/images/more.gif" hspace="0" vspace="0" border="0" style="vertical-align:bottom;cursor:pointer" onclick="addCountryCode();">
-									<!-- TMPL_VAR NAME="NUMBER_SYSTEM" -->
-								</div>
-							</td>
-						</tr>
-					</table>
-				</td>
-				<td style="padding-left:20px"> 
-					<table style="border:0px">
-						<tr>
-							<td>Page Size</td>
-						</tr>
-						<tr>
-							<td>
-								<input type="text" name="pageType" readonly value="<!-- TMPL_VAR NAME="PAGES" -->"
-								       size="10">
-								<a href="/cgi-bin/koha/barcodes/printerConfig.pl">[Go to Printer Configuration]</a>
-							</td>
-						</tr>
-					</table>
-				</td>
-			</tr>
-			<tr> 
-				<td align="right" style="padding-left:20px">Text under label</td>
-				<td>
-					<input type="text" name="text_under_label" size="40" value="<!-- TMPL_VAR name="text_under_label -->"> If this field is empty, author and title will be used instead
-				</td>
-			</tr>
-  			<tr valign="top">
-  			    <td colspan="2" align="center">
-			    	<table style="width:50%">
-						<tr style="border-color:#000FCD">
-							<th colspan="<!-- TMPL_VAR NAME="COL_SPAN" -->">Label number to start printing</th>
-						</tr>
-						<!-- TMPL_LOOP NAME="LABEL_TABLE" -->
-							<tr style="align:left">
-								<!-- TMPL_LOOP NAME="columns" -->
-									<td style="border:1px solid #000000">
-										<input type="radio" id="label" value="<!-- TMPL_VAR NAME="tagname" -->" name="label" <!-- TMPL_VAR NAME="check" -->>  Label  <!-- TMPL_VAR NAME="labelname" --></td>
-								<!-- /TMPL_LOOP -->
-							</tr>
-						<!-- /TMPL_LOOP -->  			    
-					</table>
-				</td>
-  			</tr>
-  			<tr valign="top">
-  			    <td align="right">
-					<input type="submit" value="Generate Barcodes" name="B1" class="button">
-				</td>
-  			    <td align="left">
-  			    	<input type="reset" value="Clear Fields" name="B2" class="button">
-				</td>
-  			</tr>
-		</table>		
-	</form>
-</div>
-<!-- TMPL_INCLUDE NAME="barcodes-bottom.inc" -->

Index: barcodes/printerConfig.tmpl
===================================================================
RCS file: barcodes/printerConfig.tmpl
diff -N barcodes/printerConfig.tmpl
--- barcodes/printerConfig.tmpl	20 Sep 2004 15:03:28 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,104 +0,0 @@
-<!-- TMPL_INCLUDE NAME="barcodes-top.inc" -->
-<div id="mainbloc">
-	<h1>Printer Configuration</h1>
-	<table bgcolor="#ffcc00" width="80%" cellpadding="3">
-		<tr valign="center">
-			<td><font size="4">Set de printer configuration corresponding to your environment</font></td>
-		</tr>
-	</table>
-	<ul>
-		<li>Set width and heigth of the label that you are going to work with.</li>
-		<li>Set your system dpi by default.</li>
-		<li>Set the page type.</li>
-		<li>Select how many columns and rows are in your page type.</li>
-		<li>Set margin left and margin bottom of the page that you are going to use. This parameters will
-		    help to center the barcodes into the labels.</li>
-	</ul>
-	<br>
-	<form id="formulario" method="POST" action='<!-- TMPL_VAR NAME="SCRIPT_NAME" -->' name="form1">
-		<input type="hidden" name="saveSettings" value="1">
-		<table cellpadding="3" border=0 class="myTable">
-			<tr>
-				<td>
-					Label width (Expressed in mm)
-				</td>
-				<td>
-					Label heigth (Expressed in mm)
-				</td>
-				<td>
-					System dpi
-				</td>
-				<td>
-					Page Type
-				</td>
-				<td>
-					Columns
-				</td>
-				<td>
-					Rows
-				</td>
-				<td>
-					Margin Bottom (Expressed in mm)
-				</td>
-				<td>
-					Margin Left (Expressed in mm)
-				</td>
-			<tr>
-  			<tr valign="top">
-				<td align="left"> 
-					<input id="labelWidth" type="text" name="labelWidth" size="5"
-					       value="<!-- TMPL_VAR NAME="LABEL_WIDTH" -->">
-				</td>
-				<td align="left"> 
-					<input id="labelHeigth" type="text" name="labelHeigth" size="5"
-					       value="<!-- TMPL_VAR NAME="LABEL_HEIGTH" -->">
-				</td>
-				<td align="left">
-					<input id="systemDpi" type="text" name="systemDpi" size="5"
-					       value="<!-- TMPL_VAR NAME="SYSTEM_DPI" -->">
-				</td>
-				<td align="left">
-					<select name="pageType" id="pageType" size="1">
-						<!-- TMPL_IF name="A4" -->
-							<option value="A4" selected>A4</option>
-				        <!-- TMPL_ELSE -->
-							<option value="A4">A4</option>
-						<!-- /TMPL_IF -->
-						<!-- TMPL_IF name="Letter" -->
-							<option value="Letter" selected>Letter</option>
-				        <!-- TMPL_ELSE -->
-							<option value="Letter">Letter</option>
-						<!-- /TMPL_IF -->
-						<!-- TMPL_IF name="Legal" -->
-							<option value="Legal" selected>Legal</option>
-				        <!-- TMPL_ELSE -->
-							<option value="Legal">Legal</option>
-						<!-- /TMPL_IF -->
-		            </select>
-				</td>
-  			    <td align="left">
-					<input id="columns" type="text" name="columns" size="5"
-					       value="<!-- TMPL_VAR NAME="COLUMNS" -->">
-				</td>
-  			    <td align="left">
-					<input id="rows" type="text" name="rows" size="5"
-					       value="<!-- TMPL_VAR NAME="ROWS" -->">
-				</td>
-  			    <td align="left">
-					<input id="marginBottom" type="text" name="marginBottom" size="5"
-					       value="<!-- TMPL_VAR NAME="MARGIN_TOP" -->">
-				</td>
-  			    <td align="left">
-					<input id="marginLeft" type="text" name="marginLeft" size="5"
-					       value="<!-- TMPL_VAR NAME="MARGIN_LEFT" -->">
-				</td>
-  			</tr>
-  			<tr valign="top">
-  			    <td colspan="8" align="center">
-					<input type="submit" value="Save Settings">
-				</td>
-  			</tr>
-		</table>		
-	</form>
-</div>
-<!-- TMPL_INCLUDE NAME="barcodes-bottom.inc" -->

Index: bookshelves/addbookbybiblionumber.tmpl
===================================================================
RCS file: bookshelves/addbookbybiblionumber.tmpl
diff -N bookshelves/addbookbybiblionumber.tmpl
--- bookshelves/addbookbybiblionumber.tmpl	26 Oct 2005 09:16:11 -0000	1.5
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-<!-- TMPL_INCLUDE Name="popup-top.inc" -->
-<div id="mainbloc">
-<h2 class="catalogue">Select bookshelf</h2>
-<form action="/cgi-bin/koha/bookshelves/addbookbybiblionumber.pl" method="get">
-	<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
-	<p><label>Title</label><!-- TMPL_VAR NAME="title" --></p>
-	<p><label>Author</label><!-- TMPL_VAR NAME="author" --></p>
-	<p><label>Add to virtual shelf</label><!-- TMPL_VAR NAME="CGIbookshelves" --></p>
-	<p>or add to a new bookshelf </p>
-	<p><input type="text" name="newbookshelf" maxlength=40 size=40>
-		<select name="category">
-			<option value="1">Private</option>
-			<option value="2">Public</option>
-			<option value="3">Free</option>
-		</select>
-	</p>
-	<input type="submit" value="Add to virtual shelf" class="button catalogue">
-</form>
-<!-- TMPL_INCLUDE Name="popup-bottom.inc" -->

Index: bookshelves/shelves.tmpl
===================================================================
RCS file: bookshelves/shelves.tmpl
diff -N bookshelves/shelves.tmpl
--- bookshelves/shelves.tmpl	26 Oct 2005 09:16:11 -0000	1.8
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,194 +0,0 @@
-<!-- TMPL_INCLUDE Name="cat-top.inc" -->
-
-<div id="mainbloc">
-<!-- TMPL_IF Name="viewshelf" -->
-	<form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
-		<h1 class="catalogue"><!-- TMPL_VAR NAME="shelfname" --></h1>
-
-		<div id="bloc25">
-		<h2 class="catalogue">Shelf contents</h2>
-			<table class="small">
-				<tr colspan="4">
-					<th class="catalogue"><!-- TMPL_IF name="manageshelf" -->Delete<!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></th>
-					<th class="catalogue">Barcode</th>
-					<th class="catalogue">Title</th>
-					<th class="catalogue">Author</th>
-				</tr>
-				<!-- TMPL_LOOP Name="itemsloop" -->
-					<!-- TMPL_IF NAME="toggle" --><tr class="hilighted"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
-						<td><!-- TMPL_IF name="manageshelf" --><input type="checkbox" name="REM-<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
-						<td><!-- TMPL_VAR NAME="barcode" --></td>
-						<td><a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
-						<td><!-- TMPL_VAR NAME="author" --></td>
-					</tr>
-				<!-- /TMPL_LOOP -->
-			</table>
-			<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
-			<input type="hidden" name="modifyshelfcontents" value="1">
-			<input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
-			<!-- TMPL_IF name="manageshelf" -->
-				<input type="submit" value="Remove Selected Items" class="button catalogue">
-			<!-- /TMPL_IF -->
-		</div>
-	</form>
-
-	<!-- TMPL_IF name="manageshelf" -->
-	<div id="bloc25">
-		<form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
-		<h2 class="catalogue">Add a book by barcode</h2>
-			<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
-			<input type="hidden" name="modifyshelfcontents" value="1">
-			<input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
-			<input name="addbarcode">
-			<input type="hidden" name="modifyshelfcontents" value="1">
-			<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
-			<input type="submit" value="Save" class="button catalogue">
-		</form>
-	</div>
-	<!-- /TMPL_IF -->
-	<div id="bloc25">
-		<a href="/cgi-bin/koha/bookshelves/shelves.pl" class="button catalogue">Shelf list</a>
-	</div>
-<!-- TMPL_ELSE -->
-	<!-- TMPL_IF Name="shelves" -->
-		<h1 class="catalogue">Bookshelves</h1>
-		<!-- TMPL_IF Name="status1" -->
-			<p class="problem"><!-- TMPL_VAR NAME="string1" --><p>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_LOOP Name="paramsloop" -->
-			<!-- TMPL_IF Name="status" -->
-				<p class="problem"><!-- TMPL_VAR NAME="string" --><p>
-			<!-- /TMPL_IF -->
-		<!-- /TMPL_LOOP -->
-		<div id="bloc25">
-					<h2 class="catalogue">Select Shelves to Delete</h2>
-					<form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
-					<input type="hidden" name="shelves" value="1">
-						<!-- TMPL_LOOP Name="shelvesloop" -->
-						<!-- TMPL_IF name="canmanage" -->
-						<p>
-							<label>
-								<input type="checkbox" name="DEL-<!-- TMPL_VAR NAME="shelf" -->">
-							</label>
-								<a href="shelves.pl?viewshelf=<!-- TMPL_VAR name="shelf" -->"><!-- TMPL_VAR NAME="shelfname" --></a> (<!-- TMPL_VAR NAME="shelfbookcount" --> item(s))
-						</p>
-						<!-- /TMPL_IF -->
-						<!-- /TMPL_LOOP -->
-					<p>
-						<input type="submit" value="Delete Shelves" class="button catalogue">
-					</p>
-					</form>
-		</div>
-		<div id="bloc25">
-			<form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
-				<input type="hidden" name="shelves" value="1">
-				<h2 class="catalogue">Add Shelf</h2>
-				<p><label>Name</label><input type="text" name="addshelf" size="25"></p>
-				<p><label>Owner</label><input type="hidden" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->"><!-- TMPL_VAR NAME="loggedinusername" --></p>
-				<p><label>Category</label>
-					<select name="category">
-						<option value="1">Private</option>
-						<option value="2">Public</option>
-						<option value="3">Free</option>
-					</select>
-				</p>
-				<p> <li>a private bookshelf is managed by you &amp; can be seen only by you.</li>
-					<li> A public can be seen by everybody, but managed only by you.</li>
-					<li> A free can be managed by any user.</li>
-				</p>
-				<p>
-					<input type="submit" value="Add New Shelf" class="button catalogue">
-					<a href="/cgi-bin/koha/bookshelves/shelves.pl" class="button catalogue">back to shelf list</a>
-				</p>
-
-			</form>
-		</div>
-	<!-- TMPL_ELSE -->
-		<div id="bloc25">
-			<h2 class="catalogue">Shelf list</h2>
-			<table class="small">
-				<tr>
-					<th class="catalogue">Shelf name</th>
-					<th class="catalogue">Category</th>
-					<th class="catalogue">Content size</th>
-					<th class="catalogue">Modify</th>
-				</tr>
-				<!-- TMPL_LOOP Name="shelvesloop" -->
-				<!-- TMPL_IF NAME="toggle" --><tr class="hilighted"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
-					<td>
-						<a href="/cgi-bin/koha/bookshelves/shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
-							<!-- TMPL_VAR NAME="shelfname" -->
-						</a>
-					</td>
-					<td>
-						<!-- TMPL_IF NAME="category1" -->
-							Private
-						<!-- /TMPL_IF -->
-						<!-- TMPL_IF NAME="category2" -->
-							Public
-						<!-- /TMPL_IF -->
-						<!-- TMPL_IF NAME="category3" -->
-							Free
-						<!-- /TMPL_IF -->
-					</td>
-					<td>
-						<!-- TMPL_VAR NAME="shelfbookcount" --> item(s)
-					</td>
-					<!-- TMPL_IF name="mine" -->
-						<td>
-							<a href="/cgi-bin/koha/bookshelves/shelves.pl?op=modif&amp;shelf=<!-- TMPL_VAR NAME="shelf" -->" class="button catalogue">Modify</a>
-							<!-- TMPL_VAR name="surname" --><!-- TMPL_VAR name="firstname" -->
-						</td>
-						<!-- TMPL_ELSE -->
-						<td>&nbsp;</td>
-					<!-- /TMPL_IF -->
-				</tr>
-				<!-- /TMPL_LOOP -->
-			</table>
-		</div>
-		<div id="bloc25">
-			<a href="/cgi-bin/koha/bookshelves/shelves.pl?shelves=1" class="button catalogue">Add or Remove Book Shelves</a>
-		</div>
-	<!-- /TMPL_IF -->
-<!-- /TMPL_IF -->
-
-<!-- TMPL_IF name="edit" -->
-	<div id="bloc25">
-		<form method="post" action="/cgi-bin/koha/bookshelves/shelves.pl">
-			<input type="hidden" name="op" value="modifsave">
-			<h2 class="catalogue">Modify shelf</h2>
-			<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR name="shelfnumber" -->">
-			<p><label>Name</label><input type="text" name="shelfname" size="25" value="<!-- TMPL_VAR name="shelfname"-->"></p>
-			<p><label>Owner</label><input type="hidden" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->"><!-- TMPL_VAR NAME="loggedinusername" --></p>
-			<p><label>Category</label>
-				<select name="category">
-					<!-- TMPL_IF name="category1" -->
-						<option value="1" selected>Private</option>
-					<!-- TMPL_ELSE -->
-						<option value="1">Private</option>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF name="category2" -->
-						<option value="2" selected>Public</option>
-					<!-- TMPL_ELSE -->
-						<option value="2">Public</option>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF name="category3" -->
-						<option value="3" selected>Free</option>
-					<!-- TMPL_ELSE -->
-						<option value="3">Free</option>
-					<!-- /TMPL_IF -->
-				</select>
-			</p>
-			<p> <li>a private bookshelf is managed by you &amp; can be seen only by you.</li>
-				<li> A public can be seen by everybody, but managed only by you.</li>
-				<li> A free can be managed by any user.</li>
-			</p>
-			<p>
-				<input type="submit" value="Save" class="button catalogue">
-			</p>
-
-		</form>
-	</div>
-<!-- /TMPL_IF -->
-</div>
-<!-- TMPL_INCLUDE Name="cat-bottom.inc" -->

Index: bull/bull-home.tmpl
===================================================================
RCS file: bull/bull-home.tmpl
diff -N bull/bull-home.tmpl
--- bull/bull-home.tmpl	6 Jan 2006 16:39:39 -0000	1.5
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,79 +0,0 @@
-<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
-<!--------------------------MAIN BODY OF PAGE-------------------------->
-<div id="mainbloc">
-	<h1 class="bull">Serials subscriptions</h1>
-	<table>
-		<tr>
-			<th class="bull">ISSN</th>
-			<th class="bull">Title</th>
-			<th class="bull">
-				Note
-			</td>
-			<th class="bull" colspan=2>&nbsp;</th>
-		</tr>
-		<tr>
-			<form action="bull-home.pl" method="post">
-			<td>
-				<input type="text" size=10 maxlength=11 name="ISSN" value="<!-- TMPL_VAR name="ISSN" -->" title="type ISSN here to filter subscription">
-			</td>
-			<td>
-				<input type="text" size=40 maxlength=40 name="title" value="<!-- TMPL_VAR name="title" -->" title="type a title -complete or partial- to filter subscription">
-			</td>
-			<td>
-				&nbsp;
-			</td>
-			<td colspan=2>
-				<input type="submit" value="filter" class="button bull" title="set a filter on ISSN / title">
-			</td>
-		</tr>
-		<!-- TMPL_LOOP name="subscriptions" -->
-			<tr>
-				<!-- TMPL_IF name="toggle" -->
-					<td class="hilighted">
-				<!-- TMPL_ELSE -->
-					<td>
-				<!-- /TMPL_IF -->
-					<!-- TMPL_IF name="ISSN" -->
-						<a href="bull/serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="Issues history"><!-- TMPL_VAR name="ISSN" --></a>
-					<!-- /TMPL_IF -->
-					
-				</td>
-				<!-- TMPL_IF name="toggle" -->
-					<td class="hilighted">
-				<!-- TMPL_ELSE -->
-					<td>
-				<!-- /TMPL_IF -->
-					<!-- TMPL_IF name="title" -->
-						<!-- TMPL_VAR name="title" -->
-					<!-- TMPL_ELSE -->
-						|
-					<!-- /TMPL_IF -->
-				</td>
-				<!-- TMPL_IF name="toggle" -->
-					<td class="hilighted">
-				<!-- TMPL_ELSE -->
-					<td>
-				<!-- /TMPL_IF -->
-					<!-- TMPL_IF name="notes" -->(<!-- TMPL_VAR name="notes" -->)<!-- /TMPL_IF -->
-				</td>
-				<!-- TMPL_IF name="toggle" -->
-					<td class="hilighted">
-				<!-- TMPL_ELSE -->
-					<td>
-				<!-- /TMPL_IF -->
-					<a href="bull/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="subscription detail">Detail</a>
-				</td>
-				<!-- TMPL_IF name="toggle" -->
-					<td class="hilighted">
-				<!-- TMPL_ELSE -->
-					<td>
-				<!-- /TMPL_IF -->
-					<a href="bull/statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="receive issues for this subscription">Receive</a>
-				</td>
-			</tr>
-		<!-- /TMPL_LOOP -->
-	</table>
-	<a href="/cgi-bin/koha/bull/subscription-add.pl" class="button bull">Add subscription</a>
-</div>
-<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
-

Index: bull/distributedto.tmpl
===================================================================
RCS file: bull/distributedto.tmpl
diff -N bull/distributedto.tmpl
--- bull/distributedto.tmpl	27 Oct 2005 12:08:44 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,85 +0,0 @@
-<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
-<div id="mainbloc">
-	<h1>Select borrowers or enter manually the names</h1>
-	<p>
-		<form action="/cgi-bin/koha/bull/distributedto.pl" method="post" name="Aform">
-			<table>
-			<tr>
-			<td>
-				<input type="text" name="searchfield" value="<!-- TMPL_VAR name="searchfield" -->">
-				<input type="submit" class="button" value="Filter">
-			</td>
-			<td rowspan="2">
-				<h2>Distributed to</h2>
-				<p>
-					<textarea name="distributedto" rows="15" cols="30"><!-- TMPL_VAR name="distributedto" --></textarea>
-				</p>
-				<p>
-					<!-- TMPL_IF name="save" -->
-						saved</p><p>
-					<!-- /TMPL_IF -->
-					<input type="hidden" name="SaveList" value="0">
-					<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
-					<input type="button" name="save" value="Save" class="button" onClick="FSaveList()">
-					<input type="button" name="clode" value="Close" class="button" onClick="javascript:window.close()">
-			</td>
-			</tr>
-			<tr>
-			<td>
-				<!-- TMPL_VAR NAME="borrowername" -->
-				<select name="borlist" size="15">
-					<!-- TMPL_LOOP name="borlist" -->
-						<option value="<!-- TMPL_VAR name="surname" --><!-- TMPL_VAR name="firstname" -->">
-							<!-- TMPL_VAR name="surname" --> <!-- TMPL_VAR name="firstname" -->
-						</option>
-					<!-- /TMPL_LOOP -->
-				</select>
-				<input type="button" name="insert" value="&gt;&gt;" class="button" onclick="insertValueQuery()" title="Insert" />
-			</td>
-			</tr>
-			</table>
-		</form>
-	</p>
-	<script language="javascript" type="text/javascript">
-		// GPL code coming from PhpMyAdmin
-		function insertValueQuery() {
-			var myQuery = document.Aform.distributedto;
-			var myListBox = document.Aform.borlist;
-		
-			if(myListBox.options.length > 0) {
-				var chaineAj = "";
-				var NbSelect = 0;
-				for(var i=0; i<myListBox.options.length; i++) {
-					if (myListBox.options[i].selected){
-						NbSelect++;
-						if (NbSelect > 1)
-							chaineAj += ", ";
-						chaineAj += myListBox.options[i].value;
-					}
-				}
-		
-				//IE support
-				if (document.selection) {
-					myQuery.focus();
-					sel = document.selection.createRange();
-					sel.text = chaineAj;
-					document.Aform.insert.focus();
-				}
-				//MOZILLA/NETSCAPE support
-				else if (document.Aform.distributedto.selectionStart || document.Aform.distributedto.selectionStart == "0") {
-					var startPos = document.Aform.distributedto.selectionStart;
-					var endPos = document.Aform.distributedto.selectionEnd;
-					var chaineSql = document.Aform.distributedto.value;
-					myQuery.value = chaineSql.substring(0, startPos) +''+ chaineAj+"\n" + chaineSql.substring(endPos, chaineSql.length);
-				} else {
-					myQuery.value += chaineAj;
-				}
-			}
-		}
-		function FSaveList() {
-			document.Aform.SaveList.value=1;
-			document.Aform.submit();
-		}
-	</script>
-</div>
-<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

Index: bull/full-serial-issues.tmpl
===================================================================
RCS file: bull/full-serial-issues.tmpl
diff -N bull/full-serial-issues.tmpl
--- bull/full-serial-issues.tmpl	4 Aug 2005 13:50:37 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,68 +0,0 @@
-<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
-
-
-<!-- TMPL_UNLESS name="popup" -->
-	<h1 class="bull">Subscription information for biblio #<!-- TMPL_VAR NAME="biblionumber" --> with title : <!-- TMPL_VAR name="bibliotitle" --></h1>
-	<p>
-	<a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Back to biblio</a>
-<!-- /TMPL_UNLESS -->
-	<!-- TMPL_LOOP NAME="years" -->
-		<!-- TMPL_IF NAME="year" -->
-			<a  class="button bull" href="javascript:active(<!-- TMPL_VAR NAME="year" -->)"><!-- TMPL_VAR NAME="year" --></a>
-		<!-- /TMPL_IF -->
-	<!-- /TMPL_LOOP -->
-	<a class=" button bull" href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=small">Compact view</a>
-	</p>
-	<!-- TMPL_LOOP NAME="years" -->
-	<div name="<!-- TMPL_VAR NAME="year" -->" id="<!-- TMPL_VAR NAME="year" -->" style="position:absolute; visibility:hidden; margin-top:0px; border:4px;" <!--TMPL_IF Name="first" -->style="visibility:visible"<!--/TMPL_IF -->>
-		<table>
-			<tr>
-				<th class="bull">Information
-				</th>
-				<th class="bull">Date
-				</th>
-				<th class="bull">Number
-				</th>
-				<th class="bull">Status
-				</th>
-			</tr>
-			<!-- TMPL_LOOP Name="serials" -->
-			<tr>
-				<td>
-					<!-- TMPL_VAR name="notes" -->
-				</td>
-				<td>
-					<!-- TMPL_VAR Name="planneddate" -->
-				</td>
-				<td>
-					<!-- TMPL_VAR Name="serialseq" -->
-				</td>
-				<td>
-					<!-- TMPL_IF Name="status1" -->Arrived<!-- /TMPL_IF -->
-					<!-- TMPL_IF Name="status2" -->Waited<!-- /TMPL_IF -->
-					<!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF -->
-					<!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF -->
-				</td>
-			</tr>
-			<!-- /TMPL_LOOP -->
-		</table>
-	</div>
-	<!--/TMPL_LOOP -->
-<script language="JavaScript" type="text/javascript">
-active(<!-- TMPL_VAR name="yearmin" -->);
-function active(numlayer)
-{
-	for (i=<!--TMPL_VAR Name="yearmin"-->; i<=<!--TMPL_VAR Name="yearmax"-->; i++ ) {
-		ong = i;
-		link = "link"+i;
-		if (numlayer==i) {
-			document.getElementById(ong).style.visibility="visible";
-		} else {
-			document.getElementById(ong).style.visibility="hidden";
-		}
-	}
-}
-
-</script>
-</body>
-</html>

Index: bull/lateissues.tmpl
===================================================================
RCS file: bull/lateissues.tmpl
diff -N bull/lateissues.tmpl
--- bull/lateissues.tmpl	6 Jan 2006 16:39:39 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,45 +0,0 @@
-<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
-<!--------------------------MAIN BODY OF PAGE-------------------------->
-<div id="mainbloc">
-	<h1 class="bull">Late issues</h1>
-	<p>
-		<form action="lateissues.pl" method="post">
-			<!-- TMPL_VAR name="CGIsupplier" -->
-				<!-- TMPL_IF name="phone" -->Phone: <!-- TMPL_VAR name="phone" --><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="booksellerfax" -->Fax: <!-- TMPL_VAR name="booksellerfax" --><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="bookselleremail" --></p><p><a href="mailto:<!-- TMPL_VAR name="bookselleremail" -->" class="button bull"><!-- TMPL_VAR name="bookselleremail" --></a><!-- /TMPL_IF -->
-			<input type="submit" value="filter" class="button bull">
-		</form>
-	</p>
-	<table>
-		<tr>
-			<th class="bull">Title</th>
-			<th class="bull">Issue number</th>
-			<th class="bull">Late since</th>
-			<th class="bull" colspan=2>&nbsp;</th>
-		</tr>
-		<!-- TMPL_LOOP name="lateissues" -->
-			<tr>
-				<!-- TMPL_IF name="odd" -->
-					<td class="hilighted"><!-- TMPL_IF name="Title" --><!-- TMPL_VAR name="Title" --><!-- TMPL_ELSE -->|<!-- /TMPL_IF --></td>
-					<td class="hilighted"><!-- TMPL_VAR name="serialseq" --></td>
-					<td class="hilighted"><!-- TMPL_VAR name="planneddate" --></td>
-					<td class="hilighted">
-						<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Detail</a>
-						<a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Recieve</a>
-					</td>
-				<!-- TMPL_ELSE -->
-					<td><!-- TMPL_VAR name="Title" --></td>
-					<td><!-- TMPL_VAR name="serialseq" --></td>
-					<td><!-- TMPL_VAR name="planneddate" --></td>
-					<td>
-						<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Detail</a>
-						<a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Recieve</a>
-					</td>
-				<!-- /TMPL_IF -->
-			</tr>
-		<!-- /TMPL_LOOP -->
-	</table>
-</div>
-<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
-

Index: bull/order.tmpl
===================================================================
RCS file: bull/order.tmpl
diff -N bull/order.tmpl
--- bull/order.tmpl	2 Sep 2004 16:28:01 -0000	1.5
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,30 +0,0 @@
-<!-- TMPL_INCLUDE name="popup-top.inc" -->
-<div id="mainbloc">
-	<h1>Supplier Search Results</h1>
-	<div id="bloc100">
-		<h2>You searched on <b>supplier <!-- TMPL_VAR name="supplier" -->,</b> <!-- TMPL_VAR name="count" --> results found</h2>
-		<table>
-			<tr>
-				<th>Book seller</th>
-				<th>Select</th>
-			</tr>
-			<!-- TMPL_LOOP name="loop_suppliers" -->
-				<tr>
-					<td><!-- TMPL_VAR name="name" --></td>
-					<td><a href="#" onclick="javascript:GetIt(<!-- TMPL_VAR name="aqbooksellerid" -->,'<!-- TMPL_VAR name="name" -->')">Get It !</td>
-				</tr>
-			<!-- /TMPL_LOOP -->
-		</table>
-	</div>
-</div>
-
-<script language="Javascript">
-
-function GetIt(aqbooksellerid,name)
-{
-  opener.document.f.aqbooksellerid.value = aqbooksellerid;
-  opener.document.f.aqbooksellername.value = name;
-  self.close();
-}
-</script>
-<!-- TMPL_INCLUDE name="popup-bottom.inc" -->

Index: bull/printlist.tmpl
===================================================================
RCS file: bull/printlist.tmpl
diff -N bull/printlist.tmpl
--- bull/printlist.tmpl	27 Oct 2005 12:08:44 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-<html>
-<body onLoad="window.print();">
-<h1>Distribution list</h1>
-<h2>Title : <!-- TMPL_VAR name="title" -->, <!-- TMPL_VAR name="serialseq" --></h2>
-<div style="border : 1px solid black;">
-	<!-- TMPL_VAR name="distributedto" -->
-</div>
-
-<div style=border-top: 1px solid black;">
-	<p><!-- TMPL_VAR name="branchname" --></p>
-	<p><!-- TMPL_VAR name="branchaddress1" --></p>
-	<p><!-- TMPL_VAR name="branchaddress2" --></p>
-	<p><!-- TMPL_VAR name="branchaddress3" --></p>
-	<p>phone : <!-- TMPL_VAR name="branchphone" --> <i><!-- TMPL_VAR name="branchemail" --></i></p>
-</div>
-
-</body>
-</html>
\ No newline at end of file

Index: bull/receipt-search-result.tmpl
===================================================================
RCS file: bull/receipt-search-result.tmpl
diff -N bull/receipt-search-result.tmpl
--- bull/receipt-search-result.tmpl	5 Aug 2004 16:35:43 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,77 +0,0 @@
-<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
-<div id="mainbloc">
-	<h1 class="authority">Serial search results</h1>
-	<div id="resultnumber">
-		<p>
-			<!-- TMPL_IF NAME=displayprev -->
-				<a href=search.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>
-					<img src="/intranet-tmpl/default/images/numbers/prev.gif" border=0>
-				</a>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME=numbers -->
-				<!-- TMPL_IF NAME=highlight -->
-					<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->-highlight.gif">
-				<!-- TMPL_ELSE -->
-					<a href=search.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><img src="/intranet-tmpl/default/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="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><img src="/intranet-tmpl/default/images/numbers/next.gif" border=0></a>
-				<!-- /TMPL_IF -->
-		</p>
-
-	</div>
-	<div id="resultlist">
-		<table>
-			<tr>
-				<th class="authority">Serial</th>
-				<th class="authority">View</th>
-				<th class="authority">State of collection</th>
-				<th class="authority">Delete</th>
-			</tr>
-			<!-- TMPL_LOOP name="result" -->
-				<tr>
-					<td><!-- TMPL_VAR name="serial" --></td>
-
-					<td>
-		<div align="center">				<a href="subscription-detail.pl?suscr=<!-- TMPL_VAR name="subscriptionid" -->">
-							<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR name="authid" -->" title="Serial number<!-- TMPL_VAR name="subscriptionid" -->">
-						</a> </div>
-					</td>
-	<td><div align="center"><a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&serial=<!-- TMPL_VAR name="serial" -->"> 
-
-							<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/Fleche.jpg"  width="32" hspace="0" vspace="0" border="0" alt="Subscribtion serial<!-- TMPL_VAR name="subscriptionid" -->" title="Serial number<!-- TMPL_VAR name="subscriptionid" -->">
-
-
-</a></td></div>
-				</tr>
-			<!-- /TMPL_LOOP -->
-		</table>
-	</div>
-	<div id="resultnumber">
-		<p>
-			<!-- TMPL_IF NAME=displayprev -->
-			<a href=search.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><img src="/intranet-tmpl/default/images/numbers/prev.gif" border=0></a>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME=numbers -->
-				<!-- TMPL_IF NAME=highlight -->
-				<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->-highlight.gif">
-				<!-- TMPL_ELSE -->
-				<a href=search.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><img src="/intranet-tmpl/default/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="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><img src="/intranet-tmpl/default/images/numbers/next.gif" border=0></a>
-				<!-- /TMPL_IF -->
-		</p>
-	</div>	
-</div>
-<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
-
-
-<script language="JavaScript" type="text/javascript" >
-function do_delete(page)
-{
-window.location = page;
-}
-</script>

Index: bull/result.tmpl
===================================================================
RCS file: bull/result.tmpl
diff -N bull/result.tmpl
--- bull/result.tmpl	1 Mar 2005 13:40:52 -0000	1.5
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,84 +0,0 @@
-    <!-- TMPL_INCLUDE NAME="neutral-top.inc" -->
-<div id="mainbloc">
-	<h1 class="catalogue">Search results</h1>
-	<div id="resultnumber">
-		<p>
-			<!-- TMPL_IF NAME=displayprev -->
-				<a href=subscription-bib-search.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>
-					<img src="/intranet-tmpl/default/images/numbers/prev.gif" border=0>
-				</a>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME=numbers -->
-				<!-- TMPL_IF NAME=highlight -->
-					<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->-highlight.gif">
-				<!-- TMPL_ELSE -->
-					<a href=subscription-bib-search.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><img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->.gif" border=0></a>
-				<!-- /TMPL_IF -->
-			<!-- /TMPL_LOOP -->
-			<!-- TMPL_IF NAME=displaynext -->
-				<a href=subscription-bib-search.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><img src="/intranet-tmpl/default/images/numbers/next.gif" border=0></a>
-				<!-- /TMPL_IF -->
-		</p>
-		<p>
-			<!-- TMPL_IF name=total -->
-			&nbsp<b>Results <!-- TMPL_VAR name="from" --> to <!-- TMPL_VAR name="to" --> of <!-- TMPL_VAR name="total" --></b><br><br>
-			<!-- TMPL_ELSE -->
-			&nbsp No results found.<br>
-			<!-- /TMPL_IF -->
-		</p>
-	</div>
-	<div id="resultlist">
-		<table>
-			<tr>
-			<th class="catalogue">Summary</th>
-			<th class="catalogue">&nbsp;</th>
-			</tr>
-			<!-- TMPL_LOOP name="result" -->
-			<tr>
-				<td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
-					<p>
-						<p><b><!-- TMPL_VAR NAME="title" --></b></p>
-						<p><!-- TMPL_VAR NAME="author" -->
-						<!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /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="notes" --> : <!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
-						<!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
-					</p>
-				</td>
-				<td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
-						<a class="transparent" href="#" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR name="title" escape="URL" -->') ">Get it!</a>
-				</td>
-			</tr>
-			<!-- /TMPL_LOOP -->
-		</table>
-	</div>
-	<div id="resultnumber">
-		<p>
-			<!-- TMPL_IF NAME=displayprev -->
-			<a href=subscription-bib-search.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><img src="/intranet-tmpl/default/images/numbers/prev.gif" border=0></a>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME=numbers -->
-				<!-- TMPL_IF NAME=highlight -->
-				<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->-highlight.gif">
-				<!-- TMPL_ELSE -->
-				<a href=subscription-bib-search.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><img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->.gif" border=0></a>
-				<!-- /TMPL_IF -->
-			<!-- /TMPL_LOOP -->
-			<!-- TMPL_IF NAME=displaynext -->
-			<a href=subscription-bib-search.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><img src="/intranet-tmpl/default/images/numbers/next.gif" border=0></a>
-				<!-- /TMPL_IF -->
-		</p>
-	</div>	
-</div>
-
-
-<script language="Javascript">
-
-function GetIt(bibno,title)
-{
-  opener.document.f.biblionumber.value = bibno;
-  opener.document.f.title.value = title;
-  self.close();
-}
-</script>
\ No newline at end of file

Index: bull/search-supply.tmpl
===================================================================
RCS file: bull/search-supply.tmpl
diff -N bull/search-supply.tmpl
--- bull/search-supply.tmpl	5 Aug 2004 16:35:43 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-<!-- TMPL_INCLUDE name="popup-top.inc" -->
-
-<div id="mainbloc">
-<h1 class="bull">Search supplier for serial subscription</h1>
-<div id="bloc25">
-	<form action="/cgi-bin/koha/bull/order.pl" method=post>
-		Supplier name : <input type="text"  size="25"   name="supplier">
-		<input type="submit" class="button bull" value="OK">
-	</form>
-</div>
-<!-- TMPL_INCLUDE name="popup-bottom.inc" -->
\ No newline at end of file

Index: bull/search.tmpl
===================================================================
RCS file: bull/search.tmpl
diff -N bull/search.tmpl
--- bull/search.tmpl	6 Jan 2006 16:39:39 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,72 +0,0 @@
-    <!-- TMPL_INCLUDE NAME="popup-top.inc" -->
-<div id="mainbloc">
-
-<h1 class="catalogue">Catalogue search</h1>
-
-<form name="f" action="/cgi-bin/koha/bull/subscription-bib-search.pl" method="post">
-	<input type="hidden" name="op" value="do_search">
-	<input type="hidden" name="type" value="intranet">
-	<input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
-	<div id="bloc25">
-		<h2 class="catalogue">Search on</h2>
-		<p>
-			<label class="label20">Keyword</label>
-			<input type="hidden" name="marclist" value="">
-			<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">
-		</p>
-		<p>
-			<label class="label20">Itemtype</label>
-			<!-- TMPL_VAR name="CGIitemtype" -->
-			<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="category" -->">
-			<input type="hidden" name="marclist" value="">
-			<input type="hidden" name="and_or" value="and">
-			<input type="hidden" name="excluding" value="">
-			<input type="hidden" name="operator" value="=">
-			<input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
-		</p>
-	</div>
-	<div id="bloc25">
-		<p>Results per page :
-			<select align="right" name="resultsperpage" size="1">
-				<option value="20">20</option>
-				<option value="50">50</option>
-				<option value="100">100</option>
-			</select>
-		Ordered by
-			<select name="orderby" size="1">
-				<option value="biblio.title">Title</option>
-				<option value="biblio.author">Author</option>
-				<option value="biblioitems.dewey">Dewey</option>
-				<option value="biblioitems.publicationyear">Publication Year</option>
-				<option value="biblioitems.publishercode">Publisher</option>
-			</select>
-		</p>
-		<p>
-			<input type="submit" value="Start search" class="button catalogue">
-			<a href="javascript:PopupSuggestion()" class="button catalogue">Suggestions</a>
-		</p>
-	</div>
-</form>
-
-<script language="Javascript" type="text/javascript">
-function AddStatement() {
-
-	document.forms['f'].op.value="AddStatement";
-	document.f.submit();
-}
-
-function PopupSuggestion() {
-    var strQuery="";
-	for (i=0 ; i<document.f.marclist.length ; i++) {
-		if (document.f.value[i].value.length>0) {
-		    strQuery += " "+document.f.value[i].value;
-		}
-	}
-	newin=window.open("suggest.pl?Q="+strQuery,"Suggestions",'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-
-</script>
-</div>

Index: bull/searchresultlist.tmpl
===================================================================
RCS file: bull/searchresultlist.tmpl
diff -N bull/searchresultlist.tmpl
--- bull/searchresultlist.tmpl	30 Jul 2004 14:16:34 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,84 +0,0 @@
-<!-- TMPL_INCLUDE NAME="auth-top.inc" -->
-<div id="mainbloc">
-	<h1 class="authority">Authority search results</h1>
-	<div id="resultnumber">
-		<p>
-			<!-- TMPL_IF NAME=displayprev -->
-				<a href=search.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>
-					<img src="/intranet-tmpl/default/images/numbers/prev.gif" border=0>
-				</a>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME=numbers -->
-				<!-- TMPL_IF NAME=highlight -->
-					<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->-highlight.gif">
-				<!-- TMPL_ELSE -->
-					<a href=search.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><img src="/intranet-tmpl/default/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="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><img src="/intranet-tmpl/default/images/numbers/next.gif" border=0></a>
-				<!-- /TMPL_IF -->
-		</p>
-		<p>
-			<!-- TMPL_IF name=total -->
-			&nbsp<b>Results <!-- TMPL_VAR name="from" --> to <!-- TMPL_VAR name="to" --> of <!-- TMPL_VAR name="total" --></b><br><br>
-			<!-- TMPL_ELSE -->
-			&nbsp No results found.<br>
-			<!-- /TMPL_IF -->
-		</p>
-	</div>
-	<div id="resultlist">
-		<table>
-			<tr>
-				<th class="authority">Summary</th>
-				<th class="authority">Used</th>
-				<th class="authority">View</th>
-				<th class="authority">Delete</th>
-			</tr>
-			<!-- TMPL_LOOP name="result" -->
-				<tr>
-					<td><!-- TMPL_VAR name="summary" --></td>
-					<td><!-- TMPL_VAR name="used" --> <a href="../search.marc/search.pl?type=intranet&op=do_search&marclist=<!-- TMPL_VAR name="biblio_fields" -->&operator==&value=<!-- TMPL_VAR name="authid" -->&and_or=&excluding=">...</a></td>
-					<td>
-						<a href="detail.pl?authid=<!-- TMPL_VAR name="authid" -->">
-							<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR name="authid" -->" title="Authority number<!-- TMPL_VAR name="authid" -->">
-						</a>
-					</td>
-					<td>
-						<!-- TMPL_UNLESS name="used" -->
-						<a href="javascript:do_delete('authorities-home.pl?op=delete&authid=<!-- TMPL_VAR name="authid" -->')">
-							<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
-						</a>
-						<!-- /TMPL_UNLESS -->
-					</td>
-				</tr>
-			<!-- /TMPL_LOOP -->
-		</table>
-	</div>
-	<div id="resultnumber">
-		<p>
-			<!-- TMPL_IF NAME=displayprev -->
-			<a href=search.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><img src="/intranet-tmpl/default/images/numbers/prev.gif" border=0></a>
-			<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME=numbers -->
-				<!-- TMPL_IF NAME=highlight -->
-				<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->-highlight.gif">
-				<!-- TMPL_ELSE -->
-				<a href=search.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><img src="/intranet-tmpl/default/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="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><img src="/intranet-tmpl/default/images/numbers/next.gif" border=0></a>
-				<!-- /TMPL_IF -->
-		</p>
-	</div>	
-</div>
-<!-- TMPL_INCLUDE NAME="auth-bottom.inc" -->
-
-
-<script language="JavaScript" type="text/javascript" >
-function do_delete(page)
-{
-window.location = page;
-}
-</script>
\ No newline at end of file

Index: bull/serial-issues.tmpl
===================================================================
RCS file: bull/serial-issues.tmpl
diff -N bull/serial-issues.tmpl
--- bull/serial-issues.tmpl	4 Aug 2005 13:50:37 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,102 +0,0 @@
-<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
-<!--------------------------MAIN BODY OF PAGE-------------------------->
-<div id="mainbloc">
-	<h1 class="bull">Issues for a subscription</h1>
-	<a href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Back to subscriptions</a>
-	<a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Back to biblio</a>
-	<a class="button bull" href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=full">Complete view</a>
-
-	<!-- TMPL_LOOP name="subscription_LOOP" -->
-	<div id="bloc25">
-		<h2 class="bull">Subscription information for <!-- TMPL_VAR name="bibliotitle" --></h2>
-		<p>It began on <b><!-- TMPL_VAR name="histstartdate" --></b> and is issued every
-		<b>
-		<!--TMPL_IF name="periodicity1" -->
-				day
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity2" -->
-				week
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity3" -->
-				2 weeks
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity4" -->
-				3 weeks
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity5" -->
-				month
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity6" -->
-				2 months
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity7" -->
-				3 months
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity8" -->
-				quarter
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity9" -->
-				2 quarters
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity10" -->
-				year
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity11" -->
-				2 years
-		<!-- /TMPL_IF -->
-		</b>
-		<!--TMPL_IF name="arrival1" -->
-			on <b>monday</b>
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival2" -->
-			on <b>tuesday</b>
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival3" -->
-			on <b>wednesday</b>
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival4" -->
-			on <b>thursday</b>
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival5" -->
-			on <b>friday</b>
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival6" -->
-			on <b>saturday</b>
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival7" -->
-			on <b>sunday</b>
-		<!-- /TMPL_IF -->
-		for <b>
-			<!-- TMPL_IF name="numberlength" --><!-- TMPL_VAR name="numberlength" --> issues<!-- /TMPL_IF -->
-			<!-- TMPL_IF name="weeklength" --><!-- TMPL_VAR name="weeklength" --> weeks<!-- /TMPL_IF -->
-			<!-- TMPL_IF name="monthlength" --><!-- TMPL_VAR name="monthlength" --> months<!-- /TMPL_IF -->
-			</b>
-		</p>
-		<p>Last renewal of subscription was <b><!-- TMPl_VAR name="startdate" --></b></p>
-		<!-- TMPL_IF name="enddate" --><p><b>This subscription is now ended. The last issue was recieved on <!-- TMPL_VAR name="enddate" --></b></p><!-- /TMPL_IF name="enddate" -->
-	<!--TMPL_UNLESS Name=fullinfo -->
-		<p><!-- TMPL_VAR name="notes" --></p>
-		<!-- TMPL_IF name="opacnote" -->
-			<h3 class="bull">Issues summary</h2>
-			<p>
-				<!-- TMPL_VAR name="opacnote" -->
-			</p>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="recievedlist" -->
-			<h3 class="bull">Recieved issues</h2>
-			<p>
-				<!-- TMPL_VAR name="recievedlist" -->
-			</p>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF name="missinglist" -->
-			<h3 class="bull">Missing issues</h2>
-			<p>
-				<!-- TMPL_VAR name="missinglist" -->
-			</p>
-		<!-- /TMPL_IF -->
-	</div>
-	<!-- /TMPL_UNLESS -->
-<!-- /TMPL_LOOP -->
-</div>
-
-<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->

Index: bull/statecollection.tmpl
===================================================================
RCS file: bull/statecollection.tmpl
diff -N bull/statecollection.tmpl
--- bull/statecollection.tmpl	27 Oct 2005 12:08:44 -0000	1.11
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,143 +0,0 @@
-
-<!-- TMPL_INCLUDE name="bull-top.inc" -->
-<!--------------------------MAIN BODY OF PAGE-------------------------->
-<div id="mainbloc">
-<h1 class="bull">Subscription for <!-- TMPL_VAR name="bibliotitle" --></h1>
-<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="detail of the subscription">Subscription</a>
-<a href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Subscriptions</a>
-<a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Back to biblio</a>
-
-<div id="bloc25">
-<h2 class="bull">waited or late numbers</h2>
-	<form method="post" name="f" action="statecollection.pl">
-		<input type="hidden" name="op" value="serialchangestatus">
-		<input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
-		<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
-		<input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
-	<table class="small">
-	<tr>
-		<th class="bull">
-			Numbered
-		</th>
-		<th class="bull">
-			planned for
-		</th>
-		<th class="bull">
-			Status
-		</th>
-		<th class="bull">
-			Notes
-		</th>
-	</tr>
-	<!-- TMPL_LOOP name="serialslist" -->
-		<tr>
-			<td>
-				<input type="text" name="serialseq" value="<!-- TMPL_VAR name="serialseq" -->" size=50 maxlength=100>
-			</td>
-			<td>
-				<input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size=10 maxlength=15>
-			</td>
-			<td>
-				<input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->">
-				<select name="status" size="1">
-					<!--TMPL_IF name="status1" -->
-						<option value="1" selected>Waited</option>
-					<!-- /TMPL_IF -->
-					<!--TMPL_IF name="status2" -->
-						<option value="2" selected>Arrived</option>
-					<!-- TMPL_ELSE -->
-						<option value="2">Arrived</option>
-					<!-- /TMPL_IF -->
-					<!--TMPL_IF name="status3" -->
-						<option value="3" selected>Late</option>
-					<!-- TMPL_ELSE -->
-						<option value="3">Late</option>
-					<!-- /TMPL_IF -->
-					<!--TMPL_IF name="status4" -->
-						<option value="4" selected>Missing</option>
-					<!-- TMPL_ELSE -->
-						<option value="4">Missing</option>
-					<!-- /TMPL_IF -->
-					<!--TMPL_IF name="status5" -->
-						<option value="5" selected>Not published</option>
-					<!-- TMPL_ELSE -->
-						<option value="5">Not published</option>
-					<!-- /TMPL_IF -->
-					<!--TMPL_IF name="status6" -->
-						<option value="6" selected>Delete</option>
-					<!-- TMPL_ELSE -->
-						<option value="6">Delete</option>
-					<!-- /TMPL_IF -->
-				</select>
-			</td>
-			<td>
-				<input type="text" name="notes" value="<!-- TMPL_VAR name="notes" -->" size=20 maxlength=255>
-			</td>
-			<td>
-				<a href="javascript:PrintList(<!-- TMPL_VAR name="subscriptionid" -->,'<!-- TMPL_VAR name="serialseq" -->')" class="button bull">print</a>
-			</td>
-		</tr>
-	<!-- /TMPL_LOOP -->
-	<!-- TMPL_UNLESS name="hassubscriptionexpired" -->
-		<tr>
-			<td>
-				Manual issue <input type="text" name="serialseq" size=30 maxlength=100>
-			</td>
-			<td>
-				<input type="text" name="planneddate" size=10 maxlength=15>
-			</td>
-			<td>
-				<input type="hidden" name="serialid" value="0">
-				<select name="status" size="1">
-						<option value="2">Arrived</option>
-						<option value="3" selected>Late</option>
-						<option value="4">Missing</option>
-				</select>
-			</td>
-		</tr>
-	<!-- /TMPL_UNLESS -->
-	</table>
-	<input type="submit" value="Save changes" accesskey="w" class="button bull">
-	<!-- TMPL_IF name="hassubscriptionexpired" -->
-		<p>Subscription has expired. Waited last issue status can't be changed. <a href="#" onClick="popup()" class="button bull">Renew</a> your subscription</p>
-	<!-- /TMPL_IF -->
-	</form>
-</div>
-
-<div id="bloc25">
-	<h2 class="bull">Subscription summary</h2>
-	<form method="post" name="f" action="statecollection.pl">
-		<input type="hidden" name="op" value="modsubscriptionhistory">
-		<input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
-		<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
-		<input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
-		<p><label>Librarian</label><!-- TMPL_VAR name="user" --></p>
-		<p><label class="label100">Beginnning date (*)</label><input type="text" name="histstartdate" value="<!-- TMPL_VAR name="histstartdate" -->"></p>
-		<p><label class="label100">End date</label><input type="text" name="enddate" value="<!-- TMPL_VAR name="enddate" -->"></p>
-		<p>Recieved issues</p>
-		<p>&nbsp;<textarea name="recievedlist" COLS=60 ROWS=5><!-- TMPL_VAR name="recievedlist" --></textarea></p>
-		<p>Missing issues</p>
-		<p>&nbsp;<textarea name="missinglist" COLS=60 ROWS=2><!-- TMPL_VAR name="missinglist" --></textarea></p>
-		<!--TMPL_IF Name="notissuedlist"-->
-		<p>Not issued</p>
-		<p>&nbsp;<textarea name="notissuedlist" COLS=60 ROWS=2><!-- TMPL_VAR name="notissuedlist" --></textarea></p>
-		<!--/TMPL_IF-->
-		<p>Opac's note</p>
-		<p>&nbsp;<textarea name="opacnote" COLS=60 ROWS=5><!-- TMPL_VAR name="opacnote" --></textarea></p>
-		<input type="submit" value="Save changes" class="button bull">
-	</form>
-</div>
-
-</table>
-<script language="JavaScript" type="text/javascript">
-
-function popup() {
-	 window.open("subscription-renew.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid">","subscription renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
-}
-
-function PrintList(subscriptionid,serialseq) {
-	window.open("printlist.pl?subscriptionid="+subscriptionid+"&serialseq="+serialseq);
-}
-</script>
-
-<!-- TMPL_INCLUDE name="bull-bottom.inc" -->

Index: bull/subscription-add.tmpl
===================================================================
RCS file: bull/subscription-add.tmpl
diff -N bull/subscription-add.tmpl
--- bull/subscription-add.tmpl	27 Oct 2005 12:08:44 -0000	1.12
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,255 +0,0 @@
-<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
-<!--------------------------MAIN BODY OF PAGE-------------------------->
-<div id="mainbloc">
-<!-- TMPL_IF name="mod" -->
-	<h1 class="bull">Modify subscription</h1>
-	<form method="post" name="f" action="subscription-detail.pl">
-		<input type="hidden" name="op" value="modsubscription">
-		<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
-<!-- TMPL_ELSE -->
-	<h1 class="bull">Add a subscription</h1>
-	<form method="post" name="f">
-<!-- /TMPL_IF -->
-<div id="bloc25">
-	<h2 class="bull">Subscription information</h2>
-		<input type="hidden" name="op" value="addsubscription">
-		<input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
-		<p>Librarian</td><td> <!-- TMPL_VAR name="user" --></p>
-		<p><label class="label100">Supplier</label><input type="text" name="aqbooksellerid" value="<!-- TMPL_VAR name="aqbooksellerid" -->" size=4> (<input type="text" name="aqbooksellername" value="<!-- TMPL_VAR name="aqbooksellername" -->" disabled readonly>)<a href="#" onClick="FindAcqui(f)" class="button bull">...</a></p>
-		<p><label class="label100">Biblio</label><input type="text" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" size=4> (<input type="text" name="title" value="<!-- TMPL_VAR name="bibliotitle" -->" disabled readonly>)<a href="#" onClick="Plugin(f)" class="button bull">...</a></p>
-		<p><label class="label100">Notes</label><textarea name="notes" cols="30" rows="2"><!-- TMPL_VAR name="notes" --></textarea></p>
-		<!-- TMPL_IF name="letters" -->
-			<p><label class="label100">Enable issue alert</label>
-				<select name="letter">
-					<option value=""></option>
-					<!-- TMPL_LOOP name="letters" -->
-						<!-- TMPL_IF name="selected" -->
-							<option value="<!-- TMPL_VAR name="code" -->" selected><!-- TMPL_VAR name="name" --></option>
-						<!-- TMPL_ELSE -->
-							<option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="name" --></option>
-						<!-- /TMPL_IF -->
-					<!-- /TMPL_LOOP -->
-				</select>
-			</p>
-		<!-- /TMPL_IF -->
-		<p><label class="label100">Distributed to </label><a href="#" onClick="DistributedTo()" class="button bull">...</a></p>
-		<p class="problem">warning</p>
-		<ul>
-			<li>remember you <b>must</b> have created a biblio <b>before</b> creating a subscription</li>
-			<li>You also must have selected a supplier if you want to ask for late issues</li>
-		</ul>
-</div>
-<div id="bloc25">
-	<h2 class="bull">Planning</h2>
-	<p><label class="label100">Beginnning date:</label> <input type="text" name="startdate" value="<!-- TMPL_VAR name="startdate" -->" size=13 maxlength=10></p>
-	<p><label class="label100">Frequency (*)</label>
-			<select name="periodicity" size="1">
-				<option value="" selected>Unknown</option>
-				<!-- TMPL_IF name="periodicity1" -->
-					<option value="1" selected>1/day</option>
-				<!-- TMPL_ELSE -->
-					<option value="1">1/day</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="periodicity2" -->
-					<option value="2" selected>1/week</option>
-				<!-- TMPL_ELSE -->
-					<option value="2">1/week</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="periodicity3" -->
-					<option value="3" selected>1/2 weeks (2/month)</option>
-				<!-- TMPL_ELSE -->
-					<option value="3">1/2 weeks (2/months)</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="periodicity4" -->
-					<option value="4" selected>1/3 weeks</option>
-				<!-- TMPL_ELSE -->
-					<option value="4">1/3 weeks</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="periodicity5" -->
-					<option value="5" selected>1/month</option>
-				<!-- TMPL_ELSE -->
-					<option value="5">1/month</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="periodicity6" -->
-					<option value="6" selected>1/2 months (6/year)</option>
-				<!-- TMPL_ELSE -->
-					<option value="6">1/2 months (6/year)</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="periodicity7" -->
-					<option value="7" selected>1/3 months (1/quarter)</option>
-				<!-- TMPL_ELSE -->
-					<option value="7">1/3 months (1/quarter)</option>
-				<!-- /TMPL_IF -->
-				<!-- periodicity8 is 1/quarter, exactly like periodicity7 -->
-				<!-- TMPL_IF name="periodicity9" -->
-					<option value="9" selected>2/years</option>
-				<!-- TMPL_ELSE -->
-					<option value="9">2/years</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="periodicity10" -->
-					<option value="10" selected>1/year</option>
-				<!-- TMPL_ELSE -->
-					<option value="10">1/year</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="periodicity11" -->
-					<option value="11" selected>1/2 years</option>
-				<!-- TMPL_ELSE -->
-					<option value="11">1/2 years</option>
-				<!-- /TMPL_IF -->
-			</select>
-	</p>
-	<p><label class="label100">Arrives on</label>
-			<select name="dow" size="1">
-				<option value="">None</option>
-				<!-- TMPL_IF name="dow1" -->
-					<option value="1" selected>Monday</option>
-				<!-- TMPL_ELSE -->
-					<option value="1">Monday</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="dow2" -->
-					<option value="2" selected>Tuesday</option>
-				<!-- TMPL_ELSE -->
-					<option value="2">Tuesday</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="dow3" -->
-					<option value="3" selected>Wednesday</option>
-				<!-- TMPL_ELSE -->
-					<option value="3">Wednesday</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="dow4" -->
-					<option value="4" selected>Thursday</option>
-				<!-- TMPL_ELSE -->
-					<option value="4">Thursday</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="dow5" -->
-					<option value="5" selected>Friday</option>
-				<!-- TMPL_ELSE -->
-					<option value="5">Friday</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="dow6" -->
-					<option value="6" selected>Saturday</option>
-				<!-- TMPL_ELSE -->
-					<option value="6">Saturday</option>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="dow7" -->
-					<option value="7" selected>Sunday</option>
-				<!-- TMPL_ELSE -->
-					<option value="7">Sunday</option>
-				<!-- /TMPL_IF -->
-			</select>
-</div>
-<div id="bloc25">
-	<h2 class="bull">Subscription length</h2>
-	<p>* fill 1 from :</p>
-	<ul>
-		<p><label class="label100">Number of issues</label><input type="text" name="numberlength" value="<!-- TMPL_VAR name="numberlength" -->"></p>
-		<p><label class="label100">Number of weeks</label><input type="text" name="weeklength" value="<!-- TMPL_VAR name="weeklength" -->"></p>
-		<p><label class="label100">Number of months</label><input type="text" name="monthlength" value="<!-- TMPL_VAR name="monthlength" -->"></p>
-	</ul>
-</div>
-<div id="bloc25">
-	<h2 class="bull">Numbering calculation</h2>
-	<p>
-		<p>Numbering formula: <input type="text" name="numberingmethod" value="<!-- TMPL_VAR name="numberingmethod" -->"></p>
-		<table class="small">
-			<tr>
-				<th class="bull">&nbsp;</th>
-				<th class="bull">X</th>
-				<th class="bull">Y</th>
-				<th class="bull">Z</th>
-			</tr>
-			<tr>
-				<td class="bull">Add</td>
-				<td>
-					<input type="text" name="add1" value="<!-- TMPL_VAR name="add1" -->">
-				</td>
-				<td>
-					<input type="text" name="add2" value="<!-- TMPL_VAR name="add2" -->">
-				</td>
-				<td>
-					<input type="text" name="add3" value="<!-- TMPL_VAR name="add3" -->">
-				</td>
-			</tr>
-			<tr>
-				<td class="bull">once every</td>
-				<td><input type="text" name="every1" value="<!-- TMPL_VAR name="every1" -->"></td>
-				<td><input type="text" name="every2" value="<!-- TMPL_VAR name="every2" -->"></td>
-				<td><input type="text" name="every3" value="<!-- TMPL_VAR name="every3" -->"></td>
-			</tr>
-			<tr>
-				<td class="bull">When more than</td>
-				<td><input type="text" name="whenmorethan1" value="<!-- TMPL_VAR name="whenmorethan1" -->"></td>
-				<td><input type="text" name="whenmorethan2" value="<!-- TMPL_VAR name="whenmorethan2" -->"></td>
-				<td><input type="text" name="whenmorethan3" value="<!-- TMPL_VAR name="whenmorethan3" -->"></td>
-			</tr>
-			<!-- TMPL_IF name="mod" -->
-			<tr>
-				<td class="bull">The loop is for instance</td>
-				<td><input type="text" name="innerloop1" value="<!-- TMPL_VAR name="innerloop1" -->"></td>
-				<td><input type="text" name="innerloop2" value="<!-- TMPL_VAR name="innerloop2" -->"></td>
-				<td><input type="text" name="innerloop3" value="<!-- TMPL_VAR name="innerloop3" -->"></td>
-			</tr>
-			<!-- /TMPL_IF -->
-			<tr>
-				<td class="bull">Set back to</td>
-				<td><input type="text" name="setto1" value="<!-- TMPL_VAR name="setto1" -->"></td>
-				<td><input type="text" name="setto2" value="<!-- TMPL_VAR name="setto2" -->"></td>
-				<td><input type="text" name="setto3" value="<!-- TMPL_VAR name="setto3" -->"></td>
-			</tr>
-			<tr>
-				<td class="bull">
-					<!-- TMPL_IF name="mod" -->
-						Last value
-					<!-- TMPL_ELSE -->
-						Begins with
-					<!-- /TMPL_IF -->
-				</td>
-				<td><input type="text" name="lastvalue1" value="<!-- TMPL_VAR name="lastvalue1" -->"></td>
-				<td><input type="text" name="lastvalue2" value="<!-- TMPL_VAR name="lastvalue2" -->"></td>
-				<td><input type="text" name="lastvalue3" value="<!-- TMPL_VAR name="lastvalue3" -->"></td>
-			</tr>
-		</table>
-	</p>
-</div>
-<!-- TMPL_IF name="mod" -->
-	<input type="button" value="Save subscription" onclick="Check(this.form)" accesskey="w" class="button bull">
-<!-- TMPL_ELSE -->
-	<input type="button" value="Add subscription" onclick="Check(this.form)" accesskey="w" class="button bull">
-<!-- /TMPL_IF -->
-</div>
-
-</form>
-<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
-
-<script language="JavaScript" type="text/javascript">
-
-function Plugin(f)
-{
-	 window.open("subscription-bib-search.pl","Find a bib index",'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-
-function FindAcqui(f)
-{
-	 window.open("acqui-search.pl","Find a supplier",'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-
-function DistributedTo()
-{
-	 window.open("distributedto.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->","Distributed to",'width=800,height=600,toolbar=false,scrollbars=yes');
-}
-
-
-function Check(f)
-{
-	if (f.startdate.value.length != 0 && 
-			f.numberlength.value+f.weeklength.value+f.monthlength.value > 0)
-		{
-			document.f.submit();
-		}
-else
-{
- 	alert('field marked with * are mandatory');
-}
-	return false;
-}
-</script>
\ No newline at end of file

Index: bull/subscription-bib-search.tmpl
===================================================================
RCS file: bull/subscription-bib-search.tmpl
diff -N bull/subscription-bib-search.tmpl
--- bull/subscription-bib-search.tmpl	8 Nov 2004 19:51:39 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,33 +0,0 @@
-    <!-- TMPL_INCLUDE NAME="popup-top.inc" -->
-<div id="mainbloc">
-
-<h1 class="authority">Bib search</h1>
-
-<form name="f" method="post">
-	<input type="hidden" name="op" value="do_search">
-	<input type="hidden" name="type" value="intranet">
-	<input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
-	<div id="bloc25">
-		<h2 class="authority">Search on</h2>
-		<p>
-			<label class="label100">Name or ISSN</label>
-			<!-- TMPL_VAR name="category" -->
-		</p>
-		<p>
-			<label class="label100">Search value</label>
-			<input type="text" name="value" value="<!-- TMPL_VAR name="value" -->">
-			<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="category" -->">
-			<input type="hidden" name="marclist" value="">
-			<input type="hidden" name="and_or" value="and">
-			<input type="hidden" name="excluding" value="">
-			<input type="hidden" name="operator" value="contains">
-			<input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
-		</p>
-		<p>
-			<input type="submit" value="Start search" class="button authority">
-		</p>
-	</div>
-</form>
-</div>
-<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
-

Index: bull/subscription-detail.tmpl
===================================================================
RCS file: bull/subscription-detail.tmpl
diff -N bull/subscription-detail.tmpl
--- bull/subscription-detail.tmpl	27 Oct 2005 12:08:44 -0000	1.14
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,208 +0,0 @@
-<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
-<!--------------------------MAIN BODY OF PAGE-------------------------->
-<div id="mainbloc">
-<h1 class="bull">Subscription for <!-- TMPL_VAR name="bibliotitle" --></h1>
-<a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Modify subscription">Edit</a>
-<a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Recieve issues">Receive issues</a>
-<a href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="All issues on this title">Issue history</a>
-<a href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Subscriptions</a>
-<!-- TMPL_IF name="letter" -->
-	<a href="viewalerts.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Alerted borrowers</a>
-<!-- /TMPL_IF -->
-<a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Back to biblio</a>
-<!-- TMPL_UNLESS name="totalissues" -->
-		<a href="javascript:confirm_deletion()" class="button bull">
-			delete
-		</a>
-<!-- /TMPL_UNLESS -->
-<form method="post" name="f">
-<div id="bloc25">
-	<h2 class="bull">Subscription information</h2>
-		<p>Librarian identity :</td><td> <!-- TMPL_VAR name="librarian" --></p>
-		<p><label>Supplier </label><!-- TMPL_VAR name="aqbooksellername" --></p>
-		<p><label>Cost</label><!-- TMPL_VAR name="cost" --></p>
-		<p><label>Budget </label><!-- TMPL_VAR name="bookfundid" --></p>
-		<p><label>Biblio</label><i>(<!-- TMPL_VAR name="biblionumber" -->)</i> <!-- TMPL_VAR name="bibliotitle" --></p>
-		<p><label>Notes:</label><!-- TMPL_VAR name="notes" --></p>
-		<p>
-			<!-- TMPL_IF name="letter" -->
-				<label class="label100">Issue alert with letter:</label><!-- TMPL_VAR name="letter" -->
-			<!-- TMPL_ELSE -->
-				Borrowers can't subscribe to issue alerts
-			<!-- /TMPL_IF -->
-		</p>
-		<p><label>Distributed to</label>
-		<p><ul><!-- TMPL_VAR name="distributedto" --></ul></p>
-</div>
-<div id="bloc25">
-	<h2 class="bull">Planning</h2>
-	<p><label class="label100">Beginnning date:</label> <!-- TMPL_VAR name="startdate" --></p>
-	<p><label class="label100">Frequency (*):</label>
-		<!--TMPL_IF name="periodicity1" -->
-				1/day
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity2" -->
-				1/week
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity3" -->
-				1/2 weeks
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity4" -->
-				1/3 weeks
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity5" -->
-				1/Month
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity6" -->
-				1/2 Months (6/year)
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity7" -->
-				1/quarter
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity8" -->
-				1/quarter
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity9" -->
-				2/year
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity10" -->
-				1/year
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="periodicity11" -->
-				1/2 years
-		<!-- /TMPL_IF -->
-	</p>
-	<p><label class="label100">Arrives on:</label>
-		<!--TMPL_IF name="arrival1" -->
-			Monday
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival2" -->
-				Tuesday
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival3" -->
-				Wednesday
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival4" -->
-				Thursday
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival5" -->
-				Friday
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival6" -->
-				Saturday
-		<!-- /TMPL_IF -->
-		<!--TMPL_IF name="arrival7" -->
-				Sunday
-		<!-- /TMPL_IF -->
-</div>
-<div id="bloc25">
-	<h2 class="bull">Subscription length</h2>
-	<p><label class="label100">Number of issues</label><!-- TMPL_VAR name="numberlength" --></p>
-	<p><label class="label100">Number of weeks</label><!-- TMPL_VAR name="weeklength" --></p>
-	<p><label class="label100">Number of months</label><!-- TMPL_VAR name="monthlength" --></p>
-
-</div>
-<div id="bloc25">
-	<h2 class="bull">Numbering calculation</h2>
-	<p>
-		<p>Numbering formula: <!-- TMPL_VAR name="numberingmethod" --></p>
-		<table class="small" width="20%">
-			<tr>
-				<th class="bull">&nbsp;</th>
-				<th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;X&nbsp;&nbsp;&nbsp;&nbsp;</th>
-				<th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Y&nbsp;&nbsp;&nbsp;&nbsp;</th>
-				<th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Z&nbsp;&nbsp;&nbsp;&nbsp;</th>
-			</tr>
-			<tr>
-				<td class="bull">Add</td>
-				<td>
-					<!-- TMPL_VAR name="add1" -->
-				</td>
-				<td>
-					<!-- TMPL_VAR name="add2" -->
-				</td>
-				<td>
-					<!-- TMPL_VAR name="add3" -->
-				</td>
-			</tr>
-			<tr>
-				<td class="bull">once every</td>
-				<td><!-- TMPL_VAR name="every1" --></td>
-				<td><!-- TMPL_VAR name="every2" --></td>
-				<td><!-- TMPL_VAR name="every3" --></td>
-			</tr>
-			<tr>
-				<td class="bull">When more than</td>
-				<td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br/>
-					<i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
-				<td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br/>
-					<i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
-				<td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br/>
-					<i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
-			</tr>
-			<tr>
-				<td class="bull">Set back to</td>
-				<td><!-- TMPL_VAR name="setto1" --></td>
-				<td><!-- TMPL_VAR name="setto2" --></td>
-				<td><!-- TMPL_VAR name="setto3" --></td>
-			</tr>
-			<tr>
-				<td class="bull">
-						Last value
-				</td>
-				<td><!-- TMPL_VAR name="lastvalue1" --></td>
-				<td><!-- TMPL_VAR name="lastvalue2" --></td>
-				<td><!-- TMPL_VAR name="lastvalue3" --></td>
-			</tr>
-		</table>
-</div>
-<div id="bloc25">
-	<h2 class="bull">Issues</h2>
-	<table class="small">
-	<tr>
-		<th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Issue number&nbsp;&nbsp;&nbsp;&nbsp;</th>
-		<th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Planned date&nbsp;&nbsp;&nbsp;&nbsp;</th>
-		<th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Status&nbsp;&nbsp;&nbsp;&nbsp;</th>
-		<th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Note&nbsp;&nbsp;&nbsp;&nbsp;</th>
-	</tr>
-	<!-- TMPL_LOOP name="serialslist" -->
-		<tr>
-			<td>
-				<!-- TMPL_VAR name="serialseq" -->
-			</td>
-			<td>
-				<!-- TMPL_VAR name="planneddate" -->
-			</td>
-			<td>
-					<!--TMPL_IF name="status1" -->
-						Waited
-					<!-- /TMPL_IF -->
-					<!--TMPL_IF name="status2" -->
-						Arrived
-					<!-- /TMPL_IF -->
-					<!--TMPL_IF name="status3" -->
-						Late
-					<!-- /TMPL_IF -->
-					<!--TMPL_IF name="status4" -->
-						Missing
-					<!-- /TMPL_IF -->
-				</select>
-			</td>
-			<td>
-				<!-- TMPL_VAR name="notes" -->
-			</td>
-		</tr>
-	<!-- /TMPL_LOOP -->
-	</table>
-</div>
-</div>
-<script>
-function _(s) { return s } // dummy function for gettext
-function confirm_deletion() {
-	var is_confirmed = confirm(_('Are you sure you want to delete this subscription?'));
-	if (is_confirmed) {
-		window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
-	}
-}
-</script>
-<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
\ No newline at end of file

Index: bull/subscription-renew.tmpl
===================================================================
RCS file: bull/subscription-renew.tmpl
diff -N bull/subscription-renew.tmpl
--- bull/subscription-renew.tmpl	26 Oct 2005 09:16:11 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
-<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
-<div id="mainbloc">
-
-<h1 class="bull">subscription renewal for <!-- TMPL_VAR name="bibliotitle" --></h1>
-
-<form name="f" action="/cgi-bin/koha/bull/subscription-renew.pl" method="post">
-	<div id="bloc25">
-		<input type="hidden" name="op" value="renew">
-		<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
-		<p><label class="label100">start date</label><input type="text" name="startdate" value="<!-- TMPL_VAR name="startdate" -->"></p>
-		<p>Subscription length :</p>
-		<p><label class="label100">Number of num</label><input type="text" name="numberlength" value="<!-- TMPL_VAR name="numberlength" -->"></p>
-		<p><label class="label100">Number of weeks</label><input type="text" name="weeklength" value="<!-- TMPL_VAR name="weeklength" -->"></p>
-		<p><label class="label100">Number of months</label><input type="text" name="monthlength" value="<!-- TMPL_VAR name="monthlength" -->"></p>
-		<p>Note for the librarian that will manage your renewal request</p>
-		<ul><textarea name="note" rows="10" cols="60"></textarea></ul>
-		<input type="submit" value="Request a renewal" class="button bull">
-	</div>
-</form>
-</div>
-<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
-

Index: bull/viewalerts.tmpl
===================================================================
RCS file: bull/viewalerts.tmpl
diff -N bull/viewalerts.tmpl
--- bull/viewalerts.tmpl	5 Aug 2005 14:47:24 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,28 +0,0 @@
-<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
-
-<div id="mainbloc">
-		<h1 class="bull">Alert subscribers for <!-- TMPL_VAR name="bibliotitle" --></h1>
-		<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">subscription</a>
-		<div class="bloc25">
-		<!-- TMPL_IF name="alertloop" -->
-			<table>
-			<tr>
-				<th class="bull">Borrower name</th>
-				<th class="bull">&nbsp;</th>
-			</tr>
-
-			<!-- TMPL_LOOP NAME="alertloop" -->
-				<tr>
-					<td><!-- TMPL_VAR name="name" --></td>
-					<td><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR name="borrowernumber">" class="button bull">View</a></td>
-				</tr>
-			<!-- /TMPL_LOOP -->
-			</table>
-		<!-- TMPL_ELSE -->
-			Nobody
-		<!-- /TMPL_IF -->
-		</div>
-
-	
-</div>
-<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->

Index: catalogue/ISBDdetail.tmpl
===================================================================
RCS file: catalogue/ISBDdetail.tmpl
diff -N catalogue/ISBDdetail.tmpl
--- catalogue/ISBDdetail.tmpl	9 Aug 2005 14:10:32 -0000	1.6
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,55 +0,0 @@
-<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
-<div id="mainbloc">
-	<div id="bibliomenu">
-		<h1 class="catalogue">MARC biblio : <!-- TMPL_VAR NAME="biblionumber" --></h1>
-		<a href="acqui.simple/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Edit biblio
-		</a>
-		<a href="acqui.simple/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">
-			Duplicate
-		</a>
-		<a href="acqui.simple/additem.pl?biblionumber=<!-- TMPL_VAR name="biblionumber"-->" class="button catalogue">
-			Edit item
-		</a>
-	
-		<a href="javascript:confirm_deletion()" class="button catalogue">
-			delete
-		</a>
-		<a href="MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Complete
-		</a>
-		<a href="detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Normal
-		</a>
-		<a href="ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			ISBD
-		</a>
-		<a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
-			Add to shelf
-		</a>
-		<a href="javascript:Dopop('detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
-			Print
-		</a>
-		<!-- TMPL_IF name="subscriptionsnumber" -->
-		<a href="bull-home.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Subscription(s)
-		</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="norequests" -->
-		<!-- TMPL_ELSE -->
-			<a href="request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Request</a>
-		<!-- /TMPL_IF -->
-	</div>
-
-	<div id="bloc100">
-		<p><!-- TMPL_VAR NAME="ISBD" --></p>
-	</div>
-</div>
-<script language="javascript" type="text/javascript">
-function Dopop(link) {
-	newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-</script>
-
-<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->

Index: catalogue/MARCdetail.tmpl
===================================================================
RCS file: catalogue/MARCdetail.tmpl
diff -N catalogue/MARCdetail.tmpl
--- catalogue/MARCdetail.tmpl	26 Oct 2005 09:16:12 -0000	1.37
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,416 +0,0 @@
-<!-- TMPL_INCLUDE NAME="marc-top.inc" -->
-
-
-<!-- TMPL_UNLESS name="popup" -->
-	<div class="tabbed">
-	<form Name="f">
-		<h1 class="catalogue">Biblionumber : <!-- TMPL_VAR NAME="biblionumber" --> 	<b>With Framework :<!--TMPL_VAR Name="framework" --></b>
-</h1>
-	</form>
-		<a href="javascript:Addbiblio('')" class="button catalogue">
-			Edit biblio
-		</a>
-		<a href="javascript:Addbiblio('duplicate')" class="button catalogue">
-			Duplicate
-		</a>
-		<a href="acqui.simple/additem.pl?bibid=<!-- TMPL_VAR name="bibid"-->" class="button catalogue">
-			Edit item
-		</a>
-	
-		<a href="javascript:confirm_deletion()" class="button catalogue">
-			delete
-		</a>
-		<a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Complete
-		</a>
-		<a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Normal
-		</a>
-		<a href="ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			ISBD
-		</a>
-		<a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
-			Add to shelf
-		</a>
-		<a href="javascript:Dopop('detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
-			Print
-		</a>
-		<!-- TMPL_IF name="subscriptionsnumber" -->
-		<a href="bull-home.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Subscription(s)
-		</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="norequests" -->
-		<!-- TMPL_ELSE -->
-			<a href="request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Request</a>
-		<!-- /TMPL_IF -->
-		
-
-	</div>
-<!-- /TMPL_UNLESS -->
-	<div class="tabs">
-		<!-- TMPL_IF NAME="0XX" -->
-			<div id="link0"><a href="javascript:active(0)">0</a></div>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="1XX" -->
-			<div id="link1"><a href="javascript:active(1)">1</a></div>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="2XX" -->
-			<div id="link2"><a href="javascript:active(2)">2</a></div>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="3XX" -->
-			<div id="link3"><a href="javascript:active(3)">3</a></div>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="4XX" -->
-			<div id="link4"><a href="javascript:active(4)">4</a></div>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="5XX" -->
-			<div id="link5"><a href="javascript:active(5)">5</a></div>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="6XX" -->
-			<div id="link6"><a href="javascript:active(6)">6</a></div>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="7XX" -->
-			<div id="link7"><a href="javascript:active(7)">7</a></div>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="8XX" -->
-			<div id="link8"><a href="javascript:active(8)">8</a></div>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="9XX" -->
-			<div id="link9"><a href="javascript:active(9)">9</a></div>
-		<!-- /TMPL_IF -->
-		<a href="javascript:active(10)">I<br>t<br>e<br>m<br>s</a>
-	</div>
-
-	<div name="0XX" id="0XX" class="tab" style="visibility:visible">
-		<!-- TMPL_LOOP NAME="0XX" -->
-				<!-- TMPL_IF name="tag" -->
-					<p class="MARCtag">
-						<!-- TMPL_VAR NAME="tag" -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<br />
-				<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield" -->
-				<p>
-					<label class="labelsubfield">&nbsp;
-					<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
-					<!-- TMPL_VAR NAME="marc_lib" --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<!-- TMPL_IF name="link" -->
-						<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-							<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
-						</a>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF NAME="authority" -->
-						<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
-					<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_LOOP -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	
-	<div id="1XX" class="tab">
-		<!-- TMPL_LOOP NAME="1XX" -->
-				<!-- TMPL_IF name="tag" -->
-					<p class="MARCtag">
-						<!-- TMPL_VAR NAME="tag" -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<br />
-				<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield" -->
-				<p>
-					<label class="labelsubfield">&nbsp;
-					<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
-					<!-- TMPL_VAR NAME="marc_lib" --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<!-- TMPL_IF name="link" -->
-						<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-							<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
-						</a>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF NAME="authority" -->
-						<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
-					<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_LOOP -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	
-	<div id="2XX" class="tab">
-		<!-- TMPL_LOOP NAME="2XX" -->
-				<!-- TMPL_IF name="tag" -->
-					<p class="MARCtag">
-						<!-- TMPL_VAR NAME="tag" -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<br />
-				<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield" -->
-				<p>
-					<label class="labelsubfield">&nbsp;
-					<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
-					<!-- TMPL_VAR NAME="marc_lib" --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<!-- TMPL_IF name="link" -->
-						<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-							<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
-						</a>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF NAME="authority" -->
-						<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
-					<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_LOOP -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	
-	<div id="3XX" class="tab">
-		<!-- TMPL_LOOP NAME="3XX" -->
-				<!-- TMPL_IF name="tag" -->
-					<p class="MARCtag">
-						<!-- TMPL_VAR NAME="tag" -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<br />
-				<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield" -->
-				<p>
-					<label class="labelsubfield">&nbsp;
-					<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
-					<!-- TMPL_VAR NAME="marc_lib" --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<!-- TMPL_IF name="link" -->
-						<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-							<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
-						</a>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF NAME="authority" -->
-						<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
-					<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_LOOP -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	
-	<div id="4XX" class="tab">
-		<!-- TMPL_LOOP NAME="4XX" -->
-				<!-- TMPL_IF name="tag" -->
-					<p class="MARCtag">
-						<!-- TMPL_VAR NAME="tag" -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<br />
-				<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield" -->
-				<p>
-					<label class="labelsubfield">&nbsp;
-					<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
-					<!-- TMPL_VAR NAME="marc_lib" --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<!-- TMPL_IF name="link" -->
-						<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-							<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
-						</a>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF NAME="authority" -->
-						<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
-					<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_LOOP -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	
-	<div  id="5XX" class="tab">
-		<!-- TMPL_LOOP NAME="5XX" -->
-				<!-- TMPL_IF name="tag" -->
-					<p class="MARCtag">
-						<!-- TMPL_VAR NAME="tag" -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<br />
-				<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield" -->
-				<p>
-					<label class="labelsubfield">&nbsp;
-					<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
-					<!-- TMPL_VAR NAME="marc_lib" --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<!-- TMPL_IF name="link" -->
-						<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-							<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
-						</a>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF NAME="authority" -->
-						<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
-					<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_LOOP -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	
-	<div id="6XX" class="tab">
-		<!-- TMPL_LOOP NAME="6XX" -->
-				<!-- TMPL_IF name="tag" -->
-					<p class="MARCtag">
-						<!-- TMPL_VAR NAME="tag" -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<br />
-				<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield" -->
-				<p>
-					<label class="labelsubfield">&nbsp;
-					<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
-					<!-- TMPL_VAR NAME="marc_lib" --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<!-- TMPL_IF name="link" -->
-						<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-							<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
-						</a>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF NAME="authority" -->
-						<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
-					<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_LOOP -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	
-	<div  id="7XX" class="tab">
-		<!-- TMPL_LOOP NAME="7XX" -->
-				<!-- TMPL_IF name="tag" -->
-					<p class="MARCtag">
-						<!-- TMPL_VAR NAME="tag" -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<br />
-				<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield" -->
-				<p>
-					<label class="labelsubfield">&nbsp;
-					<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
-					<!-- TMPL_VAR NAME="marc_lib" --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<!-- TMPL_IF name="link" -->
-						<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-							<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
-						</a>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF NAME="authority" -->
-						<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
-					<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_LOOP -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	
-	<div id="8XX" class="tab">
-		<!-- TMPL_LOOP NAME="8XX" -->
-				<!-- TMPL_IF name="tag" -->
-					<p class="MARCtag">
-						<!-- TMPL_VAR NAME="tag" -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<br />
-				<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield" -->
-				<p>
-					<label class="labelsubfield">&nbsp;
-					<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
-					<!-- TMPL_VAR NAME="marc_lib" --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<!-- TMPL_IF name="link" -->
-						<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-							<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
-						</a>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF NAME="authority" -->
-						<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
-					<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_LOOP -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	
-	<div id="9XX" class="tab">
-		<!-- TMPL_LOOP NAME="9XX" -->
-				<!-- TMPL_IF name="tag" -->
-					<p class="MARCtag">
-						<!-- TMPL_VAR NAME="tag" -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<br />
-				<!-- /TMPL_IF -->
-			<!-- TMPL_LOOP NAME="subfield" -->
-				<p>
-					<label class="labelsubfield">&nbsp;
-					<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
-					<!-- TMPL_VAR NAME="marc_lib" --></label>
-					<!-- TMPL_VAR NAME="marc_value" -->
-					<!-- TMPL_IF name="link" -->
-						<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
-							<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
-						</a>
-					<!-- /TMPL_IF -->
-					<!-- TMPL_IF NAME="authority" -->
-						<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
-					<!-- /TMPL_IF -->
-				</p>
-			<!-- /TMPL_LOOP -->
-		<!-- /TMPL_LOOP -->
-	</div>
-	
-	<div id="10XX" class="tab">
-		<p class="MARCtag">Items</p>
-		<br/>
-		<table class="noborder">
-				<tr>
-					<!-- TMPL_LOOP NAME="item_header_loop" -->
-						<th class="noborder">
-							<!-- TMPL_VAR NAME="header_value" -->
-						</th>
-					<!-- /TMPL_LOOP -->
-				</tr>
-				<!-- TMPL_LOOP NAME="item_loop" -->
-					<tr>
-						<!-- TMPL_VAR NAME="item_value" -->
-					</tr>
-				<!-- /TMPL_LOOP -->
-		</table>
-	</div>
-<script language="JavaScript" type="text/javascript">
-function active(numlayer)
-{
-	for (i=0; i <= 10 ; i++ ) {
-		ong = i+"XX";
-		link = "link"+i;
-		if (numlayer==i) {
-			document.getElementById(ong).style.visibility="visible";
-		} else {
-			document.getElementById(ong).style.visibility="hidden";
-		}
-	}
-}
-
-function confirm_deletion() {
-	var is_confirmed = confirm('Are you sure you want to delete this biblio?');
-	if (is_confirmed) {
-		window.location="acqui.simple/addbiblio.pl?op=delete&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
-	}
-}
-function Dopop(link) {
-	newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
-}
-function Changefwk(FwkList) {
-  var fwk = FwkList.options[FwkList.selectedIndex].value;
-  window.location = "MARCdetail.pl?bib=<!--TMPL_VAR Name="biblionumber"-->&frameworkcode="+fwk;
-}
-function Addbiblio(op) {
-  var fwk = document.forms['f'].Frameworks.options[document.forms['f'].Frameworks.selectedIndex].value;
-  window.location = "acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode="+fwk+"&op="+op; 
-}
-</script>
-</body>
-</html>

Index: catalogue/catalogue-home.tmpl
===================================================================
RCS file: catalogue/catalogue-home.tmpl
diff -N catalogue/catalogue-home.tmpl
--- catalogue/catalogue-home.tmpl	12 Aug 2005 13:53:09 -0000	1.13
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,57 +0,0 @@
-<!-- TMPL_IF NAME="opac" -->
-	<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
-<!-- TMPL_ELSE -->
-	<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-<!-- /TMPL_IF -->
-
-<div id="mainbloc">
-<form action="/cgi-bin/koha/search.pl" method="post">
-
-<h1 class="catalogue">Catalogue Search</h1>
-
-
-<div id="bloc25">
-<h2 class="catalogue">Search on</h2>
-		<p><label class="label100" for="keyword">Keywords:</label><input type="text"  size="25" id="keyword"  name="keyword"></p>
-
-		<p><label class="label100" for="title">Title:</label><input type="text" id="title"  size="25" name="title"></p>
-
-		<p><label class="label100" for="author">Author:</label><input type="text"  size="25" id="author"  name="author"></p>
-
-		<p><label class="label100" for="illustrator">Illustrator:</label><input type="text"  size="25" id="illustrator"  name="illustrator"></p>
-		
-		<p><label class="label100" for="dewey">Dewey:</label></td><td><input type="text"  size="25" id="dewey"  name="dewey"></p>
-
-<p>		<label class="label100" for="class">Class:</label>
-	<select name="class">
-		<option value="">Default</option>
-	<!-- TMPL_LOOP name="itemtypeloop" -->
-		<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="description" --></option>
-	<!-- /TMPL_LOOP -->
-	</select>
-</form>
-</p>
-			
-					<p><label class="label100">Search Style:</label><input type="radio" name="ttype" id=" ttype" value="normal" checked>Normal
-			<input type="radio" name="ttype" value="exact">Exact</p>
-			</div>
-			
-	<div id="bloc25">
-		<h2 class="catalogue">Barcode Search</h2>
-		<p>
-		<label class="label100" for="itemnumber">Barcode:</label><input type="text"  size="25" id="itemnumber" name="itemnumber"></p>
-</div>
-
-<div id="bloc25">
-<h2 class="catalogue">Subject Search</h2>
-<p><label class="label100" for="subject">Subject:</label><input type="text"  size="25"  id="subject" name="subject"><input type="hidden" name="type" value="intra"></p></div>
-
-<div id="block25"><p><input type="submit" class="button catalogue" value="Start search">
-						<input type="reset"  value= "Clear" class="button catalogue">
-						<a href="/cgi-bin/koha/shelves.pl" class="button catalogue">Virtual Bookshelves</a></p></div>
-
-	</form>
-
-	</div>
-<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->
-

Index: catalogue/cmsdsearchresults.tmpl
===================================================================
RCS file: catalogue/cmsdsearchresults.tmpl
diff -N catalogue/cmsdsearchresults.tmpl
--- catalogue/cmsdsearchresults.tmpl	19 Jul 2004 19:51:03 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,29 +0,0 @@
-<html>
-<head><title>Search Results</title>
-</head>
-<body>
-<!-- TMPL_INCLUDE NAME="searchheader.tmpl" -->
-<table border="0" cellspacing="0" cellpadding="0">
-<tr bgcolor="#ccccff"><th>Title</th><th>Author</th><th>Dewey</th></tr>
-<!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
-  <tr>
-  <td><!-- TMPL_VAR NAME="title" --></td>
-  <td><!-- TMPL_VAR NAME="author" --></td>
-  <td align="right"><!-- TMPL_VAR NAME="dewey" --></td>
-  </tr>
-<!-- /TMPL_LOOP -->
-<tr><td colspan="3" bgcolor="#ccccff">
-    <table border="0" cellpadding="0" cellspacing="0" width="100%">
-    <tr><td align="left">
-    <a href="search.pl?template=<!-- TMPL_VAR NAME="template" -->&amp;startfrom=<!-- TMPL_VAR NAME="prevstartfrom" -->">Previous Records</a>
-    </td><td align="right">
-    <a href="search.pl?template=<!-- TMPL_VAR NAME="template" -->&amp;startfrom=<!-- TMPL_VAR NAME="nextstartfrom" -->">Next Records</a>
-    </td></tr>
-    </table>
-</td></tr>
-</table>
-<br>
-Results <i><!-- TMPL_VAR NAME="startfrom" --></i> through <i><!-- TMPL_VAR NAME="endat" --></i> of <i><!-- TMPL_VAR NAME="numrecords" --></i> records.
-<hr>
-</body>
-</html>

Index: catalogue/detail-opac.tmpl
===================================================================
RCS file: catalogue/detail-opac.tmpl
diff -N catalogue/detail-opac.tmpl
--- catalogue/detail-opac.tmpl	19 Jul 2004 19:51:03 -0000	1.8
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,74 +0,0 @@
-<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
-
-
-<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
-<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="#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="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 -->
-<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">&amp;bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;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" -->

Index: catalogue/detail.tmpl
===================================================================
RCS file: catalogue/detail.tmpl
diff -N catalogue/detail.tmpl
--- catalogue/detail.tmpl	22 Sep 2005 15:34:17 -0000	1.24
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,175 +0,0 @@
-<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-
-<div id="mainbloc">
-<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
-	<h1 class="catalogue"><!-- TMPL_VAR NAME="title" --> (<!-- TMPL_VAR NAME="author" -->) <!-- TMPL_VAR NAME="class" --></h1>
-	<div class="bibliomenu">
-		<a href="acqui.simple/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Edit biblio
-		</a>
-		<a href="acqui.simple/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">
-			Duplicate
-		</a>
-		<a href="acqui.simple/additem.pl?biblionumber=<!-- TMPL_VAR name="biblionumber"-->&biblioitem=<!-- TMPL_VAR name="biblioitemnumber" -->" class="button catalogue">
-			Edit item
-		</a>
-	
-		<a href="javascript:confirm_deletion()" class="button catalogue">
-			delete
-		</a>
-		<a href="MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Complete
-		</a>
-		<a href="detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Normal
-		</a>
-		<a href="ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			ISBD
-		</a>
-		<a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
-			Add to shelf
-		</a>
-		<a href="javascript:Dopop('detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
-			Print
-		</a>
-		<!-- TMPL_IF name="subscriptionsnumber" -->
-		<a href="bull-home.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
-			Subscription(s)
-		</a>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME="norequests" -->
-		<!-- TMPL_ELSE -->
-			<a href="request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Request</a>
-		<!-- /TMPL_IF -->
-	</div>
-	<div id="bloc25">
-	<table class="small">
-		<!-- BIBLIO RECORD TABLE -->
-		<tr>
-			<th class="catalogue">
-				<!-- TMPL_VAR NAME="title" -->  (record <!-- TMPL_VAR NAME="biblionumber" -->)
-			</th>
-		</tr>
-		<tr>
-			<td>
-				<!-- TMPL_IF name="subtitles" -->
-					<p><label class="label100"><b>Subtitle(s):</b> </label>
-					<!-- TMPL_LOOP name="subtitles" -->
-						<!-- TMPL_VAR NAME="subtitle" --> ; 
-					<!-- /TMPL_LOOP -->
-					</p>
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="author" --><p><label class="label100"><b>Author:</b> </label><!-- TMPL_VAR NAME="author" --></p><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="additional" --><p><label class="label100"><b>Additional Author:</b></label><!-- TMPL_VAR NAME="additional" --></p><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="illus" --><p><label class="label100"><b>Illus:</b></label><!-- TMPL_VAR name="illus" --></p><!-- /TMPL_IF -->
-				<p>
-					<!-- TMPL_IF name="publishercode" --><label class="label100"><b>Published by :</b></label><!-- /TMPL_IF --> <!-- TMPL_VAR NAME="publishercode" -->
-				</p>
-				<!-- TMPL_IF name="publicationyear" --><p><label class="label100"><b>in </b></label><!-- TMPL_VAR NAME="publicationyear" --></p><!-- /TMPL_IF -->
-				<p>
-					<label class="label100">&nbsp;</label><!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" -->
-					<!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->
-				</p>
-				<!-- TMPL_IF name="isbn" --><p><label class="label100"><b>ISBN:</b> </label><!-- TMPL_VAR NAME="isbn" --></p><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="issn" --><p><label class="label100"><b>ISSN:</b> </label><!-- TMPL_VAR NAME="issn" --></p><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="seriestitle" --><p><label class="label100"><b>Collection:</b> </label><!-- TMPL_VAR NAME="seriestitle" --> <!-- TMPL_IF name="volume" -->vol. <!-- TMPL_VAR name="volume" --> <!-- TMPL_VAR name="volumedate" --><!-- /TMPL_IF --><!-- TMPL_VAR name="volumedesc" --></p><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="MARCSUBJCTS" -->
-					<p><label class="label100"><b>Subjects:</b></label></p>
-					<p>
-						<!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
-							<label class="label100">-</label><a href="/cgi-bin/koha/opac-searchresults.pl?subjectitems=<!-- TMPL_VAR NAME="marcsubjct" ESCAPE="URL"-->">
-								<!-- TMPL_VAR NAME="marcsubjct" -->
-							</a><br>
-						<!-- /TMPL_LOOP -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<!-- TMPL_IF name="subjects" --><p><label class="label100"><b>Subject(s):</b> </label></p>
-						<!-- TMPL_LOOP name="subjects" -->
-							<p><a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=bibliosubject.subject&and_or=and&operator==&value=<!-- TMPL_VAR NAME="subject" escape="HTML"-->"><!-- TMPL_VAR NAME="subject" --></a>, </p> <!-- /TMPL_LOOP -->
-					<!-- /TMPL_IF -->
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="copyrightdate" --><p><label class="label100"><b>Year :</b> </label><!-- TMPL_VAR NAME="copyrightdate" --></p><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="MARCNOTES" -->
-					<p><label class="label100"><b>Notes:</b> </label></p>
-					<p>
-						<!-- TMPL_LOOP NAME="MARCNOTES" -->
-							<p>- <!-- TMPL_VAR NAME="marcnote" --></p>
-						<!-- /TMPL_LOOP -->
-					</p>
-				<!-- TMPL_ELSE -->
-					<!-- TMPL_IF name="notes" --><p><label class="label100"><b>Notes:</b> </label><!-- TMPL_VAR NAME="notes" --></p><!-- /TMPL_IF -->
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF name="unititle" --><p><label class="label100"><b>Alt title:</b> </label><!-- TMPL_VAR NAME="unititle" --></p><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="classification" --><p><label class="label100"><b>classification:</b></label><!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></p><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="dewey" --><p><label class="label100"><b>Dewey:</b></label><!-- TMPL_VAR name="dewey" --></p><!-- /TMPL_IF -->
-				<!-- TMPL_IF name="URLS" -->
-					<p><label class="label100"><b>URL:</b> </label>
-						<!-- TMPL_LOOP name="URLS" -->
-							<a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>&nbsp;
-						<!-- /TMPL_LOOP -->
-					</p>
-				<!-- /TMPL_IF -->
-				<p><label class="label100"><b>Item type : </b></label>
-					<!-- TMPL_IF name="description" -->
-						<!-- TMPL_VAR name="description" -->
-					<!-- TMPL_ELSE -->
-						<!-- TMPL_VAR NAME="itemtype" -->
-					<!-- /TMPL_IF -->
-				</p>
-				<!-- TMPL_IF name="count" -->
-					<p><b>Total Number of Items:</b> <!-- TMPL_VAR NAME="count" --></p>
-				<!-- /TMPL_IF -->
-			</td>
-		</tr>
-	</table>
-	</div>
-<!-- /TMPL_LOOP -->
-<div id="bloc25">
-	<h2 class="catalogue">Items</h2>
-	<table>
-		<tr>
-			<th class="catalogue">Item type</th>
-			<th class="catalogue">Location</th>
-			<th class="catalogue">Status</th>
-			<th class="catalogue">Date Due</th>
-			<th class="catalogue">Last seen</th>
-			<th class="catalogue">Barcode</th>
-			<th class="catalogue">Volume</th>
-		</tr>
-		<!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
-			<tr>
-				<td><!-- TMPL_VAR NAME="description" --></td>
-				<td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
-				<td>
-					<!-- TMPL_IF name="datedue" -->
-						On issue to <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="cardnumber" --></a>
-					<!-- TMPL_ELSE -->
-						<!-- TMPL_VAR name="notforloan" -->
-					<!-- /TMPL_IF -->
-				</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" -->&amp;bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;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&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->&amp;item=<!-- TMPL_VAR NAME="itemtype" -->">Fix Itemtype</a>
-					</td>
-				<!-- /TMPL_IF -->
-			</tr>
-		<!-- /TMPL_LOOP -->
-	</table>
-</div>
-<script language="javascript" type="text/javascript">
-function Dopop(link) {
-	newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-function confirm_deletion() {
-	var is_confirmed = confirm('Are you sure you want to delete this biblio?');
-	if (is_confirmed) {
-		window.location="acqui.simple/addbiblio.pl?op=delete&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
-	}
-}
-</script>
-
-<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->

Index: catalogue/detailprint.tmpl
===================================================================
RCS file: catalogue/detailprint.tmpl
diff -N catalogue/detailprint.tmpl
--- catalogue/detailprint.tmpl	19 Jul 2004 19:51:03 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,52 +0,0 @@
-<html>
-<body onLoad="window.print();self.close();">
-<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
-	<table cellspacing="0" cellpadding="1" border="1" width=500>
-	<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>
-			<!-- TMPL_VAR NAME="author" --><br>
-			<b><!-- TMPL_VAR NAME="title" --></b><!-- TMPL_VAR NAME="subtitle" --><br>
-			<!-- TMPL_VAR NAME="additional" --><br>
-			<!-- TMPL_IF NAME="publishercode" --><b>Published by :</b><!-- TMPL_VAR NAME="publishercode" --><!-- /TMPL_IF -->
-			<!-- TMPL_IF NAME="publicationyear" --><b>in </b><!-- TMPL_VAR NAME="publicationyear" --><!-- /TMPL_IF -->
-			<!-- TMPL_IF NAME="pages" -->, <!-- /TMPL_IF --><!-- TMPL_VAR NAME="pages" -->
-			<!-- TMPL_IF NAME="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR NAME="size" --><br>
-			<!-- TMPL_IF NAME="collection" --><b>Collection:</b> <!-- TMPL_VAR NAME="seriestitle" --><!-- /TMPL_IF --><br>
-			<!-- TMPL_IF NAME="subject" --><b>Subject:</b> <!-- TMPL_VAR NAME="subject" --><!-- /TMPL_IF --><br>
-			<!-- TMPL_IF NAME="copyrightdate" --><b>Year :</b> <!-- TMPL_VAR NAME="copyrightdate" --><!-- /TMPL_IF --><br>
-			<!-- TMPL_IF NAME="notes" --><b>Notes:</b> <!-- TMPL_VAR NAME="notes" --><!-- /TMPL_IF --><br>
-			<!-- TMPL_IF NAME="unititle" --><b>Unititle:</b> <!-- TMPL_VAR NAME="unititle" --><!-- /TMPL_IF --> <br>
-			<!-- TMPL_IF NAME="dewey" --><b>Dewey:</b> <a href="/cgi-bin/koha/opac-searchresults.pl?type=opac&amp;dewey=<!-- TMPL_VAR NAME="dewey" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="dewey" --></a><!-- /TMPL_IF --><br>
-			<!-- TMPL_IF NAME="classification" --><b>Classification:</b> <!-- TMPL_VAR NAME="classification" --><!-- /TMPL_IF --><br>
-			<!-- TMPL_IF NAME="lccn" --><b>LCCN:</b> <!-- TMPL_VAR NAME="lccn" --><!-- /TMPL_IF --><br>
-			<!-- TMPL_IF NAME="url" --><b>URL:</b> <a href="<!-- TMPL_VAR NAME="url" -->"><!-- TMPL_VAR NAME="url" --></a><!-- /TMPL_IF --><br>
-			<b>ISBN:</b><!-- TMPL_VAR NAME="ISBN" --><br>
-			</font>
-		</td>
-	</tr>
-	</table>
-<!-- /TMPL_LOOP -->
-
-<table border="0" cellspacing="0" cellpadding="2">
-	<!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
-		<tr>
-			<td><!-- TMPL_VAR NAME="description" --></td>
-			<td><!-- TMPL_VAR NAME="branchname" -->, <!-- TMPL_VAR NAME="itemcallnumber" --></td>
-			<td><!-- TMPL_VAR NAME="barcode" --></td>
-			<td><!-- TMPL_VAR NAME="volumeddesc" --></td>
-		</tr>
-	<!-- /TMPL_LOOP -->
-</table>
-<script language="javascript" type="text/javascript">
-function docprint() {
-	window.print();
-	window.close();
-}
-</script>
-</body>
-</html>
\ No newline at end of file

Index: catalogue/moredetail.tmpl
===================================================================
RCS file: catalogue/moredetail.tmpl
diff -N catalogue/moredetail.tmpl
--- catalogue/moredetail.tmpl	9 Aug 2005 14:10:32 -0000	1.16
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,79 +0,0 @@
-<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-
-<div id="mainbloc">
-	<div id="bloc25">
-	<!-- TMPL_LOOP NAME="BIBITEM_DATA" -->
-		<h2 class="catalogue">
-			<a href="/cgi-bin/koha/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra">
-				<!-- TMPL_VAR NAME="title" --> (<!-- TMPL_VAR NAME="author" -->)
-			</a>
-		</h2>
-		<p>
-		<form action="/cgi-bin/koha/modbibitem.pl" method="post">
-			<input type="hidden" name="bibitem" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->">
-			<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
-			<p><!-- TMPL_VAR NAME="biblioitemnumber" --> GROUP - <!-- TMPL_VAR NAME="description" --> </p>
-			<p><b>Biblionumber:</b> <!-- TMPL_VAR NAME="biblionumber" --></p>
-			<p><b>Item type:</b> <!-- TMPL_VAR NAME="itemtype" --></p>
-			<p><b>URL:</b> <!-- TMPL_VAR NAME="url" --></p>
-			<p><b>Loan length:</b> <!-- TMPL_VAR NAME="loanlength" --></p>
-			<p><b>Rental charge:</b> <!-- TMPL_VAR NAME="rentalcharge" --></p>
-			<p><b>Classification:</b> <!-- TMPL_VAR NAME="classification" --><!-- TMPL_VAR NAME="dewey" --><!-- TMPL_VAR NAME="subclass" --></p>
-			<p><b>ISBN:</b> <!-- TMPL_VAR NAME="isbn" --></p>
-			<p><b>Publisher:</b> <!-- TMPL_VAR NAME="publishercode" --> </p>
-			<p><b>Place:</b> <!-- TMPL_VAR NAME="place" --></p>
-			<p><b>Date:</b> <!-- TMPL_VAR NAME="publicationyear" --></p>
-			<p><b>Volume:</b> <!-- TMPL_VAR NAME="volumeddesc" --></p>
-			<p><b>Pages:</b> <!-- TMPL_VAR NAME="pages" --></p>
-			<p><b>Illus:</b> <!-- TMPL_VAR NAME="illus" --></p>
-			<p><b>Size:</b> <!-- TMPL_VAR NAME="size" --></p>
-			<p><b>Notes:</b> <!-- TMPL_VAR NAME="bnotes" --></p>
-			<p><b>No. of Items:</b> <!-- TMPL_VAR NAME="count" --></p>
-		</form>
-		<input type="image" name="submit"  VALUE="modify" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png">
-		<input type="image" name="delete"  VALUE="delete" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
-		<a class="button" href="/cgi-bin/koha/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Requests</a>
-	<!-- /TMPL_LOOP -->
-	</div>
-<!-- TMPL_LOOP NAME="ITEM_DATA" -->
-<div id="bloc25">
-	<h2 class="catalogue">BARCODE <!-- TMPL_VAR NAME="barcode" --></h2>
-	<form action="/cgi-bin/koha/moditem.pl" method="post">
-	<input type="hidden" name="bibitem" value=<!-- TMPL_VAR NAME="biblioitemnumber" -->>
-	<input type="hidden" name="item" value=<!-- TMPL_VAR NAME="itemnumber" -->>
-	<input type="hidden" name="type" value=<!-- TMPL_VAR NAME="type" -->>
-	<input type="image" name="submit"  VALUE="modify" border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png">
-	<input type="image" name="delete"  VALUE="delete" border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
-	<br>
-	<b>Home Branch:</b> <!-- TMPL_VAR NAME="homebranch" --><br>
-	<b>Current Branch:</b> <!-- TMPL_VAR NAME="holdingbranch" --><br>
-	<b>Last seen:</b> <!-- TMPL_VAR NAME="datelastseen" --><br>
-	<b>Last borrowed:</b> <!-- TMPL_VAR NAME="datelastborrowed" --><br>
-	<b>Item Status:</b> <!-- TMPL_IF NAME="issue" -->On issue to <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="cardnumber" --></a><!-- TMPL_ELSE -->Available <!-- /TMPL_IF --><br>
-	<!-- TMPL_IF NAME="issue" --><b>Date Due:</b> <!-- TMPL_VAR NAME="date_due" --><br><!-- /TMPL_IF -->
-	<b>Last Borrower 1:</b> <!-- TMPL_VAR NAME="card0" --><br>
-	<b>Last Borrower 2:</b> <!-- TMPL_VAR NAME="card1" --><br>
-	<b>Replacement Price:</b> <!-- TMPL_VAR NAME="replacementprice" --><br>
-	<b>Item lost:</b> <!-- TMPL_IF NAME="itemlost" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --><br>
-	<b>Paid for:</b> <!-- TMPL_VAR NAME="paidfor" --><br>
-	<b>Notes:</b> <!-- TMPL_VAR NAME="itemnotes" --><br>
-	<b>Renewals:</b> <!-- TMPL_VAR NAME="renewals" --><br>
-	<b><a href="/cgi-bin/koha/acqui/acquire.pl?recieve=<!-- TMPL_VAR NAME="ordernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;invoice=<!-- TMPL_VAR NAME="booksellerinvoicenumber" -->&catview=yes">
-	Accession
-	Date:</a></b> <!-- TMPL_VAR NAME="dateaccessioned" --><br>
-	<b>Cancelled:</b> <!-- TMPL_IF NAME="wthdrawn" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --><br>
-	<b><a
-	href="/cgi-bin/koha/bookcount.pl?&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->&amp;itm=<!-- TMPL_VAR NAME="itemnumber" -->">Total
-	Issues:</a></b> <!-- TMPL_VAR NAME="issues" --><br>
-	<b>Group Number:</b> <!-- TMPL_VAR NAME="biblioitemnumber" --> <br>
-	<b>Biblio number:</b> <!-- TMPL_VAR NAME="biblionumber" --> <br>
-	</h2>
-</div>
-</form>
-<!-- /TMPL_LOOP -->
-
-<p>
-</form>
-</center>
-
-<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->

Index: catalogue/searchresults.tmpl
===================================================================
RCS file: catalogue/searchresults.tmpl
diff -N catalogue/searchresults.tmpl
--- catalogue/searchresults.tmpl	20 Jun 2005 14:17:48 -0000	1.17
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,106 +0,0 @@
-<!-- TMPL_IF NAME="opac" -->
-	<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
-<!-- TMPL_ELSE -->
-	<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-<!-- /TMPL_IF -->
-<div id="mainbloc">
-
-<h1 class="catalogue">Search results</h1>
-<p><!-- TMPL_IF NAME="searchdesc" -->
-	You searched on <b><!-- TMPL_VAR NAME="searchdesc" --></b>
-<!-- TMPL_ELSE -->
-	You did not specify any search criteria<br>
-<!-- /TMPL_IF --></p>
-
-<p><!-- TMPL_VAR NAME="numrecords" --> results found</p>
-<div id="resultnumber">
-<!-- Row of numbers corresponding to search result pages -->
-<!-- TMPL_IF NAME="displayprev" -->
-	<a href="search.pl?startfrom=<!-- TMPL_VAR NAME="prevstartfrom" -->&amp;<!-- TMPL_LOOP NAME="FORMINPUTS" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->type=<!-- TMPL_IF NAME="opac" -->opac<!-- TMPL_ELSE -->intra<!-- /TMPL_IF -->"><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="search.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="FORMINPUTS" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->type=<!-- TMPL_IF NAME="opac" -->opac<!-- TMPL_ELSE -->intra<!-- /TMPL_IF -->"><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="search.pl?startfrom=<!-- TMPL_VAR NAME="nextstartfrom" -->&amp;<!-- TMPL_LOOP NAME="FORMINPUTS" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->type=<!-- TMPL_IF NAME="opac" -->opac<!-- TMPL_ELSE -->intra<!-- /TMPL_IF -->"><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 -->
-</div>
-
-<div id="resultlist">
-<!-- Search Results Table -->
-<!-- TMPL_IF NAME="numrecords" -->
-<table>
-		<tr>
-	<th class="catalogue">Title</th><th class="catalogue">Author</th><th class="catalogue">&copy;</th><th class="catalogue">Item Count</th><th class="catalogue">Location</th><th class="catalogue">&nbsp;</th>
-	<!-- /TMPL_IF -->
-</tr>
-<!-- Actual Search Results -->
-<!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
-	<tr>
-			<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->>
-				<a href="/cgi-bin/koha/<!-- TMPL_VAR NAME="script" -->?type=intra&amp;bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE=URL -->">
-					<!-- TMPL_VAR NAME="title" -->
-				</a>
-			</td>
-			<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->>
-				<a href="/cgi-bin/koha/search.pl?author=<!-- TMPL_VAR NAME="authorhtmlescaped" -->&amp;type=intra">
-					<!-- TMPL_VAR NAME="author" -->
-				</a>
-			</td>
-		<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->> <!-- TMPL_VAR NAME="copyrightdate" --> </td>
-		<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->> <!-- TMPL_VAR NAME="itemcount" --> </td>
-		<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->>
-		<!-- TMPL_IF NAME=use-location-flags-p -->
-		<!-- TMPL_IF NAME=location-only --><!-- TMPL_VAR NAME=location-only --><br><!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME=not-available-p -->Not Available<!-- TMPL_IF NAME=not-available-plural-p --> (<!-- TMPL_VAR NAME=not-available-p -->)<!-- /TMPL_IF --><br><!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME=lost-p -->Item Lost<!-- TMPL_IF NAME=lost-plural-p --> (<!-- TMPL_VAR NAME=not-available-p -->)<!-- /TMPL_IF --><br><!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME=withdrawn-p -->Withdrawn<!-- TMPL_IF NAME=withdrawn-plural-p --> (<!-- TMPL_VAR NAME=not-available-p -->)<!-- /TMPL_IF --><br><!-- /TMPL_IF -->
-		<!-- TMPL_IF NAME=on-loan-p -->On Loan<!-- TMPL_IF NAME=on-loan-plural-p --> (<!-- TMPL_VAR NAME=not-available-p -->)<!-- /TMPL_IF --><br><!-- /TMPL_IF -->
-		<!-- TMPL_ELSE -->
-		<!-- TMPL_VAR NAME="location" -->
-		<!-- /TMPL_IF -->
-		</td>
-		<!-- TMPL_IF NAME="opac" -->
-		<!-- TMPL_ELSE -->
-			<!-- TMPL_UNLESS name="norequests" -->
-				<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->> <a class="button catalogue" href="/cgi-bin/koha/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">Request</a></td>
-			<!-- TMPL_ELSE -->
-				<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->>Not Reservable</td>
-			<!-- /TMPL_UNLESS -->
-		<!-- /TMPL_IF -->
-	</tr>
-<!-- /TMPL_LOOP -->
-</table>
-
-
-<p>				<!-- TMPL_IF NAME="displayprev" -->
-				<a href="search.pl?startfrom=<!-- TMPL_VAR NAME="prevstartfrom" -->&amp;<!-- TMPL_LOOP NAME="FORMINPUTS" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->type=<!-- TMPL_IF NAME="opac" -->opac<!-- TMPL_ELSE -->intra<!-- /TMPL_IF -->">Previous Records</a>
-				<!-- TMPL_ELSE -->
-				&nbsp;
-				<!-- /TMPL_IF -->
-
-				<!-- TMPL_IF NAME="displaynext" -->
-				<a href="search.pl?startfrom=<!-- TMPL_VAR NAME="nextstartfrom" -->&amp;<!-- TMPL_LOOP NAME="FORMINPUTS" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->type=<!-- TMPL_IF NAME="opac" -->opac<!-- TMPL_ELSE -->intra<!-- /TMPL_IF -->">Next Records</a>
-				<!-- TMPL_ELSE -->
-				&nbsp;
-				<!-- /TMPL_IF --></p>
-
-
-
-<p>Results <b><!-- TMPL_VAR NAME="startfrom" --></b> through <b><!-- TMPL_VAR NAME="endat" --></b> of <b><!-- TMPL_VAR NAME="numrecords" --></b> records.</p>
-
-
-<p>Try another <a href="/cgi-bin/koha/catalogue-home.pl">search</a></p>
-
-
-</div>
-
-    <!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->

Index: catalogue/subject.tmpl
===================================================================
RCS file: catalogue/subject.tmpl
diff -N catalogue/subject.tmpl
--- catalogue/subject.tmpl	19 Nov 2004 21:37:21 -0000	1.8
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,25 +0,0 @@
-<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
-
-<div id="mainbloc">
-
-<h1 class="catalogue">Subject search results</h1>
-
-<div id="resultnumber"><p>Results <b><!-- TMPL_VAR NAME="startfrom" --></b> through <b><!-- TMPL_VAR NAME="endat" --> of <!-- TMPL_VAR NAME="numrecords" --></b> records.<br></p></div>
-
-<table>
-<tr>
-		<th class="catalogue">Subject headings</th>
-	</tr>
-<!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
-	<tr>
-		<td<!-- TMPL_IF NAME="even" --> class="hilighted"<!-- /TMPL_IF -->>
-			<a href="/cgi-bin/koha/search.pl?type=<!-- TMPL_IF NAME="opac" -->opac<!-- TMPL_ELSE -->intra<!-- /TMPL_IF -->&amp;subjectitems=<!-- TMPL_VAR NAME=subject2 ESCAPE=HTML -->"><!-- TMPL_VAR NAME="subject" --></a>
-		</td>
-	</tr>
-<!-- /TMPL_LOOP -->
-</table>
-<p><a  class="button catalogue" href="search.pl?<!-- TMPL_LOOP NAME="FORMINPUTS" --><!-- TMPL_VAR NAME="line" -->&amp;<!-- /TMPL_LOOP -->startfrom=<!-- TMPL_VAR NAME="prevstartfrom" -->">Previous Records</a> <a class="button catalogue" href="search.pl?<!-- TMPL_LOOP NAME="FORMINPUTS" --><!-- TMPL_VAR NAME="line" -->&amp;<!-- /TMPL_LOOP -->startfrom=<!-- TMPL_VAR NAME="nextstartfrom" -->">Next Records</a></p>
-
-</div>
-<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->
-

Index: circ/branchtransfers.tmpl
===================================================================
RCS file: circ/branchtransfers.tmpl
diff -N circ/branchtransfers.tmpl
--- circ/branchtransfers.tmpl	26 Oct 2005 09:17:07 -0000	1.15
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,145 +0,0 @@
-<!-- TMPL_INCLUDE Name="circulation-top.inc" -->
-<div id="mainbloc">
-
-<h1 class="circulation">Circulation: Transfers</h1>
-<b>Branch:</b> <!-- TMPL_VAR NAME="genbrname" --> &nbsp;
-<b>Printer:</b> <!-- TMPL_VAR NAME="genprname" -->
-<a href="selectbranchprinter.pl" class="button circulation">Change Settings</a>
-<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->">
-<input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->">
-
-<!-- TMPL_IF Name="found" -->
-	<table>
-	<tr><th class="circulation">Reserve Found</th></tr>
-	<tr><td>
-	<!-- TMPL_IF Name="reserved" -->
-			Reserved: reserve found for <!-- TMPL_VAR NAME="name" --> (<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->" onclick="openWindow(this,'Member', 480, 640); return false;"><!-- TMPL_VAR NAME="borcnum" --></a>).
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF Name="waiting" --> Item marked Waiting:<br>
-    Item is marked waiting at <!-- TMPL_VAR NAME="branchname" --> for <!-- TMPL_VAR NAME="name" --> (<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->" onclick="openWindow(this,'Member', 480, 640); return false;"><!-- TMPL_VAR NAME="borcnum" --></a>).<br><!-- /TMPL_IF -->
-
-<p>			
-
-			<form method="post" action="branchtransfers.pl"><!-- TMPL_IF Name="reserved" -->Set reserve to waiting and transfer book to <b><!-- TMPL_VAR NAME="branchname" --> </b>: <!-- /TMPL_IF -->
-			<!-- TMPL_IF Name="waiting" --><strong>Cancel reservation and then attempt transfer:</strong> <!-- /TMPL_IF -->
-				<!-- TMPL_LOOP Name="trsfitemloop" -->
-					<input type="hidden" name="bc-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="barcode" -->">
-					<input type="hidden" name="fb-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="frombrcd" -->">
-					<input type="hidden" name="tb-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="tobrcd" -->">
-				<!-- /TMPL_LOOP -->
-				<input type="hidden" name="itemnumber" value="<!-- TMPL_VAR NAME="itemnumber" -->">
-				<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="bornum" -->">
-				<!-- TMPL_IF Name="waiting" --><input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->">
-					<input type="hidden" name="request" value="KillWaiting">
-					<input type="submit" value="Cancel" class="button circulation">
-				<!-- /TMPL_IF -->
-				<!-- TMPL_IF Name="reserved" --><input type="hidden" name="request" value="SetWaiting">
-					<input type="submit" value="Waiting" class="button circulation"><!-- /TMPL_IF -->
-			</form></p>
-
-		<!-- TMPL_IF Name="reserved" --><p>
-			<form method="post" action="branchtransfers.pl">
-<strong>Cancel reservation and then attempt transfer:</strong>
-			<!-- TMPL_LOOP Name="trsfitemloop" -->
-				<input type="hidden" name="bc-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="barcode" -->">
-				<input type="hidden" name="fb-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="frombrcd" -->">
-				<input type="hidden" name="tb-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="tobrcd" -->">
-			<!-- /TMPL_LOOP -->
-
-			<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
-			<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="bornum" -->">
-			<input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR NAME="tobranchcd" -->">
-			<input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->">
-			<input type="hidden" name="request" value="KillReserved">
-			<input type="submit" value="Cancel" class="button circulation">
-			</form></p>
-		<!-- /TMPL_IF -->
-<p>
-			<form method="post" action="branchtransfers.pl"><strong>Ignore and return to transfers:</strong> 
-			<input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR NAME="tobranchcd" -->">
-			<input type="hidden" name="barcode" value="0">
-			<!-- TMPL_LOOP Name="trsfitemloop" -->
-				<input type="hidden" name="bc-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="barcode" -->">
-				<input type="hidden" name="fb-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="frombrcd" -->">
-				<input type="hidden" name="tb-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="tobrcd" -->">
-			<!-- /TMPL_LOOP -->
-			<input type="submit" value="Ignore" class="button circulation">
-			</form></p>
-
-	</td></tr></table>
-
-<!-- TMPL_ELSE -->
-		<!-- TMPL_IF NAME="allmessages" -->
-	<table>
-	<tr><th class="circulation">Messages</th></tr>
-	<tr><td>
-	<!-- TMPL_IF Name="reqmessage" -->
-		<!-- TMPL_IF Name="cancelled" -->
-			Reserve Cancelled<br>
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF Name="setwaiting" -->
-			Item should now be waiting at branch: <!-- TMPL_VAR NAME="reqbrchname" --><br>
-		<!-- /TMPL_IF -->
-	<!-- /TMPL_IF -->
-	<!-- TMPL_LOOP Name="errmsgloop" -->
-				<!-- TMPL_IF Name="errbadcode" -->
-			No Item with barcode: <!-- TMPL_VAR NAME="msg" -->
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF Name="errispermanent" -->
-			Please return item to home branch: <!-- TMPL_VAR NAME="msg" -->
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF Name="errdesteqholding" -->
-			Item is already at destination branch.
-		<!-- /TMPL_IF -->
-		<!-- TMPL_IF Name="errwasreturned" -->
-			Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->"
-onclick="openWindow(this,'Member', 480, 640); return false;"><!-- TMPL_VAR NAME="borcnum" --></a>
-<!-- TMPL_VAR NAME="name" --> and has been returned.
-		<!-- /TMPL_IF -->
-	<!-- /TMPL_LOOP -->&nbsp;
-	</td></tr></table>
-<!-- /TMPL_IF -->
-	<form method="post" action="/cgi-bin/koha/circ/branchtransfers.pl">
-	<p><b>Select Destination Branch: </b><select name="tobranchcd">
-			<!-- TMPL_LOOP Name="branchoptionloop" -->
-				<option value="<!-- TMPL_VAR NAME="code" -->" <!-- TMPL_VAR NAME="selected" -->><!-- TMPL_VAR NAME="name" --></option>
-			<!-- /TMPL_LOOP -->
-		</select></p>
-
-	<p><b>Enter Item Barcode:</b> Item Barcode: <input name="barcode" size="10">
-	<input type="hidden" name="tobranchcd" value=<!-- TMPL_VAR NAME="tobrancd" -->>
-
-	<!-- TMPL_LOOP Name="trsfitemloop" -->
-		<input type="hidden" name="bc-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="barcode" -->">
-		<input type="hidden" name="fb-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="frombrcd" -->">
-		<input type="hidden" name="tb-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="tobrcd" -->">
-	<!-- /TMPL_LOOP --></p>
-
-	</form>
-	<!-- TMPL_IF Name="trsfitemloop" -->
-		<p>
-		<table border="1" cellpadding="5" cellspacing="0" bgcolor="#dddddd">
-		<tr><th colspan="6" class="circulation">Transfered Items</th></tr>
-		<tr><th class="circulation">Barcode</th><th class="circulation">Title</th><th class="circulation">Author</th><th class="circulation">Type</th><th class="circulation">From</th><th class="circulation">To</th></tr>
-		<!-- TMPL_LOOP Name="trsfitemloop" -->
-			<!-- TMPL_IF NAME="color" --><tr class="hilighted"><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --><td align="center">
-			<a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra" onclick="openWindow(this, 'Item', 480, 640); return false;"><!-- TMPL_VAR NAME="barcode" --></a></td>
-			<td><!-- TMPL_VAR NAME="title" --></td>
-			<td><!-- TMPL_VAR NAME="author" --></td>
-			<td align="center"><!-- TMPL_VAR NAME="itemtype" --></td>
-			<td align="center"><!-- TMPL_VAR NAME="frbrname" --></td>
-			<td align="center"><!-- TMPL_VAR NAME="tobrname" --></td>
-			</tr>
-		<!-- /TMPL_LOOP -->
-		</table>
-	<!-- /TMPL_IF -->
-<!-- /TMPL_IF -->
-<div class="bloc25">
-<a class="button circulation" href="circulation.pl">
-Next Borrower</a>
-<a class="button circulation" href="returns.pl">
-Returns</a>
-</div>
-
-</div>
-<!-- TMPL_INCLUDE Name="circulation-bottom.inc" -->





More information about the Koha-cvs mailing list