[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week]

Mason James szrj1m at yahoo.com
Mon Jul 16 03:25:02 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Mason James <sushi>	07/07/16 01:25:02

Modified files:
	koha-tmpl/intranet-tmpl/npl/en/barcodes: 
	                                         label-create-template.tmpl 
	                                         label-edit-template.tmpl 
	                                         label-home.tmpl 
	                                         label-manager.tmpl 
	                                         label-templates.tmpl 
	                                         result.tmpl 

Log message:
	    updating devweek with newer commits from rel22.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-create-template.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.4&r2=1.1.2.5
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-edit-template.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.2&r2=1.1.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.2.2.14&r2=1.1.2.2.2.15
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.3.2.10&r2=1.1.2.3.2.11
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-templates.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.6&r2=1.1.2.7
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.2.2.3&r2=1.1.2.2.2.4

Patches:
Index: label-create-template.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/label-create-template.tmpl,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -b -r1.1.2.4 -r1.1.2.5
--- label-create-template.tmpl	10 Jul 2007 12:01:21 -0000	1.1.2.4
+++ label-create-template.tmpl	16 Jul 2007 01:25:01 -0000	1.1.2.5
@@ -20,24 +20,24 @@
 Template Description: <textarea name="tmpl_desc" cols="40" rows="3" name="tmpl_desc" ></TEXTAREA><br>
 
 <tr>
-        <td>Page Width:</td><td><input type="text"  size="2" name="page_width"></td>
-        <td>Page Height:</td><td><input type="text" size="2" name="page_height"></td>
+        <td>Page Width:</td><td><input type="text"  size="4" name="page_width"></td>
+        <td>Page Height:</td><td><input type="text" size="4" name="page_height"></td>
 </tr>
 <tr>
-        <td>Label Width:</td><td><input type="text"  size="2" name="label_width"></td>
-        <td>Label Height:</td><td><input type="text" size="2" name="label_height"></td>
+        <td>Label Width:</td><td><input type="text"  size="4" name="label_width"></td>
+        <td>Label Height:</td><td><input type="text" size="4" name="label_height"></td>
 </tr>
 <tr>
-        <td>Top Page Margin:</td><td><input type="text" size="2" name="topmargin"></td>
-        <td>Left Page Margin:</td><td><input type="text" size="2" name="leftmargin"></td>
+        <td>Top Page Margin:</td><td><input type="text" size="4" name="topmargin"></td>
+        <td>Left Page Margin:</td><td><input type="text" size="4" name="leftmargin"></td>
 </tr>
 <tr>
-        <td>Number of Columns:</td><td><input type="text" size="2" name="cols"></td>
-        <td>Number of Rows:</td><td><input type="text" size="2" name="rows"></td>
+        <td>Number of Columns:</td><td><input type="text" size="4" name="cols"></td>
+        <td>Number of Rows:</td><td><input type="text" size="4" name="rows"></td>
 </tr>
 <tr>
-        <td>Gap between Columns:</td><td><input type="text" size="2" name="colgap"></td>
-        <td>Gap between Rows:</td><td><input type="text" size="2" name="rowgap"></td>
+        <td>Gap between Columns:</td><td><input type="text" size="4" name="colgap"></td>
+        <td>Gap between Rows:</td><td><input type="text" size="4" name="rowgap"></td>
 </tr>
 </table>
 
@@ -51,7 +51,7 @@
 
 <br>
 <br>
-Font Size: <input type="textbox" name="fontsize"  SIZE="1"  
+Font Size: <input type="textbox" name="fontsize"  SIZE="2"  
 		value="">
 <br>
 <br>

Index: label-edit-template.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/label-edit-template.tmpl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- label-edit-template.tmpl	10 Jul 2007 03:18:09 -0000	1.1.2.2
+++ label-edit-template.tmpl	16 Jul 2007 01:25:01 -0000	1.1.2.3
@@ -62,6 +62,8 @@
 
         <input type="submit" value="Save">
         <input type="reset" value="Reset">
+        <input type="hidden" value="<!-- TMPL_VAR NAME="tmpl_id" -->" name="tmpl_id"
+
 </p>
 </form>
 </div>

