[Koha-cvs] koha/koha-tmpl/opac-tmpl/css en/images/filefind...

Joshua Ferraro jmf at liblime.com
Fri Mar 9 22:48:50 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Changes by:	Joshua Ferraro <kados>	07/03/09 21:48:50

Removed files:
	koha-tmpl/opac-tmpl/css/en/images: filefind.png 
	koha-tmpl/opac-tmpl/css/en/includes: basket.js opac.css 
	koha-tmpl/opac-tmpl/css/fr/includes: basket.js marc-editor.css 
	                                     opac.css 

Log message:
	removing css templates from head

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/en/images/filefind.png?cvsroot=koha&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/en/includes/basket.js?cvsroot=koha&r1=1.5&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/en/includes/opac.css?cvsroot=koha&r1=1.24&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/fr/includes/basket.js?cvsroot=koha&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/fr/includes/marc-editor.css?cvsroot=koha&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/fr/includes/opac.css?cvsroot=koha&r1=1.6&r2=0

Patches:
Index: en/images/filefind.png
===================================================================
RCS file: en/images/filefind.png
diff -N en/images/filefind.png
Binary files /tmp/cvsLeULAC and /dev/null differ

Index: en/includes/basket.js
===================================================================
RCS file: en/includes/basket.js
diff -N en/includes/basket.js
--- en/includes/basket.js	4 May 2005 08:58:30 -0000	1.5
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,357 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// BASIC FUNCTIONS FOR COOKIE MANGEMENT //
-//////////////////////////////////////////////////////////////////////////////
-
-var CGIBIN = "/cgi-bin/koha/";
-
-
-var nameCookie = "bib_list";
-var valCookie = readCookie(nameCookie);
-	
-if(valCookie){
-	var arrayRecords = valCookie.split("/");
-	if(arrayRecords.length > 0){
-		var basketcount = " ("+(arrayRecords.length-1)+")";
-	} else {
-		var basketcount = "";
-	}
-} else {
-		var basketcount = "";
-}
-
-function writeCookie(name, val, wd) {
-	if (wd) {
-		parent.opener.document.cookie = name + "=" + val;
-	}
-	else {
-		parent.document.cookie = name + "=" + val;
-	}
-}
-
-function readCookieValue (str, val_beg) {
-	var val_end = str.indexOf(";", val_end);
-	if (val_end == -1)
-		val_end = str.length;
-	return str.substring(val_beg, val_end);
-}
-
-function readCookie(name, wd) {
-	var str_name = name + "=";
-	var str_len = str_name.length;
-	var str_cookie = "";
-	if (wd) {
-		str_cookie = parent.opener.document.cookie;
-	}
-	else {
-		str_cookie = parent.document.cookie;
-	}
-	var coo_len = str_cookie.length;
-	var i = 0;
-
-	while (i < coo_len) {
-		var j = i + str_len;
-		if (str_cookie.substring(i, j) == str_name)
-			return readCookieValue(str_cookie, j);
-		i = str_cookie.indexOf(" ", i) + 1;
-		if (i == 0)
-			break;
-	}
-
-	return null;
-}
-
-function delCookie(name) {
-	var exp = new Date();
-	exp.setTime(exp.getTime()-1);
-	parent.opener.document.cookie = name + "=null; expires=" + exp.toGMTString();
-}
-
-
-///////////////////////////////////////////////////////////////////
-// SPECIFIC FUNCTIONS USING COOKIES //
-///////////////////////////////////////////////////////////////////
-
-function openBasket() {
-	var strCookie = "";
-
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie);
-	if (valCookie) {
-		strCookie = nameCookie + "=" + valCookie;
-	}
-
-	if (strCookie) {
-		var iW = 620;
-		var iH = 450;
-
-		var optWin = "dependant=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=yes,height="+iH+",width="+iW;
-		var loc = CGIBIN + "opac-basket.pl?" + strCookie;
-		var basket = open(loc, "basket", optWin);
-	}
-	else {
-		alert(MSG_BASKET_EMPTY);
-	}
-}
-
-
-function addRecord(val, selection) {
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie);
-	var write = 0;
-
-	if ( ! valCookie ) { // empty basket
-		valCookie = val + '/';
-		write = 1;
-		updateBasket(1,document);
-	}
-	else {
-		// is this record already in the basket ?
-		var found = false;
-		var arrayRecords = valCookie.split("/");
-		
-		for (var i = 0; i < valCookie.length - 1; i++) {
-			if (val == arrayRecords[i]) {
-				found = true;
-				break;
-			}
-		}
-
-		if ( found ) {
-			if (selection) {
-				return 0;
-			}
-			alert(MSG_RECORD_IN_BASKET);
-		}
-		else {
-			valCookie += val + '/';
-			write = 1;
-			updateBasket(arrayRecords.length,document);
-		}
-	}
-
-	if (write) {
-		writeCookie(nameCookie, valCookie);
-		if (selection) { // when adding a selection of records
-			return 1;
-		}
-		alert(MSG_RECORD_ADDED);
-	}
-}
-
-
-function addMultiple(){
-	var c_value = "";
-	if(document.myform.bibid.length > 0) {
-		for (var i=0; i < document.myform.bibid.length; i++) {
-			if (document.myform.bibid[i].checked) {
-				c_value = c_value + document.myform.bibid[i].value + "/";
-			}
-		}
-		addSelRecords(c_value);
-	} else {
-		c_value = c_value + document.myform.bibid.value + "/";
-		addSelRecords(c_value);
-	}
-}
-
-
-function addSelRecords(valSel) { // function for adding a selection of biblios to the basket
-												// from the results list
-	var arrayRecords = valSel.split("/");
-	var i = 0;
-	var nbAdd = 0;
-	for (i=0;i<arrayRecords.length;i++) {
-		if (arrayRecords[i]) {
-			nbAdd += addRecord(arrayRecords[i], 1);
-		}
-		else {
-			break;
-		}
-	}
-
-	var msg = "";
-	if (nbAdd) {
-		if (i > nbAdd) {
-			msg = nbAdd+" "+MSG_NRECORDS_ADDED+", "+(i-nbAdd)+" "+MSG_NRECORDS_IN_BASKET;
-		}
-		else {
-			msg = nbAdd+" "+MSG_NRECORDS_ADDED;
-		}
-	}
-	else {
-		if (i < 1) {
-			msg = MSG_NO_RECORD_SELECTED;	
-		}
-		else {
-			msg = MSG_NO_RECORD_ADDED+" ("+MSG_NRECORDS_IN_BASKET+") !";
-		}
-	}
-	alert(msg);
-}
-
-
-function selRecord(num, status) {
-	var str = document.myform.records.value
-	if (status){
-		str += num+"/";
-	}
-	else {
-		str = delRecord(num, str);
-	}
-
-	document.myform.records.value = str;
-}
-
-
-function delSelRecords() {
-	var recordsSel = 0;
-	var end = 0;
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie, 1);
-
-	if (valCookie) {
-		var str = document.myform.records.value;
-		if (str.length > 0){
-			recordsSel = 1;
-			var str2 = valCookie;
-			while (!end){
-				s = str.indexOf("/");
-				if (s>0){
-					num = str.substring(0, s)
-					str = delRecord(num,str);
-					str2 = delRecord(num,str2);
-				} else {
-					end = 1;
-				}
-			}
-
-			if (str2.length == 0) { // equivalent to emptying the basket
-				var rep = false;
-				rep = confirm(MSG_CONFIRM_DEL_BASKET);
-				if (rep) { 
-					delCookie(nameCookie);
-					document.location = "about:blank";
-					updateBasket(0,top.opener.document);
-					window.close();
-				} else {
-					return;
-				}
-			} else {
-				writeCookie(nameCookie, str2, 1);
-			}
-		}
-	}
-
-	if (recordsSel) {
-		var strCookie = "";
-		var nameCookie = "bib_list";
-		var valCookie = readCookie(nameCookie, 1);
-		strCookie = nameCookie + "=" + valCookie;
-		var arrayRecords = valCookie.split("/");
-		updateBasket(arrayRecords.length-1,top.opener.document);
-		document.location = CGIBIN + "opac-basket.pl?" + strCookie;
-	}
-	else {
-		alert(MSG_NO_RECORD_SELECTED);
-	}
-}
-
-
-function delRecord (n, s) {
-	var re = /\d/;
-	var aux = s;
-	var found = 0;
-	var pos = -1;
-
-	while (!found) {
-		pos = aux.indexOf(n, pos+1);
-		var charAfter = aux.charAt(pos+n.length); // character right after the researched string
-		if (charAfter.match(re)) { // record number inside another one
-			continue;
-		}
-		else { // good record number
-			aux = s.substring(0, pos)+ s.substring(pos+n.length+1, s.length);
-			s = aux;
-			found = 1;
-		}
-	}
-
-	return s;
-}
-
-
-function delBasket() {
-	var nameCookie = "bib_list";
-
-	var rep = false;
-	rep = confirm(MSG_CONFIRM_DEL_BASKET);
-	if (rep) {
-		delCookie(nameCookie);
-		document.location = "about:blank";
-		updateBasket(0,top.opener.document);
-		window.close();
-	}
-}
-
-
-function quit() {
-	window.close();
-}
-
-function sendBasket() {
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie);
-	var strCookie = nameCookie + "=" + valCookie;
-
-	var loc = CGIBIN + "opac-sendbasket.pl?" + strCookie;
-
-	var optWin="dependant=yes,scrollbars=no,resizable=no,height=300,width=600,top=50,left=100";
-	var win_form = open(loc,"win_form",optWin);
-}
-
-function printBasket() {
-	var loc = document.location + "&print=1";
-	document.location = loc;
-}
-
-function showMore() {
-	var strCookie = "";
-
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie);
-	if (valCookie) {
-		strCookie = nameCookie + "=" + valCookie;
-	}
-	var loc = CGIBIN + "opac-basket.pl?" + strCookie + "&verbose=1";
-	document.location = loc;
-}
-
-function showLess() {
-	var strCookie = "";
-
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie);
-	if (valCookie) {
-		strCookie = nameCookie + "=" + valCookie;
-	}
-	var loc = CGIBIN + "opac-basket.pl?" + strCookie + "&verbose=0";
-	document.location = loc;
-}
-
-function updateBasket(updated_value,target) {
-    if(typeof document.getElementById != "undefined") {
-        target.getElementById('basket').innerHTML = " ("+updated_value+")";
-    } else if (typeof document.layers != "undefined") {
-        target.layers['basket'].open();
-        target.layers['basket'].write(" ("+updated_value+")");
-        target.layers['basket'].close();
-    } else if(typeof document.all != "undefined" &&  typeof
-document.getElementById == "undefined") {
-        target.all['basket'].innerHTML = " ("+updated_value+")";
-    }
-}
-
-function openBiblio(biblionumber) {
-	openerURL="opac-detail.pl?bib="+biblionumber;
-	opener.document.location = openerURL;
-}
\ No newline at end of file

