1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5 <title>KOHA: INTRANET: Parameter</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/common-style.css">
10 background-color: #86c268;
12 text-decoration: normal;
16 background-color: #86c268;
18 text-decoration: normal;
39 border:1px solid #000000;
45 <script type="text/javascript">
46 // Captura el evento onmousemove para cualquier navegador
47 if (document.layers) { // Netscape
48 document.captureEvents(Event.MOUSEMOVE);
49 document.onmousemove = captureMousePosition;
50 } else if (document.all) { // Internet Explorer
51 document.onmousemove = captureMousePosition;
52 } else if (document.getElementById) { // Netcsape 6
53 document.onmousemove = captureMousePosition;
61 function captureMousePosition(e) {
62 if (document.layers) {
65 mouseXMax = window.innerWidth + window.pageXOffset;
66 mouseYMax = window.innerHeight + window.pageYOffset;
67 } else if (document.all) {
68 mouseX = window.event.x + document.body.scrollLeft;
69 mouseY = window.event.y + document.body.scrollTop;
70 mouseXMax = document.body.clientWidth + document.body.scrollLeft;
71 mouseYMax = document.body.clientHeight + document.body.scrollTop;
72 } else if (document.getElementById) {
75 mouseXMax = window.innerWidth + window.pageXOffset;
76 mouseYMax = window.innerHeight + window.pageYOffset;
80 /* Devuelve true si el explorador es Internet Explorer */
81 var IE = document.all?true:false;
84 newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
87 function correctRange (from, to) {
95 function emptyField (field) {
96 if ((field == null) || (field == "")) {
103 function checkFields (aForm) {
104 var option = document.getElementById('rangeType').value;
105 if (option == 'continuous' || option == 'continuous2') {
106 if (emptyField(aForm.from.value) || emptyField(aForm.to.value)) {
107 alert("Please, complete all fields");
110 if (correctRange(aForm.from.value, aForm.to.value)) {
113 alert("The selected range is not correct");
118 var codeCount = document.getElementById('inventaryList').options.length;
119 if (codeCount == 0) {
120 alert("Please, complete all fields");
123 var inventaryList = document.getElementById('inventaryList');
125 for (i = 0; i <= inventaryList.options.length - 1; i++) {
126 allCodes = allCodes + "'" + inventaryList.options[i].text + "',";
128 allCodes = '(' + allCodes.substr(0, allCodes.length - 1) + ')';
129 document.getElementById('individualCodes').value = allCodes;
135 function changeRange(selectBox) {
136 var option = selectBox.value;
137 var panel = document.getElementById(option);
138 panel.style.display = 'inline';
139 if (option == 'continuous') {
140 document.getElementById('inventaryList').options.length = 0;
141 document.getElementById('individuals').style.display = 'none';
142 document.getElementById('individualCodes').value = "";
144 document.getElementById('from').value = "";
145 document.getElementById('to').value = "";
146 document.getElementById('continuous').style.display = 'none';
150 function itemExists(code, list) {
152 var listLength = list.length - 1;
154 while (!(ok) && (count <= listLength)) {
155 if (code == list[count].value) {
164 var codeObject = document.getElementById('inventaryCode');
165 var inventaryCode = document.getElementById('inventaryCode').value;
166 var inventaryList = document.getElementById('inventaryList');
167 if (inventaryCode == "") {
168 alert('You canĀ“t add an empty code.');
170 if (itemExists(inventaryCode, inventaryList.options)) {
171 codeObject.value = "";
172 alert("The code is already included.");
174 var optionObject = new Option(inventaryCode, inventaryCode);
176 inventaryList.add(optionObject, inventaryList.options[inventaryList.options.length]);
178 inventaryList.add(optionObject, inventaryList.options.length);
180 codeObject.value = "";
185 function removeItem() {
186 var inventaryList = document.getElementById('inventaryList');
187 if (inventaryList.selectedIndex == -1) {
188 alert('You have to select a code first.');
190 inventaryList.options[inventaryList.selectedIndex] = null;
194 function addCountryCode() {
195 var panel = document.getElementById('addCountryCode');
196 panel.style.display = 'inline';
197 panel.style.top = mouseY;
198 panel.style.left = mouseX;
202 <body onload="javascript: changeRange(document.getElementById('rangeType'))">
205 <span class="koha">KOHA</span>
206 <a class="home" href="/cgi-bin/koha/mainpage.pl">Start</a> <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&type=intranet">Katalog</a> <a class="members" href="/cgi-bin/koha/members/members-home.pl">Benutzer</a> <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Erwerbung</a> <a class="circulation" href="/cgi-bin/koha/circ/circulation.pl">Ausleihe</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">Parameter</a> <a class="about" href="/cgi-bin/koha/about.pl">&Uml;ber</a> <a class="catalogue" href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">Hilfe</a>
209 <span class="koha">Optionen >> </span>
210 <a href="/cgi-bin/koha/admin/aqbookfund.pl" class="submenu">Etats</a> <a href="/cgi-bin/koha/admin/authorised_values.pl" class="submenu2">Vorgabewerte</a> <a href="/cgi-bin/koha/admin/thesaurus.pl" class="submenu">Thesaurus</a> <a href="/cgi-bin/koha/admin/currency.pl" class="submenu2">Währungen</a> <a href="/cgi-bin/koha/admin/printers.pl" class="submenu">Drucker</a>
212 <!-- TMPL_IF NAME="loggedinusername" -->
213 <p align="left">Angemeldet als: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Abmelden</a>]</p>
215 <p align="left"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>