From 7467e4d3b5dab00d68242037dec8ba7a0366d6a9 Mon Sep 17 00:00:00 2001 From: tgarip1957 Date: Mon, 11 Sep 2006 17:13:58 +0000 Subject: [PATCH] Fixes a bug with MARChtml2xml and sync with dev_week --- .../prog/en/cataloguing/addbiblio.tmpl | 722 ++++++++---------- .../prog/en/cataloguing/addbooks.tmpl | 84 +- .../prog/en/cataloguing/additem.tmpl | 153 ++-- .../prog/en/cataloguing/isbnsearch.tmpl | 160 ++-- 4 files changed, 494 insertions(+), 625 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio.tmpl b/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio.tmpl index e955cfffc1..6020ec06cb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio.tmpl @@ -1,411 +1,198 @@ -Koha -- Cataloging: Edit MARC Record Number Add MARC Record - +Koha -- Cataloging: Edit MARC Record Number Add MARC Record + + + + +
+ + + + + + +
+ +

Edit MARC Record Number Add MARC Record With Framework :

+
+ " /> - + " /> " /> " /> - - 0 - - - 1 - - - 2 - - - 3 - - - 4 - - - 5 - - - 6 - - - 7 - - - 8 - - - 9 - - -
- - -

Is this a duplicate of " onclick="openWindow('../MARCdetail.pl?bib=&popup=1', 'Duplicate biblio'; return false;)">?

-

You must either :

- -
+ + + + + + + + - - -

- - " /> - " /> - - - ')">+ - -

- - -

- - - " /> - " /> - " /> - " /> - " /> -

- - -
- -
- - -

- - " /> - " /> - - - ')">+ - -

- - -

- - - " /> - " /> - " /> - " /> - " /> -

- - -
- -
- - -

- - " /> - " /> - - - ')">+ - -

- - -

- - - " /> - " /> - " /> - " /> - " /> -

- - -
- -
- - -

- - " /> - " /> - - - ')">+ - -

- - -

- - - " /> - " /> - " /> - " /> - " /> -

- - -
- -
- - -

- - " /> - " /> - - - ')">+ - -

- - -

- - - " /> - " /> - " /> - " /> - " /> -

- - -
- -
- - -

- - " /> - " /> - - - ')">+ - -

- - -

- - - " /> - " /> - " /> - " /> - " /> -

- - -
- -
- - -

- - " /> - " /> - - - ')">+ - -

- - -

- - - " /> - " /> - " /> - " /> - " /> -

- - -
- -
- - -

- - " /> - " /> - - - ')">+ - -

- - -

- - - " /> - " /> - " /> - " /> - " /> -

- - -
- -
- - -

- - " /> - " /> - - - ')">+ - -

- - -

- - - " /> - " /> - " /> - " /> - " /> -

- - -
- -
- - -

- - " /> - " /> - - - ')">+ - -

- - -

- - - " /> - " /> - " /> - " /> - " /> -

- - + +
+ +
+ - -
+ + + + + +
XX" id="XX" class="tab" style="visibility:hidden"> + +
XX" id="XX" class="tab" style="visibility:visible"> + + + + +
+

Is this a duplicate of " onclick="openWindow('../catalogue/MARCdetail.pl?biblionumber=&popup=1', 'Duplicate biblio'; return false;)">?

+

You must either :

+ +
+ + + +
"> + +

+ "> + + "> + style="display:none;" name="indicator" size="2" maxlength="2" value="" class="flat"> - + + style="display:none;" name="indicator" value=""> + + + + + ')">+ +

+ + + + " onclick="unHideSubfield('subfield','label')"> + + + +
+

+ + + + + + ')">+ + + "/> + "/> + " size="2" maxlength="1"/> + "/> + "/> +

+
+ +
+ +
+ +
- " /> - " /> - " /> - " /> - " /> -
-