Index: en/includes/opac.css
===================================================================
RCS file: en/includes/opac.css
diff -N en/includes/opac.css
--- en/includes/opac.css	6 Jan 2006 16:39:42 -0000	1.24
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,447 +0,0 @@
-/*
-	blue/green : # 009999
-	light-blue/green : #ACE6E6
-	orange : #FFB380
-	light orange : #FFD9BF
-*/
-body {
-	background-color:#006b6b;
-	font-family:verdana,arial,helvetica,sans-serif;
-	font-size:12pt;
-	margin:0px;
-	padding:0px
-}
-
-/* base tags */
-a {
-	background-color: #FFD9BF;
-	text-decoration:none;
-/* 	padding:2px 2px; */
-	color:#000000;
-}
-
-a.transparent {
-	background-color: transparent;
-	text-decoration:none;
-	color:#000000;
-}
-
-a:hover {
-	background-color: #FFB380;
-}
-
-/* the page result number */
-a.results {
-	background-color : #FFD9BF;
-	padding : 0px 2px 0px 2px;
-	margin : 2px 1px 2px 0px;
-}
-
-a.results:hover {
-	background-color: #FFB380;
-	padding : 0px 2px 0px 2px;
-	margin : 2px 1px 2px 0px;
-}
-
-/* label size & look just before input fields */
-label {
-	float:left;
-	width: 10em;
-}
-
-/* images */
-img {
-	border-width:0px;
-	text-align:left;
-	display:inline;
-	float:left;
-	padding-left:10px;
-	padding-right:10px;
-}
-
-.relative { /* for images in relative position */
-	border-width:5px;
-	text-align:left;
-	position:relative;
-}
-
-/* main title */
-h1 {
-	color:#FFD9BF;
-	background-color:#006b6b;
-	font-weight:bold;
-	font-size: 150%;
-	text-align:center;
-	padding: 5px;
-	margin:0px 25% 10px 25%;
-	border: 1px solid black;
-	width:50%;
-}
-
-/* style for library name, on top of menu (defined in LibraryName systempref) */
-/* in opac-main page */
-.LibraryName {
-	color:#000000;
-	background-color:#FFD9BF;
-	font-weight:bold;
-	font-size: 150%;
-	text-align:center;
-	padding: 2px;
-	border: 1px solid #000000;
-	width:75%;
-}
-
-/* in all other pages */
-.SmallLibraryName {
-	color:#FFD9BF;
-	background-color:transparent;
-	font-weight:bold;
-	font-size: 115%;
-	vertical-align:top;
-	padding: 2px;
-	width:100%;
-}
-
-/* subtitles. headers of blocks */
-h2 {
-	color:#000000;
-	background-color:#009999;
-	font-weight:bold;
-	font-size: 125%;
-	width:100%;
-	margin: 0px 0px 10px 0px;
-}
-
-/* probably useless */
-h3 {
-	color:#000000;
-	font-weight:bold;
-	font-size: 125%;
-	margin: 5px 0px 0px 0px;
-}
-
-/* paragraphs */
-p {
-	padding-left:10px;
-	padding-right:10px;
-	padding-bottom:0pt;
-	margin:0pt;
-	clear:left;
-}
-
-/* centered paragraphs */
-p.center {
-	padding-left:10pt;
-	padding-bottom:0pt;
-	margin:0pt;
-	text-align:center;
-}
-
-/* the copyright (at the end of the main page */
-p.copyright {
-	border-top: 1px solid #000000;
-	margin-top:10px;
-	text-align:center;
-}
-
-/* TABLES */
-table {
-	border:1px solid #000000;
-	margin:10px;
-/* 	margin-right:10px; */
-	border-collapse:collapse;
-	position:static;
-}
-/* header */
-th {
-	background-color: #99cccc;
-	font-weight:bold;
-	text-align:center;
-	font-size:10pt;
-	border-left:1px solid #000000;
-	border-bottom:1px solid #000000;
-	border-top:1px solid #000000;
-}
-/* standard cell */
-
-tr {
-	display:table-row;
-	position:static;
-}
-
-td {
-	font-size:10pt;
-	border-left:1px solid #000000;
-	vertical-align:top;
-	position:static;
-	display:table-cell;
-}
-
-/* hilighted cell */
-td.hilighted {
-	font-size:10pt;
-	border-left:1px solid #000000;
-	background-color:#ffffcc;
-	vertical-align:top;
-}
-
-/* FORMS */
-/* class used in form buttons */
-.button {
-	text-align: center;
-	padding: 2px 2px;
-	border:1px solid #888888;
-	text-decoration: none;
-	color: black;
-	line-height:175%;
-	background-color:#FFD9BF;
-	margin : 3px 3px 3px 0px;
-}
-
-.button:hover {
-	text-align: center;
-	padding: 2px 2px;
-	border:1px solid black;
-	text-decoration: none;
-	color: black;
-	line-height:175%;
-	background-color:#FFB380;
-	margin : 3px 3px 3px 0px;
-}
-
-/* standard input field */
-input {
-	border:1px solid #888888;
-	margin-bottom:2px;
-	background-color:#FFFFFF;
-}
-input:hover {
-	border:1px solid #000000;
-}
-
-/* textarea input field */
-textarea {
-	border:0px;
-	border:1px solid #888888;
-	background-color:#FFFFFF;
-}
-
-textarea:hover {
-	border:1px solid #000000;
-}
-/* select input field */
-select {
-	border:0px;
-	border:1px solid #888888;
-	background-color:#FFFFFF;
-}
-
-/* span classes */
-/* used to show small 1,2,3, to reach other pages when too much results */
-.smallnumber {
-	background-color:#99cccc;
-	font-family:Times,serif;
-	font-size:small;
-	border:1px solid #000000;
-	padding:1pt;
-	vertical-align:top;
-}
-
-.smallnumberactive {
-	background-color:#FFB380;
-	font-family:Times,serif;
-	font-size:small;
-	border:1px solid #000000;
-	padding:1pt;
-	vertical-align:top;
-}
-
-/* BLOCS */
-
-#problem {
-	color: white;
-	font-weight:bold;
-	background-color:red;
-}
-.problem {
-	color: white;
-	font-weight:bold;
-	background-color:red;
-}
-
-/* the mainbloc : everything is in mainbloc, except menu */
-#mainbloc {
-	float:left;
-	width:90%;
-	background-color:#ACE6E6;
-	border:1px solid #000000;
-	margin-left:10px;
-	margin-right:10px;
-	padding-bottom:100px;
-	padding-left:10px;
-	padding-top:10px;
-	padding-right:10px;
-}
-
-#homebloc {
-	float:right;
-	width:65%;
-	margin-right:10px;
-	border:0;
-}
-
-#leftbloc {
-	float:left;
-	width:30%;
-	border:0;
-}
-
-#bottombloc {
-	width:100%;
-	height:200%;
-	margin-top:10px;
-	vertical-align:top;
-	text-align:center;
-	float:left;
-}
-
-/* used in members */
-#bloc20, .bloc20 {
-	float:left;
-	border:1px solid #000000;
-	margin-left:10px;
-	padding-bottom:10px;
-	margin-bottom:10px;
-}
-#bloc60, .bloc60 {
-	float:left;
-	border:1px solid #000000;
-	margin-left:10px;
-	padding-bottom:10px;
-	margin-bottom:10px;
-}
-
-/* used in biblio detail */
-
-#bibliobloc {
-	float:left;
-	width:40%;
-	border:0;
-}
-
-#itembloc {
-	float:left;
-	padding-left:10px;
-/* 	width:50%; */
-	border:0;
-}
-
-/* menu styles */
-.menu {
-	border:1px solid #000000;
-	padding-left:10pt;
-	padding-right:10pt;
-	margin-bottom:10px;
-	display:inline;
-}
-
-#title {
-	display:block;
-	margin-left:0px;
-}
-
-#menuline {
-	display:block;
-	margin-left:100px;
-	margin-bottom:20px;
-}
-
-#bibliomenu {
-	position: relative;
-	float:left;
-	display:block;
-	margin-left:10%;
-	width:100%;
-}
-
-/* a little spacer. should not be used */
-.basketspacer {
-	padding-left:8pt;
-	float:left;
-}
-
-/* for SubscritptionHistory view  */
-div.tabsubs {
-	margin-left:150px;
-	position:inline;
-}
-
-div.tabsubs a {
-	font-size: small;
-	border: thin solid black;
-	margin-right: 2px;
-	padding: 10px 10px;
-	-moz-border-radius: 5px 5px 0px 0px;
-}
-
-div.tabsub {
-	background-color: #ACE6E6;
-	position:absolute;
-	visibility:hidden;
-	margin-left:150px;
-	margin-top:0px;
-border:4px;
-}
-
-/* for MARC view  */
-div.tabs {
-	width:15px;
-	display:block;
-	margin-top:70px;
-	margin-left:40px;
-}
-
-div.tabs a {
-	display:block;
-	font-size: small;
-	border: thin solid black;
-	margin-right: 2px;
-	padding: 10px 10px;
-	-moz-border-radius: 5px 0px 0px 5px;
-}
-
-div.tabbloc {
-	position:absolute;
-	display:block;
-	top:140px;
-	left:62px;
-	margin-right:0px;
-	border: 1px solid black;
-	background-color:none;
-}
-
-div.tab {
-	background-color: #ACE6E6;
-	display: block;
-	visibility:hidden;
-	position:absolute;
-	float:left;
-	margin-right:0px;
-	background-color:none;
-	width:80%;
-}
-
-.MARCtag { /* style for tag definition (700 - Statement of responsability) */
-	font-weight:bold;
-	color:#FFB380;
-	background-color:#FFFFFF;
-	background-image:none;
-	border-bottom: thin solid #FFB380;
-	margin-right:30%;
-}
-
-.labelsubfield { /* style for each subfield (like : a Publication year), just before the biblio subfield */
-	float:left;
-	width: 12em;
-	margin-left:30px;
-}

