koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mason James
Subject: [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [rel_2_2]
Date: Tue, 10 Jul 2007 10:57:57 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Mason James <sushi>     07/07/10 10:57:57

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

Log message:
        updating rel2_2 with newer version of barcodes/spinelabels

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.7&r2=1.1.2.8
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.5&r2=1.1.2.6
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.3&r2=1.1.2.4
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/search.tmpl?cvsroot=koha&only_with_tag=rel_2_2&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-add-layout.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.4.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-create-template.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.4.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-edit-layout.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.4.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-edit-template.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.4.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-templates.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.4.2

Patches:
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.7
retrieving revision 1.1.2.8
diff -u -b -r1.1.2.7 -r1.1.2.8
--- label-home.tmpl     2 Jul 2007 14:46:12 -0000       1.1.2.7
+++ label-home.tmpl     10 Jul 2007 10:57:56 -0000      1.1.2.8
@@ -4,245 +4,57 @@
 <!-- TMPL_INCLUDE name="intranet-nav.inc" -->
 
 <div id="main">
+<!-- TMPL_INCLUDE NAME="label-active-templates.inc" -->
 <form name="input" action="/cgi-bin/koha/barcodes/label-manager.pl" 
method="get">
 
-<h3>Choose Fields to Print</h3>
-<table summary="fields to print">
+<!-- TMPL_IF NAME="layout_loop" -->
+<h2>Select a Current Layout</h2>
+<table>
 <tr>
-        <td><!-- TMPL_IF NAME="itemtype"-->
-                <input type="checkbox" name="itemtype" value="1" 
checked="checked" />
-                               <!-- TMPL_ELSE -->
-                <input type="checkbox" name="itemtype" value="1" />
-                               <!-- /TMPL_IF -->
-                <label for="itemtype">Item Type</label>
-        </td>
-
-        <td>
-               <!-- TMPL_IF NAME="isbn" -->
-                <input type="checkbox" name="isbn" value="1" checked="checked" 
/>
-               <!-- TMPL_ELSE -->              
-                <input type="checkbox" name="isbn" value="1" />
-               <!-- /TMPL_IF -->               
-                <label for="isbn">ISBN</label>
-        </td>
-
+        <th>Layout</th>
+        <th>Barcode Type</th>
+        <th>Print Type</th>
+        <th>Fields to Print</th>
+        <th>Edit</th>
+        <th>Delete</th>
+        <th>Active</th>
 </tr>
+<!-- TMPL_LOOP NAME="layout_loop" -->
 <tr>
+          <td><!-- TMPL_VAR NAME="layoutname" -->  </td>
+       <td>    <!-- TMPL_VAR NAME="barcodetype" -->    </td>
+       <td>   <!-- TMPL_VAR NAME="printingtype" -->    </td>
+
         <td>
-               <!-- TMPL_IF NAME="dewey" -->
-                <input type="checkbox" name="dcn" value="1" checked="checked" 
/>
-               <!-- TMPL_ELSE -->              
-                <input type="checkbox" name="dcn" value="1" />
-               <!-- /TMPL_IF -->               
-                <label for="dcn">Dewey / Call Number</label>
-        </td>
-        <td>
-               <!-- TMPL_IF NAME="class" -->
-                <input type="checkbox" name="classif" value="1"  
checked="checked" />
-               <!-- TMPL_ELSE -->              
-                <input type="checkbox" name="classif" value="1" />
-               <!-- /TMPL_IF -->               
-                <label for="classif">Classification</label>
+                <!-- TMPL_VAR NAME="fieldlist" -->
         </td>
-</tr>
-<tr>
+
         <td>
-               <!-- TMPL_IF NAME="itemcallnumber" -->
-                <input type="checkbox" name="itemcallnumber" value="1" 
checked="checked" />
-               <!-- TMPL_ELSE -->              
-                <input type="checkbox" name="itemcallnumber" value="1" />
-               <!-- /TMPL_IF -->               
-                <label for="itemcallnumber">Item Call Number</label>
+                <a 
href="/cgi-bin/koha/barcodes/label-edit-layout.pl?layout_id=<!-- TMPL_VAR 
NAME="id" -->">Edit</a>
         </td>
         <td>
-               <!-- TMPL_IF NAME="subclass" -->
-                <input type="checkbox" name="subclass" value="1" 
checked="checked" />
-               <!-- TMPL_ELSE -->              
-                <input type="checkbox" name="subclass" value="1" />
-               <!-- /TMPL_IF -->               
-                <label for="subclass">Sub-Class</label>
+                <a 
href="/cgi-bin/koha/label-home.pl?op=delete_layout&layout_id=<!-- TMPL_VAR 
NAME="id"-->">Delete</a>
         </td>
-</tr>
-</table>
-<p>
-
-<h3>Confirm Label Type</h3>
-<select name="papertype">
-<!-- TMPL_IF NAME="papertype_gaylord-8511" -->
-                <option value="gaylord-8511" 
selected="selected">Gaylord-8511</option>
-<!-- TMPL_ELSE -->
-                <option value="gaylord-8511">Gaylord-8511</option>
-<!--/TMPL_IF -->
-
-<!-- TMPL_IF NAME="papertype_opus-dot-matrix" -->
-                <option value="opus-dot-matrix" selected="selected">OPUS 
Dot-Matrix</option>
-<!-- TMPL_ELSE -->
-                <option value="opus-dot-matrix">OPUS Dot-Matrix</option>
-<!--/TMPL_IF -->
-        </select>
-
-<h3>Confirm Barcode Type</h3>
- <select name="barcodetype">
- 
-                                <!-- TMPL_IF NAME="COOP2of5_checked" -->
-                <option value="COOP2of5" selected="selected">COOP2of5</option>
-                               <!-- TMPL_ELSE -->
-                <option value="COOP2of5">COOP2of5</option>
-                               <!--/TMPL_IF -->
-                               
-                               <!-- TMPL_IF NAME="Code39_checked" -->
-                               <option value="Code39" 
selected="selected">Code39</option>
-                               <!-- TMPL_ELSE -->
-                <option value="Code39">Code39</option>
-                               <!-- /TMPL_IF -->
-                               
-                               <!-- TMPL_IF NAME="EAN13_checked" -->
-                <option value="EAN13" selected="selected">EAN13(JAN13)</option>
-                               <!-- TMPL_ELSE -->
-                               <option value="EAN13">EAN13(JAN13)</option>
-                               <!-- /TMPL_IF -->
-                               
-                               <!-- TMPL_IF NAME="EAN8_checked" -->
-                <option value="EAN8" selected="selected">EAN8(JAN8)</option>
-                               <!-- TMPL_ELSE -->
-                <option value="EAN8">EAN8(JAN8)</option>
-                               <!-- /TMPL_IF -->
-                               
-                               <!-- TMPL_IF NAME="ITF_checked" -->
-                <option value="ITF" 
selected="selected">ITF(Interleaved2of5)</option>
-                               <!-- TMPL_ELSE -->
-                               <option 
value="ITF">ITF(Interleaved2of5)</option>
-                               <!-- /TMPL_IF -->
-                               
-                               <!-- TMPL_IF NAME="Industrial2of5_checked" -->
-                <option value="Industrial2of5" 
selected="selected">Industrial2of5</option>
-                               <!-- TMPL_ELSE -->
-                               <option 
value="Industrial2of5">Industrial2of5</option>
-                               <!-- /TMPL_IF -->
-
-                               <!-- TMPL_IF NAME="Matrix2of5_checked" -->
-                               <option value="Matrix2of5" 
selected="selected">Matrix2of5</option>
-                               <!-- TMPL_ELSE -->
-                <option value="Matrix2of5">Matrix2of5</option>
-                               <!-- /TMPL_IF -->
-                               
-                               <!-- TMPL_IF NAME="NW7_checked" -->
-                <option value="NW7" selected="selected">NW7</option>
-                               <!-- TMPL_ELSE -->
-                               <option value="NW7">NW7</option>
-                               <!-- /TMPL_IF -->
-                               
-                               <!-- TMPL_IF NAME="QRcode_checked" -->
-                <option value="QRcode" selected="selected">QRcode</option>
-                               <!-- TMPL_ELSE -->
-                               <option value="QRcode">QRcode</option>
+<td>
+<input type="radio" name="layout_id" value="<!-- TMPL_VAR NAME="id" -->"  
+                <!-- TMPL_IF NAME="active" -->
+ checked
                                <!-- /TMPL_IF -->
-                               
-                               <!-- TMPL_IF NAME="UPC-A_checked" -->
-                <option value="UPC-A" selected="selected">UPC-A</option>
-                               <!-- TMPL_ELSE -->
-                               <option value="UPC-A">UPC-A</option>
-                               <!-- /TMPL_IF -->
-                               
-                               <!-- TMPL_IF NAME="UPC-E_checked" -->
-                <option value="UPC-E" selected="selected">UPC-E</option>
-                               <!-- TMPL_ELSE -->
-                               <option value="UPC-E">UPC-E</option>
-                               <!-- /TMPL_IF -->
-                               
-        </select>
-</h3>
+ >
 
 
-<h3>Confirm Printing Type</h3>
-<!-- TMPL_IF NAME="printingtype_spine" -->
-<input type="radio" name="printingtype" value="spine" checked="checked">Spine 
Labels
-<!-- TMPL_ELSE -->
-<input type="radio" name="printingtype" value="spine">Spine Labels
-<!-- /TMPL_IF -->
+        </td>
 
-<!-- TMPL_IF NAME="printingtype_barcode" -->
-<input type="radio" name="printingtype" value="barcode" 
checked="checked">Barcode Labels
-<!-- TMPL_ELSE -->
-<input type="radio" name="printingtype" value="barcode">Barcode Labels
-<!-- /TMPL_IF -->
+</tr>
 
-<!-- TMPL_IF NAME="printingtype_both" -->
-<input type="radio" name="printingtype" value="both" checked="checked">Both 
Labels
-<!-- TMPL_ELSE -->
-<input type="radio" name="printingtype" value="both">Both Labels
+<!-- /TMPL_LOOP -->
+</table>
 <!-- /TMPL_IF -->
-
-<h3>
-        Start printing from Row number:<select name="startrow">
-               <!-- TMPL_IF NAME="startrow1_checked" -->
-              <option value="1" selected="selected">1</option>
-                         <!-- TMPL_ELSE -->
-                         <option value="1">1</option>
-                         <!-- /TMPL_IF -->
-                         
-                         <!-- TMPL_IF NAME="startrow2_checked" -->
-              <option value="2" selected="selected">2</option>
-                         <!-- TMPL_ELSE -->
-              <option value="2">2</option>
-                         <!-- /TMPL_IF -->
-                         
-                         <!-- TMPL_IF NAME="startrow3_checked" -->
-                         <option value="3" selected="selected">3</option>
-                         <!-- TMPL_ELSE -->
-              <option value="3">3</option>
-                         <!-- /TMPL_IF -->
-                         
-                         <!-- TMPL_IF NAME="startrow4_checked" -->
-                         <option value="4" selected="selected">4</option>
-                         <!-- TMPL_ELSE -->
-               <option value="4">4</option>
-                         <!-- /TMPL_IF -->
-                         
-                         <!-- TMPL_IF NAME="startrow5_checked" -->
-                         <option value="5" selected="selected">5</option>
-                         <!-- TMPL_ELSE -->
-              <option value="5">5</option>
-                         <!-- /TMPL_IF -->
-                         
-                         <!-- TMPL_IF NAME="startrow6_checked" -->
-                         <option value="6" selected="selected">6</option>
-                         <!-- TMPL_ELSE -->
-              <option value="6">6</option>
-                         <!-- /TMPL_IF -->
-                         
-                         <!-- TMPL_IF NAME="startrow7_checked" -->
-                         <option value="7" selected="selected">7</option>
-                         <!-- TMPL_ELSE -->
-              <option value="7">7</option>
-                         <!-- /TMPL_IF -->
-                         
-                         <!-- TMPL_IF NAME="startrow8_checked" -->
-                         <option value="8" selected="selected">8</option>
-                         <!-- TMPL_ELSE -->
-                         <option value="8">8</option>
-                         <!-- /TMPL_IF -->
-                         
-        </select>
-</h3>
-
-
-<p>
-
-<!-- TMPL_IF NAME="guidebox"-->
- <input type="checkbox" name="guidebox" value="1" checked="checked" />
- <!-- TMPL_ELSE -->
- <input type="checkbox" name="guidebox" value="1" />
- <!-- /TMPL_IF -->
- 
-                <label for="guidebox">Draw Guide Boxes</label>
-</p>
-
+     <input type="submit" value="Set Active Layout">
+        <input type="hidden" name=op value="set_active_layout">
+</form>
 <p>
-        <input type="submit" value="Submit" />
-        <input type="reset" value="Reset" />
-        <input type="hidden" name=op value="save_conf" />
-</p>
+<a href="/cgi-bin/koha/barcodes/label-add-layout.pl">Create New Layout</a>
 </form>
 </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.5
retrieving revision 1.1.2.6
diff -u -b -r1.1.2.5 -r1.1.2.6
--- label-manager.tmpl  13 Sep 2006 15:25:08 -0000      1.1.2.5
+++ label-manager.tmpl  10 Jul 2007 10:57:56 -0000      1.1.2.6
@@ -3,20 +3,16 @@
 <!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
 <!-- TMPL_INCLUDE name="intranet-nav.inc" -->
 <div id="main">
-<h1>Labels to be Printed</h1>
-<p>
-        Printing will start on <b>row <!-- TMPL_VAR NAME="startrow" --></b><br 
/>
-        Printing will use <b><!-- TMPL_VAR NAME="sheets"--> sheets</b><br />
-        Currently <b><!-- TMPL_VAR NAME="labels_remaining"--> rows</b> spare 
on <b>sheet <!-- TMPL_VAR NAME="sheets"--></b>
-</p>
+<!-- TMPL_INCLUDE NAME="label-active-templates.inc" -->
+
+<h2>Items to be Printed</h2>
 
-<!-- TMPL_IF NAME="resultsloop" -->
-<h2>Items</h2>
 <table>
 <tr>
         <th>Label Number</th>
         <th>Summary</th>
         <th>Item Type</th>
+        <th>Batch</th>
         <th>Delete</th>
 </tr>
 <!-- TMPL_LOOP NAME="resultsloop" -->
@@ -28,30 +24,51 @@
                 <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>
+        <td>           <!-- TMPL_VAR NAME="itemtype" -->         </td>
+        <td>           <!-- TMPL_VAR NAME="batch_id" -->         </td>
         <td>
-                <!-- TMPL_VAR NAME="itemtype" -->
-        </td>
-        <td>
-                <a 
href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete&amp;itemnumber=<!-- 
TMPL_VAR NAME="itemnumber" -->">Delete</a>
+                <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>
 
-<p><br />
-        <a href="#" onclick="Plugin(); return false;">Add Item</a> &nbsp;&nbsp;
-        <a href="/cgi-bin/koha/barcodes/label-manager.pl?op=deleteall">Delete 
All</a>
+        <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_ELSE -->
-        <a href="#" onclick="Plugin(); return false;">Add Item</a>
-<!-- /TMPL_IF -->
+
+
+
+
+<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>
 
+
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
+
+
+
 <script type="text/javascript">
-function Plugin() {
-       
window.open('label-item-search.pl','FindABibIndex','width=500,height=400,toolbar=no,scrollbars=yes');
+function Plugin(batch_id) {
+       
window.open("label-item-search.pl?batch_id="+batch_id+"",'FindABibIndex','width=500,height=400,toolbar=no,scrollbars=yes');
 }
 </script>
 
-<!-- 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.3
retrieving revision 1.1.2.4
diff -u -b -r1.1.2.3 -r1.1.2.4
--- result.tmpl 22 May 2006 19:37:30 -0000      1.1.2.3
+++ result.tmpl 10 Jul 2007 10:57:56 -0000      1.1.2.4
@@ -26,10 +26,14 @@
                        &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>
        <table>
        <tr>
+       <tr>
+               <th><a href="#" onclick="check_all()" >Check all</a></th>
                <th>Summary</th>
                <th>Item Type</th>
                <th>Add</th>
@@ -40,6 +44,7 @@
                <!-- TMPL_ELSE -->
                        <tr>
                <!-- /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" -->
@@ -48,6 +53,7 @@
                                        <!-- 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 -->
                                        </p>
                                </td>
@@ -56,14 +62,18 @@
                                        <!-- TMPL_VAR NAME="itemtype" -->
                                </td>
                                <td>
-                                       <a onclick="add_item(<!-- TMPL_VAR 
NAME="itemnumber" -->); return false" 
href="/cgi-bin/koha/barcodes/label-manager.pl?itemnumber=<!-- TMPL_VAR 
NAME="itemnumber" -->&amp;op=add">Add</a>
+                                       <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>
+
+
+
+
 
 <!-- /NEW -->
                                </td>
                        </tr>
                        <!-- /TMPL_LOOP -->
                </table>
-
+</form>
        <div class="results">
                <p>
                        <!-- TMPL_IF NAME=displayprev -->
@@ -86,7 +96,40 @@
 <script type="text/javascript">
 <!--
 
-function add_item(itemnumber){
+
+function add_item(itemnum,batch_id){
+
+ var getstr='';
+ if (itemnum == 'checked') {
+    itms= new Array;        
+    if(document.resultform.itemnumber.length > 0) {
+        for (var i=0; i < document.resultform.itemnumber.length; i++) {
+            if (document.resultform.itemnumber[i].checked) {
+                itms.push("itemnumber=" +  
document.resultform.itemnumber[i].value);
+            }
+        }
+        getstr = itms.join("&");
+    }
+  } 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. */
+function check_all()
+{
+count = document.resultform.elements.length;
+    for (i=0; i < count; i++)  
+    {   
+            document.resultform.elements[i].checked = 1;
+    }
+}
+
+function add_item3(itemnumber){
+
      var myurl = "label-manager.pl?op=add&itemnumber="+itemnumber+"";
      window.opener.location.href = myurl;
 }

Index: search.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/search.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
--- search.tmpl 13 Apr 2006 21:41:30 -0000      1.1.2.2
+++ search.tmpl 10 Jul 2007 10:57:56 -0000      1.1.2.3
@@ -1,12 +1,20 @@
-<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Barcodes and Labels: 
Search<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Barcodes and Labels: 
Search<!-- TMPL_INCLUDE NAME="doc-head-close-calendar.inc" -->
+<!-- TMPL_INCLUDE NAME="masthead.inc" --> 
+
 <div id="main-compact">
 
-<h1>Catalogue Item Search</h1>
+<h1>Catalog item search
+
+<!-- TMPL_IF name="batch_id" -->
+ for batch <!-- TMPL_VAR NAME="batch_id" -->
+<!-- /TMPL_IF  -->
+</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" -->" />
+       <input type="hidden" name="batch_id" value="<!-- TMPL_VAR 
NAME="batch_id" -->" />
 
        <table>
        <tr><th scope="row">
@@ -20,7 +28,7 @@
                <input type="text" id="title" name="value" />
            </td></tr>
        <tr><th scope="row">
-               <label for="issn">ISSN</label>
+               <label for="issn">ISBN / ISSN</label>
            </th>
            <td>
                <input type="hidden" name="marclist" value="biblioitems.issn" />
@@ -30,6 +38,57 @@
                <input type="text" name="value" id="issn" />
            </td></tr>
        <tr><th scope="row">
+
+
+       <tr><th scope="row">
+               <label for="datefrom">Date accessioned:  between</label>
+           </th>
+           <td>
+               <input type="hidden" name="marclist" 
value="items.dateaccessioned" />
+               <input type="hidden" name="and_or" value="and" />
+               <input type="hidden" name="excluding" value="" />
+               <input type="hidden" name="operator" value=">=" />
+  <input type="text" size="10" id="datefrom" name="value" value="" />          
                                            
+  <img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" 
border="0" id="openCalendarFrom" style="cursor: pointer;" valign="top" />
+
+<script type="text/javascript">
+    Calendar.setup({
+        inputField     :    "datefrom",
+      ifFormat : "%Y-%m-%d",
+        button         :    "openCalendarFrom",
+        align          :    "Tl",
+        singleClick    :    false
+    });
+</script>
+
+
+</td>
+    </tr>
+       <tr><th scope="row">
+               <label for="dateto">Date accessioned after</label>
+           </th>
+           <td>
+               <input type="hidden" name="marclist" 
value="items.dateaccessioned" />
+               <input type="hidden" name="and_or" value="and" />
+               <input type="hidden" name="excluding" value="" />
+               <input type="hidden" name="operator" value="<=" />
+  <input type="text" size="10" id="dateto" name="value" value="" />            
                                          
+  <img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" 
border="0" id="openCalendarTo" style="cursor: pointer;" valign="top" />
+
+<script type="text/javascript">
+    Calendar.setup({
+        inputField     :    "dateto",
+      ifFormat : "%Y-%m-%d",
+        button         :    "openCalendarTo",
+        align          :    "Tl",
+    });
+</script>
+
+
+</td>
+    </tr>
+
+       <tr><th scope="row">
                <label for="resultsperpage">Results per page:</label>
            </th>
            <td>
@@ -38,15 +97,40 @@
                        <option value="50">50</option>
                        <option value="100">100</option>
                </select>
+    </td>
+       <td><input type="checkbox" checked='0' name='showall' id='showall' 
/><label for='showall'>Show All</label></td>
+</tr>
+
+<tr><th scope="row">
                <label for="orderby">Ordered by</label>
+        </th>
+        <td>
                <select name="orderby" id="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>
+                       <option value="biblioitems.itemtype">Itemtype</option>
+                       <option value="biblioitems.classification">Item 
Callnumber</option>
                </select>
-           </td></tr>
+</td>
+</tr>
+
+
+    <tr><th scope="row">Document Type</th>
+                <td colspan="2">
+                    <select name="Filter">
+                        <option value="">All Item Types</option>
+                        <!-- TMPL_LOOP name="itemtypeloop" -->
+                            <option value="<!-- TMPL_VAR name="value" -->" 
+                    <!-- TMPL_IF name="selected" --> selected="selected"
+                    <!-- /TMPL_IF -->><!-- TMPL_VAR name="description" 
--></option>
+                        <!-- /TMPL_LOOP -->
+                    </select>
+                </td>
+            </tr>
+
        </table>
 <p>            <input type="submit" value="Start search" class="submit" /></p>
 </form>

Index: label-add-layout.tmpl
===================================================================
RCS file: label-add-layout.tmpl
diff -N label-add-layout.tmpl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ label-add-layout.tmpl       10 Jul 2007 10:57:55 -0000      1.1.4.2
@@ -0,0 +1,262 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Labels<!-- TMPL_INCLUDE 
NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
+<!-- TMPL_INCLUDE name="intranet-nav.inc" -->
+
+<div id="main">
+<form name="input" action="/cgi-bin/koha/barcodes/label-manager.pl" 
method="get">
+
+
+
+<h3>
+        Layout Name
+
+</h3>
+<input type="textbox" name="layoutname"  SIZE="20"
+        value="<!-- TMPL_VAR NAME="layoutname" -->">
+
+
+<p>
+<p>
+<p>
+
+
+
+<h3>
+        Choose Order Of Fields to Print
+</h3>
+<table summary="fields to print">
+<tr>
+        <td>
+        <select name="tx_title">
+        <option value="0" SELECTED></option>
+        <option value="1">1</option>
+        <option value="2">2</option>
+        <option value="3">3</option>
+        <option value="4">4</option>
+        <option value="5">5</option>
+        <option value="6">6</option>
+        <option value="7">7</option>
+        <option value="8">8</option>
+        <option value="9">9</option>
+        <option value="10">10</option>
+        </select>
+        <label>Title</label>
+        </td>
+
+        <td>
+        <select name="tx_author">
+         <option value="0" SELECTED></option>
+        <option value="1">1</option>
+        <option value="2">2</option>
+        <option value="3">3</option>
+        <option value="4">4</option>
+        <option value="5">5</option>
+        <option value="6">6</option>
+        <option value="7">7</option>
+        <option value="8">8</option>
+        <option value="9">9</option>
+        <option value="10">10</option>
+       </select>
+        <label>Author</label>
+        </td>
+
+        <td>
+        <select name="tx_isbn">
+         <option value="0" SELECTED></option>
+        <option value="1">1</option>
+        <option value="2">2</option>
+        <option value="3">3</option>
+        <option value="4">4</option>
+        <option value="5">5</option>
+        <option value="6">6</option>
+        <option value="7">7</option>
+        <option value="8">8</option>
+        <option value="9">9</option>
+        <option value="10">10</option>
+       </select>
+        <label>ISBN</label>
+        </td>
+
+        <td>
+        <select name="tx_issn">
+          <option value="0" SELECTED></option>
+        <option value="1">1</option>
+        <option value="2">2</option>
+        <option value="3">3</option>
+        <option value="4">4</option>
+        <option value="5">5</option>
+        <option value="6">6</option>
+        <option value="7">7</option>
+        <option value="8">8</option>
+        <option value="9">9</option>
+        <option value="10">10</option>
+      </select>
+        <label>ISSN</label>
+        </td>
+
+
+        <td>
+        <select name="tx_itemtype">
+         <option value="0" SELECTED></option>
+        <option value="1">1</option>
+        <option value="2">2</option>
+        <option value="3">3</option>
+        <option value="4">4</option>
+        <option value="5">5</option>
+        <option value="6">6</option>
+        <option value="7">7</option>
+        <option value="8">8</option>
+        <option value="9">9</option>
+        <option value="10">10</option>
+       </select>
+        <label>Itemtype</label>
+        </td>
+
+
+  </tr>
+<tr>
+        <td>
+        <select name="tx_dewey">
+         <option value="0" SELECTED></option>
+        <option value="1">1</option>
+        <option value="2">2</option>
+        <option value="3">3</option>
+        <option value="4">4</option>
+        <option value="5">5</option>
+        <option value="6">6</option>
+        <option value="7">7</option>
+        <option value="8">8</option>
+        <option value="9">9</option>
+        <option value="10">10</option>
+       </select>
+        <label>Dewey</label>
+        </td>
+
+        <td>
+        <select name="tx_barcode">
+         <option value="0" SELECTED></option>
+        <option value="1">1</option>
+        <option value="2">2</option>
+        <option value="3">3</option>
+        <option value="4">4</option>
+        <option value="5">5</option>
+        <option value="6">6</option>
+        <option value="7">7</option>
+        <option value="8">8</option>
+        <option value="9">9</option>
+        <option value="10">10</option>
+       </select>
+        <label>Barcode</label>
+        </td>
+
+
+        <td>
+        <select name="tx_classif">
+         <option value="0" SELECTED></option>
+        <option value="1">1</option>
+        <option value="2">2</option>
+        <option value="3">3</option>
+        <option value="4">4</option>
+        <option value="5">5</option>
+        <option value="6">6</option>
+        <option value="7">7</option>
+        <option value="8">8</option>
+        <option value="9">9</option>
+        <option value="10">10</option>
+       </select>
+        <label>Classification</label>
+        </td>
+
+        <td>
+        <select name="tx_subclass">
+         <option value="0" SELECTED></option>
+        <option value="1">1</option>
+        <option value="2">2</option>
+        <option value="3">3</option>
+        <option value="4">4</option>
+        <option value="5">5</option>
+        <option value="6">6</option>
+        <option value="7">7</option>
+        <option value="8">8</option>
+        <option value="9">9</option>
+        <option value="10">10</option>
+       </select>
+        <label>Sub-Class</label>
+        </td>
+
+
+        <td>
+        <select name="tx_itemcallnumber">
+          <option value="0" SELECTED></option>
+        <option value="1">1</option>
+        <option value="2">2</option>
+        <option value="3">3</option>
+        <option value="4">4</option>
+        <option value="5">5</option>
+        <option value="6">6</option>
+        <option value="7">7</option>
+        <option value="8">8</option>
+        <option value="9">9</option>
+        <option value="10">10</option>
+      </select>
+        <label>Call Number</label>
+        </td>
+
+
+  </tr>
+
+
+
+
+
+
+
+
+</table>
+<p>
+
+
+
+<h3>Confirm Barcode Type</h3>
+<select name="barcodetype">
+    <!-- TMPL_LOOP NAME="barcode_types" -->
+        <option value="<!-- TMPL_VAR NAME="code" -->"
+            <!-- TMPL_IF NAME="active" --> selected  <!-- /TMPL_IF -->
+        ><!-- TMPL_VAR NAME="desc" --></option>
+    <!-- /TMPL_LOOP -->
+</select>
+
+
+
+<h3>Confirm Layout Type</h3>
+<select name="printingtype">
+    <!-- TMPL_LOOP NAME="printingtypes" -->
+        <option value="<!-- TMPL_VAR NAME="code" -->"
+            <!-- TMPL_IF NAME="active" --> selected  <!-- /TMPL_IF -->
+        ><!-- TMPL_VAR NAME="desc" --></option>
+    <!-- /TMPL_LOOP -->
+</select>
+
+
+
+
+<h3>
+        Start printing from Label number:<input type="textbox" 
name="startlabel"  SIZE="2" value="1">
+
+
+</h3>
+
+<p>
+<p>
+<h3>Draw Guide Boxes<input type="checkbox" name="guidebox" value=1></h3>
+<p>
+<p>
+<p>
+        <input type="submit" value="Submit">
+        <input type="hidden" name=op value="save_conf">
+</p>
+</form>
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
+

Index: label-create-template.tmpl
===================================================================
RCS file: label-create-template.tmpl
diff -N label-create-template.tmpl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ label-create-template.tmpl  10 Jul 2007 10:57:56 -0000      1.1.4.2
@@ -0,0 +1,63 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Labels<!-- TMPL_INCLUDE 
NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
+<!-- TMPL_INCLUDE name="intranet-nav.inc" -->
+
+<div id="main">
+
+<form name="input" action="/cgi-bin/koha/barcodes/label-create-template.pl" 
method="get">
+
+<h3>
+        Create Label Template
+</h3>
+
+
+
+<h3>Template Settings</h3>
+<table>
+
+Template Code: <input type="text"  size="40" name="tmpl_code"><br>
+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>
+</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>
+</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>
+</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>
+</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>
+</tr>
+</table>
+
+
+<br>
+Units: <select name="units">
+    <!-- TMPL_LOOP NAME="units" -->
+        <option value="<!-- TMPL_VAR NAME="unit" -->"><!-- TMPL_VAR 
NAME="desc" --></option>
+    <!-- /TMPL_LOOP -->
+</select>
+
+<br>
+<br>
+Font Size: <input type="textbox" name="fontsize"  SIZE="1"  
+               value="">
+<br>
+<br>
+        <input type="submit" value="Save">
+        <input type="reset" value="Reset">
+</form>
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
+

Index: label-edit-layout.tmpl
===================================================================
RCS file: label-edit-layout.tmpl
diff -N label-edit-layout.tmpl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ label-edit-layout.tmpl      10 Jul 2007 10:57:56 -0000      1.1.4.2
@@ -0,0 +1,223 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Labels<!-- TMPL_INCLUDE 
NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
+<!-- TMPL_INCLUDE name="intranet-nav.inc" -->
+
+<div id="main">
+<form name="input" action="/cgi-bin/koha/barcodes/label-manager.pl" 
method="get">
+
+
+
+<h3>Layout Name</h3>
+<input type="textbox" name="layoutname"  SIZE="20" value="<!-- TMPL_VAR 
NAME="layoutname" -->">
+
+
+<p>
+<p>
+<p>
+
+
+
+<h3>
+        Choose Order Of Fields to Print
+</h3>
+<table summary="fields to print">
+<tr>
+
+
+
+
+        <td>
+ <select name="tx_title">
+            <!-- TMPL_LOOP Name="tx_title" -->
+                <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF 
Name="selected" --> selected <!-- /TMPL_IF -->>
+                    <!-- TMPL_VAR Name="num" -->
+                </option>
+            <!-- /TMPL_LOOP -->
+            </select>
+        <label>Title</label>
+        </td>
+
+        <td>
+        <select name="tx_author">
+             <!-- TMPL_LOOP Name="tx_author" -->
+                <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF 
Name="selected" --> selected <!-- /TMPL_IF -->>
+                    <!-- TMPL_VAR Name="num" -->
+                </option>
+            <!-- /TMPL_LOOP -->
+            </select>
+       <label>Author</label>
+        </td>
+
+        <td>
+        <select name="tx_isbn">
+              <!-- TMPL_LOOP Name="tx_isbn" -->
+                <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF 
Name="selected" --> selected <!-- /TMPL_IF -->>
+                    <!-- TMPL_VAR Name="num" -->
+                </option>
+            <!-- /TMPL_LOOP -->
+            </select>
+      <label>ISBN</label>
+        </td>
+
+        <td>
+        <select name="tx_issn">
+               <!-- TMPL_LOOP Name="tx_issn" -->
+                <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF 
Name="selected" --> selected <!-- /TMPL_IF -->>
+                    <!-- TMPL_VAR Name="num" -->
+                </option>
+            <!-- /TMPL_LOOP -->
+            </select>
+     <label>ISSN</label>
+
+
+
+        <td>
+        <select name="tx_itemtype">
+                 <!-- TMPL_LOOP Name="tx_itemtype" -->
+                <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF 
Name="selected" --> selected <!-- /TMPL_IF -->>
+                    <!-- TMPL_VAR Name="num" -->
+                </option>
+            <!-- /TMPL_LOOP -->
+            </select>
+   <label>Itemtype</label>
+        </td>
+
+
+  </tr>
+<tr>
+        <td>
+        <select name="tx_dewey">
+                <!-- TMPL_LOOP Name="tx_dewey" -->
+                <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF 
Name="selected" --> selected <!-- /TMPL_IF -->>
+                    <!-- TMPL_VAR Name="num" -->
+                </option>
+            <!-- /TMPL_LOOP -->
+       </select>
+        <label>Dewey</label>
+        </td>
+
+        <td>
+        <select name="tx_barcode">
+                 <!-- TMPL_LOOP Name="tx_barcode" -->
+                <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF 
Name="selected" --> selected <!-- /TMPL_IF -->>
+                    <!-- TMPL_VAR Name="num" -->
+                </option>
+            <!-- /TMPL_LOOP -->
+      </select>
+        <label>Barcode</label>
+        </td>
+
+
+        <td>
+        <select name="tx_classif">
+                  <!-- TMPL_LOOP Name="tx_classif" -->
+                <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF 
Name="selected" --> selected <!-- /TMPL_IF -->>
+                    <!-- TMPL_VAR Name="num" -->
+                </option>
+            <!-- /TMPL_LOOP -->
+     </select>
+        <label>Classification</label>
+        </td>
+
+
+
+
+
+        <td>
+        <select name="tx_subclass">
+                  <!-- TMPL_LOOP Name="tx_subclass" -->
+                <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF 
Name="selected" --> selected <!-- /TMPL_IF -->>
+                    <!-- TMPL_VAR Name="num" -->
+                </option>
+            <!-- /TMPL_LOOP -->
+     </select>
+        <label>Subclass</label>
+        </td>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+            <td>
+        <select name="tx_itemcallnumber">
+                 <!-- TMPL_LOOP Name="tx_itemcallnumber" -->
+                <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF 
Name="selected" --> selected <!-- /TMPL_IF -->>
+                    <!-- TMPL_VAR Name="num" -->
+                </option>
+            <!-- /TMPL_LOOP -->
+      </select>
+        <label>Call Number</label>
+        </td>
+
+
+  </tr>
+
+
+
+
+
+
+
+
+</table>
+<p>
+
+
+
+<h3>Confirm Barcode Type</h3>
+<select name="barcodetype">
+    <!-- TMPL_LOOP NAME="barcode_types" -->
+        <option value="<!-- TMPL_VAR NAME="code" -->"
+            <!-- TMPL_IF NAME="active" --> selected  <!-- /TMPL_IF -->
+        ><!-- TMPL_VAR NAME="desc" --></option>
+    <!-- /TMPL_LOOP -->
+</select>
+
+
+
+<h3>Confirm Layout Type</h3>
+<select name="printingtype">
+    <!-- TMPL_LOOP NAME="printingtypes" -->
+        <option value="<!-- TMPL_VAR NAME="code" -->"
+            <!-- TMPL_IF NAME="active" --> selected  <!-- /TMPL_IF -->
+        ><!-- TMPL_VAR NAME="desc" --></option>
+    <!-- /TMPL_LOOP -->
+</select>
+
+
+
+
+<h3>
+        Start printing from Label number:<input type="textbox" 
name="startlabel"  SIZE="1"  value=" <!-- TMPL_VAR NAME="startlabel" --> ">
+
+
+</h3>
+
+<p>
+<p>
+ <h3>Draw Guide Boxes<input type="checkbox" name="guidebox" value=1 
+                <!-- TMPL_IF NAME="guidebox"-->
+                     checked
+                <!-- /TMPL_IF -->  ></h3>
+<p>
+<p>
+<p>
+        <input type="submit" value="Submit">
+        <input type="hidden" name=op value="save_layout">
+        <input type="hidden" name=layout_id value="<!-- TMPL_VAR 
NAME="layout_id" -->">
+</p>
+</form>
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
+

Index: label-edit-template.tmpl
===================================================================
RCS file: label-edit-template.tmpl
diff -N label-edit-template.tmpl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ label-edit-template.tmpl    10 Jul 2007 10:57:56 -0000      1.1.4.2
@@ -0,0 +1,69 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Labels<!-- TMPL_INCLUDE 
NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
+<!-- TMPL_INCLUDE name="intranet-nav.inc" -->
+
+<div id="main">
+<form name="input" action="/cgi-bin/koha/barcodes/label-save-template.pl" 
method="get">
+
+<h3>
+        Edit Label Template
+</h3>
+
+
+
+<h3>Template Settings</h3>
+<table>
+
+Template ID: <!-- TMPL_VAR NAME="tmpl_id" --> <br>
+Template Code: <input type="text"  size="40" name="tmpl_code" value="<!-- 
TMPL_VAR NAME="tmpl_code" -->"><br>
+Template Description: <textarea name="tmpl_desc" cols="40" rows="3" 
name="tmpl_desc" ><!-- TMPL_VAR NAME="tmpl_desc" --></TEXTAREA><br>
+
+<tr>
+        <td>Page Width:</td><td><input type="text"  size="2" name="page_width" 
 value="<!-- TMPL_VAR NAME="page_width" -->"></td>
+        <td>Page Height:</td><td><input type="text" size="2" 
name="page_height"  value="<!-- TMPL_VAR NAME="page_height" -->"></td>
+</tr>
+<tr>
+        <td>Label Width:</td><td><input type="text"  size="2" 
name="label_width"  value="<!-- TMPL_VAR NAME="label_width" -->"></td>
+        <td>Label Height:</td><td><input type="text" size="2" 
name="label_height"  value="<!-- TMPL_VAR NAME="label_height" -->"></td>
+</tr>
+<tr>
+        <td>Top Page Margin:</td><td><input type="text" size="2" 
name="topmargin"  value="<!-- TMPL_VAR NAME="topmargin" -->"></td>
+        <td>Left Page Margin:</td><td><input type="text" size="2" 
name="leftmargin"  value="<!-- TMPL_VAR NAME="leftmargin" -->"></td>
+</tr>
+<tr>
+        <td>Number of Columns:</td><td><input type="text" size="2" name="cols" 
 value="<!-- TMPL_VAR NAME="cols" -->"></td>
+        <td>Number of Rows:</td><td><input type="text" size="2" name="rows"  
value="<!-- TMPL_VAR NAME="rows" -->"></td>
+</tr>
+<tr>
+        <td>Gap between Columns:</td><td><input type="text" size="2" 
name="colgap"  value="<!-- TMPL_VAR NAME="colgap" -->"></td>
+        <td>Gap between Rows:</td><td><input type="text" size="2" 
name="rowgap"  value="<!-- TMPL_VAR NAME="rowgap" -->"></td>
+
+
+
+</tr>
+</table>
+
+Units: <select name="units">
+    <!-- TMPL_LOOP NAME="units" -->
+        <option value="<!-- TMPL_VAR NAME="unit" -->"
+            <!-- TMPL_IF NAME="selected" --> selected  <!-- /TMPL_IF -->
+        ><!-- TMPL_VAR NAME="desc" --></option>
+    <!-- /TMPL_LOOP -->
+</select>
+
+<br>
+<br>
+Font Size: <input type="textbox" name="fontsize"  SIZE="1"
+        value="<!-- TMPL_VAR NAME="fontsize" -->">
+<br>
+<br>
+
+
+        <input type="submit" value="Save">
+        <input type="reset" value="Reset">
+</p>
+</form>
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
+

Index: label-templates.tmpl
===================================================================
RCS file: label-templates.tmpl
diff -N label-templates.tmpl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ label-templates.tmpl        10 Jul 2007 10:57:56 -0000      1.1.4.2
@@ -0,0 +1,59 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Labels<!-- TMPL_INCLUDE 
NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
+<!-- TMPL_INCLUDE name="intranet-nav.inc" -->
+<div id="main">
+
+<!-- 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>
+<table>
+<tr>
+        <th>Template Code</th>
+        <th>Description</th>
+        <th>Edit</th>
+        <th>Delete</th>
+        <th>Active</th>
+</tr>
+<!-- TMPL_LOOP NAME="resultsloop" -->
+<tr>
+        <td>
+                <!-- TMPL_VAR NAME="tmpl_code" -->
+        </td>
+        <td>
+                <!-- TMPL_VAR NAME="tmpl_desc" -->
+        </td>
+               <td>
+                               <a 
href="/cgi-bin/koha/barcodes/label-edit-template.pl?tmpl_id=<!-- TMPL_VAR 
NAME="tmpl_id" -->">Edit</a>
+        </td>
+               <td>
+                               <a 
href="/cgi-bin/koha/barcodes/label-templates.pl?op=delete&tmpl_id=<!-- TMPL_VAR 
NAME="tmpl_id" -->">Delete</a>
+        </td>
+                 <td>
+<input type="radio" name="tmpl_id" value="<!-- TMPL_VAR NAME="tmpl_id" -->"  
+                <!-- TMPL_IF NAME="active" -->
+ checked
+                <!-- /TMPL_IF -->
+ >
+
+        </td>
+</tr>
+<!-- /TMPL_LOOP -->
+</table>
+<!-- /TMPL_IF -->
+
+
+ <input type="submit" value="Set Active Template">
+        <input type="hidden" name=op value="set_active_template">
+
+
+<p><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" -->




reply via email to

[Prev in Thread] Current Thread [Next in Thread]