Index: label-home.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/label-home.tmpl,v
retrieving revision 1.1.2.2.2.14
retrieving revision 1.1.2.2.2.15
diff -u -b -r1.1.2.2.2.14 -r1.1.2.2.2.15
--- label-home.tmpl	10 Jul 2007 05:12:05 -0000	1.1.2.2.2.14
+++ label-home.tmpl	16 Jul 2007 01:25:02 -0000	1.1.2.2.2.15
@@ -5,10 +5,10 @@
 
 <div id="main">
 <!-- TMPL_INCLUDE NAME="label-active-templates.inc" -->
-<form name="input" action="/cgi-bin/koha/barcodes/label-manager.pl" method="get">
 
 <!-- TMPL_IF NAME="layout_loop" -->
 <h2>Select a Current Layout</h2>
+<form name="input" action="/cgi-bin/koha/barcodes/label-manager.pl" method="get">
 <table>
 <tr>
         <th>Layout</th>
@@ -41,21 +41,17 @@
  checked
                 <!-- /TMPL_IF -->
  >
-
-
         </td>
-
 </tr>
 
 <!-- /TMPL_LOOP -->
-</table>
-<!-- /TMPL_IF -->
+<tr><td colspan="7" align="right">
      <input type="submit" value="Set Active Layout">
         <input type="hidden" name=op value="set_active_layout">
+</table>
 </form>
-<p>
-<a href="/cgi-bin/koha/barcodes/label-add-layout.pl">Create New Layout</a>
-</form>
+<!-- /TMPL_IF -->
+<p><a href="/cgi-bin/koha/barcodes/label-add-layout.pl">Create New Layout</a></p>
 </div>
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
 

Index: label-manager.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/label-manager.tmpl,v
retrieving revision 1.1.2.3.2.10
retrieving revision 1.1.2.3.2.11
diff -u -b -r1.1.2.3.2.10 -r1.1.2.3.2.11
--- label-manager.tmpl	10 Jul 2007 06:12:50 -0000	1.1.2.3.2.10
+++ label-manager.tmpl	16 Jul 2007 01:25:02 -0000	1.1.2.3.2.11
@@ -5,14 +5,71 @@
 <div id="main">
 <!-- TMPL_INCLUDE NAME="label-active-templates.inc" -->
 
-<h2>Items to be Printed</h2>
+<!-- TMPL_UNLESS NAME="batch_id" -->
+<div class="details">
+<a class="button" href="/cgi-bin/koha/barcodes/label-manager.pl?op=add_batch">Create New Batch</a> 
+
+<!-- <form style="padding: 3px 30px; border-left: 1px solid black;border-right: 1px solid black;margin: 0 20px;" name="input" action="/cgi-bin/koha/barcodes/label-manager.pl" method="get">
+<select name="batch_id">
+    <!-- TMPL_LOOP NAME="batches" -->
+        <option value="<!-- TMPL_VAR NAME="batch_id" -->" <!-- TMPL_IF NAME="active" --> selected  <!-- /TMPL_IF -->>
+        <!-- TMPL_VAR NAME="batch_id" --></option>
+    <!-- /TMPL_LOOP -->
+</select>
+<input type="submit" value="Open Existing Batch">
+</form>
+-->
+</div>
+<!-- TMPL_IF NAME="batches" -->
+<h2>Label Batches</h2>
+<table>
+<tr>
+        <th>Batch id</th>
+        <th>#</th>
+        <th>Edit</th>
+        <th>Delete</th>
+        <th>Print</th>
+</tr>
+<!-- TMPL_LOOP NAME="batches" -->
+<tr>
+        <td>
+                <!-- TMPL_VAR NAME="batch_id" -->
+        </td>
+        <td>
+                <!-- TMPL_VAR NAME="num" --> records
+        </td>
+        <td>
+                <a href="/cgi-bin/koha/barcodes/label-manager.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Edit</a>
+        </td>
+        <td>
+                <a href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete_batch&batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Delete</a>
+        </td>
+          <td>
+		  <a class="button" style="float: right;"  href="/cgi-bin/koha/barcodes/label-print-pdf.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Generate PDF for Batch  <!-- TMPL_VAR NAME="batch_id" --></a>
+        </td></tr>
+<!-- /TMPL_LOOP -->
+</table>
+
+<!-- /TMPL_IF -->
+
+<!-- TMPL_ELSE -->
+<div class="details">
+<br /> 
+
+        <a class="button" href="#" onclick="Plugin(<!-- TMPL_VAR NAME="batch_id" -->); return false;">Add item(s) to batch</a> &nbsp;&nbsp;&nbsp;&nbsp;
+		<a class="button" href="/cgi-bin/koha/barcodes/label-manager.pl?batch_id=">Return to batch summary</a>&nbsp;&nbsp;&nbsp;&nbsp;
+        <a class="button" style="border:2px solid #634;" href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete_batch&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Delete current batch (<!-- TMPL_VAR NAME="batch_id" -->)</a>&nbsp;&nbsp;&nbsp;&nbsp;
+<a class="button"  href="/cgi-bin/koha/barcodes/label-print-pdf.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Generate PDF for Batch: <!-- TMPL_VAR NAME="batch_id" --></a>
+</div>
+
+<h2>Items to be Printed for Batch <!-- TMPL_VAR NAME="batch_id" -->  (<!-- TMPL_VAR NAME="batch_count" -->  items)</h2>
 
 <table>
 <tr>
         <th>Label Number</th>
         <th>Summary</th>
         <th>Item Type</th>