Index: fr/includes/basket.js
===================================================================
RCS file: fr/includes/basket.js
diff -N fr/includes/basket.js
--- fr/includes/basket.js	1 Mar 2005 13:41:07 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,365 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// BASIC FUNCTIONS FOR COOKIE MANGEMENT //
-//////////////////////////////////////////////////////////////////////////////
-
-var CGIBIN = "/cgi-bin/koha/";
-
-
-var nameCookie = "bib_list";
-var valCookie = readCookie(nameCookie);
-	
-if(valCookie){
-	var arrayRecords = valCookie.split("/");
-	if(arrayRecords.length > 0){
-		var basketcount = " ("+(arrayRecords.length-1)+")";
-	} else {
-		var basketcount = "";
-	}
-} else {
-		var basketcount = "";
-}
-
-function writeCookie(name, val, wd) {
-	if (wd) {
-		parent.opener.document.cookie = name + "=" + val;
-	}
-	else {
-		parent.document.cookie = name + "=" + val;
-	}
-}
-
-function readCookieValue (str, val_beg) {
-	var val_end = str.indexOf(";", val_end);
-	if (val_end == -1)
-		val_end = str.length;
-	return str.substring(val_beg, val_end);
-}
-
-function readCookie(name, wd) {
-	var str_name = name + "=";
-	var str_len = str_name.length;
-	var str_cookie = "";
-	if (wd) {
-		str_cookie = parent.opener.document.cookie;
-	}
-	else {
-		str_cookie = parent.document.cookie;
-	}
-	var coo_len = str_cookie.length;
-	var i = 0;
-
-	while (i < coo_len) {
-		var j = i + str_len;
-		if (str_cookie.substring(i, j) == str_name)
-			return readCookieValue(str_cookie, j);
-		i = str_cookie.indexOf(" ", i) + 1;
-		if (i == 0)
-			break;
-	}
-
-	return null;
-}
-
-function delCookie(name) {
-	var exp = new Date();
-	exp.setTime(exp.getTime()-1);
-	parent.opener.document.cookie = name + "=null; expires=" + exp.toGMTString();
-}
-
-
-///////////////////////////////////////////////////////////////////
-// SPECIFIC FUNCTIONS USING COOKIES //
-///////////////////////////////////////////////////////////////////
-
-function openBasket() {
-	var strCookie = "";
-
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie);
-	if (valCookie) {
-		strCookie = nameCookie + "=" + valCookie;
-	}
-
-	if (strCookie) {
-		var iW = 620;
-		var iH = 450;
-
-		var optWin = "dependant=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=yes,height="+iH+",width="+iW;
-		var loc = CGIBIN + "opac-basket.pl?" + strCookie;
-		var basket = open(loc, "basket", optWin);
-	}
-	else {
-		alert(MSG_BASKET_EMPTY);
-	}
-}
-
-
-function addRecord(val, selection) {
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie);
-	var write = 0;
-
-	if ( ! valCookie ) { // empty basket
-		valCookie = val + '/';
-		write = 1;
-		updateBasket(1,document);
-	}
-	else {
-		// is this record already in the basket ?
-		var found = false;
-		var arrayRecords = valCookie.split("/");
-		
-		for (var i = 0; i < valCookie.length - 1; i++) {
-			if (val == arrayRecords[i]) {
-				found = true;
-				break;
-			}
-		}
-
-		if ( found ) {
-			if (selection) {
-				return 0;
-			}
-			alert(MSG_RECORD_IN_BASKET);
-		}
-		else {
-			valCookie += val + '/';
-			write = 1;
-			updateBasket(arrayRecords.length,document);
-		}
-	}
-
-	if (write) {
-		writeCookie(nameCookie, valCookie);
-		if (selection) { // when adding a selection of records
-			return 1;
-		}
-		alert(MSG_RECORD_ADDED);
-	}
-}
-
-
-function addMultiple(){
-	var c_value = "";
-	if(document.myform.bibid.length > 0) {
-		for (var i=0; i < document.myform.bibid.length; i++) {
-			if (document.myform.bibid[i].checked) {
-				c_value = c_value + document.myform.bibid[i].value + "/";
-			}
-		}
-		addSelRecords(c_value);
-	} else {
-		c_value = c_value + document.myform.bibid.value + "/";
-		addSelRecords(c_value);
-	}
-}
-
-
-function addSelRecords(valSel) { // function for adding a selection of biblios to the basket
-												// from the results list
-	var arrayRecords = valSel.split("/");
-	var i = 0;
-	var nbAdd = 0;
-	for (i=0;i<arrayRecords.length;i++) {
-		if (arrayRecords[i]) {
-			nbAdd += addRecord(arrayRecords[i], 1);
-		}
-		else {
-			break;
-		}
-	}
-
-	var msg = "";
-	if (nbAdd) {
-		if (i > nbAdd) {
-			msg = nbAdd+" "+MSG_NRECORDS_ADDED+", "+(i-nbAdd)+" "+MSG_NRECORDS_IN_BASKET;
-		}
-		else {
-			msg = nbAdd+" "+MSG_NRECORDS_ADDED;
-		}
-	}
-	else {
-		if (i < 1) {
-			msg = MSG_NO_RECORD_SELECTED;	
-		}
-		else {
-			msg = MSG_NO_RECORD_ADDED+" ("+MSG_NRECORDS_IN_BASKET+") !";
-		}
-	}
-	alert(msg);
-}
-
-
-function selRecord(num, status) {
-	var str = document.myform.records.value
-	if (status){
-		str += num+"/";
-	}
-	else {
-		str = delRecord(num, str);
-	}
-
-	document.myform.records.value = str;
-}
-
-
-function delSelRecords() {
-	var recordsSel = 0;
-	var end = 0;
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie, 1);
-
-	if (valCookie) {
-		var str = document.myform.records.value;
-		if (str.length > 0){
-			recordsSel = 1;
-			var str2 = valCookie;
-			while (!end){
-				s = str.indexOf("/");
-				if (s>0){
-					num = str.substring(0, s)
-					str = delRecord(num,str);
-					str2 = delRecord(num,str2);
-				} else {
-					end = 1;
-				}
-			}
-
-			if (str2.length == 0) { // equivalent to emptying the basket
-				var rep = false;
-				rep = confirm(MSG_CONFIRM_DEL_BASKET);
-				if (rep) { 
-					delCookie(nameCookie);
-					document.location = "about:blank";
-					updateBasket(0,top.opener.document);
-					window.close();
-				} else {
-					return;
-				}
-			} else {
-				writeCookie(nameCookie, str2, 1);
-			}
-		}
-	}
-
-	if (recordsSel) {
-		var strCookie = "";
-		var nameCookie = "bib_list";
-		var valCookie = readCookie(nameCookie, 1);
-		strCookie = nameCookie + "=" + valCookie;
-		var arrayRecords = valCookie.split("/");
-		updateBasket(arrayRecords.length-1,top.opener.document);
-		document.location = CGIBIN + "opac-basket.pl?" + strCookie;
-	}
-	else {
-		alert(MSG_NO_RECORD_SELECTED);
-	}
-}
-
-
-function delRecord (n, s) {
-	var re = /\d/;
-	var aux = s;
-	var found = 0;
-	var pos = -1;
-
-	while (!found) {
-		pos = aux.indexOf(n, pos+1);
-		var charAfter = aux.charAt(pos+n.length); // character right after the researched string
-		if (charAfter.match(re)) { // record number inside another one
-			continue;
-		}
-		else { // good record number
-			aux = s.substring(0, pos)+ s.substring(pos+n.length+1, s.length);
-			s = aux;
-			found = 1;
-		}
-	}
-
-	return s;
-}
-
-
-function delBasket() {
-	var nameCookie = "bib_list";
-
-	var rep = false;
-	rep = confirm(MSG_CONFIRM_DEL_BASKET);
-	if (rep) {
-		delCookie(nameCookie);
-		document.location = "about:blank";
-		updateBasket(0,top.opener.document);
-		window.close();
-	}
-}
-
-
-function quit() {
-	if (document.myform.records.value) {
-		var rep = false;
-		rep = confirm(MSG_CONFIRM_DEL_RECORDS);
-		if (rep) {
-			delSelRecords();
-		}
-	}
-	updateBasket(arrayRecords.length-1,top.opener.document);
-	window.close();
-}
-
-function sendBasket() {
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie);
-	var strCookie = nameCookie + "=" + valCookie;
-
-	var loc = CGIBIN + "opac-sendbasket.pl?" + strCookie;
-
-	var optWin="dependant=yes,scrollbars=no,resizable=no,height=300,width=400,top=50,left=100";
-	var win_form = open(loc,"win_form",optWin);
-}
-
-function printBasket() {
-	var loc = document.location + "&print=1";
-	document.location = loc;
-}
-
-function showMore() {
-	var strCookie = "";
-
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie);
-	if (valCookie) {
-		strCookie = nameCookie + "=" + valCookie;
-	}
-	var loc = CGIBIN + "opac-basket.pl?" + strCookie + "&verbose=1";
-	document.location = loc;
-}
-
-function showLess() {
-	var strCookie = "";
-
-	var nameCookie = "bib_list";
-	var valCookie = readCookie(nameCookie);
-	if (valCookie) {
-		strCookie = nameCookie + "=" + valCookie;
-	}
-	var loc = CGIBIN + "opac-basket.pl?" + strCookie + "&verbose=0";
-	document.location = loc;
-}
-
-function updateBasket(updated_value,target) {
-    if(typeof document.getElementById != "undefined") {
-        target.getElementById('basket').innerHTML = " ("+updated_value+")";
-    } else if (typeof document.layers != "undefined") {
-        target.layers['basket'].open();
-        target.layers['basket'].write(" ("+updated_value+")");
-        target.layers['basket'].close();
-    } else if(typeof document.all != "undefined" &&  typeof
-document.getElementById == "undefined") {
-        target.all['basket'].innerHTML = " ("+updated_value+")";
-    }
-}
-
-function openBiblio(biblionumber) {
-	openerURL="opac-detail.pl?bib="+biblionumber;
-	opener.document.location = openerURL;
-}
\ No newline at end of file

