[Koha-cvs] koha/koha-tmpl/intranet-tmpl/ccfls/en/barcodes ... [dev_week]

Kyle Hall kyle.m.hall at gmail.com
Thu Nov 30 16:43:39 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Kyle Hall <kylemhall>	06/11/30 15:43:39

Modified files:
	koha-tmpl/intranet-tmpl/ccfls/en/barcodes: barcodes.tmpl 
	                                           printerConfig.tmpl 
Removed files:
	koha-tmpl/intranet-tmpl/ccfls/en/barcodes: barcodes-bottom.inc 
	                                           barcodes-top.inc 

Log message:
	

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/ccfls/en/barcodes/barcodes.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1&r2=1.1.2.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/ccfls/en/barcodes/printerConfig.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1&r2=1.1.2.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/ccfls/en/barcodes/barcodes-bottom.inc?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/ccfls/en/barcodes/barcodes-top.inc?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1&r2=0

Patches:
Index: barcodes.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/ccfls/en/barcodes/Attic/barcodes.tmpl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.1.2.1
diff -u -b -r1.1.2.1 -r1.1.2.1.2.1
--- barcodes.tmpl	12 Apr 2006 18:34:05 -0000	1.1.2.1
+++ barcodes.tmpl	30 Nov 2006 15:43:39 -0000	1.1.2.1.2.1
@@ -1,11 +1,11 @@
 <!-- TMPL_INCLUDE NAME="head.inc" -->
 <!-- TMPL_INCLUDE NAME="body-top.inc" -->
-<!-- TMPL_INCLUDE NAME="body-top-noneSelected.inc" -->
 
-<dl>
-<dt>Barcodes Generator</dt>
-<dd>
+<dl class="bodyPane">
+<dt class="bodyPane">Barcodes Generator</dt>
+<dd class="bodyPane">
 
+<div id="main">
 
 <!--   START OF ADD COUNTRY CODE PANEL  -->
 <div class="countryPanel" id="addCountryCode">
@@ -26,7 +26,7 @@
 	<h1>Barcodes Generator</h1>
 	<h3>Generate barcodes from inventory codes</h3>
 	<div class="help"><ul class="notes">
-		<li>Select a range of inventary codes. You can choose a continuous range or individual inventory codes</li>
+		<li>Select a range of inventory codes. You can choose a continuous range or individual inventory codes</li>
 		<li>Select the standard type to generate barcodes.</li>
 		<li>Define the page size for output the PDF.</li>
 		<li>Depending on page size, Koha will show you how the page is arranged

Index: printerConfig.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/ccfls/en/barcodes/Attic/printerConfig.tmpl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.1.2.1
diff -u -b -r1.1.2.1 -r1.1.2.1.2.1
--- printerConfig.tmpl	12 Apr 2006 18:34:05 -0000	1.1.2.1
+++ printerConfig.tmpl	30 Nov 2006 15:43:39 -0000	1.1.2.1.2.1
@@ -2,10 +2,9 @@
 <!-- TMPL_INCLUDE NAME="body-top.inc" -->
 <!-- TMPL_INCLUDE NAME="body-top-noneSelected.inc" -->
 
-<dl>
-<dt>Barcode Generator: Printer Configuration</dt>
-<dd>
-
+<dl class="bodyPane">
+<dt class="bodyPane">Barcode Generator: Printer Configuration</dt>
+<dd class="bodyPane">
 
 <div id="main">
 

Index: barcodes-bottom.inc
===================================================================
RCS file: barcodes-bottom.inc
diff -N barcodes-bottom.inc
--- barcodes-bottom.inc	12 Apr 2006 18:34:05 -0000	1.1.2.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-<br clear="all">
-<p> &nbsp; </p>
-
-<div class="center">
-<a href="/cgi-bin/koha/mainpage.pl">Home</a> ||
-<a href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a> ||
-<a href="/cgi-bin/koha/members/members-home.pl">Members</a> ||
-<a href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a> ||
-<a href="/cgi-bin/koha/circ/circulation.pl">Circulation</a> ||
-<a href="/cgi-bin/koha/reports-home.pl">Reports</a> ||
-<a href="/cgi-bin/koha/admin-home.pl">Parameters</a> ||
-<a href="/cgi-bin/koha/about.pl">About</a> || 
-Help
-</div>
-
-</body>
-</html>
\ No newline at end of file

