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, 11 Apr 2006 05:29:06 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Mason James <address@hidden>    06/04/11 05:29:06

Added files:
        koha-tmpl/intranet-tmpl/npl/en/barcodes: label-home.tmpl 
                                                 label-manager.tmpl 
                                                 label-print.tmpl 
                                                 result.tmpl 
                                                 label-bib-search.tmpl 

Log message:
        Initial add of NPL spine label templates.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl?only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl?only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-print.tmpl?only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl?only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-bib-search.tmpl?only_with_tag=rel_2_2&rev=1.1.2.1

Patches:
Index: koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-bib-search.tmpl
diff -u /dev/null 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-bib-search.tmpl:1.1.2.1
--- /dev/null   Tue Apr 11 05:29:06 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-bib-search.tmpl  Tue Apr 
11 05:29:06 2006
@@ -0,0 +1,33 @@
+    <!-- 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: koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl
diff -u /dev/null 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl:1.1.2.1
--- /dev/null   Tue Apr 11 05:29:06 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl        Tue Apr 
11 05:29:06 2006
@@ -0,0 +1,176 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Acquisitions<!-- 
TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
+<!-- TMPL_INCLUDE name="intranet-nav.inc" -->
+<!--------------------------MAIN BODY OF PAGE-------------------------->
+<div id="main">
+<form name="input" action="barcodes/label-manager.pl" method="get">
+
+<h3>
+        Choose Fields to Print
+</h3>
+<table summary="fields to print">
+<tr>
+        <td>
+                <input type="checkbox" name="itemtype" value=1 
+                <!-- TMPL_IF NAME="itemtype"-->
+                     checked
+                <!-- /TMPL_IF --> 
+                <label for="itemtype">Item Type</label>
+        </td>
+
+        <td>
+                <input type="checkbox" name="isbn" value=1 
+                <!-- TMPL_IF NAME="isbn" -->
+                     checked
+                <!-- /TMPL_IF --> 
+                <label for="isbn">ISBN</label>
+        </td>
+
+</tr>
+<tr>
+        <td>
+                <input type="checkbox" name="dcn" value=1 
+                <!-- TMPL_IF NAME="dewey" -->
+                     checked
+                <!-- /TMPL_IF -->
+                <label for="dcn">Dewey / Call Number</label>
+        </td>
+        <td>
+                <input type="checkbox" name="classif" value=1  
+                <!-- TMPL_IF NAME="class" -->
+                     checked
+                <!-- /TMPL_IF -->
+                <label for="classif">Classification</label>
+        </td>
+</tr>
+</table>
+
+
+
+<h3>
+        Confirm Label Type
+</h3>
+        <select name="papertype">
+                <option value="Gaylord8511">Gaylord-8511</option>
+        </select>
+
+
+<h3>
+        Confirm Barcode Type
+</h3>
+
+
+
+ <select name="barcodetype">
+                <option value="COOP2of5"
+                        <!-- TMPL_IF NAME="COOP2of5_checked" -->
+                             selected
+                        <!--/TMPL_IF -->
+                        >COOP2of5</option>
+                <option value="Code39"
+                        <!-- TMPL_IF NAME="Code39_checked" -->
+                             selected
+                        <!-- /TMPL_IF -->
+                        >Code39</option>
+                <option value="EAN13"
+                        <!-- TMPL_IF NAME="EAN13_checked" -->
+                             selected
+                        <!-- /TMPL_IF -->
+                        >EAN13(JAN13)</option>
+                <option value="EAN8"
+                        <!-- TMPL_IF NAME="EAN8_checked" -->
+                             selected<!-- /TMPL_IF -->
+                        >EAN8(JAN8)</option>
+                <option value="ITF"
+                        <!-- TMPL_IF NAME="ITF_checked" -->
+                             selected
+                        <!-- /TMPL_IF -->
+                        >ITF(Interleaved2of5)</option>
+                <option value="Industrial2of5"
+                        <!-- TMPL_IF NAME="Industrial2of5_checked" -->
+                             selected
+                        <!-- /TMPL_IF -->
+                        >Industrial2of5</option>
+                <option value="Matrix2of5"
+                        <!-- TMPL_IF NAME="Matrix2of5_checked" -->
+                             selected
+                        <!-- /TMPL_IF -->
+                        >Matrix2of5</option>
+                <option value="NW7"
+                        <!-- TMPL_IF NAME="NW7_checked" -->
+                             selected
+                        <!-- /TMPL_IF -->
+                        >NW7</option>
+                <option value="QRcode"
+                        <!-- TMPL_IF NAME="QRcode_checked" -->
+                             selected
+                        <!-- /TMPL_IF -->
+                        >QRcode</option>
+                <option value="UPC-A"
+                        <!-- TMPL_IF NAME="UPC-A_checked" -->
+                             selected
+                        <!-- /TMPL_IF -->
+                        >UPC-A</option>
+                <option value="UPC-E"
+                        <!-- TMPL_IF NAME="UPC-E_checked" -->
+                             selected
+                        <!-- /TMPL_IF -->
+                        >UPC-E</option>
+        </select>
+
+
+
+<h3>
+        Start printing from Row number:<select name="startrow">
+              <option value="1"
+                      <!-- TMPL_IF NAME="startrow1_checked" -->
+                           selected
+                      <!-- /TMPL_IF -->>1</option>
+              <option value="2"
+                      <!-- TMPL_IF NAME="startrow2_checked" -->
+                           selected
+                      <!-- /TMPL_IF -->>2</option>
+              <option value="3"
+                      <!-- TMPL_IF NAME="startrow3_checked" -->
+                           selected
+                      <!-- /TMPL_IF -->>3</option>
+              <option value="4"
+                      <!-- TMPL_IF NAME="startrow4_checked" -->
+                          selected
+                      <!-- /TMPL_IF -->>4</option>
+              <option value="5"
+                      <!-- TMPL_IF NAME="startrow5_checked" -->
+                           selected
+                      <!-- /TMPL_IF -->>5</option>
+              <option value="6"
+                      <!-- TMPL_IF NAME="startrow6_checked" -->
+                           selected
+                      <!-- /TMPL_IF -->>6</option>
+              <option value="7"
+                      <!-- TMPL_IF NAME="startrow7_checked" -->
+                           selected
+                      <!-- /TMPL_IF -->>7</option>
+              <option value="8"
+                      <!-- TMPL_IF NAME="startrow8_checked" -->
+                           selected
+                      <!-- /TMPL_IF -->>8</option>
+        </select>
+</h3>
+
+
+
+
+<p>
+        <input type="submit" value="Submit">
+        <input type="reset" value="Reset">
+        <input type="hidden" name=op value="save_conf">
+
+</p>
+</form>
+
+
+
+</div>
+ <!-- TMPL_INCLUDE NAME="label-bottom.inc" -->
+
Index: koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl
diff -u /dev/null 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl:1.1.2.1
--- /dev/null   Tue Apr 11 05:29:06 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl     Tue Apr 
11 05:29:06 2006
@@ -0,0 +1,58 @@
+<!-- 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">
+<h1 class="bull">Labels to be Printed</h1>
+<p>
+       Printing will start on row number <b><!-- TMPL_VAR NAME="startrow" 
--></b><br />
+       Printing will use <b><!-- TMPL_VAR NAME="sheets"--> sheets</b><br />
+       Currently <b>6 spare rows</b> on sheet 2
+</p>
+
+<!-- TMPL_IF NAME="resultsloop" -->
+<h2>Items</h2>
+<table border="0" cellspacing="0" cellpadding="0" class="collapse">
+<tr valign="top">
+        <td class="cell-header">Label Number</td>
+        <td class="cell-header">Summary</td>
+        <td class="cell-header">Item Type</td>
+        <td class="cell-header">Delete</td>
+</tr>
+<!-- TMPL_LOOP NAME="resultsloop" -->
+<tr>
+        <td class="cell">
+                <!-- TMPL_VAR NAME="labelno" -->
+        </td>
+        <td class="cell">
+                <b><!-- TMPL_VAR NAME="title" -->:</b> <!-- TMPL_VAR 
NAME="author" -->:
+                <!-- TMPL_VAR NAME="isbn" -->: <!-- TMPL_VAR NAME="barcode" -->
+        </td>
+        <td class="cell">
+                <!-- TMPL_VAR NAME="itemtype" -->
+        </td>
+        <td class="cell">
+                <a 
href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete&amp;itemnumber=<!-- 
TMPL_VAR NAME="itemnumber" -->">Delete</a>
+        </td>
+</tr>
+<!-- /TMPL_LOOP -->
+</table>
+
+<p><br />
+        <a href="#" onClick="Plugin()">Add Item</a> &nbsp;&nbsp;
+        <a href="/cgi-bin/koha/barcodes/label-print.pl">Preview</a> 
&nbsp;&nbsp;
+        <a href="/cgi-bin/koha/barcodes/label-manager.pl?op=deleteall">Delete 
All</a>
+</p>
+ <!-- TMPL_ELSE -->
+        <a href="#" onClick="Plugin()">Add Item</a>
+<!-- /TMPL_IF -->
+</form>
+</div>
+
+<script type="text/javascript">
+function Plugin() {
+       
window.open('label-item-search.pl','FindABibIndex','width=500,height=400,toolbar=no,scrollbars=yes');
+}
+</script>
+
+<!-- TMPL_INCLUDE NAME="label-bottom.inc" -->
Index: koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-print.tmpl
diff -u /dev/null 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-print.tmpl:1.1.2.1
--- /dev/null   Tue Apr 11 05:29:06 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-print.tmpl       Tue Apr 
11 05:29:06 2006
@@ -0,0 +1,176 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8">
+<title>Print Preview</title>
+<style type="text/css" media="screen">
+/* need to set print margins for sheet */
+body {
+        margin:48px; /* 1/2" at 96dpi */
+/*      margin:36px */  /* 1/2" at 72dpi */
+}
+/*
+8 1/2" x 11" sheet size
+
+spine data
+        1 1/4"H x 1"W
+                at 96dpi -> 120px H x 96px W
+                at 72dpi -> 90px H x 72px W
+space between cells - 1/2"
+        at 96dpi -> 48px
+        at 72dpi -> 36px
+circ data
+        1 1/4"H x 2 7/8"W
+                at 96dpi -> 120px H x 276px W
+                at 72dpi -> 90px H x 207px W
+*/
+table.print-preview {
+        border-collapse:collapse;
+        border-spacing:0;
+        empty-cells: show;
+}
+.print-preview td {
+        font-family:arial,helvetica,sans-serif;
+        font-size:10px;
+        padding:0 4px 0 4px
+}
+/* 96dpi */
+.spine-label-8511 {
+        border:dashed 1px #999999;
+        width: 88px;
+        height: 112px;
+        text-align: center
+}
+.space-8511 {
+        width:40px
+}
+.circ-label-8511 {
+        border:dashed 1px #999999;
+        width:268px;
+        text-align: center
+}
+/* 72dpi
+.spine-label-8511 {
+        border:dashed 1px #999999;
+        width: 64px;
+        height: 82px;
+        text-align: center
+}
+.space-8511 {
+        width:28px
+}
+.circ-label-8511 {
+        border:dashed 1px #999999;
+        width:199px;
+        text-align: center
+}
+*/
+</style>
+<style type="text/css" media="print">
+/* need to set print margins for sheet */
+body {
+        margin:48px; /* 1/2" at 96dpi */
+        /*      margin:36px */  /* 1/2" at 72dpi */
+}
+.noprint {
+        display:none
+}
+table.print-preview {
+        border-collapse:collapse;
+        border-spacing:0;
+}
+/* need to set printer font size */
+.print-preview td {
+        font-family:arial,helvetica,sans-serif;
+        font-size:10px;
+        padding:0 4px 0 4px
+}
+/* 96dpi */
+.spine-label-8511 {
+        border:dashed 1px #999999;
+        width: 88px;
+        height: 112px;
+}
+.space-8511 {
+        width:40px;
+}
+.circ-label-8511 {
+        border:dashed 1px #999999;
+        width:268px;
+        height:112px;
+}
+/* 72dpi
+.spine-label-8511 {
+        border:none;
+        width: 64px;
+        height: 82px;
+        text-align: center
+}
+.space-8511 {
+        width:28px
+}
+.circ-label-8511 {
+        border:none;
+        width:199px;
+        text-align: left
+}
+*/
+</style>
+<body>
+
+<div class="noprint">
+        <h3 class="bull">Print Preview<br>
+        Barcodetype:<!-- TMPL_VAR NAME="barcodetype_opt" --><br>
+        Papertype:<!-- TMPL_VAR NAME="papertype_opt" --><br>
+        Field Options: <!-- TMPL_IF NAME="author_opt" -->Author <!-- /TMPL_IF 
-->
+        <!-- TMPL_IF NAME="itemtype_opt" -->itemtype <!-- /TMPL_IF -->
+        <!-- TMPL_IF NAME="title_opt" -->title <!-- /TMPL_IF -->
+        <!-- TMPL_IF NAME="isbn_opt" -->isbn <!-- /TMPL_IF -->
+        <!-- TMPL_IF NAME="dewey_opt" -->dewey <!-- /TMPL_IF -->
+        <!-- TMPL_IF NAME="class_opt" -->class<!-- /TMPL_IF -->
+</h3>
+</div>
+
+
+<table summary="print preview" class="print-preview">
+
+<!-- TMPL_LOOP NAME="resultsloop" -->
+<tr>
+        <td class="spine-label-8511">
+      <!-- TMPL_IF NAME="itemtype_opt" --><!-- TMPL_VAR NAME="itemtype" --><br 
/><!-- /TMPL_IF -->
+      <!-- TMPL_IF NAME="papertype_opt" --><!-- TMPL_VAR NAME="papertype" 
--><br /><!-- /TMPL_IF -->
+      <!-- TMPL_IF NAME="author_opt" --><!-- TMPL_VAR NAME="author" --><br 
/><!-- /TMPL_IF -->
+      <!-- TMPL_IF NAME="title_opt" --><!-- TMPL_VAR NAME="title" --><br 
/><!-- /TMPL_IF -->
+      <!-- TMPL_IF NAME="isbn_opt" --><!-- TMPL_VAR NAME="isbn" --><br /><!-- 
/TMPL_IF -->
+      <!-- TMPL_IF NAME="dewey_opt" --><!-- TMPL_VAR NAME="dewey" --><br 
/><!-- /TMPL_IF -->
+      <!-- TMPL_IF NAME="class_opt" --><!-- TMPL_VAR NAME="class" --><!-- 
/TMPL_IF -->
+        </td>
+        <td class="space-8511">&nbsp;</td>
+        <td class="circ-label-8511">
+                <img src="/intranet-tmpl/barcodes/<!-- TMPL_VAR 
NAME="barcodetype_opt" -->-<!-- TMPL_VAR NAME="barcode" -->.png">
+ <!-- TMPL_IF NAME="barcodeerror" -->
+                <div class="noprint">'<!-- TMPL_VAR NAME="barcode" -->'<br>
+        not '<!-- TMPL_VAR NAME="barcodetype_opt" -->' format.</div>
+        <!-- /TMPL_IF -->
+        </td>
+        <td class="space-8511">&nbsp;</td>
+        <td class="circ-label-8511">
+                <img src="/intranet-tmpl/barcodes/<!-- TMPL_VAR 
NAME="barcodetype_opt" -->-<!-- TMPL_VAR NAME="barcode" -->.png">
+        <!-- TMPL_IF NAME="barcodeerror" -->
+                <div class="noprint">'<!-- TMPL_VAR NAME="barcode" -->'<br>
+        not '<!-- TMPL_VAR NAME="barcodetype_opt" -->' format.</div>
+        <!-- /TMPL_IF -->
+        </td>
+</tr>
+<!-- /TMPL_LOOP -->
+</table>
+
+<div class="noprint"><br />
+       <a href="/cgi-bin/koha/barcodes/label-manager.pl"
+class="button">Back</a> &nbsp;
+       <a href="/cgi-bin/koha/barcodes/label-print-pdf.pl" 
class="button">Print</a> &nbsp;
+</div>
+
+
+</body>
+</html>
Index: koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl
diff -u /dev/null 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl:1.1.2.1
--- /dev/null   Tue Apr 11 05:29:06 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl    Tue Apr 11 
05:29:06 2006
@@ -0,0 +1,97 @@
+<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
+<div id="popup-block">
+       <h1 class="catalogue">Search results</h1>
+       <div>
+               <p>
+                       <!-- TMPL_IF NAME=displayprev -->
+                               <a href="label-bib-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">
+                                       <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="label-bib-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"><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="label-bib-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"><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>
+
+       <table width="460">
+       <tr>
+               <td class="cell-header">Summary</th>
+               <td class="cell-header">Item Type</th>
+               <td class="cell-header">Add</th>
+       </tr>
+       <!-- TMPL_LOOP name="result" -->
+               <!-- TMPL_IF name="even" -->
+                       <tr class="hilighted">
+               <!-- TMPL_ELSE -->
+                       <tr class="hilighted2">
+               <!-- /TMPL_IF -->
+                               <td class="cell">
+                                       <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 -->
+                                       <!-- TMPL_IF name="barcode" --> ; <!-- 
TMPL_VAR name="barcode" --><!-- /TMPL_IF -->
+                                       </p>
+                               </td>
+<!-- NEW -->
+                               <td class="cell">
+                                       <!-- TMPL_VAR NAME="itemtype" -->
+                               </td>
+                               <td class="cell">
+                                       <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>
+
+<!-- /NEW -->
+                               </td>
+                       </tr>
+                       <!-- /TMPL_LOOP -->
+               </table>
+
+       <div>
+               <p>
+                       <!-- TMPL_IF NAME=displayprev -->
+                       <a href="label-bib-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"><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="label-bib-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"><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="label-bib-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"><img 
src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
+                               <!-- /TMPL_IF -->
+               </p>
+       </div> 
+</div>
+
+
+
+<script type="text/javascript">
+<!--
+
+function add_item(itemnumber){
+     var myurl = "label-manager.pl?op=add&itemnumber="+itemnumber+"";
+     window.opener.location.href = myurl;
+}
+
+//-->
+</script>




reply via email to

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