Index: fr/includes/marc-editor.css
===================================================================
RCS file: fr/includes/marc-editor.css
diff -N fr/includes/marc-editor.css
--- fr/includes/marc-editor.css	2 Sep 2004 16:32:18 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,44 +0,0 @@
-div.tabs {
-	width:10px;
-	position:absolute;
-	display:block;
-	margin-left:50px;
-	margin-top:150px;
-}
-
-div.tabs a {
-	display:block;
-	font-size: small;
-	border: thin solid black;
-	margin-right: 2px;
-	padding: 10px 10px;
-	-moz-border-radius: 5px 0px 0px 5px;
-}
-
-div.tab {
-	background-color: #ACE6E6;
-	display: block;
-	visibility:hidden;
-	position:absolute;
-	margin-left:72px;
-	margin-top:150px;
-	margin-right:10%;
-}
-td {
-	border:0px;
-}
-
-.MARCtag { /* style for tag definition (700 - Statement of responsability) */
-	font-weight:bold;
-	color:#FF6600;
-	background-color:FFFFFF;
-	background-image:none;
-	border-bottom: thin solid #FF6600;
-	margin-right:30%;
-}
-
-.labelsubfield { /* style for each subfield (like : a Publication year), just before the biblio subfield */
-	float:left;
-	width: 12em;
-	margin-left:30px;
-}