+ "> + " value=""> + "> + "> + +
- " /> - " /> - " /> - - " /> - " /> - " /> - " /> - - " /> - " /> + "> + " value=""> + "> + + "> + " name="subfield" value=""> + + "> + -
- - - - - - -
- -
- + +function cloneSubfield(index) { + var original = document.getElementById(index); + var clone = original.cloneNode(true); + clone.setAttribute("id", index + index); +// orginput : the value of the original field (in [0] if hide_marc=1, otherwise in [1] +// image : the up button. don't exist is hide_marc=1 + + var orginput = original.getElementsByTagName('input')[0]; + + var orginput = original.getElementsByTagName('input')[1]; + image = clone.getElementsByTagName('img')[0]; + image.setAttribute("onclick","upSubfield('" + index + index + "')"); + + trigger = original.getElementsByTagName('a')[0]; + if (trigger) { +// trigger.parentNode.removeChild(trigger); + } + clonetrigger = clone.getElementsByTagName('a')[0]; + clonetrigger.setAttribute("onclick","cloneSubfield('" + index + index + "')"); + clone.setAttribute("tabindex","1"); + orginput.value = ''; + original.parentNode.insertBefore( clone, original); +} + +function upSubfield(index) { + try{ + var line = document.getElementById(index); // get the line where the user has clicked. + } catch(e) { + return; + } + var tag = line.parentNode; // get the dad of this line. (should be "
") + + // getting all subfields for this tag + var subfields = tag.getElementsByTagName('div'); + var subfieldsLength = subfields.length; + if(subfieldsLength<=1) return; // nothing to do if there is just one subfield. + // among all subfields + for(var i=0;i + +
+ diff --git a/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbooks.tmpl b/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbooks.tmpl index ee24657b81..5ce629a24e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbooks.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbooks.tmpl @@ -1,61 +1,41 @@ Koha -- Cataloging Home - -

Catalog Maintenance

- No items found + No items found -

Search Existing Records

- - + + +
+
+ + +
Create a Blank Bibliographic Record
+ + + + + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem.tmpl b/koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem.tmpl index eb102a4a47..8b99dec531 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem.tmpl @@ -1,86 +1,88 @@ Koha -- Cataloging: Items for Bibliographic Record - + - - -

Items for by (Record #)

- -
-
- " /> - " /> + +

Items for Record :

,

+ + +
+">
" />
">
">
">
+ + +
ERROR: This book is on LOAN DO NOT DELETE!
+ + +
ERROR: This record contains non UTF-8 chatacters correct and resave!!
+ + +
ERROR: Barcode already exists!
+ + -

Existing items

- - - - - - - - +
+
- -  
+ - - - + + + + - -
Existing Items
&itemnum=">Edit,)">Delete 
- -
+ + + + &itemnumber=">Edit + ,)">Delete + + + + -
- -

Add Item

- -

Edit Item

- - -

- - - " /> - " /> - " /> -

- - " /> - - ERROR : Barcode already exists ! + +
+ "> + "> + "> + "> + "> +
+ + + + + + + + +
Add New ItemUpdate Item
+ "> + "> + ">
+ "> + +
ERROR: Barcode already exists!
+ + - + - " /> - " /> - " /> - + "> + "> + "> + - -
-
- " /> - -
-
- " /> - -
-
- " /> - -
-
- " /> - -
+ \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/cataloguing/isbnsearch.tmpl b/koha-tmpl/intranet-tmpl/prog/en/cataloguing/isbnsearch.tmpl index 7131c376f6..c9a63a6a61 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/cataloguing/isbnsearch.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/cataloguing/isbnsearch.tmpl @@ -1,99 +1,103 @@ Koha -- Cataloging: Search Results for ISBN title - -

Search Results for ISBN title

- - -Results to of - - - - - - &=&resultsperpage=&type=intranet&op=do_search"><<Previous - - - - &=&resultsperpage=&type=intranet&op=do_search"> &=&&resultsperpage=&type=intranet&op=do_search">Next>> - - - - - - - - - - - - - + + +

Search Results

+
+

Results for ISBN title

+ +

total results

+

Results to displayed

+ +
+
+

Exists in Koha

+
Existing Bibliographic Records
TitleAuthor©Call Number  
+ + + + + + + + + + + + "> + + + + + + + + + - - - - - - - - - - - - - - - - - - - -
TitleAuthorcopyrightLC   
+  " class="button acquisition">Edit Book">Edit Items&op=duplicate">Duplicate
"> ">Add items">Edit Biblio">Edit Items&op=duplicate">Duplicate
Nothing found
- - - - &=&resultsperpage=&type=intranet&op=do_search"><<Previous - - - - &=&resultsperpage=&type=intranet&op=do_search"> &=&&resultsperpage=&type=intranet&op=do_search">Next>> - - - - - + + + + +
Bibliographic Records in the Reservoir
Nothing found
+

+ + + &="> + /images/numbers/prev.gif" border="0"> + + + /images/numbers/placeholder.gif" border="0"> + + + + /images/numbers/-highlight.gif"> + + &="> + /images/numbers/.gif" border="0"> + + + + + &="> + /images/numbers/next.gif" border="0"> + + + /images/numbers/placeholder.gif" border="0"> + +

+

Books in breeding farm

+ + + - - + - + "> + - - - - +
Title Author ISBNLC coming from   
  ">Add biblio
-

No records found in the Reservoir

- - -

Create a New Record

- - ">Add New Record -
- " /> - " />
+

Nothing found

+

+ + Add new record + +

+
+ -- 2.20.1