[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week]
Mason James
szrj1m at yahoo.com
Fri Jul 6 06:29:30 CEST 2007
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Mason James <sushi> 07/07/06 04:29:30
Modified files:
koha-tmpl/intranet-tmpl/npl/en/barcodes: label-manager.tmpl
Log message:
fixng loop
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.3.2.5&r2=1.1.2.3.2.6
Patches:
Index: label-manager.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/label-manager.tmpl,v
retrieving revision 1.1.2.3.2.5
retrieving revision 1.1.2.3.2.6
diff -u -b -r1.1.2.3.2.5 -r1.1.2.3.2.6
--- label-manager.tmpl 4 Jul 2007 03:45:28 -0000 1.1.2.3.2.5
+++ label-manager.tmpl 6 Jul 2007 04:29:30 -0000 1.1.2.3.2.6
@@ -4,12 +4,14 @@
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->
<div id="main">
<h1>Labels to be Printed</h1>
+
+
+
+
+
+<!-- TMPL_IF NAME="batch_id" -->
<p>
- <!-- TMPL_IF NAME="batch_id" -->
BATCH <!-- TMPL_VAR NAME="batch_id" --></b><br />
- <!-- TMPL_ELSE -->
- NO BATCH SAVED</b><br />
- <!-- /TMPL_IF -->
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>
@@ -42,10 +44,28 @@
</tr>
<!-- /TMPL_LOOP -->
</table>
-
+<!-- /TMPL_IF -->
<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=add_batch">Save Items to Batch</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>
+</div>
+
+
+
+
+<!-- /TMPL_IF -->
+
+
<form name="input" action="/cgi-bin/koha/barcodes/label-manager.pl" method="get">
Open existing Batch
<select name="batch_id">
@@ -59,14 +79,14 @@
</form>
- <a href="#" onclick="Plugin(<!-- TMPL_VAR NAME="batch_id" -->); return false;">Add Item</a>
- <a href="/cgi-bin/koha/barcodes/label-print.pl">Save Items to Batch</a>
- <a href="/cgi-bin/koha/barcodes/label-manager.pl?op=deleteall">Delete All</a>
-</p>
- <!-- TMPL_ELSE -->
- <a href="#" onclick="Plugin(); return false;">Add Item</a>
-<!-- /TMPL_IF -->
-</div>
+ <a href="/cgi-bin/koha/barcodes/label-manager.pl?op=add_batch">Create New Batch</a>
+
+
+
+
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
+
+
<script type="text/javascript">
function Plugin(batch_id) {
@@ -74,4 +94,4 @@
}
</script>
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
+
More information about the Koha-cvs
mailing list