Index: fr/includes/opac.css
===================================================================
RCS file: fr/includes/opac.css
diff -N fr/includes/opac.css
--- fr/includes/opac.css	1 Mar 2005 13:41:07 -0000	1.6
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,409 +0,0 @@
-body {
-	background-color:#009999;
-	font-family:verdana,arial,helvetica,sans-serif;
-	font-size:12pt;
-	margin:0px;
-	padding:0px
-}
-
-/* base tags */
-a {
-	background-color: #ACE6E6;
-	text-decoration:none;
-	color:#000000;
-}
-
-a.transparent {
-	background-color: transparent;
-	text-decoration:none;
-	color:#000000;
-}
-
-a:hover {
-/* 	background-color: #FF6600; */
-	background-image: url(/opac-tmpl/css/en/images/bar.gif);
-	background-repeat:repeat-y;
-	text-decoration:none;
-	color:#000000;
-}
-
-/* the page result number */
-a.results {
-	background-color : #FFD9BF;
-	padding : 0px 2px 0px 2px;
-	margin : 2px 1px 2px 0px;
-}
-
-a.results:hover {
-	background-color: #FFFFCC;
-	padding : 0px 2px 0px 2px;
-	margin : 2px 1px 2px 0px;
-}
-
-/* label size & look just before input fields */
-label {
-	float:left;
-	width: 10em;
-}
-
-/* images */
-img {
-	border-width:0px;
-	text-align:left;
-	position:absolute;
-}
-
-.relative { /* for images in relative position */
-	border-width:5px;
-	text-align:left;
-	position:relative;
-}
-
-/* main title */
-h1 {
-	color:#FFD9BF;
-	background-color:#FF6600;
-	font-weight:bold;
-	font-size: 150%;
-	text-align:center;
-	padding: 2px;
-	border: 4px inset #FFD9BF;
-	width:60%;
-}
-
-/* style for library name, on top of menu (defined in LibraryName systempref) */
-/* in opac-main page */
-.LibraryName {
-	color:#FFD9BF;
-	background-color:transparent;
-	font-weight:bold;
-	font-size: 150%;
-	text-align:center;
-	padding: 2px;
-	border: 4px inset #FF6600;
-	width:75%;
-}
-
-/* in all other pages */
-.SmallLibraryName {
-	color:#FFD9BF;
-	background-color:transparent;
-	font-weight:bold;
-	font-size: 115%;
-	text-align : center;
-	vertical-align:top;
-	padding: 2px;
-	width:100%;
-	margin-left:70px;
-}
-
-/* subtitles. headers of blocks */
-h2 {
-	color:#000000;
-	background-image: url(/opac-tmpl/css/en/images/bar.gif);
-	background-repeat:repeat-y;
-	font-weight:bold;
-	font-size: 125%;
-	margin: 0px 0px 10px 0px;
-}
-
-/* probably useless */
-h3 {
-	color:#000000;
-	font-weight:bold;
-	font-size: 125%;
-	margin: 5px 0px 0px 0px;
-}
-
-/* paragraphs */
-p {
-	padding-left:10pt;
-	padding-bottom:0pt;
-	margin:0pt;
-	clear:left;
-}
-
-/* centered paragraphs */
-p.center {
-	padding-left:10pt;
-	padding-bottom:0pt;
-	margin:0pt;
-	text-align:center;
-}
-
-/* the copyright (at the end of the main page */
-p.copyright {
-	border-top: 1px solid #000000;
-	margin-top:10px;
-	text-align:center;
-}
-
-/* TABLES */
-table {
-	border:1px solid #000000;
-	border-collapse:collapse;
-	width:90%;
-}
-/* header */
-th {
-	background-color: #99cccc;
-	background-image: url(/opac-tmpl/css/en/images/background-opac.gif);
-	font-weight:bold;
-	text-align:center;
-	font-size:10pt;
-	border-left:1px solid #000000;
-	border-bottom:1px solid #000000;
-	border-top:1px solid #000000;
-	padding:5px;
-}
-/* standard cell */
-td {
-	font-size:10pt;
-	border-left:1px solid #000000;
-	vertical-align:top;
-}
-
-/* hilighted cell */
-td.hilighted {
-	font-size:10pt;
-	border-left:1px solid #000000;
-	background-color:#ffffcc;
-	vertical-align:top;
-}
-
-/* FORMS */
-/* class used in form buttons */
-.button {
-	text-align: center;
-	padding: 2px 2px;
-	border-style: solid;
-	border-width: 1px;
-	border-color: black;
-	text-decoration: none;
-	color: black;
-	line-height:175%;
-	border-radius: 6px;
-	-moz-border-radius: 6px;
-	background-color:#FFD9BF;
-	margin : 3px 3px 3px 0px;
-}
-
-.button:hover {
-	text-align: center;
-	padding: 2px 2px;
-	border-style: solid;
-	border-width: 1px;
-	border-color: black;
-	text-decoration: none;
-	color: black;
-	line-height:175%;
-	border-radius: 6px;
-	-moz-border-radius: 6px;
-	background-color:#FF6600;
-	background-image: url(/opac-tmpl/css/en/images/bar.gif);
-	background-repeat:no-repeat;
-	margin : 3px 3px 3px 0px;
-}
-
-/* standard input field */
-input {
-	border:0px;
-	border-bottom:1px solid #000000;
-	margin-bottom:2px;
-	background-color:#009999;
-}
-
-input:hover {
-	border:0px;
-	border-bottom:1px solid #000000;
-	background-color:#FF6600;
-}
-
-/* textarea input field */
-textarea {
-	border:0px;
-	border-bottom:1px solid #000000;
-	background-color:#009999;
-}
-textarea:hover {
-	border:0px;
-	border-bottom:1px solid #000000;
-	background-color:#FF6600;
-}
-
-/* select input field */
-select {
-	border:0px;
-	border-bottom:1px solid #000000;
-	background-color:#009999;
-}
-
-select:hover {
-	border:0px;
-	border-bottom:1px solid #000000;
-	background-color:#FF6600;
-}
-
-
-/* span classes */
-/* used to show small 1,2,3, to reach other pages when too much results */
-.smallnumber {
-	background-color:#99cccc;
-	font-family:Times,serif;
-	font-size:small;
-	border:1px solid #000000;
-	padding:1pt;
-	vertical-align:top;
-}
-
-.smallnumberactive {
-	background-color:#FF6600;
-	font-family:Times,serif;
-	font-size:small;
-	border:1px solid #000000;
-	padding:1pt;
-	vertical-align:top;
-}
-
-/* BLOCS */
-
-/* the mainbloc : everything is in mainbloc, except menu */
-#mainbloc {
-	float:left;
-	width:90%;
-	background-color:#ACE6E6;
-	border:1px solid #000000;
-	margin-left:10px;
-	margin-right:10px;
-	padding-bottom:100px;
-	padding-left:10px;
-	padding-top:10px;
-	padding-right:10px;
-}
-
-#homebloc {
-	float:left;
-	width:60%;
-	border:0;
-}
-
-#leftbloc {
-	float:left;
-	width:30%;
-	border:0;
-}
-
-#bottombloc {
-	width:100%;
-	height:200%;
-	margin-top:10px;
-	vertical-align:top;
-	text-align:center;
-	float:left;
-}
-
-/* used in members */
-#bloc20, .bloc20 {
-	float:left;
-	border:1px solid #000000;
-	margin-right:20px;
-	margin-bottom:20px;
-	padding-right:20px;
-}
-#bloc60, .bloc60 {
-	float:left;
-	border:1px solid #000000;
-	margin-right:20px;
-	margin-bottom:20px;
-	padding-right:20px;
-}
-
-/* used in biblio detail */
-
-#bibliobloc {
-	float:left;
-	width:40%;
-	border:0;
-}
-
-#itembloc {
-	float:left;
-	width:50%;
-	border:0;
-}
-
-/* menu styles */
-.menu {
-	border:1px solid #000000;
-	padding-left:10pt;
-	padding-right:10pt;
-/* 	float:left; */
-	margin-bottom:10px;
-	-moz-border-radius: 6px;
-}
-
-#menuline {
-	float:left;
-	display:block;
-}
-
-#bibliomenu {
-	position: relative;
-	float:left;
-	display:block;
-	margin-left:10%;
-	width:100%;
-}
-
-/* a little spacer. should not be used */
-.spacer {
-	padding-left:20pt;
-	float:left;
-}
-.basketspacer {
-	padding-left:8pt;
-	float:left;
-}
-
-/* for MARC view  */
-div.tabs {
-	width:10px;
-	position:absolute;
-	display:block;
-	margin-left:50px;
-	margin-top:150px;
-}
-
-div.tabs a {
-	display:block;
-	font-size: small;
-	border: thin solid black;
-	margin-right: 2px;
-	padding: 10px 10px;
-	-moz-border-radius: 5px 0px 0px 5px;
-}
-
-div.tab {
-	background-color: #ACE6E6;
-	display: block;
-	visibility:hidden;
-	position:absolute;
-	margin-left:72px;
-	margin-top:150px;
-	margin-right:10%;
-}
-
-.MARCtag { /* style for tag definition (700 - Statement of responsability) */
-	font-weight:bold;
-	color:#FF6600;
-	background-color:#FFFFFF;
-	background-image:none;
-	border-bottom: thin solid #FF6600;
-	margin-right:30%;
-}
-
-.labelsubfield { /* style for each subfield (like : a Publication year), just before the biblio subfield */
-	float:left;
-	width: 12em;
-	margin-left:30px;
-}





More information about the Koha-cvs mailing list