-        <th>Batch</th>
+        <th>Barcode</th>
         <th>Delete</th>
 </tr>
 <!-- TMPL_LOOP NAME="resultsloop" -->
@@ -22,41 +79,20 @@
         </td>
         <td>
                 <b> <a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"> <!-- TMPL_VAR NAME="title" -->:</a></b> <!-- TMPL_VAR NAME="author" -->:
-                <!-- TMPL_VAR NAME="isbn" -->: <!-- TMPL_VAR NAME="barcode" -->
-        </td>
+                <!-- TMPL_VAR NAME="isbn" -->         </td>
         <td>           <!-- TMPL_VAR NAME="itemtype" -->         </td>
-        <td>           <!-- TMPL_VAR NAME="batch_id" -->         </td>
+        <td>          <!-- TMPL_VAR NAME="barcode" -->         </td>
         <td>
                 <a href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Delete</a>
         </td>
 </tr>
 <!-- /TMPL_LOOP -->
 </table>
-<p><br> 
-
-<br>
-
-        <a href="#" onclick="Plugin(<!-- TMPL_VAR NAME="batch_id" -->); return false;">Add Item</a> &nbsp;&nbsp;
-        <a href="/cgi-bin/koha/barcodes/label-manager.pl?op=deleteall">Delete All</a>&nbsp;&nbsp;
-        <a href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete_batch&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Delete Current Batch</a>&nbsp;&nbsp;
-</p>
 
 
+<!-- /TMPL_UNLESS -->
 
 
-<a href="/cgi-bin/koha/barcodes/label-manager.pl?op=add_batch">Create New Batch</a>
-<form name="input" action="/cgi-bin/koha/barcodes/label-manager.pl" method="get">
- <input type="submit" value="Open Existing Batch">
-<select name="batch_id">
-    <!-- TMPL_LOOP NAME="batches" -->
-        <option value="<!-- TMPL_VAR NAME="batch_id" -->"
-            <!-- TMPL_IF NAME="active" --> selected  <!-- /TMPL_IF -->
-        ><!-- TMPL_VAR NAME="batch_id" --></option>
-    <!-- /TMPL_LOOP -->
-</select>
-
-<a href="/cgi-bin/koha/barcodes/label-print-pdf.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Generate PDF for Batch:<!-- TMPL_VAR NAME="batch_id" --></a>
-</form>
 
 </div>
 
