[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple addbibl
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple addbiblio.tmpl,1.5,1.6 addbooks.tmpl,1.6,1.7 additem.tmpl,1.3,1.4 isbnsearch.tmpl,1.5,1.6 |
Date: |
Mon, 02 May 2005 11:11:15 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30347/koha-tmpl/intranet-tmpl/npl/en/acqui.simple
Modified Files:
addbiblio.tmpl addbooks.tmpl additem.tmpl isbnsearch.tmpl
Log Message:
Synching with rel_2_2.
Index: addbiblio.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple/addbiblio.tmpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** addbiblio.tmpl 15 Feb 2005 20:49:49 -0000 1.5
--- addbiblio.tmpl 2 May 2005 18:11:11 -0000 1.6
***************
*** 1,336 ****
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Cataloging: <!--
TMPL_IF NAME="oldbiblionumtagfield" -->Edit MARC Record Number <!-- TMPL_VAR
name="bibid" --><!-- TMPL_ELSE -->Add MARC Record<!-- /TMPL_IF --><!--
TMPL_INCLUDE NAME="doc-head-close-addbiblio.inc" -->
! <!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="acqui-topmenu.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-nav-brief.inc" -->
<div id="main">
- <form method="post" name="f" action="/cgi-bin/koha/acqui.simple/addbiblio.pl"
/>
- <input type="hidden" name="op" value="addbiblio" />
- <input type="hidden" name="addfield_field" />
- <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR
NAME="frameworkcode" -->">
- <input type="hidden" name="oldbiblionumber" value="<!-- TMPL_VAR
name="oldbiblionumber" -->" />
! <h1><!-- TMPL_IF NAME="oldbiblionumtagfield" -->Edit MARC Record Number <!--
TMPL_VAR name="bibid" --><!-- TMPL_ELSE -->Add MARC Record <!-- TMPL_IF
NAME="frameworkcode" -->(<!-- TMPL_VAR NAME="frameworkcode" --> Framework)<!--
TMPL_ELSE -->(Default Framework)<!-- /TMPL_IF --><!-- /TMPL_IF --></h1>
<!-- TMPL_IF name="bibid" -->
! <input type="button" value="Save Bibliographic Record
and Go To Items" onclick="Check(this.form)" accesskey="w" class="submit">
<!-- TMPL_ELSE -->
! <input type="button" value="Add Bibliographic Record
and Go To Items" onclick="Check(this.form)" accesskey="w" class="submit">
<!-- /TMPL_IF -->
!
! <input type="button" value="z39.50 Search" class="submit"
onclick="PopupZ3950(); return false;" /> <!-- TMPL_IF
NAME="oldbiblionumtagfield" --><input type="button" class="cancel"
value="Delete this Record" onclick="confirm_deletion(); return false;"><!--
/TMPL_IF -->
!
! <div id="tabholder" class="tabholder">
! <!-- TMPL_IF name="0XX" --> <span id="tab1" class="tab" onclick ="
showPanel(1);" onmouseover="hover(this);" onmouseout="setState(1)">Page
1</span><!-- /TMPL_IF -->
! <!-- TMPL_IF name="1XX" --> <span id="tab2" class="tab" onclick ="
showPanel(2);" onmouseover="hover(this);" onmouseout="setState(2)">Page
2</span><!-- /TMPL_IF -->
! <!-- TMPL_IF name="2XX" --><span id="tab3" class="tab" onclick ="
showPanel(3);" onmouseover="hover(this);" onmouseout="setState(3)">Page
3</span><!-- /TMPL_IF -->
! <!-- TMPL_IF name="3XX" --><span id="tab4" class="tab" onclick ="
showPanel(4);" onmouseover="hover(this);" onmouseout="setState(4)">Page
4</span><!-- /TMPL_IF -->
! <!-- TMPL_IF name="4XX" --><span id="tab5" class="tab" onclick ="
showPanel(5);" onmouseover="hover(this);" onmouseout="setState(5)">Page
5</span><!-- /TMPL_IF -->
! <!-- TMPL_IF name="5XX" --><span id="tab6" class="tab" onclick ="
showPanel(6);" onmouseover="hover(this);" onmouseout="setState(6)">Page
6</span><!-- /TMPL_IF -->
! <!-- TMPL_IF name="6XX" --><span id="tab7" class="tab" onclick ="
showPanel(7);" onmouseover="hover(this);" onmouseout="setState(7)">Page
7</span><!-- /TMPL_IF -->
! <!-- TMPL_IF name="7XX" --><span id="tab8" class="tab" onclick ="
showPanel(8);" onmouseover="hover(this);" onmouseout="setState(8)">Page
8</span><!-- /TMPL_IF -->
! <!-- TMPL_IF name="8XX" --><span id="tab9" class="tab" onclick ="
showPanel(9);" onmouseover="hover(this);" onmouseout="setState(9)">Page
9</span><!-- /TMPL_IF -->
! <!-- TMPL_IF name="9XX" --><span id="tab10" class="tab" onclick ="
showPanel(10);" onmouseover="hover(this);" onmouseout="setState(10)">Page
10</span><!-- /TMPL_IF -->
! </div>
! <div class="panelholder">
! <div class="panel" id="panel1" style="visibility:visible;
background-color:#FFC;"><div id="0XX">
<!-- TMPL_IF name="duplicatebiblionumber" -->
<div class="error">
! <p>Possible duplicate of <a
href="../MARCdetail.pl?bib=<!-- TMPL_VAR name="duplicatebiblionumber"
-->&popup=1" onclick="openWindow('../MARCdetail.pl?bib=<!-- TMPL_VAR
name="duplicatebiblionumber" -->&popup=1', 'Duplicate biblio'); return
false;"><!-- TMPL_VAR name="duplicatetitle" --></a></p>
! <p>Please choose an option:</p>
! <ol>
! <li><input type="checkbox" value="1"
name="confirm_not_duplicate"> Check here to confirm it's not a duplicate (and
click the 'Add' button again).</li>
! <li><a href="additem.pl?bibid=<!--
TMPL_VAR name="duplicatebibid" -->" class="button catalogue">Edit the items</a>
of the existing record.</li>
! </ol>
</div>
<!-- /TMPL_IF -->
! <table>
! <!-- TMPL_LOOP name="0XX" -->
<!-- TMPL_IF name="tag" -->
! <tr><td colspan="4"><b><!-- TMPL_VAR name="tag"
--></b> <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR name="tag"
-->" /><input type="text" name="indicator" size="3" maxlength="2" value="<!--
TMPL_VAR name="indicator" -->" /> - <!-- TMPL_VAR NAME="tag_lib" --> <!--
TMPL_IF name="repeatable" --><!-- TMPL_IF name="repeatable" --><a
href="javascript:AddField(<!-- TMPL_VAR name="tag" -->)">+</a><!-- /TMPL_IF
--><!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP name="subfield_loop" -->
! <!-- TMPL_IF name="mandatory" --><tr
class="mandatory"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
! <td width="3%"><!-- TMPL_IF
name="mandatory" -->*<!-- TMPL_ELSE --> <!-- /TMPL_IF --></td>
! <td width="2%"><b><!-- TMPL_VAR
name="subfield" --></b></td>
! <th><!-- TMPL_VAR name="marc_lib"
--></th>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value"
-->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR name="tag" -->" />
! <input type="hidden"
name="subfield" value="<!-- TMPL_VAR name="subfield" -->" />
! <input type="hidden"
name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->" />
! <input type="hidden"
name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </table></div></div>
!
! <div class="panel" id="panel2"><div id="1XX">
! <table>
! <!-- TMPL_LOOP name="1XX" -->
<!-- TMPL_IF name="tag" -->
! <tr><td colspan="4"><b><!-- TMPL_VAR name="tag"
--></b> <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR name="tag"
-->" /><input type="text" name="indicator" size="3" maxlength="2" value="<!--
TMPL_VAR name="indicator" -->" /> - <!-- TMPL_VAR NAME="tag_lib" --> <!--
TMPL_IF name="repeatable" --><a href="javascript:AddField(<!-- TMPL_VAR
name="tag" -->)">+</a><!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP name="subfield_loop" -->
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><!-- TMPL_VAR
name="subfield" --></b></td>
! <th><!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF --><!-- TMPL_VAR name="marc_lib" --><!-- TMPL_IF
name="mandatory" --> *</b><!-- /TMPL_IF --></th>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value"
-->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR name="tag" -->" />
! <input type="hidden"
name="subfield" value="<!-- TMPL_VAR name="subfield" -->" />
! <input type="hidden"
name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->" />
! <input type="hidden"
name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </table></div></div>
!
! <div class="panel" id="panel3"><div id="2XX">
! <table>
! <!-- TMPL_LOOP name="2XX" -->
<!-- TMPL_IF name="tag" -->
! <tr><td colspan="4"><b><!-- TMPL_VAR name="tag"
--></b> <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR name="tag"
-->" /><input type="text" name="indicator" size="3" maxlength="2" value="<!--
TMPL_VAR name="indicator" -->" /> - <!-- TMPL_VAR NAME="tag_lib" --> <!--
TMPL_IF name="repeatable" --><a href="javascript:AddField(<!-- TMPL_VAR
name="tag" -->)">+</a><!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP name="subfield_loop" -->
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><!-- TMPL_VAR
name="subfield" --></b></td>
! <th><!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF --><!-- TMPL_VAR name="marc_lib" --><!-- TMPL_IF
name="mandatory" --> *</b><!-- /TMPL_IF --></th>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value"
-->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR name="tag" -->" />
! <input type="hidden"
name="subfield" value="<!-- TMPL_VAR name="subfield" -->" />
! <input type="hidden"
name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->" />
! <input type="hidden"
name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </table></div></div>
!
! <div class="panel" id="panel4"><div id="3XX">
! <table>
! <!-- TMPL_LOOP name="3XX" -->
<!-- TMPL_IF name="tag" -->
! <tr><td colspan="4"><b><!-- TMPL_VAR name="tag"
--></b> <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR name="tag"
-->" /><input type="text" name="indicator" size="3" maxlength="2" value="<!--
TMPL_VAR name="indicator" -->" /> - <!-- TMPL_VAR NAME="tag_lib" --> <!--
TMPL_IF name="repeatable" --><a href="javascript:AddField(<!-- TMPL_VAR
name="tag" -->)">+</a><!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP name="subfield_loop" -->
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><!-- TMPL_VAR
name="subfield" --></b></td>
! <th><!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF --><!-- TMPL_VAR name="marc_lib" --><!-- TMPL_IF
name="mandatory" --> *</b><!-- /TMPL_IF --></th>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value"
-->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR name="tag" -->" />
! <input type="hidden"
name="subfield" value="<!-- TMPL_VAR name="subfield" -->" />
! <input type="hidden"
name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->" />
! <input type="hidden"
name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </table></div></div>
!
! <div class="panel" id="panel5"><div id="4XX">
! <table>
! <!-- TMPL_LOOP name="4XX" -->
<!-- TMPL_IF name="tag" -->
! <tr><td colspan="4"><b><!-- TMPL_VAR name="tag"
--></b> <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR name="tag"
-->" /><input type="text" name="indicator" size="3" maxlength="2" value="<!--
TMPL_VAR name="indicator" -->" /> - <!-- TMPL_VAR NAME="tag_lib" --> <!--
TMPL_IF name="repeatable" --><a href="javascript:AddField(<!-- TMPL_VAR
name="tag" -->)">+</a><!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP name="subfield_loop" -->
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><!-- TMPL_VAR
name="subfield" --></b></td>
! <th><!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF --><!-- TMPL_VAR name="marc_lib" --><!-- TMPL_IF
name="mandatory" --> *</b><!-- /TMPL_IF --></th>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value"
-->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR name="tag" -->" />
! <input type="hidden"
name="subfield" value="<!-- TMPL_VAR name="subfield" -->" />
! <input type="hidden"
name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->" />
! <input type="hidden"
name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </table></div></div>
!
! <div class="panel" id="panel6"><div id="5XX">
! <table>
! <!-- TMPL_LOOP name="5XX" -->
<!-- TMPL_IF name="tag" -->
! <tr><td colspan="4"><b><!-- TMPL_VAR name="tag"
--></b> <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR name="tag"
-->" /><input type="text" name="indicator" size="3" maxlength="2" value="<!--
TMPL_VAR name="indicator" -->" /> - <!-- TMPL_VAR NAME="tag_lib" --> <!--
TMPL_IF name="repeatable" --><a href="javascript:AddField(<!-- TMPL_VAR
name="tag" -->)">+</a><!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP name="subfield_loop" -->
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><!-- TMPL_VAR
name="subfield" --></b></td>
! <th><!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF --><!-- TMPL_VAR name="marc_lib" --><!-- TMPL_IF
name="mandatory" --> *</b><!-- /TMPL_IF --></th>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value"
-->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR name="tag" -->" />
! <input type="hidden"
name="subfield" value="<!-- TMPL_VAR name="subfield" -->" />
! <input type="hidden"
name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->" />
! <input type="hidden"
name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </table></div></div>
!
! <div class="panel" id="panel7"><div id="6XX">
! <table>
! <!-- TMPL_LOOP name="6XX" -->
<!-- TMPL_IF name="tag" -->
! <tr><td colspan="4"><b><!-- TMPL_VAR name="tag"
--></b> <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR name="tag"
-->" /><input type="text" name="indicator" size="3" maxlength="2" value="<!--
TMPL_VAR name="indicator" -->" /> - <!-- TMPL_VAR NAME="tag_lib" --> <!--
TMPL_IF name="repeatable" --><a href="javascript:AddField(<!-- TMPL_VAR
name="tag" -->)">+</a><!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP name="subfield_loop" -->
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><!-- TMPL_VAR
name="subfield" --></b></td>
! <th><!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF --><!-- TMPL_VAR name="marc_lib" --><!-- TMPL_IF
name="mandatory" --> *</b><!-- /TMPL_IF --></th>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value"
-->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR name="tag" -->" />
! <input type="hidden"
name="subfield" value="<!-- TMPL_VAR name="subfield" -->" />
! <input type="hidden"
name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->" />
! <input type="hidden"
name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </table></div></div>
!
! <div class="panel" id="panel8"><div id="7XX">
! <table>
! <!-- TMPL_LOOP name="7XX" -->
<!-- TMPL_IF name="tag" -->
! <tr><td colspan="4"><b><!-- TMPL_VAR name="tag"
--></b> <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR name="tag"
-->" /><input type="text" name="indicator" size="3" maxlength="2" value="<!--
TMPL_VAR name="indicator" -->" /> - <!-- TMPL_VAR NAME="tag_lib" --> <!--
TMPL_IF name="repeatable" --><a href="javascript:AddField(<!-- TMPL_VAR
name="tag" -->)">+</a><!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP name="subfield_loop" -->
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><!-- TMPL_VAR
name="subfield" --></b></td>
! <th><!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF --><!-- TMPL_VAR name="marc_lib" --><!-- TMPL_IF
name="mandatory" --> *</b><!-- /TMPL_IF --></th>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value"
-->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR name="tag" -->" />
! <input type="hidden"
name="subfield" value="<!-- TMPL_VAR name="subfield" -->" />
! <input type="hidden"
name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->" />
! <input type="hidden"
name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </table></div></div>
!
! <div class="panel" id="panel9"><div id="8XX">
! <table>
! <!-- TMPL_LOOP name="8XX" -->
<!-- TMPL_IF name="tag" -->
! <tr><td colspan="4"><b><!-- TMPL_VAR name="tag"
--></b> <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR name="tag"
-->" /><input type="text" name="indicator" size="3" maxlength="2" value="<!--
TMPL_VAR name="indicator" -->" /> - <!-- TMPL_VAR NAME="tag_lib" --> <!--
TMPL_IF name="repeatable" --><a href="javascript:AddField(<!-- TMPL_VAR
name="tag" -->)">+</a><!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP name="subfield_loop" -->
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><!-- TMPL_VAR
name="subfield" --></b></td>
! <th><!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF --><!-- TMPL_VAR name="marc_lib" --><!-- TMPL_IF
name="mandatory" --> *</b><!-- /TMPL_IF --></th>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value"
-->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR name="tag" -->" />
! <input type="hidden"
name="subfield" value="<!-- TMPL_VAR name="subfield" -->" />
! <input type="hidden"
name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->" />
! <input type="hidden"
name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </table></div></div>
!
! <div class="panel" id="panel10"><div id="9XX">
! <table>
! <!-- TMPL_LOOP name="9XX" -->
<!-- TMPL_IF name="tag" -->
! <tr><td colspan="4"><b><!-- TMPL_VAR name="tag"
--></b> <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR name="tag"
-->" /><input type="text" name="indicator" size="3" maxlength="2" value="<!--
TMPL_VAR name="indicator" -->" /> - <!-- TMPL_VAR NAME="tag_lib" --> <!--
TMPL_IF name="repeatable" --><a href="javascript:AddField(<!-- TMPL_VAR
name="tag" -->)">+</a><!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP name="subfield_loop" -->
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><!-- TMPL_VAR
name="subfield" --></b></td>
! <th><!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF --><!-- TMPL_VAR name="marc_lib" --><!-- TMPL_IF
name="mandatory" --> *</b><!-- /TMPL_IF --></th>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value"
-->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR name="tag" -->" />
! <input type="hidden"
name="subfield" value="<!-- TMPL_VAR name="subfield" -->" />
! <input type="hidden"
name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->" />
! <input type="hidden"
name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </table></div></div>
!
! <div name="hidden" id="hidden">
! <table>
! <!-- TMPL_LOOP name="hidden_loop" -->
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><!-- TMPL_VAR name="subfield" --></b></td>
! <th><!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!--
TMPL_VAR name="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!--
/TMPL_IF --></td>
! <td width="40%">
! <!-- TMPL_VAR name="marc_value" -->
! <input type="hidden" name="tag" value="<!-- TMPL_VAR
name="tag" -->" />
! <input type="hidden" name="subfield" value="<!--
TMPL_VAR name="subfield" -->" />
! <input type="hidden" name="mandatory" value="<!--
TMPL_VAR name="mandatory" -->" />
! <input type="hidden" name="kohafield" value="<!--
TMPL_VAR name="kohafield" -->" />
! <input type="hidden" name="tag_mandatory" value="<!--
TMPL_VAR name="tag_mandatory" -->" />
! </td>
! </tr>
! <!-- /TMPL_LOOP -->
! </table></div>
! </div>
! <!-- TMPL_IF name="oldbiblionumtagfield" -->
! <input type="hidden" name="tag" value="<!-- TMPL_VAR
name="oldbiblionumtagfield" -->" />
! <input type="hidden" name="subfield" value="<!-- TMPL_VAR
name="oldbiblionumtagsubfield" -->" />
! <input type="hidden" name="field_value" value="<!-- TMPL_VAR
name="oldbiblionumber" -->" />
! <input type="hidden" name="mandatory" value="0">
! <input type="hidden" name="kohafield" value="<!-- TMPL_VAR
name="kohafield" -->" />
! <input type="hidden" name="tag" value="<!-- TMPL_VAR
name="oldbiblioitemnumtagfield" -->" />
! <input type="hidden" name="subfield" value="<!-- TMPL_VAR
name="oldbiblioitemnumtagsubfield" -->" />
! <input type="hidden" name="field_value" value="<!-- TMPL_VAR
name="oldbiblioitemnumber" -->" />
! <input type="hidden" name="mandatory" value="0">
! <input type="hidden" name="kohafield" value="<!-- TMPL_VAR
name="kohafield" -->" />
! <input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR
name="tag_mandatory" -->" />
! <!-- /TMPL_IF -->
! </form>
! </div>
<script language="JavaScript" type="text/javascript">
function _(s) { return s } // dummy function for gettext
function active(numlayer)
{
! for (i=0; i < 10 ; i++ ) {
ong = i+"XX";
link = "link"+i;
if (numlayer==i) {
document.getElementById(ong).style.visibility="visible";
} else {
document.getElementById(ong).style.visibility="hidden";
}
}
}
function Check(f) {
// Scan for nonempty fields
--- 1,440 ----
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Cataloging: <!--
TMPL_IF NAME="oldbiblionumtagfield" -->Edit MARC Record Number <!-- TMPL_VAR
name="bibid" --><!-- TMPL_ELSE -->Add MARC Record<!-- /TMPL_IF --><!--
TMPL_INCLUDE NAME="doc-head-close-addbiblio.inc" -->
! <script language="JavaScript" type="text/javascript">
! document.write("<div id=\"loading\">");
! document.write("Please wait while the page loads...");
! document.write("<\/div>");
! </script><!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="acqui-topmenu.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-nav-brief.inc" -->
+
<div id="main">
! <form method="post" name="f" id="f" action="addbiblio.pl">
! <h1><!-- TMPL_IF NAME="oldbiblionumtagfield" -->Edit MARC Record Number <!--
TMPL_VAR name="bibid" --><!-- TMPL_ELSE -->Add MARC Record<!-- /TMPL_IF --></h1>
!
!
!
! <div class="tabitem"> <input type="hidden" name="op"
value="addbiblio" />
! <input type="hidden" name="addfield_field" />
! <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR
NAME="frameworkcode" -->" />
! <input type="hidden" name="oldbiblionumber" value="<!--
TMPL_VAR NAME="oldbiblionumber" -->" />
<!-- TMPL_IF name="bibid" -->
! <input type="button" value="Save Bibliographic Record
and go to Items" onclick="Check(this.form)" accesskey="w" class="submit" />
<!-- TMPL_ELSE -->
! <input type="button" value="Add Bibliographic Record
and go to Items" onclick="Check(this.form)" accesskey="w" class="submit" />
<!-- /TMPL_IF -->
! <input type="button" value="z39.50 Search" class="submit"
onclick="PopupZ3950(); return false;" / ></div>
!
!
! <div class="tabs">
! <!-- TMPL_IF name="0XX" -->
! <a href="#" onclick="active(0); return false;" id="link0">0</a>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="1XX" -->
! <a href="#" onclick="active(1); return false;" id="link1">1</a>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="2XX" -->
! <a href="#" onclick="active(2); return false;" id="link2">2</a>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="3XX" -->
! <a href="#" onclick="active(3); return false;" id="link3">3</a>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="4XX" -->
! <a href="#" onclick="active(4); return false;" id="link4">4</a>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="5XX" -->
! <a href="#" onclick="active(5); return false;" id="link5">5</a>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="6XX" -->
! <a href="#" onclick="active(6); return false;" id="link6">6</a>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="7XX" -->
! <a href="#" onclick="active(7); return false;" id="link7">7</a>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="8XX" -->
! <a href="#" onclick="active(8); return false;" id="link8">8</a>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="9XX" -->
! <a href="#" onclick="active(9); return false;" id="link9">9</a>
! <!-- /TMPL_IF -->
! </div>
! <div name="0XX" id="0XX" class="tab" style="visibility:visible">
<!-- TMPL_IF name="duplicatebiblionumber" -->
<div class="error">
! <p>Is this a duplicate of <a
href="../MARCdetail.pl?bib=<!-- TMPL_VAR name="duplicatebiblionumber" -->"
onclick="openWindow('../MARCdetail.pl?bib=<!-- TMPL_VAR
name="duplicatebiblionumber" -->&popup=1', 'Duplicate biblio'; return
false;)"><!-- TMPL_VAR name="duplicatetitle" --></a>?</p>
! <p>You must either :</p>
! <ul>
! <li>If it <em>is</em> a duplicate, <a
href="additem.pl?bibid=<!-- TMPL_VAR name="duplicatebibid" -->">Edit Items</a>
of the existing record.</li>
! <li>If not, click to <input
type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate"
/> <a href="#" onclick="confirmnotdup(); return false;">Confirm it's not a
duplicate</a></li>
! </ul>
</div>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="0XX" -->
<!-- TMPL_IF name="tag" -->
! <p class="MARCtag">
! <!-- TMPL_VAR NAME="tag" -->
! <input type="hidden" name="ind_tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="text" name="indicator" size="3"
maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" /> - <!-- TMPL_VAR
NAME="tag_lib" -->
! <!-- TMPL_IF name="repeatable" -->
! <a href="javascript:AddField('<!--
TMPL_VAR NAME="tag" -->')">+</a>
! <!-- /TMPL_IF -->
! </p>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="subfield_loop" -->
! <p>
! <label class="labelsubfield">
! <b><!-- TMPL_VAR
NAME="subfield" --></b>
! <!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF -->
! <!-- TMPL_VAR NAME="marc_lib"
-->
! <!-- TMPL_IF name="mandatory"
--> *</b><!-- /TMPL_IF -->
! </label>
! <!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! </p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </div>
!
! <div name="1XX" id="1XX" class="tab">
! <!-- TMPL_LOOP NAME="1XX" -->
<!-- TMPL_IF name="tag" -->
! <p class="MARCtag">
! <!-- TMPL_VAR NAME="tag" -->
! <input type="hidden" name="ind_tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="text" name="indicator" size="3"
maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" /> - <!-- TMPL_VAR
NAME="tag_lib" -->
! <!-- TMPL_IF name="repeatable" -->
! <a href="javascript:AddField('<!--
TMPL_VAR NAME="tag" -->')">+</a>
! <!-- /TMPL_IF -->
! </p>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="subfield_loop" -->
! <p>
! <label class="labelsubfield">
! <b><!-- TMPL_VAR
NAME="subfield" --></b>
! <!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF -->
! <!-- TMPL_VAR NAME="marc_lib"
-->
! <!-- TMPL_IF name="mandatory"
--> *</b><!-- /TMPL_IF -->
! </label>
! <!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! </p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </div>
!
! <div name="2XX" id="2XX" class="tab">
! <!-- TMPL_LOOP NAME="2XX" -->
<!-- TMPL_IF name="tag" -->
! <p class="MARCtag">
! <!-- TMPL_VAR NAME="tag" -->
! <input type="hidden" name="ind_tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="text" name="indicator" size="3"
maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" /> - <!-- TMPL_VAR
NAME="tag_lib" -->
! <!-- TMPL_IF name="repeatable" -->
! <a href="javascript:AddField('<!--
TMPL_VAR NAME="tag" -->')">+</a>
! <!-- /TMPL_IF -->
! </p>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="subfield_loop" -->
! <p>
! <label class="labelsubfield">
! <b><!-- TMPL_VAR
NAME="subfield" --></b>
! <!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF -->
! <!-- TMPL_VAR NAME="marc_lib"
-->
! <!-- TMPL_IF name="mandatory"
--> *</b><!-- /TMPL_IF -->
! </label>
! <!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! </p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </div>
!
! <div name="3XX" id="3XX" class="tab">
! <!-- TMPL_LOOP NAME="3XX" -->
<!-- TMPL_IF name="tag" -->
! <p class="MARCtag">
! <!-- TMPL_VAR NAME="tag" -->
! <input type="hidden" name="ind_tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="text" name="indicator" size="3"
maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" /> - <!-- TMPL_VAR
NAME="tag_lib" -->
! <!-- TMPL_IF name="repeatable" -->
! <a href="javascript:AddField('<!--
TMPL_VAR NAME="tag" -->')">+</a>
! <!-- /TMPL_IF -->
! </p>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="subfield_loop" -->
! <p>
! <label class="labelsubfield">
! <b><!-- TMPL_VAR
NAME="subfield" --></b>
! <!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF -->
! <!-- TMPL_VAR NAME="marc_lib"
-->
! <!-- TMPL_IF name="mandatory"
--> *</b><!-- /TMPL_IF -->
! </label>
! <!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! </p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </div>
!
! <div name="4XX" id="4XX" class="tab">
! <!-- TMPL_LOOP NAME="4XX" -->
<!-- TMPL_IF name="tag" -->
! <p class="MARCtag">
! <!-- TMPL_VAR NAME="tag" -->
! <input type="hidden" name="ind_tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="text" name="indicator" size="3"
maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" /> - <!-- TMPL_VAR
NAME="tag_lib" -->
! <!-- TMPL_IF name="repeatable" -->
! <a href="javascript:AddField('<!--
TMPL_VAR NAME="tag" -->')">+</a>
! <!-- /TMPL_IF -->
! </p>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="subfield_loop" -->
! <p>
! <label class="labelsubfield">
! <b><!-- TMPL_VAR
NAME="subfield" --></b>
! <!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF -->
! <!-- TMPL_VAR NAME="marc_lib"
-->
! <!-- TMPL_IF name="mandatory"
--> *</b><!-- /TMPL_IF -->
! </label>
! <!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! </p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </div>
!
! <div name="5XX" id="5XX" class="tab">
! <!-- TMPL_LOOP NAME="5XX" -->
<!-- TMPL_IF name="tag" -->
! <p class="MARCtag">
! <!-- TMPL_VAR NAME="tag" -->
! <input type="hidden" name="ind_tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="text" name="indicator" size="3"
maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" /> - <!-- TMPL_VAR
NAME="tag_lib" -->
! <!-- TMPL_IF name="repeatable" -->
! <a href="javascript:AddField('<!--
TMPL_VAR NAME="tag" -->')">+</a>
! <!-- /TMPL_IF -->
! </p>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="subfield_loop" -->
! <p>
! <label class="labelsubfield">
! <b><!-- TMPL_VAR
NAME="subfield" --></b>
! <!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF -->
! <!-- TMPL_VAR NAME="marc_lib"
-->
! <!-- TMPL_IF name="mandatory"
--> *</b><!-- /TMPL_IF -->
! </label>
! <!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! </p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </div>
!
! <div name="6XX" id="6XX" class="tab">
! <!-- TMPL_LOOP NAME="6XX" -->
<!-- TMPL_IF name="tag" -->
! <p class="MARCtag">
! <!-- TMPL_VAR NAME="tag" -->
! <input type="hidden" name="ind_tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="text" name="indicator" size="3"
maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" /> - <!-- TMPL_VAR
NAME="tag_lib" -->
! <!-- TMPL_IF name="repeatable" -->
! <a href="javascript:AddField('<!--
TMPL_VAR NAME="tag" -->')">+</a>
! <!-- /TMPL_IF -->
! </p>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="subfield_loop" -->
! <p>
! <label class="labelsubfield">
! <b><!-- TMPL_VAR
NAME="subfield" --></b>
! <!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF -->
! <!-- TMPL_VAR NAME="marc_lib"
-->
! <!-- TMPL_IF name="mandatory"
--> *</b><!-- /TMPL_IF -->
! </label>
! <!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! </p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </div>
!
! <div name="7XX" id="7XX" class="tab">
! <!-- TMPL_LOOP NAME="7XX" -->
<!-- TMPL_IF name="tag" -->
! <p class="MARCtag">
! <!-- TMPL_VAR NAME="tag" -->
! <input type="hidden" name="ind_tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="text" name="indicator" size="3"
maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" /> - <!-- TMPL_VAR
NAME="tag_lib" -->
! <!-- TMPL_IF name="repeatable" -->
! <a href="javascript:AddField('<!--
TMPL_VAR NAME="tag" -->')">+</a>
! <!-- /TMPL_IF -->
! </p>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="subfield_loop" -->
! <p>
! <label class="labelsubfield">
! <b><!-- TMPL_VAR
NAME="subfield" --></b>
! <!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF -->
! <!-- TMPL_VAR NAME="marc_lib"
-->
! <!-- TMPL_IF name="mandatory"
--> *</b><!-- /TMPL_IF -->
! </label>
! <!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! </p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </div>
!
! <div name="8XX" id="8XX" class="tab">
! <!-- TMPL_LOOP NAME="8XX" -->
<!-- TMPL_IF name="tag" -->
! <p class="MARCtag">
! <!-- TMPL_VAR NAME="tag" -->
! <input type="hidden" name="ind_tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="text" name="indicator" size="3"
maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" /> - <!-- TMPL_VAR
NAME="tag_lib" -->
! <!-- TMPL_IF name="repeatable" -->
! <a href="javascript:AddField('<!--
TMPL_VAR NAME="tag" -->')">+</a>
! <!-- /TMPL_IF -->
! </p>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="subfield_loop" -->
! <p>
! <label class="labelsubfield">
! <b><!-- TMPL_VAR
NAME="subfield" --></b>
! <!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF -->
! <!-- TMPL_VAR NAME="marc_lib"
-->
! <!-- TMPL_IF name="mandatory"
--> *</b><!-- /TMPL_IF -->
! </label>
! <!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! </p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </div>
!
! <div name="9XX" id="9XX" class="tab">
! <!-- TMPL_LOOP NAME="9XX" -->
<!-- TMPL_IF name="tag" -->
! <p class="MARCtag">
! <!-- TMPL_VAR NAME="tag" -->
! <input type="hidden" name="ind_tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="text" name="indicator" size="3"
maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" /> - <!-- TMPL_VAR
NAME="tag_lib" -->
! <!-- TMPL_IF name="repeatable" -->
! <a href="javascript:AddField('<!--
TMPL_VAR NAME="tag" -->')">+</a>
! <!-- /TMPL_IF -->
! </p>
<!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="subfield_loop" -->
! <p>
! <label class="labelsubfield">
! <b><!-- TMPL_VAR
NAME="subfield" --></b>
! <!-- TMPL_IF name="mandatory"
--><b><!-- /TMPL_IF -->
! <!-- TMPL_VAR NAME="marc_lib"
-->
! <!-- TMPL_IF name="mandatory"
--> *</b><!-- /TMPL_IF -->
! </label>
! <!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden"
name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! </p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
! </div>
!
! <div name="hidden" id="hidden" class="tab">
! <!-- TMPL_LOOP NAME="hidden_loop" -->
! <input type="hidden" name="tag" value="<!--
TMPL_VAR NAME="tag" -->" />
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
! <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden" name="tag_mandatory"
value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
! <!-- /TMPL_LOOP --> <br clear="both" />
! </div> <br clear="both" />
! <!-- TMPL_IF name="oldbiblionumtagfield" -->
! <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="oldbiblionumtagfield" -->" />
! <input type="hidden" name="subfield" value="<!--
TMPL_VAR NAME="oldbiblionumtagsubfield" -->" />
! <input type="hidden" name="field_value" value="<!--
TMPL_VAR NAME="oldbiblionumber" -->" />
! <input type="hidden" name="mandatory" value="0" />
! <input type="hidden" name="kohafield" value="<!--
TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="oldbiblioitemnumtagfield" -->" />
! <input type="hidden" name="subfield" value="<!--
TMPL_VAR NAME="oldbiblioitemnumtagsubfield" -->" />
! <input type="hidden" name="field_value" value="<!--
TMPL_VAR NAME="oldbiblioitemnumber" -->" />
! <input type="hidden" name="mandatory" value="0" />
! <input type="hidden" name="kohafield" value="<!--
TMPL_VAR NAME="kohafield" -->" />
! <input type="hidden" name="tag_mandatory" value="<!--
TMPL_VAR NAME="tag_mandatory" -->" />
! <!-- /TMPL_IF -->
! </form>
+ </div>
<script language="JavaScript" type="text/javascript">
+ function loading(){
+ document.getElementById("loading").style.display = "none";
+ }
function _(s) { return s } // dummy function for gettext
+ function confirmnotdup(){
+ document.getElementById("confirm_not_duplicate").value = 1;
+ var checkform = document.getElementById("f");
+ Check(checkform);
+ }
function active(numlayer)
{
! for (i=0; i <= 9 ; i++ ) {
ong = i+"XX";
link = "link"+i;
if (numlayer==i) {
+ with(document){
document.getElementById(ong).style.visibility="visible";
+ document.getElementById(link).style.color="#000066";
+
document.getElementById(link).style.backgroundColor="#FFFFCC";
+ }
} else {
+ with(document){
document.getElementById(ong).style.visibility="hidden";
+ document.getElementById(link).style.color="#669999";
+
document.getElementById(link).style.backgroundColor="#D8DEB8";
+ }
}
}
}
+ active(0);
function Check(f) {
// Scan for nonempty fields
***************
*** 347,350 ****
--- 451,455 ----
// Scan for missing mandatory subfields
var total_missing_mandatory_subfields = 0;
+ var missing_mandatory_subfields = new Array();
for (i=0 ; i<f.field_value.length-2 ; i++) {
if (f.field_value[i].value.length==0 &&
f.mandatory[i].value==1) {
***************
*** 355,361 ****
document.getElementById("error"+i).style.backgroundColor="#FF0000";
total_missing_mandatory_subfields++;
! }
} else {
!
document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
}
}
--- 460,476 ----
document.getElementById("error"+i).style.backgroundColor="#FF0000";
total_missing_mandatory_subfields++;
! if
(document.getElementById("error"+i).parentNode.tagName == "B")
! {
!
missing_mandatory_subfields.push(document.getElementById("error"+i).innerHTML +
" (tab " +
document.getElementById("error"+i).parentNode.parentNode.parentNode.parentNode.id.substr(0,1)
+ ")");
! }
! else
! {
!
missing_mandatory_subfields.push(document.getElementById("error"+i).innerHTML +
" (tab " +
document.getElementById("error"+i).parentNode.parentNode.parentNode.id.substr(0,1)
+ ")");
! }
!
! }
} else {
! // alert("I = "+i);
!
document.getElementById("error"+i).style.backgroundColor="#FFFFCC";
}
}
***************
*** 364,367 ****
--- 479,483 ----
var total_missing_mandatory_tags = 0;
var seen_mandatory_tag_p = new Array();
+ var missing_mandatory_tags = new Array();
for (i=0 ; i<f.field_value.length ; i++) {
var j = f.tag[i].value;
***************
*** 370,373 ****
--- 486,497 ----
seen_mandatory_tag_p[j] = 1;
total_missing_mandatory_tags++;
+ if (document.getElementById("error"+i).parentNode.tagName
== "B")
+ {
+
missing_mandatory_tags.push(document.getElementById("error"+i).innerHTML + "
(tab " +
document.getElementById("error"+i).parentNode.parentNode.parentNode.parentNode.id.substr(0,1)
+ ")");
+ }
+ else
+ {
+
missing_mandatory_tags.push(document.getElementById("error"+i).innerHTML + "
(tab " +
document.getElementById("error"+i).parentNode.parentNode.parentNode.id.substr(0,1)
+ ")");
+ }
}
document.getElementById("error"+i).style.backgroundColor="#ffff00";
***************
*** 381,385 ****
alertString2 +=
"\n------------------------------------------------------------------------------------\n";
alertString2 += "\n- "+ total_missing_mandatory_tags +_("
mandatory tags empty");
! alertString2 += "\n- "+ total_missing_mandatory_subfields +_("
mandatory fields empty (see highlighted subfields)");
alert(alertString2);
} else {
--- 505,517 ----
alertString2 +=
"\n------------------------------------------------------------------------------------\n";
alertString2 += "\n- "+ total_missing_mandatory_tags +_("
mandatory tags empty");
! for (i=0; i<missing_mandatory_tags.length; i++)
! {
! alertString2 += "\n--->"+ missing_mandatory_tags[i];
! }
! alertString2 += "\n- "+ total_missing_mandatory_subfields +_("
mandatory fields empty (see bold subfields)");
! for (i=0; i<missing_mandatory_subfields.length; i++)
! {
! alertString2 += "\n--->"+
missing_mandatory_subfields[i];
! }
alert(alertString2);
} else {
***************
*** 394,412 ****
function PopupZ3950() {
var strQuery="";
for (i=0 ; i<document.forms[0].field_value.length ; i++) {
! if (document.forms[0].kohafield[i].value == "biblioitems.isbn"
&& document.forms[0].field_value[i].value.length>0) {
strQuery += "&isbn="+document.forms[0].field_value[i].value;
}
! if (document.forms[0].kohafield[i].value == "biblio.title" &&
document.forms[0].field_value[i].value.length>0) {
strQuery +=
"&title="+document.forms[0].field_value[i].value;
}
! if (document.forms[0].kohafield[i].value == "biblio.author"
&&document.forms[0].field_value[i].value.length>0) {
strQuery +=
"&author="+document.forms[0].field_value[i].value;
}
! if (document.forms[0].kohafield[i].value == "biblioitems.issn"
&& document.forms[0].field_value[i].value.length>0) {
strQuery += "&issn="+document.forms[0].field_value[i].value;
}
}
! newin=window.open("../z3950/search.pl?bibid=<!-- TMPL_VAR NAME="bibid"
-->"+strQuery,"z3950search",'width=500,height=400,toolbar=false,scrollbars=yes');
}
--- 526,565 ----
function PopupZ3950() {
var strQuery="";
+ var error = 0;
for (i=0 ; i<document.forms[0].field_value.length ; i++) {
! if (document.forms[0].kohafield[i].value == "biblioitems.isbn"){
! if(document.forms[0].field_value[i].value.length>0) {
strQuery += "&isbn="+document.forms[0].field_value[i].value;
+ } else {
+ error++;
}
! }
! if (document.forms[0].kohafield[i].value == "biblio.title"){
! if(document.forms[0].field_value[i].value.length>0) {
strQuery +=
"&title="+document.forms[0].field_value[i].value;
+ } else {
+ error++;
}
! }
! if (document.forms[0].kohafield[i].value == "biblio.author"){
! if(document.forms[0].field_value[i].value.length>0) {
strQuery +=
"&author="+document.forms[0].field_value[i].value;
+ } else {
+ error++;
+ }
}
! if (document.forms[0].kohafield[i].value == "biblioitems.issn"){
! if(document.forms[0].field_value[i].value.length>0) {
strQuery += "&issn="+document.forms[0].field_value[i].value;
+ } else {
+ error++;
+ }
}
}
! if(error < 4){
! newin=window.open("../z3950/search.pl?bibid=<!-- TMPL_VAR NAME="bibid"
-->"+strQuery,"z3950search",'width=640,height=400,location=yes,toolbar=no,scrollbars=yes');
! } else {
! alert("To perform a z39.50 search, you must enter at least one
of the following: \n\n ISBN\n ISSN\n Title\n Author\n");
! }
}
***************
*** 416,472 ****
document.f.submit();
}
!
! // tabs functions
!
! var currentPanel;
! function showPanel(panelNum) {
! //hide visible panel, show selected panel,
! //set tab
! if (currentPanel != null) {
! hidePanel();
! }
! document.getElementById
! ('panel'+panelNum).style.display = 'block';
! currentPanel = panelNum;
! setState(panelNum);
! }
! function hidePanel() {
! //hide visible panel, unhilite tab
! document.getElementById
! ('panel'+currentPanel).style.display = 'none';
! document.getElementById
! ('tab'+currentPanel).style.backgroundColor =
! '#D8DEB8';
! document.getElementById
! ('tab'+currentPanel).style.color = '#000066';
! }
! function setState(tabNum) {
! if (tabNum==currentPanel) {
! document.getElementById
! ('tab'+tabNum).style.backgroundColor =
! '#FFFFCC';
! document.getElementById
! ('tab'+tabNum).style.color = '#000066';
! }
! else {
! document.getElementById
! ('tab'+tabNum).style.backgroundColor =
! '#D8DEB8';
! document.getElementById
! ('tab'+tabNum).style.color = '#000066';
! }
! }
! function hover(tab) {
! tab.style.backgroundColor = '#ccff99';
! tab.style.color = '#330000';
! }
!
! function confirm_deletion() {
! var is_confirmed = confirm('Are you sure you want to delete this
biblio?');
! if (is_confirmed) {
! window.location="addbiblio.pl?op=delete&bibid=<!-- TMPL_VAR
name="bibid" -->";
! }
! }
! </script>
! </body>
</html>
--- 569,572 ----
document.f.submit();
}
! </script></body>
</html>
Index: addbooks.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple/addbooks.tmpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** addbooks.tmpl 3 Feb 2005 17:42:12 -0000 1.6
--- addbooks.tmpl 2 May 2005 18:11:12 -0000 1.7
***************
*** 5,27 ****
<div id="main">
! <h1>Catalog Maintenance</h1>
! <!-- TMPL_IF name="noitemsfound" -->
! <p> </p>
! <font color="red" size="4">No items found</font>
! <!-- /TMPL_IF -->
!
! <form class="inline" action="isbnsearch.pl">
! <ul class="notes"><li>If the ISBN is found into the biblio table, it
will be retrieved and can be modified.</li>
! <li>If the ISBN is found into the reservoir, it will be retrieved, and
a biblio added.</li>
! <li>Otherwise, a biblio can be added from scratch.</li></ul>
! <div class="data"><table><caption>Search Existing Records</caption>
! <tr><th><label for="isbn">ISBN:</label></th><td><input type="text" id="isbn"
name="isbn" /></td></tr>
! <tr><th><label for="title">Title</label></th><td><input type="text"
id="title" name="title" /></td></tr>
! </table></div>
! <p><input type="submit" class="submit" value="Search" /> </p></form>
<!-- TMPL_IF NAME="NOTMARC" -->
!
! <form action="addbiblio.pl"><p> <input type="submit" value="Add Record
Without Search" class="submit" /></p></form>
<!-- TMPL_ELSE -->
<form action="addbiblio.pl" method="post">
--- 5,37 ----
<div id="main">
! <h1>Catalog Maintenance</h1>
! <!-- TMPL_IF name="noitemsfound" -->
! <font color="red" size="4">No items found</font>
! <!-- /TMPL_IF -->
!
! <div class="data">
! <form action="isbnsearch.pl">
! <table>
! <caption>Search Existing Records</caption>
! <tr><th><label for="title">Title</label></th>
! <td><input type="hidden" name="marclist"
value="biblio.title"><input type="hidden" name="and_or" value="and" />
! <input type="hidden" name="excluding" value=""
/>
! <input type="hidden" name="operator"
value="contains" />
! <input type="text" name="value"
id="title"size="35" /></td></tr>
! <tr><th><label for="isbn">ISBN</label></th>
! <td><input type="hidden" name="marclist"
value="biblioitems.isbn" />
! <input type="hidden" name="and_or" value="and"
/>
! <input type="hidden" name="excluding" value=""
/>
! <input type="hidden" name="operator"
value="start" />
! <input type="text" name="value"
id="isbn"size="35" /></td></tr>
! </table></div>
! <p><input type="submit" value="Search"
class="submit" /></p>
! <div class="help"><ul class="notes"><li>If the
ISBN is found into the database, that record will be retrieved and can be
modified.</li>
! <li>If the ISBN is found in the reservoir, it will be retrieved and a
full record added.</li>
! <li>Otherwise, a record can be added from scratch.</li></ul></div>
! </form>
<!-- TMPL_IF NAME="NOTMARC" -->
! <form action="addbiblio.pl"><p> <input type="submit" value="Add
Record Without Search" class="submit" /></p></form>
<!-- TMPL_ELSE -->
<form action="addbiblio.pl" method="post">
***************
*** 33,52 ****
<option value="<!--
TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="frameworktext" --></option>
<!-- /TMPL_LOOP -->
! </select></td></tr>
! </table></div>
! <p> <input type="submit" value="Add Record Without Search" class="submit"
/></p></form>
<!-- /TMPL_IF -->
! <!-- Display for NPL <div class="form">
! <h3>Cataloging Item Search by Barcode</h3>
! <form action="/bcd.php" method="post">
! <table><tr><th><label for="barcode">Barcode: </label></th><td><input
type="text" size="14" maxlength="14" name="barcode" id="barcode"
/></td></tr></table>
!
! <input type="submit" class="submit" value="Submit" />
</form>
! </div>< /Display for NPL -->
!
!
</div>
--- 43,56 ----
<option value="<!--
TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="frameworktext" --></option>
<!-- /TMPL_LOOP -->
! </select> <input type="submit"
value="Add Record Without Search" class="submit" /></td></tr>
! </table></div></form>
<!-- /TMPL_IF -->
! <!-- Display for NPL //
! <form action="/intranet-bcd.php" method="post">
! <div class="data"><table><caption>Cataloging Item Search by
Barcode</caption><tr><th><label for="barcode">Barcode: </label></th><td><input
type="text" size="14" maxlength="14" name="barcode" id="barcode" /> <input
type="submit" class="submit" value="Submit" /></td></tr></table></div>
</form>
! //Display for NPL -->
</div>
Index: additem.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple/additem.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** additem.tmpl 22 Oct 2004 20:49:14 -0000 1.3
--- additem.tmpl 2 May 2005 18:11:12 -0000 1.4
***************
*** 5,65 ****
<div id="main">
! <h1>Items for Bibliographic Record <!-- TMPL_VAR name="biblionumber" --></h1>
! <div class="tabitem">
! <form action="/cgi-bin/koha/acqui.simple/addbiblio.pl" method="get"><input
type="hidden" name="oldbiblionumber" value="<!-- TMPL_VAR name="biblionumber"
-->"><input type="submit" class="submit" value="Edit Bibliographic
Record"></form> <form action="/cgi-bin/koha/detail.pl" method="get"><input
type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->"> <input
type="submit" class="submit" value="View in Catalog"></form>
! </div>
! <div class="error">Date Accessioned must be entered in this format: <span
class="ex">yyyy-mm-dd</span></div>
! <!-- TMPL_IF NAME="item_loop" -->
! <div class="table">
! <table class="editing">
! <caption>Existing Items</caption>
! <tr>
! <!-- TMPL_LOOP name="item_header_loop" --><th><tmpl_var
name="header_value"></th><!-- /TMPL_LOOP --><th colspan="2"> </th>
! </tr>
! <!-- TMPL_LOOP name="item_loop" -->
! <tr>
! <!-- TMPL_VAR name="item_value" -->
! <td><a
href="/cgi-bin/koha/acqui.simple/additem.pl?op=edititem&bibid=<!-- TMPL_VAR
name="bibid" -->&itemnum=<!-- TMPL_VAR name="itemnum" -->">Edit</a> </td>
! <td><a href="#" onclick="confirm_deletion(<!-- TMPL_VAR name="bibid" -->,<!--
TMPL_VAR name="itemnum" -->)">Delete</a></td>
</tr>
! <!-- /TMPL_LOOP -->
! </table>
</div>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="barcode_not_unique" -->
- <div class="error">ERROR: Barcode already exists!</div>
- <!-- /TMPL_IF -->
- <div class="form">
- <h3><!-- TMPL_IF name="opisadd" -->Add New Item<!-- TMPL_ELSE -->Update
Item<!-- /TMPL_IF --></h3>
- <form method="post" action="additem.pl" name="f">
- <input type="hidden" name="op" value="<!-- TMPL_VAR name="op" -->">
- <input type="hidden" name="bibid" value="<!-- TMPL_VAR name="bibid" -->">
- <table>
- <!-- TMPL_LOOP name="item" -->
- <tr>
- <th><!-- TMPL_IF name="mandatory" --><!-- /TMPL_IF --><!-- TMPL_VAR
name="marc_lib" --><!-- TMPL_IF name="mandatory" --> *<!-- /TMPL_IF --></th>
- <td>
- <!-- TMPL_VAR name="marc_value" -->
- <input type="hidden" name="tag" value="<!-- TMPL_VAR
name="tag" -->">
- <input type="hidden" name="subfield" value="<!--
TMPL_VAR name="subfield" -->">
- <input type="hidden" name="mandatory" value="<!--
TMPL_VAR name="mandatory" -->">
- </td>
- </tr>
- </tmpl_loop>
- </table>
- <input type="hidden" name="itemnum" value="<!-- TMPL_VAR name="itemnum" -->">
-
- <!-- TMPL_IF name="opisadd" -->
- <input type="button" value="Add Item" onClick="Check(this.form); return
false;" class="submit" accesskey="w">
- <!-- TMPL_ELSE -->
- <input type="hidden" name="tag" value="<!-- TMPL_VAR name="itemtagfield" -->">
- <input type="hidden" name="subfield" value="<!-- TMPL_VAR
name="itemtagsubfield" -->">
- <input type="hidden" name="field_value" value="<!-- TMPL_VAR name="itemnum"
-->">
- <input type="button" value="Save Changes" onClick="Check(this.form); return
false;" class="submit" accesskey="w">
- <!-- /TMPL_IF -->
- </form>
- </div></div>
<script language="JavaScript" type="text/javascript">
function active(numlayer)
{
--- 5,71 ----
<div id="main">
+ <h1>Edit Items for Bibliographic Record <!-- TMPL_VAR NAME="biblionumber"
--></h1>
! <div class="tabitem"><form
action="/cgi-bin/koha/acqui.simple/addbiblio.pl" method="get"><input
type="hidden" name="oldbiblionumber" value="<!-- TMPL_VAR name="biblionumber"
-->"><input type="submit" class="submit" value="Edit Bibliographic
Record"></form> <form action="acqui.simple/addbiblio.pl" method="get"><input
type="hidden" name="oldbiblionumber" value="<!-- TMPL_VAR NAME="biblionumber"
-->" /><input type="hidden" name="op" value="duplicate" /><input type="submit"
class="submit" value="Duplicate this Record" /></form></div> <div
class="tabitem"><form action="/cgi-bin/koha/detail.pl" method="get"><input
type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->"> <input
type="submit" class="submit" value="View in Catalog"></form> <form
action="/cgi-bin/koha/MARCdetail.pl" method="get"><input type="hidden"
name="bib" value="<!-- TMPL_VAR name="biblionumber" -->"> <input type="submit"
class="submit" value="View MARC in Catalog"></form> <form
action="/cgi-bin/koha/ISBDdetail.pl" method="get"><input type="hidden"
name="bib" value="<!-- TMPL_VAR name="biblionumber" -->"> <input type="submit"
class="submit" value="View ISBD in Catalog"></form></div>
!
! <form method="post" action="additem.pl" name="f">
! <input type="hidden" name="op" value="<!-- TMPL_VAR NAME="op" -->" />
! <input type="hidden" name="bibid" value="<!-- TMPL_VAR NAME="bibid"
-->">
! <!-- TMPL_IF name="item_loop" -->
! <div name="10XX" id="10XX">
! <table class="editing">
! <caption>Existing items</caption>
! <tr>
! <!-- TMPL_LOOP NAME="item_header_loop"
-->
! <th>
! <!-- TMPL_VAR
NAME="header_value" -->
! </th>
! <!-- /TMPL_LOOP -->
! <th colspan="2"> </th>
! </tr>
! <!-- TMPL_LOOP NAME="item_loop" -->
! <tr>
! <!-- TMPL_VAR NAME="item_value"
-->
! <td><a
href="additem.pl?op=edititem&bibid=<!-- TMPL_VAR NAME="bibid"
-->&itemnum=<!-- TMPL_VAR NAME="itemnum" -->">Edit</a></td>
! <td><a
href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="bibid" -->,<!-- TMPL_VAR
NAME="itemnum" -->)">Delete</a></td>
! </tr>
! <!-- /TMPL_LOOP -->
! </table>
! </div>
! <!-- /TMPL_IF -->
!
! <div class="data">
! <table>
! <!-- TMPL_IF name="opisadd" -->
! <caption>Add Item</caption>
! <!-- TMPL_ELSE -->
! <caption>Edit Item</caption>
! <!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="item" -->
! <tr>
! <th><label><!-- TMPL_VAR
NAME="subfield" --> - <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!--
TMPL_VAR NAME="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!--
/TMPL_IF --></label></th>
! <td><!-- TMPL_VAR NAME="marc_value" -->
! <input type="hidden" name="tag"
value="<!-- TMPL_VAR NAME="tag" -->">
! <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->">
! <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->"></td>
</tr>
! <!-- /tmpl_loop -->
! </table>
! <input type="hidden" name="itemnum" value="<!-- TMPL_VAR NAME="itemnum"
-->">
! <!-- TMPL_IF name="barcode_not_unique" -->
! <div class="error"><b>ERROR : Barcode already exists !<b></div>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="opisadd" -->
! <input type="button" value="Add item" class="submit"
onClick="Check(this.form)" accesskey="w">
! <!-- TMPL_ELSE -->
! <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="itemtagfield" -->">
! <input type="hidden" name="subfield" value="<!-- TMPL_VAR
NAME="itemtagsubfield" -->">
! <input type="hidden" name="field_value" value="<!-- TMPL_VAR
NAME="itemnum" -->">
! <input type="button" value="Save Changes" class="submit"
onClick="Check(this.form)" accesskey="w">
! <!-- /TMPL_IF -->
! </form>
</div>
<script language="JavaScript" type="text/javascript">
+ function _(s) { return s } // dummy function for gettext
function active(numlayer)
{
***************
*** 70,74 ****
document.getElementById(ong).style.visibility="visible";
document.getElementById(link).style.backgroundColor="#11AA11";
!
document.getElementById(link).style.backgroundImage="url(<!-- TMPL_VAR
name="themelang" -->/images/background-mem.gif)";
} else {
document.getElementById(ong).style.visibility="hidden";
--- 76,80 ----
document.getElementById(ong).style.visibility="visible";
document.getElementById(link).style.backgroundColor="#11AA11";
!
document.getElementById(link).style.backgroundImage="url(<!-- TMPL_VAR
NAME="themelang" -->/images/background-mem.gif)";
} else {
document.getElementById(ong).style.visibility="hidden";
***************
*** 94,100 ****
document.f.submit();
} else {
! alertString2 = "Form not submitted because of the following
problem(s)\n";
! alertString2 +=
"------------------------------------------------------------------------------------\n\n";
! alertString2 += "- "+ total_errors+" mandatory fields empty
(see bold subfields)";
alert(alertString2);
}
--- 100,106 ----
document.f.submit();
} else {
! alertString2 = _("Form not submitted because of the following
problem(s)");
! alertString2 +=
"\n------------------------------------------------------------------------------------\n";
! alertString2 += "\n- "+ total_errors+_(" mandatory fields empty
(see bold subfields)");
alert(alertString2);
}
***************
*** 105,109 ****
}
function confirm_deletion(bibid,itemnum) {
! var is_confirmed = confirm('Do you confirm item deletion ?');
if (is_confirmed) {
window.location =
"additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;
--- 111,115 ----
}
function confirm_deletion(bibid,itemnum) {
! var is_confirmed = confirm(_('Are you sure you want to delete this
item?'));
if (is_confirmed) {
window.location =
"additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;
***************
*** 111,114 ****
}
</script>
! </body>
! </html>
--- 117,119 ----
}
</script>
! <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
Index: isbnsearch.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple/isbnsearch.tmpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** isbnsearch.tmpl 15 Feb 2005 20:22:02 -0000 1.5
--- isbnsearch.tmpl 2 May 2005 18:11:12 -0000 1.6
***************
*** 3,77 ****
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
! <div id="main"><h2>Biblio Search Results for <span class="ex"><!-- TMPL_IF
name="isbn" -->ISBN <!-- TMPL_VAR name="isbn" --><!-- /TMPL_IF --><!-- TMPL_IF
name="title" -->title <!-- TMPL_VAR name="title" --><!-- /TMPL_IF
--></span></h2>
<!-- TMPL_IF name="total" --><div id="results">
! <!-- TMPL_VAR NAME=total --> results found<br />
! Results <!-- TMPL_VAR name="showoffset" --> to <!-- TMPL_VAR name="total" -->
displayed
</div><!-- /TMPL_IF -->
!
! <!-- TMPL_IF name="total" -->
! <div id="pages"><!-- TMPL_IF NAME="displayprev" -->
! <a class="pages" href="isbnsearch.pl?offset=<!-- TMPL_VAR
NAME="prevstartfrom" -->&<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
name="value" ESCAPE="URL" -->"><< Prev</a>
<!-- /TMPL_IF -->
- <!-- TMPL_LOOP NAME="numbers" -->
- <!-- TMPL_IF NAME="highlight" -->
- <span class="current"><!-- TMPL_VAR NAME="number" --></span>
- <!-- TMPL_ELSE -->
- <a class="pages" href="isbnsearch.pl?offset=<!-- TMPL_VAR
NAME="startfrom" -->&<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
name="value" ESCAPE="URL" -->"><!-- TMPL_VAR NAME=number --></a>
- <!-- /TMPL_IF -->
- <!-- /TMPL_LOOP -->
- <!-- TMPL_IF NAME="displaynext" -->
- <a class="pages" href="isbnsearch.pl?offset=<!-- TMPL_VAR
NAME="nextstartfrom" -->&<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
name="value" ESCAPE="URL" -->">Next >></a>
- <!-- /TMPL_IF --></div><!-- /TMPL_IF -->
-
<table>
<caption>Existing Bibliographic Records</caption>
! <tr>
! <th>Title</th>
! <th>Author</th>
! <th>©</th>
! <th>Call Number</th>
! <th> </th>
! </tr>
! <!-- TMPL_IF name="loop" -->
! <!-- TMPL_LOOP name="loop" -->
! <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr
class="highlight"><!-- /TMPL_IF -->
! <td><a class="searchresults"
href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!--
TMPL_VAR name="title" --></a>
! <td><!-- TMPL_VAR name="author" --></td>
! <td><!-- TMPL_IF name="copyrightdate" --><!-- TMPL_VAR
name="copyrightdate" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td>
! <td><!-- TMPL_IF NAME="classification" --><!-- TMPL_VAR
NAME="classification" --><!-- /TMPL_IF --></td>
! <!-- TMPL_IF NAME="NOTMARC" -->
! <td><a href="additem-nomarc.pl?biblionumber=<!--
TMPL_VAR NAME="biblionumber" -->">Add items</a></td>
! <!-- TMPL_ELSE -->
! <td><a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR
NAME="biblionumber" -->">Edit Record</a></td>
! <!-- /TMPL_IF -->
! </tr>
! <!-- /TMPL_LOOP -->
! <!-- TMPL_ELSE -->
<tr><td colspan="6">Nothing found</td></tr>
<!-- /TMPL_IF -->
! </table>
<!-- TMPL_IF name="breeding_loop" -->
<table>
<caption>Bibliographic Records in the Reservoir</caption>
! <tr>
! <th>Title</th>
! <th>Author</th>
! <th>ISBN</th>
! <th>coming from</th>
! <th> </th>
! <th> </th>
! </tr>
! <!-- TMPL_LOOP name="breeding_loop" -->
! <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr
class="highlight"><!-- /TMPL_IF -->
! <td><!-- TMPL_VAR name="title" --></a>
! <td><!-- TMPL_VAR name="author" --></td>
! <td><!-- TMPL_VAR name="isbn" --></td>
! <td><!-- TMPL_VAR name="file" --></td>
! <td><a href="addbiblio.pl?breedingid=<!-- TMPL_VAR
name="id" -->">Add biblio</a></td>
! </tr>
! <!-- /TMPL_LOOP -->
! </table><!-- TMPL_ELSE --><div class="details"><h3>No records found in the
Reservoir</h3></div><!-- /TMPL_IF -->
<div class="details">
--- 3,91 ----
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
! <div id="main"><h2>Search Results for <span class="ex"><!-- TMPL_IF
name="isbn" -->ISBN <!-- TMPL_VAR name="isbn" --><!-- /TMPL_IF --><!-- TMPL_IF
name="title" -->title <!-- TMPL_VAR name="title" --><!-- /TMPL_IF
--></span></h2>
<!-- TMPL_IF name="total" --><div id="results">
! Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!--
TMPL_VAR NAME="total" -->
</div><!-- /TMPL_IF -->
!
! <!-- TMPL_IF name="loop" -->
! <div id="pages">
! <!-- TMPL_IF NAME="displayprev" -->
! <a class="pages"
href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&<!--
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage"
-->&type=intranet&op=do_search"><<Previous</a><!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="numbers" -->
! <!-- TMPL_IF NAME="highlight"
-->
! <span
class="current"><!-- TMPL_VAR NAME="number" --></span>
! <!-- TMPL_ELSE --><a
class="pages" href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfrom"
-->&<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!--
TMPL_VAR NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!--
TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search"><!--
TMPL_VAR NAME="number" --></a><!-- /TMPL_IF --><!-- /TMPL_LOOP --> <!-- TMPL_IF
NAME="displaynext" --> <a class="pages"
href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&<!--
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->&resultsperpage=<!--
TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search">Next>></a><!-- /TMPL_IF -->
! </div>
<!-- /TMPL_IF -->
<table>
<caption>Existing Bibliographic Records</caption>
! <tr>
! <th>Title</th>
! <th>Author</th>
! <th>©</th>
! <th>Call Number</th>
! <th> </th>
! <!-- TMPL_UNLESS NAME="NOTMARC" -->
! <th colspan="2"> </th>
! <!-- /TMPL_UNLESS -->
! </tr>
! <!-- TMPL_IF name="loop" -->
! <!-- TMPL_LOOP NAME="loop" -->
! <tr>
! <td><a
href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!--
TMPL_VAR NAME="title" --></a></td>
! <td><!-- TMPL_VAR NAME="author"
--></td>
! <td><!-- TMPL_IF
name="copyrightdate" --><!-- TMPL_VAR name="copyrightdate" --><!-- TMPL_ELSE
--> <!-- /TMPL_IF --></td>
! <td><!-- TMPL_IF NAME="classification" --><!-- TMPL_VAR NAME="classification"
--><!-- /TMPL_IF --></td>
! <!-- TMPL_IF NAME="NOTMARC" -->
! <td><a
href="additem-nomarc.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Add
items</a></td>
! <!-- TMPL_ELSE -->
! <td><a
href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Edit
Biblio</a></td>
! <td><a
href="additem.pl?bibid=<!-- TMPL_VAR NAME="bibid" -->">Edit Items</a></td>
! <!-- /TMPL_IF -->
! <!-- TMPL_UNLESS NAME="NOTMARC"
-->
! <td><a
href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber"
-->&op=duplicate">Duplicate</a></td><!-- /TMPL_UNLESS --></tr>
! <!-- /TMPL_LOOP -->
! <!-- TMPL_ELSE -->
<tr><td colspan="6">Nothing found</td></tr>
<!-- /TMPL_IF -->
! </table>
!
! <div id="pages">
! <!-- TMPL_IF NAME="displayprev" -->
! <a class="pages"
href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&<!--
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage"
-->&type=intranet&op=do_search"><<Previous</a><!-- /TMPL_IF -->
! <!-- TMPL_LOOP NAME="numbers" -->
! <!-- TMPL_IF NAME="highlight"
-->
! <span
class="current"><!-- TMPL_VAR NAME="number" --></span>
! <!-- TMPL_ELSE --><a
class="pages" href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfrom"
-->&<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!--
TMPL_VAR NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!--
TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search"><!--
TMPL_VAR NAME="number" --></a><!-- /TMPL_IF --><!-- /TMPL_LOOP --> <!-- TMPL_IF
NAME="displaynext" --> <a class="pages"
href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&<!--
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->&resultsperpage=<!--
TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search">Next>></a><!-- /TMPL_IF -->
! </div>
! <br />
<!-- TMPL_IF name="breeding_loop" -->
<table>
<caption>Bibliographic Records in the Reservoir</caption>
! <tr>
! <th>Title</th>
! <th>Author</th>
! <th>ISBN</th>
! <th>coming from</th>
! <th> </th>
! <th> </th>
! </tr>
! <!-- TMPL_LOOP NAME="breeding_loop" -->
! <!-- TMPL_IF NAME="highlight"
--><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
! <td><!-- TMPL_VAR
NAME="title" --></a>
! <td><!-- TMPL_VAR
NAME="author" --></td>
! <td><!-- TMPL_VAR
NAME="isbn" --></td>
! <td><!-- TMPL_VAR
NAME="file" --></td>
! <!-- TMPL_IF
NAME="NOTMARC" -->
!
! <!-- TMPL_ELSE -->
! <td><a
href="addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->">Add biblio</a></td>
! <!-- /TMPL_IF -->
! </tr>
! <!-- /TMPL_LOOP -->
! </table>
! <!-- TMPL_ELSE --><div class="details"><h3>No records found in the
Reservoir</h3></div><!-- /TMPL_IF -->
<div class="details">
***************
*** 88,90 ****
</div>
! <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
--- 102,104 ----
</div>
! <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple addbiblio.tmpl,1.5,1.6 addbooks.tmpl,1.6,1.7 additem.tmpl,1.3,1.4 isbnsearch.tmpl,1.5,1.6,
Owen Leonard <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/acqui basket.tmpl,1.3,1.4 newbiblio.tmpl,1.2,1.3 order.tmpl,1.3,1.4 recieve.tmpl,1.2,1.3 recieveorder.tmpl,1.2,1.3 suggestion-select.tmpl,1.2,1.3
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/authorities auth_finder.tmpl,1.1,1.2 authorities-home.tmpl,1.3,1.4 authorities.tmpl,1.1,1.2 detail-biblio-search.tmpl,1.1,1.2 detail.tmpl,1.1,1.2 searchresultlist-auth.tmpl,1.1,1.2 searchresultlist.tmpl,1.1,1.2
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/acqui basket.tmpl,1.3,1.4 newbiblio.tmpl,1.2,1.3 order.tmpl,1.3,1.4 recieve.tmpl,1.2,1.3 recieveorder.tmpl,1.2,1.3 suggestion-select.tmpl,1.2,1.3
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/authorities auth_finder.tmpl,1.1,1.2 authorities-home.tmpl,1.3,1.4 authorities.tmpl,1.1,1.2 detail-biblio-search.tmpl,1.1,1.2 detail.tmpl,1.1,1.2 searchresultlist-auth.tmpl,1.1,1.2 searchresultlist.tmpl,1.1,1.2
- Index(es):