[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [rel_2_2]
From: |
Ryan Higgins |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [rel_2_2] |
Date: |
Thu, 12 Jul 2007 07:42:56 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Ryan Higgins <rych> 07/07/12 07:42:56
Modified files:
koha-tmpl/intranet-tmpl/npl/en/barcodes: search.tmpl result.tmpl
label-templates.tmpl
label-manager.tmpl
label-home.tmpl
label-create-template.tmpl
Log message:
fixing some small bugs, ordering of barcodes
add interface for label batch management
multipage searchresults weren't passing batch id to parent window etc
CVSWeb URLs:
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.3&r2=1.1.2.4
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.4&r2=1.1.2.5
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&r1=1.1.4.2&r2=1.1.4.3
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.7&r2=1.1.2.8
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.8&r2=1.1.2.9
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&r1=1.1.4.3&r2=1.1.4.4
Patches:
Index: search.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/search.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
--- search.tmpl 10 Jul 2007 10:57:56 -0000 1.1.2.3
+++ search.tmpl 12 Jul 2007 07:42:55 -0000 1.1.2.4
@@ -28,7 +28,17 @@
<input type="text" id="title" name="value" />
</td></tr>
<tr><th scope="row">
- <label for="issn">ISBN / ISSN</label>
+ <label for="isbn">ISBN</label>
+ </th>
+ <td>
+ <input type="hidden" name="marclist" value="biblioitems.isbn" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="=" />
+ <input type="text" name="value" id="isbn" />
+ </td></tr>
+ <tr><th scope="row">
+ <label for="issn">ISSN</label>
</th>
<td>
<input type="hidden" name="marclist" value="biblioitems.issn" />
@@ -38,10 +48,21 @@
<input type="text" name="value" id="issn" />
</td></tr>
<tr><th scope="row">
+ <tr><th scope="row">
+ <label for="itemcallnumber">Item call number</label>
+ </th>
+ <td>
+ <input type="hidden" name="marclist"
value="items.itemcallnumber" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="start" />
+ <input type="text" name="value" id="itemcallnumber" />
+ </td></tr>
+ <tr><th scope="row">
<tr><th scope="row">
- <label for="datefrom">Date accessioned: between</label>
+ <label for="datefrom">Added on or after date</label>
</th>
<td>
<input type="hidden" name="marclist"
value="items.dateaccessioned" />
@@ -65,7 +86,7 @@
</td>
</tr>
<tr><th scope="row">
- <label for="dateto">Date accessioned after</label>
+ <label for="dateto">Added on or before date</label>
</th>
<td>
<input type="hidden" name="marclist"
value="items.dateaccessioned" />
@@ -96,9 +117,9 @@
<option value="20">20</option>
<option value="50">50</option>
<option value="100">100</option>
+ <option value="1000">1000</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">
Index: result.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/result.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
--- result.tmpl 10 Jul 2007 10:57:56 -0000 1.1.2.4
+++ result.tmpl 12 Jul 2007 07:42:55 -0000 1.1.2.5
@@ -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" -->&<!-- TMPL_LOOP NAME=searchdata --><!--
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!--
/TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search">
+ <a href="label-item-search.pl?startfrom=<!--
TMPL_VAR NAME="startfromprev" -->&<!-- TMPL_LOOP NAME=searchdata --><!--
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!--
/TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search&batch_id=<!-- TMPL_VAR
NAME="batch_id" -->">
<<
</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 -->&<!--
TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage" -->&type=intranet&op=do_search"><!-- TMPL_VAR
NAME="number" --></a>
+ <a
href="label-item-search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom -->&<!--
TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage" -->&type=intranet&op=do_search&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" -->&<!-- TMPL_LOOP NAME=searchdata --><!--
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!--
/TMPL_LOOP -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search">>></a>
+ <a href="label-item-search.pl?startfrom=<!--
TMPL_VAR NAME="startfromnext" -->&<!-- TMPL_LOOP NAME=searchdata --><!--
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!--
/TMPL_LOOP -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search&batch_id=<!-- TMPL_VAR
NAME="batch_id" -->">>></a>
<!-- /TMPL_IF -->
</p>
<p>
@@ -26,16 +26,16 @@
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)" >
« Back</a> <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>
+ <!-- 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" -->&batch_id=<!-- TMPL_VAR name="batch_id"
-->&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" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP
-->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search"><<</a>
+ <a href="label-item-search.pl?startfrom=<!-- TMPL_VAR
NAME="startfromprev" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP
-->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search>&batch_id=<!-- TMPL_VAR
NAME="batch_id" -->"><<</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 -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP
-->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search"><!-- TMPL_VAR NAME="number" --></a>
+ <a href="label-item-search.pl?startfrom=<!--
TMPL_VAR NAME=startfrom -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP
-->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search&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" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP
-->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search">>></a>
+ <a href="label-item-search.pl?startfrom=<!-- TMPL_VAR
NAME="startfromnext" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP
-->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search&batch_id=<!-- TMPL_VAR
NAME="batch_id" -->">>></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. */
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.4.2
retrieving revision 1.1.4.3
diff -u -b -r1.1.4.2 -r1.1.4.3
--- label-templates.tmpl 10 Jul 2007 10:57:56 -0000 1.1.4.2
+++ label-templates.tmpl 12 Jul 2007 07:42:56 -0000 1.1.4.3
@@ -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: 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.7
retrieving revision 1.1.2.8
diff -u -b -r1.1.2.7 -r1.1.2.8
--- label-manager.tmpl 11 Jul 2007 12:41:20 -0000 1.1.2.7
+++ label-manager.tmpl 12 Jul 2007 07:42:56 -0000 1.1.2.8
@@ -5,14 +5,71 @@
<div id="main">
<!-- TMPL_INCLUDE NAME="label-active-templates.inc" -->
-<h2>Items to be Printed for Batch <!-- TMPL_VAR NAME="batch_id" --></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>
+ <a class="button"
href="/cgi-bin/koha/barcodes/label-manager.pl?batch_id=">Return to batch
summary</a>
+ <a class="button" style="border:2px solid #634;"
href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete_batch&batch_id=<!--
TMPL_VAR NAME="batch_id" -->">Delete current batch (<!-- TMPL_VAR
NAME="batch_id" -->)</a>
+<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&itemnumber=<!--
TMPL_VAR NAME="itemnumber" -->&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>
- <a href="/cgi-bin/koha/barcodes/label-manager.pl?op=deleteall">Delete
All</a>
- <a
href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete_batch&batch_id=<!--
TMPL_VAR NAME="batch_id" -->">Delete Current Batch</a>
-</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-home.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/label-home.tmpl,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -b -r1.1.2.8 -r1.1.2.9
--- label-home.tmpl 10 Jul 2007 10:57:56 -0000 1.1.2.8
+++ label-home.tmpl 12 Jul 2007 07:42:56 -0000 1.1.2.9
@@ -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-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.4.3
retrieving revision 1.1.4.4
diff -u -b -r1.1.4.3 -r1.1.4.4
--- label-create-template.tmpl 10 Jul 2007 12:04:28 -0000 1.1.4.3
+++ label-create-template.tmpl 12 Jul 2007 07:42:56 -0000 1.1.4.4
@@ -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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes se... [rel_2_2],
Ryan Higgins <=