Index: barcodes-top.inc
===================================================================
RCS file: barcodes-top.inc
diff -N barcodes-top.inc
--- barcodes-top.inc	12 Apr 2006 18:34:05 -0000	1.1.2.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,229 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html>
-<head>
-<title>KOHA: INTRANET: Parameters</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/common-style.css">
-<style>
-.parameters {
-	background-color: #86c268;
-	color: #FFFFFF;
-	text-decoration: normal;
-	font-weight: bold;
-	}
-a.parameters:hover {
-	background-color: #86c268;
-	color: #FFFFFF;
-	text-decoration: normal;
-	font-weight: bold;
-	}
-.ranges {
-	border:0;
-}
-
-.myTable TD{
-  border-width: 0px;
-  border-color: navy;
-  border-style: solid;
-}
-
-.panel { 
-	position:relative;
-}
-
-.countryPanel {
-	z-index:1;
-	width:300px;
-	display:none;
-	border:1px solid #000000;
-	padding:0px;
-}
-</style>
-
-
-<script type="text/javascript">
-	// Captura el evento onmousemove para cualquier navegador
-	if (document.layers) { // Netscape
-		document.captureEvents(Event.MOUSEMOVE);
-	    document.onmousemove = captureMousePosition;
-	} else if (document.all) { // Internet Explorer
-	    document.onmousemove = captureMousePosition;
-	} else if (document.getElementById) { // Netcsape 6
-	    document.onmousemove = captureMousePosition;
-	}
-
-	var mouseXMax = 0;
-	var mouseYMax = 0;
-	var mouseX = 0;
-	var mouseY = 0;
-
-	function captureMousePosition(e) {
-	    if (document.layers) {
-		    mouseX = e.pageX;
-			mouseY = e.pageY;
-	        mouseXMax = window.innerWidth + window.pageXOffset;
-		    mouseYMax = window.innerHeight + window.pageYOffset;
-	    } else if (document.all) {
-		    mouseX = window.event.x + document.body.scrollLeft;
-	        mouseY = window.event.y + document.body.scrollTop;
-	        mouseXMax = document.body.clientWidth + document.body.scrollLeft;
-	        mouseYMax = document.body.clientHeight + document.body.scrollTop;
-	    } else if (document.getElementById) {
-	        mouseX = e.pageX;
-		    mouseY = e.pageY;
-	        mouseXMax = window.innerWidth + window.pageXOffset;
-	        mouseYMax = window.innerHeight + window.pageYOffset;
-	    }
-	}
-
-/* Devuelve true si el explorador es Internet Explorer */
-var IE = document.all?true:false;
-
-function Help() {
-	newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
-}
-
-function correctRange (from, to) {
-	if (from <= to) {
-		return true;
-	} else {
-		return false;
-	}
-}
-
-function emptyField (field) {
-	if ((field == null) || (field == "")) {
-		return true;
-	} else {
-		return false;
-	}
-}
-
-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");
-	    return false;
-	} else {
-		if (correctRange(aForm.from.value, aForm.to.value)) {
-			return true;			
-		} else {
-			alert("The selected range is not correct");
-			return false;
-		}
-	}
-  } else {
-	var codeCount = document.getElementById('inventaryList').options.length;
-	if (codeCount == 0) {
-		alert("Please, complete all fields"); 
-	    return false;
-	} else {
-		var inventaryList = document.getElementById('inventaryList');
-		var allCodes = '';
-	  	for (i = 0; i <= inventaryList.options.length - 1; i++) {
-			allCodes = allCodes + "'" + inventaryList.options[i].text + "',";
-	  	}
-  		allCodes = '(' + allCodes.substr(0, allCodes.length - 1) + ')';
-	  	document.getElementById('individualCodes').value = allCodes;
-	    return true;
-	}
-  }
-}
-
-function changeRange(selectBox) {
-	var option = selectBox.value;
-	var panel = document.getElementById(option);
-	panel.style.display = 'inline';
-	if (option == 'continuous') {
-		document.getElementById('inventaryList').options.length = 0;
-		document.getElementById('individuals').style.display = 'none';
-		document.getElementById('individualCodes').value = "";
-	} else {
-		document.getElementById('from').value = "";
-		document.getElementById('to').value = "";
-		document.getElementById('continuous').style.display = 'none';
-	}
-}
-
-function itemExists(code, list) {
-  var ok = false;
-  var listLength = list.length - 1;
-  var count = 0;
-  while (!(ok) && (count <= listLength)) {
-	if (code == list[count].value) {
-	  ok = true;
-	}
-	count = count + 1;
-  }
-  return ok;	
-}
-
-function addItem() {
-  var codeObject = document.getElementById('inventaryCode');
-  var inventaryCode = document.getElementById('inventaryCode').value;
-  var inventaryList = document.getElementById('inventaryList');
-  if (inventaryCode == "") {
-    alert('You can´t add an empty code.');
-  } else {
-    if (itemExists(inventaryCode, inventaryList.options)) {
-	  codeObject.value = "";
-  	  alert("The code is already included."); 
-    } else {  	
-	  var optionObject = new Option(inventaryCode, inventaryCode);
-  	   if (!IE) {
-	     inventaryList.add(optionObject, inventaryList.options[inventaryList.options.length]); 
-      } else {
-	    inventaryList.add(optionObject, inventaryList.options.length);
-	  }
-      codeObject.value = "";
-    }
-  }	
-}
-
-function removeItem() {
-  var inventaryList = document.getElementById('inventaryList');
-  if (inventaryList.selectedIndex == -1) {
-  	alert('You have to select a code first.');
-  } else {
-  	inventaryList.options[inventaryList.selectedIndex] = null;
-  }
-}
-
-	function addCountryCode() {
-		var panel = document.getElementById('addCountryCode');
-		panel.style.display = 'inline';
-		panel.style.top = mouseY;
-		panel.style.left = mouseX;
-	}
-</script>
-</head>
-<body onload="javascript: changeRange(document.getElementById('rangeType'))">
-<!-- MENUS -->
-<div id="menubar">
-	<span class="koha">KOHA</span>
-	<a class="home" href="/cgi-bin/koha/mainpage.pl">Home</a>
-	<a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a>
-	<a class="members" href="/cgi-bin/koha/members/members-home.pl">Members</a>
-	<a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a>
-	<a class="circulation"  href="/cgi-bin/koha/circ/circulation.pl">Circulation</a>
-	<a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
-	<a class="reports" href="/cgi-bin/koha/reports-home.pl">Reports</a>
-	<a class="parameters" href="/cgi-bin/koha/admin-home.pl">Parameters</a>
-	<a class="about" href="/cgi-bin/koha/about.pl">About</a>
-	<a class="catalogue" href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">Help</a>
-</div>
-<div id="submenu">
-	<span class="koha">options &gt;&gt;&nbsp;&nbsp;</span>
-	<a href="/cgi-bin/koha/admin/aqbookfund.pl" class="submenu">Funds</a>
-	<a href="/cgi-bin/koha/admin/authorised_values.pl" class="submenu2">Auth value</a>
-	<a href="/cgi-bin/koha/admin/thesaurus.pl" class="submenu">Thesaurus</a>
-	<a href="/cgi-bin/koha/admin/currency.pl" class="submenu2">Currencies</a>
-	<a href="/cgi-bin/koha/admin/printers.pl" class="submenu">Printers</a>
-</div>
-<!-- TMPL_IF NAME="loggedinusername" -->
-    <p align="left">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
-<!-- TMPL_ELSE -->
-    <p align="left"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
-<!-- /TMPL_IF -->





More information about the Koha-cvs mailing list