@@ -67,7 +103,7 @@
 
 <script type="text/javascript">
 function Plugin(batch_id) {
-	window.open("label-item-search.pl?batch_id="+batch_id+"",'FindABibIndex','width=500,height=400,toolbar=no,scrollbars=yes');
+	window.open("label-item-search.pl?batch_id="+batch_id+"",'FindABibIndex','width=600,height=460,toolbar=no,scrollbars=yes');
 }
 </script>
 

Index: label-templates.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/label-templates.tmpl,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -b -r1.1.2.6 -r1.1.2.7
--- label-templates.tmpl	10 Jul 2007 05:12:05 -0000	1.1.2.6
+++ label-templates.tmpl	16 Jul 2007 01:25:02 -0000	1.1.2.7
@@ -7,10 +7,10 @@
 <!-- TMPL_INCLUDE NAME="label-active-templates.inc" -->
 
 
-<form name="input" action="/cgi-bin/koha/barcodes/label-templates.pl" method="get">
 
 <!-- TMPL_IF NAME="resultsloop" -->
 <h2>Templates</h2>
+<form name="input" action="/cgi-bin/koha/barcodes/label-templates.pl" method="get">
 <table>
 <tr>
         <th>Template Code</th>
@@ -43,17 +43,17 @@
         </td>
 </tr>
 <!-- /TMPL_LOOP -->
-</table>
-<!-- /TMPL_IF -->
-
-
- <input type="submit" value="Set Active Template">
+ <tr><td colspan="5" align="right">
+ <input class="button" type="submit" value="Set Active Template">
         <input type="hidden" name=op value="set_active_template">
+</td></tr>
+</table>
 
+</form>
+<!-- /TMPL_IF -->
 
-<p><br/>
+<br/>
 <a href="/cgi-bin/koha/barcodes/label-create-template.pl?op=blank">Create New Label Template</a>
-</form>
 </div>
 
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->

Index: result.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/result.tmpl,v
retrieving revision 1.1.2.2.2.3
retrieving revision 1.1.2.2.2.4
diff -u -b -r1.1.2.2.2.3 -r1.1.2.2.2.4
--- result.tmpl	9 Jul 2007 18:06:35 -0000	1.1.2.2.2.3
+++ result.tmpl	16 Jul 2007 01:25:02 -0000	1.1.2.2.2.4
@@ -2,9 +2,9 @@
 <div id="main-compact">
 	<h1>Search results</h1>
 	<div class="results">
-		<p>
+		<p >
 			<!-- TMPL_IF NAME=displayprev -->
-				<a href="label-item-search.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">
+				<a href="label-item-search.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&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->">
 					&lt;&lt;
 				</a>
 			<!-- /TMPL_IF -->
@@ -12,11 +12,11 @@
 				<!-- TMPL_IF NAME=highlight -->
 					<span class="current"><!-- TMPL_VAR NAME="number" --></span>
 				<!-- TMPL_ELSE -->
-					<a href="label-item-search.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>
+					<a href="label-item-search.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&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->"><!-- TMPL_VAR NAME="number" --></a>
 				<!-- /TMPL_IF -->
 			<!-- /TMPL_LOOP -->
 			<!-- TMPL_IF NAME=displaynext -->
-				<a href="label-item-search.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">&gt;&gt;</a>
+				<a href="label-item-search.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&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->">&gt;&gt;</a>
 				<!-- /TMPL_IF -->
 		</p>
 		<p>
@@ -26,16 +26,16 @@
 			&nbsp; No results found.<br>
 			<!-- /TMPL_IF -->
 		</p>
-		<p><a class="button" href="#" onclick="history.go(-1)" >Back</a><a class="button" href="#" onclick="window.close()">Done</a><p>
 	</div>
 <form name='resultform'>
-<p><input type="submit" class="icon addchecked" value="Add checked" onclick="add_item('checked',<!-- TMPL_VAR NAME="batch_id" -->); return false" /></p>
+	<span class="no"><a class="button" href="#" onclick="history.go(-1)" > &laquo; Back</a>&nbsp;&nbsp;&nbsp;&nbsp; <a class="button" href="#" onclick="window.close()">[ Done ]</a></span>
+<input type="submit" class="icon addchecked" value="Add checked" onclick="add_item('checked',<!-- TMPL_VAR NAME="batch_id" -->); return false" />
 	<table>
 	<tr>
 	<tr>
 		<th><a href="#" onclick="check_all()" >Check all</a></th>
