[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/barcodes barcodes.tmpl,1.2,1.3 barcodes-top.inc,1.2,1.3

Paul POULAIN tipaul at users.sourceforge.net
Tue Oct 19 13:50:21 CEST 2004


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/barcodes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5923/koha-tmpl/intranet-tmpl/default/en/barcodes

Modified Files:
	barcodes.tmpl barcodes-top.inc 
Log Message:
adding minor features to barcode generator :
- possibility to print continuous barcodes numbers, but not from items 
- possibility to replace the title/author by a manually typed text under the barcode itself.

Index: barcodes.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/barcodes/barcodes.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** barcodes.tmpl	20 Sep 2004 15:03:28 -0000	1.2
--- barcodes.tmpl	19 Oct 2004 11:50:18 -0000	1.3
***************
*** 64,68 ****
  			<tr align="center">

  				<td colspan="2" >

! 					<p style="font-size:13pt;color:red">Can´t find inventary codes on that range. Please try again.</p>

  				</td>

  			</tr>

--- 64,68 ----
  			<tr align="center">

  				<td colspan="2" >

! 					<p style="font-size:13pt;color:red">Can't find inventary codes on that range. Please try again.</p>

  				</td>

  			</tr>

***************
*** 146,150 ****
  					</table>

  				</td>

! 			</tr>	

    			<tr valign="top">

    			    <td colspan="2" align="center">

--- 146,156 ----
  					</table>

  				</td>

! 			</tr>

! 			<tr> 

! 				<td align="right" style="padding-left:20px">Text under label</td>

! 				<td>

! 					<input type="text" name="text_under_label" size="40" value="<!-- TMPL_VAR name="text_under_label -->"> If this field is empty, author and title will be put instead

! 				</td>

! 			</tr>

    			<tr valign="top">

    			    <td colspan="2" align="center">


Index: barcodes-top.inc
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/barcodes/barcodes-top.inc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** barcodes-top.inc	20 Sep 2004 15:03:28 -0000	1.2
--- barcodes-top.inc	19 Oct 2004 11:50:18 -0000	1.3
***************
*** 103,107 ****
  function checkFields (aForm) {

    var option = document.getElementById('rangeType').value;

!   if (option == 'continuous') {

  	if (emptyField(aForm.from.value) || emptyField(aForm.to.value)) {

  		alert("Please, complete all fields");

--- 103,107 ----
  function checkFields (aForm) {

    var option = document.getElementById('rangeType').value;

!   if (option == 'continuous' || option == 'continuous2') {

  	if (emptyField(aForm.from.value) || emptyField(aForm.to.value)) {

  		alert("Please, complete all fields");






More information about the Koha-cvs mailing list