-		<th>Summary</th>
-		<th>Item Type</th>
+		<th>Biblio Summary</th>
+		<th>Item Summary</th>
 		<th>Add</th>
 	</tr>
 	<!-- TMPL_LOOP name="result" -->
@@ -46,20 +46,21 @@
 		<!-- /TMPL_IF -->
 			<td> <input type="checkbox" name="itemnumber" id="itm<!-- TMPL_VAR NAME="itemnumber" -->" value="<!-- TMPL_VAR NAME="itemnumber" -->" />	</td>
 			<td>
-					<p><b><!-- TMPL_VAR NAME="title" --></b></p>
-					<p><!-- TMPL_VAR NAME="author" -->
+					<p><b><!-- TMPL_VAR NAME="title" --></b>&nbsp;&nbsp;
+					<!-- TMPL_VAR NAME="author" -->
+					<p>[ <!-- TMPL_VAR NAME="itemtype" --> ]
 					<!-- 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 -->
-					<!-- TMPL_IF name="dateaccessioned" --> ; [added  <!-- TMPL_VAR name="dateaccessioned" -->] <!-- /TMPL_IF -->
-					<!-- TMPL_IF name="barcode" --> ; <!-- TMPL_VAR name="barcode" --><!-- /TMPL_IF -->
+					<!-- TMPL_IF name="notes" --> <br /> <!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
 					</p>
 				</td>
 <!-- NEW -->
 				<td>
-					<!-- TMPL_VAR NAME="itemtype" -->
+					<!-- TMPL_IF name="itemcallnumber" --><!-- TMPL_VAR name="itemcallnumber" --><br /> <!-- /TMPL_IF -->
+					<!-- TMPL_IF name="dateaccessioned" -->[<!-- TMPL_VAR name="dateaccessioned" -->]<br /> <!-- /TMPL_IF -->
+					<!-- TMPL_IF name="barcode" --> <!-- TMPL_VAR name="barcode" --> <!-- /TMPL_IF -->
+
 				</td>
 				<td>
 					<a onclick="add_item(<!-- TMPL_VAR NAME="itemnumber" -->,<!-- TMPL_VAR NAME="batch_id" -->); return false" href="/cgi-bin/koha/barcodes/label-manager.pl?itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;batch_id=<!-- TMPL_VAR name="batch_id" -->&amp;op=add">Add</a>
@@ -77,17 +78,17 @@
 	<div class="results">
 		<p>
 			<!-- TMPL_IF NAME=displayprev -->
-			<a href="label-item-search.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;</a>
+			<a href="label-item-search.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>&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->">&lt;&lt;</a>
 			<!-- /TMPL_IF -->
 			<!-- TMPL_LOOP NAME=numbers -->
 				<!-- TMPL_IF NAME=highlight -->
 				<span class="current"><!-- TMPL_VAR NAME="number" --></span>
 				<!-- TMPL_ELSE -->
-				<a href="label-item-search.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>
+				<a href="label-item-search.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&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->"><!-- TMPL_VAR NAME="number" --></a>
 				<!-- /TMPL_IF -->
 			<!-- /TMPL_LOOP -->
 			<!-- TMPL_IF NAME=displaynext -->
-			<a href="label-item-search.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">&gt;&gt;</a>
+			<a href="label-item-search.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&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->">&gt;&gt;</a>
 				<!-- /TMPL_IF -->
 		</p>
 	</div> 
@@ -113,9 +114,7 @@
   } else {
 		getstr = "itemnumber="+itemnum;
 } 
-
  	var myurl = "label-manager.pl?op=add&batch_id="+batch_id+"&"+getstr;
-    alert(myurl); 
 	window.opener.location.href = myurl;
 }
 /* # TODO  there's a checkall fcn in opac/includes.... that should be modified to accept form object. */





More information about the Koha-cvs mailing list