[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/cataloguin...
From: |
Tumer Garip |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/cataloguin... |
Date: |
Mon, 11 Sep 2006 17:13:58 +0000 |
CVSROOT: /sources/koha
Module name: koha
Changes by: Tumer Garip <tgarip1957> 06/09/11 17:13:58
Modified files:
koha-tmpl/intranet-tmpl/prog/en/cataloguing: addbiblio.tmpl
addbooks.tmpl
additem.tmpl
isbnsearch.tmpl
Log message:
Fixes a bug with MARChtml2xml and sync with dev_week
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio.tmpl?cvsroot=koha&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbooks.tmpl?cvsroot=koha&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem.tmpl?cvsroot=koha&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/isbnsearch.tmpl?cvsroot=koha&r1=1.2&r2=1.3
Patches:
Index: addbiblio.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- addbiblio.tmpl 19 Jan 2006 12:48:00 -0000 1.1
+++ addbiblio.tmpl 11 Sep 2006 17:13:58 -0000 1.2
@@ -1,411 +1,198 @@
-<!-- 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.inc" -->
-
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Cataloging: <!-- TMPL_IF
NAME="oldbiblionumtagfield" -->Edit MARC Record Number <!-- TMPL_VAR
name="biblionumber" --><!-- TMPL_ELSE -->Add MARC Record<!-- /TMPL_IF --><!--
TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!--TMPL_UNLESS NAME="fromserials" -->
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
+<!--/TMPL_UNLESS-->
+
+<!-- TMPL_IF name="error" -->
+ <div class="error">
+ <!--TMPL_IF NAME="onloan"-->
+ <ul>
+ <li>Item currenly onloan you can not
DELETE!</li>
+ <li><a
href="/cgi-bin/koha/mainpage.pl">Return to home page</a></li>
+ </ul>
+ <!--/TMPL_IF-->
+ <!--TMPL_IF NAME="xmlerror"-->
+ <ul>
+ <li>Non UTF-8 characters present or
malformed XML</li>
+ <li>Please correct and save.</li>
+ </ul>
+ <!--/TMPL_IF-->
+ </div>
+<!-- /TMPL_IF -->
+<!--TMPL_UNLESS NAME="onloan"-->
<form method="post" name="f" id="f" action="addbiblio.pl">
<h1><!-- TMPL_IF NAME="oldbiblionumtagfield" -->Edit MARC Record Number <!--
TMPL_VAR name="oldbiblionumber" --><!-- TMPL_ELSE -->Add MARC Record<!--
/TMPL_IF --> With Framework : <!--TMPL_VAR Name="framework" --></h1>
+<div class="tabitem">
+ <input type="hidden" name="fromserials" value="<!-- TMPL_VAR
NAME="fromserials" -->" />
<input type="hidden" name="op" value="addbiblio" />
- <input type="hidden" name="addfield_field" />
+ <input type="hidden" name="addfield_field" /><input
type="hidden" name="duplicateok" value="<!-- TMPL_VAR NAME="duplicateok" -->" />
<input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR
NAME="frameworkcode" -->" />
<input type="hidden" name="oldbiblionumber" value="<!--
TMPL_VAR NAME="oldbiblionumber" -->" />
- <!-- TMPL_IF name="0XX" -->
- <a href="#0XX">0</a>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="1XX" -->
- <a href="#1XX">1</a>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="2XX" -->
- <a href="#2XX">2</a>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="3XX" -->
- <a href="#3XX">3</a>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="4XX" -->
- <a href="#4XX">4</a>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="5XX" -->
- <a href="#5XX">5</a>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="6XX" -->
- <a href="#6XX">6</a>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="7XX" -->
- <a href="#7XX">7</a>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="8XX" -->
- <a href="#8XX">8</a>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="9XX" -->
- <a href="#9XX">9</a>
+ <!-- TMPL_IF name="biblionumber" -->
+ <input type="button" value="Save Bibliographic Record
and go to Items" onclick="Check(this.form);" accesskey="w" class="submit" />
+ <!-- TMPL_ELSE -->
+ <!--TMPL_UNLESS NAME="fromserials" -->
+ <input type="button" value="Add Bibliographic Record
and go to Items" onclick="Check(this.form);" accesskey="w" class="submit" />
+ <!-- TMPL_ELSE -->
+ <input type="button" value="Add Bibliographic Record"
onclick="Check(this.form);" accesskey="w" class="submit" />
+ <!--/TMPL_UNLESS-->
<!-- /TMPL_IF -->
+ <input type="button" value="z39.50 Search" class="submit"
onclick="PopupZ3950(); return false;" / >
+</div>
- <div id="0XX">
+<br>
+ <div class="tabs">
+ <!-- TMPL_LOOP name="BIG_LOOP" -->
+ <a href="#" onclick="active(<!-- TMPL_VAR name="number"-->);
return false;" id="link<!-- TMPL_VAR name="number"-->"><!-- TMPL_VAR
name="number"--></a>
+ <!-- /TMPL_LOOP -->
+ </div>
+
+<! -- RESET PAGINATION -->
+<!-- TMPL_LOOP name="BIG_LOOP" -->
+<!-- hide every tab except the 1st -->
+<!-- TMPL_IF name="number" -->
+ <div name="<!-- TMPL_VAR name="number" -->XX" id="<!-- TMPL_VAR
name="number" -->XX" class="tab" style="visibility:hidden">
+<!-- TMPL_ELSE -->
+ <div name="<!-- TMPL_VAR name="number" -->XX" id="<!-- TMPL_VAR
name="number" -->XX" class="tab" style="visibility:visible">
+<!-- /TMPL_IF -->
+<!-- TMPL_UNLESS name="number" -->
+ <!-- show duplicate warning on tab 0 only -->
<!-- TMPL_IF name="duplicatebiblionumber" -->
-
- <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>
+ <div class="error">
+ <p>Is this a duplicate of <a
href="../catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR
name="duplicatebiblionumber" -->"
onclick="openWindow('../catalogue/MARCdetail.pl?biblionumber=<!-- 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 is a duplicate, <a
href="additem.pl?bibid=<!-- TMPL_VAR name="duplicatebibid" -->">Edit Items</a>
of the existing record.</li>
+ <li>If it <em>is</em> a duplicate, <a
href="additem.pl?biblionumber=<!-- TMPL_VAR name="duplicatebiblionumber"
-->">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>
- <!-- 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>
- <!-- TMPL_VAR NAME="subfield"
-->
- <!-- TMPL_IF name="mandatory"
--><!-- /TMPL_IF -->
- <!-- TMPL_VAR NAME="marc_lib"
-->
- <!-- TMPL_IF name="mandatory"
--> *<!-- /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 id="1XX">
- <!-- TMPL_LOOP NAME="1XX" -->
- <!-- TMPL_IF name="tag" -->
- <p>
- <!-- 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>
- <!-- TMPL_VAR NAME="subfield"
-->
- <!-- TMPL_IF name="mandatory"
--><!-- /TMPL_IF -->
- <!-- TMPL_VAR NAME="marc_lib"
-->
- <!-- TMPL_IF name="mandatory"
--> *<!-- /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 id="2XX">
- <!-- TMPL_LOOP NAME="2XX" -->
+ <!-- /TMPL_UNLESS -->
+ <!-- TMPL_LOOP NAME="innerloop" -->
+ <div style=";" id="tag<!-- TMPL_VAR name="tag"-->">
<!-- TMPL_IF name="tag" -->
- <p>
- <!-- 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>
- <!-- TMPL_VAR NAME="subfield"
-->
- <!-- TMPL_IF name="mandatory"
--><!-- /TMPL_IF -->
- <!-- TMPL_VAR NAME="marc_lib"
-->
- <!-- TMPL_IF name="mandatory"
--> *<!-- /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 id="3XX">
- <!-- TMPL_LOOP NAME="3XX" -->
- <!-- TMPL_IF name="tag" -->
- <p>
- <!-- 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>
- <!-- TMPL_VAR NAME="subfield"
-->
- <!-- TMPL_IF name="mandatory"
--><!-- /TMPL_IF -->
- <!-- TMPL_VAR NAME="marc_lib"
-->
- <!-- TMPL_IF name="mandatory"
--> *<!-- /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 id="4XX">
- <!-- TMPL_LOOP NAME="4XX" -->
- <!-- TMPL_IF name="tag" -->
- <p>
- <!-- 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 class="MARCtag">
+ <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR
NAME="tag" -->">
+ <!-- TMPL_UNLESS name="hide_marc" -->
+ <a title="<!-- TMPL_VAR NAME="tag_lib" -->"><!-- TMPL_VAR
NAME="tag" --></a>
+ <input tabindex="1"
onblur="this.style.backgroundColor='#ffffff';"
onfocus="this.style.backgroundColor='#ffff00;'" type="text" <!-- TMPL_IF
NAME="fixedfield" --> style="display:none;" <!-- /TMPL_IF --> name="indicator"
size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"
class="flat"> -
+ <!-- TMPL_ELSE -->
+ <input tabindex="1" type="hidden" <!-- TMPL_IF
NAME="fixedfield" --> style="display:none;" <!-- /TMPL_IF --> name="indicator"
value="<!-- TMPL_VAR NAME="indicator" -->">
+ <!-- /TMPL_UNLESS -->
+ <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
+ <!-- TMPL_VAR NAME="tag_lib" -->
+ <!-- /TMPL_UNLESS -->
+ <!-- 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>
+ <!-- TMPL_IF NAME="visibility" -->
+ <a tabindex="1" style="color: grey; font-size: 80%; cursor:
se-resize;" id="label<!-- TMPL_VAR name="index" -->"
onclick="unHideSubfield('subfield<!-- TMPL_VAR NAME="tag" --><!-- TMPL_VAR
name="index" -->','label<!-- TMPL_VAR name="index" -->')">
<!-- TMPL_VAR NAME="subfield"
-->
- <!-- TMPL_IF name="mandatory"
--><!-- /TMPL_IF -->
- <!-- TMPL_VAR NAME="marc_lib"
-->
- <!-- TMPL_IF name="mandatory"
--> *<!-- /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 id="5XX">
- <!-- TMPL_LOOP NAME="5XX" -->
- <!-- TMPL_IF name="tag" -->
- <p>
- <!-- 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>
+ </a>
<!-- /TMPL_IF -->
- </p>
- <!-- /TMPL_IF -->
- <!-- TMPL_LOOP NAME="subfield_loop" -->
+ <div style="<!-- TMPL_VAR NAME='visibility' -->;" id="subfield<!--
TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->">
<p>
- <label>
- <!-- TMPL_VAR NAME="subfield"
-->
- <!-- TMPL_IF name="mandatory"
--><!-- /TMPL_IF -->
- <!-- TMPL_VAR NAME="marc_lib"
-->
- <!-- TMPL_IF name="mandatory"
--> *<!-- /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 id="6XX">
- <!-- TMPL_LOOP NAME="6XX" -->
- <!-- TMPL_IF name="tag" -->
- <p>
- <!-- 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>
- <!-- TMPL_VAR NAME="subfield"
-->
- <!-- TMPL_IF name="mandatory"
--><!-- /TMPL_IF -->
+ <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
+ <label <!-- TMPL_IF NAME="fixedfield" -->
style="display:none;" <!-- /TMPL_IF --> class="labelsubfield">
+ <!-- /TMPL_UNLESS -->
+ <!-- TMPL_UNLESS name="hide_marc" -->
+ <img style="cursor: crosshair; color: grey; font-size:
80%;" <!-- TMPL_IF NAME="fixedfield" --> style="display:none;" <!-- /TMPL_IF
--> src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png"
onclick="upSubfield('subfield<!-- TMPL_VAR NAME="tag" --><!-- TMPL_VAR
name="index" -->')"/>
+ <input title="<!-- TMPL_VAR NAME="marc_lib_plain" -->"
style=" <!-- TMPL_IF NAME="fixedfield" -->display:none; <!-- /TMPL_IF
-->border:0;" type="text" name="subfield" id="subfield<!--TMPL_VAR
NAME="id"-->" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1"
class="flat" DISABLE READONLY tabindex=-1 />
+ <!-- TMPL_ELSE -->
+ <input type="hidden" name="subfield"
id="subfield<!--TMPL_VAR NAME="id"-->" value="<!-- TMPL_VAR NAME="subfield"
-->"/>
+ <!-- /TMPL_UNLESS -->
+ <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
+ <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib"
-->
- <!-- TMPL_IF name="mandatory"
--> *<!-- /TMPL_IF -->
+ <!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
+ <!-- /TMPL_UNLESS -->
<!-- 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 id="7XX">
- <!-- TMPL_LOOP NAME="7XX" -->
- <!-- TMPL_IF name="tag" -->
- <p>
- <!-- 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 NAME="repeatable" -->
+ <a style="cursor: crosshair; color: grey; font-size: 80%;"
onclick="cloneSubfield('subfield<!-- TMPL_VAR NAME="tag" --><!-- TMPL_VAR
name="index" -->')">+</a>
<!-- /TMPL_IF -->
+ <input type="hidden" name="tagindex" value="<!-- TMPL_VAR NAME="id"
-->"/>
+ <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="tag" -->"/>
+ <input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR
NAME="subfield" -->" size="2" maxlength="1"/>
+ <input type="hidden" name="mandatory" value="<!-- TMPL_VAR
NAME="mandatory" -->"/>
+ <input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR
NAME="tag_mandatory" -->"/>
</p>
- <!-- /TMPL_IF -->
- <!-- TMPL_LOOP NAME="subfield_loop" -->
- <p>
- <label>
- <!-- TMPL_VAR NAME="subfield"
-->
- <!-- TMPL_IF name="mandatory"
--><!-- /TMPL_IF -->
- <!-- TMPL_VAR NAME="marc_lib"
-->
- <!-- TMPL_IF name="mandatory"
--> *<!-- /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 id="8XX">
- <!-- TMPL_LOOP NAME="8XX" -->
- <!-- TMPL_IF name="tag" -->
- <p>
- <!-- 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>
- <!-- TMPL_VAR NAME="subfield"
-->
- <!-- TMPL_IF name="mandatory"
--><!-- /TMPL_IF -->
- <!-- TMPL_VAR NAME="marc_lib"
-->
- <!-- TMPL_IF name="mandatory"
--> *<!-- /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 -->
+ <!-- /TMPL_LOOP -->
</div>
-
- <div id="9XX">
- <!-- TMPL_LOOP NAME="9XX" -->
- <!-- TMPL_IF name="tag" -->
- <p>
- <!-- 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>
- <!-- TMPL_VAR NAME="subfield"
-->
- <!-- TMPL_IF name="mandatory"
--><!-- /TMPL_IF -->
- <!-- TMPL_VAR NAME="marc_lib"
-->
- <!-- TMPL_IF name="mandatory"
--> *<!-- /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 -->
+ <!-- /TMPL_LOOP -->
</div>
-
- <div name="hidden" id="hidden">
+<!-- /TMPL_LOOP -->
+ <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" />
+ <input type="hidden" name="tag" value="<!--
TMPL_VAR NAME="tag" -->">
+ <input type="hidden" name="subfield"
id="subfield<!--TMPL_VAR NAME="id"-->" value="<!-- TMPL_VAR NAME="subfield"
-->">
+ <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->">
+ <input type="hidden" name="tag_mandatory"
value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
+ <!-- /TMPL_LOOP -->
+ </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" -->" />
+ <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="oldbiblionumtagfield" -->">
+ <input type="hidden" name="subfield"
id="subfield<!--TMPL_VAR NAME="id"-->" 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="tag" value="<!-- TMPL_VAR
NAME="oldbiblioitemnumtagfield" -->">
+ <input type="hidden" id="subfield<!--TMPL_VAR
NAME="id"-->" name="subfield" value="<!-- TMPL_VAR
NAME="oldbiblioitemnumtagsubfield" -->">
+ <input type="hidden" name="mandatory" value="0">
+ <input type="hidden" name="tag_mandatory"
value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
<!-- /TMPL_IF -->
+ </form>
- <div id="action">
- <!-- TMPL_IF name="bibid" -->
- <input type="button" value="Save Bibliographic Record
and go to Items" onclick="Check(this.form)" accesskey="w" />
- <!-- TMPL_ELSE -->
- <input type="button" value="Add Bibliographic Record
and go to Items" onclick="Check(this.form)" accesskey="w" />
- <!-- /TMPL_IF -->
- <input type="button" value="z39.50 Search"
onclick="PopupZ3950(); return false;" />
- </div>
- </form>
- </div>
<script language="JavaScript" type="text/javascript">
-
+function loading(){
+ document.getElementById("loading").style.display = "none";
+}
function _(s) { return s } // dummy function for gettext
+ <!--TMPL_IF name="exit"-->
+var finished=CloseMe(<!--TMPL_VAR NAME="biblionumber"-->,'<!--TMPL_VAR
NAME="title"-->');
+ <!--/TMPL_IF-->
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){
+ if (document.getElementById(ong)){
+
document.getElementById(ong).style.visibility="visible";
+ }
+ if(document.getElementById(link)){
+
document.getElementById(link).style.color="#000066";
+
document.getElementById(link).style.backgroundColor="#FFFFCC";
+ }
+ }
+ } else {
+ with(document){
+ if (document.getElementById(ong)){
+
document.getElementById(ong).style.visibility="hidden";
+ }
+ if (document.getElementById(link)) {
+
document.getElementById(link).style.color="#669999";
+
document.getElementById(link).style.backgroundColor="#D8DEB8";
+ }
+ }
+ }
+ }
+}
+active(0);
function Check(f) {
+ document.body.style.cursor ="wait";
// Scan for nonempty fields
var field_is_nonempty_p = new Array();
for (i=0 ; i<f.field_value.length ; i++) {
@@ -426,21 +213,20 @@
// mandatory, or if something else in the tag is entered
if (f.tag_mandatory[i].value == 1 ||
field_is_nonempty_p[f.tag[i].value]) {
-
document.getElementById("error"+i).style.backgroundColor="#FF0000";
+
f.field_value[i].style.backgroundColor="#FF0000";
total_missing_mandatory_subfields++;
- if
(document.getElementById("error"+i).parentNode.tagName == "B")
+ if (f.field_value[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)
+ ")");
+
missing_mandatory_subfields.push(f.field_value[i].innerHTML + " (tab " +
f.field_value[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)
+ ")");
+
missing_mandatory_subfields.push(f.field_value[i].innerHTML + " (tab " +
f.field_value[i].parentNode.parentNode.parentNode.id.substr(0,1) + ")");
}
}
} else {
-// alert("I = "+i);
-
document.getElementById("error"+i).style.backgroundColor="#FFFFCC";
+ f.field_value[i].style.backgroundColor="#FFFFFF";
}
}
@@ -454,16 +240,16 @@
if (seen_mandatory_tag_p[j] != 1) {
seen_mandatory_tag_p[j] = 1;
total_missing_mandatory_tags++;
- if (document.getElementById("error"+i).parentNode.tagName
== "B")
+ if (f.field_value[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)
+ ")");
+
missing_mandatory_tags.push(f.field_value[i].innerHTML + " (tab " +
f.field_value[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)
+ ")");
+
missing_mandatory_tags.push(f.field_value[i].innerHTML + " (tab " +
f.field_value[i].parentNode.parentNode.parentNode.id.substr(0,1) + ")");
}
}
-
document.getElementById("error"+i).style.backgroundColor="#ffff00";
+ f.field_value[i].style.backgroundColor="#FFFF00";
}
}
@@ -484,63 +270,151 @@
}
alert(alertString2);
} else {
- document.forms[0].submit();
+ document.forms['f'].submit();
}
}
-function Dopop(link,i) {
- defaultvalue=document.forms[0].field_value[i].value;
- newin=window.open(link+"&result="+defaultvalue,"value
builder",'width=550,height=550,toolbar=false,scrollbars=yes');
+function Dopop(link,id) {
+ var subf=document.getElementsByName('subfield'+id);
+var fields=document.getElementsByName('field_value'+id);
+var defaultvalue="";
+ for (var s=0; s<fields.length; s++){
+ if (subf.item(s).value == 'a'){
+ defaultvalue=fields.item(s).value;
+ }
+ }
+
+
newin=window.open(link+"&result="+defaultvalue,"",'width=550,height=550,toolbar=false,scrollbars=yes');
+
}
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;
+ for (i=0 ; i<document.forms['f'].field_value.length ; i++) {
+ if (document.forms['f'].tag[i].value == "<!--TMPL_VAR
NAME="isbntag"-->"){
+ if (document.forms['f'].subfieldYYY[i].value
=="<!--TMPL_VAR NAME="isbnsub"-->"){
+ if(document.forms['f'].field_value[i].value.length>0) {
+ strQuery +=
"&isbn="+document.forms['f'].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;
+ }
+ if (document.forms['f'].tag[i].value == "<!--TMPL_VAR
NAME="titletag"-->"){
+ if (document.forms['f'].subfieldYYY[i].value ==
"<!--TMPL_VAR NAME="titlesub"-->"){
+ if(document.forms['f'].field_value[i].value.length>0) {
+ strQuery +=
"&title="+document.forms['f'].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;
+ }
+ if (document.forms['f'].tag[i].value == "<!--TMPL_VAR
NAME="authortag"-->"){
+ if (document.forms['f'].subfieldYYY[i].value ==
"<!--TMPL_VAR NAME="authorsub"-->"){
+ if(document.forms['f'].field_value[i].value.length>0) {
+ strQuery +=
"&author="+document.forms['f'].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;
+ }
+ if (document.forms['f'].tag[i].value == "<!--TMPL_VAR
NAME="issntag"-->"){
+ if (document.forms['f'].subfieldYYY[i].value ==
"<!--TMPL_VAR NAME="issnsub"-->"){
+
if(document.forms['f'].field_value[i].value.length>0) {
+ strQuery +=
"&issn="+document.forms['f'].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');
+ newin=window.open("../z3950/search.pl?oldbiblionumber=<!-- TMPL_VAR
NAME="biblionumber"
-->"+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");
}
}
+
function Changefwk(FwkList) {
var fwk = FwkList.options[FwkList.selectedIndex].value;
window.location = "addbiblio.pl?oldbiblionumber=<!--TMPL_VAR
Name="oldbiblionumber"-->&frameworkcode="+fwk;
}
+
+
function AddField(field) {
- document.forms[0].op.value = "addfield";
- document.forms[0].addfield_field.value=field;
+ document.forms['f'].op.value = "addfield";
+ document.forms['f'].addfield_field.value=field;
document.f.submit();
}
-</script></body>
-</html>
+
+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
+ <!-- TMPL_IF name="hide_marc" -->
+ var orginput = original.getElementsByTagName('input')[0];
+ <!-- TMPL_ELSE -->
+ var orginput = original.getElementsByTagName('input')[1];
+ image = clone.getElementsByTagName('img')[0];
+ image.setAttribute("onclick","upSubfield('" + index + index + "')");
+ <!-- /TMPL_IF -->
+ 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
"<div tag=XXX>")
+
+ // 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<subfieldsLength;i++){
+ if(subfields[i].getAttribute('id') == index){ //looking for the
subfield which is clicked :
+ if(i==0){ // if the clicked subfield is on the top
+ tag.appendChild(subfields[0]);
+ return;
+ }else{
+ var lineAbove = subfields[i-1];
+ tag.insertBefore(line,lineAbove);
+ return;
+ }
+ }
+ }
+}
+
+function unHideSubfield(index,labelindex) {
+ subfield = document.getElementById(index);
+ subfield.style.display = 'block';
+ label = document.getElementById(labelindex);
+ label.style.display='none';
+}
+function CloseMe(biblionumber,title) {
+ var myfield = opener.document.getElementById('biblionumber');
+ myfield.value = biblionumber;
+ var myfield = opener.document.getElementById('title');
+ myfield.value = title;
+ self.close();
+return false;
+ }
+</script>
+<!--/TMPL_UNLESS-->
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
Index: addbooks.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbooks.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- addbooks.tmpl 19 Jan 2006 12:48:00 -0000 1.1
+++ addbooks.tmpl 11 Sep 2006 17:13:58 -0000 1.2
@@ -1,61 +1,41 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Cataloging Home<!--
TMPL_INCLUDE NAME="doc-head-close.inc" -->
-
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
-
<h1>Catalog Maintenance</h1>
<!-- TMPL_IF name="noitemsfound" -->
- No items found
+ <font color="red" size="4">No items found</font>
<!-- /TMPL_IF -->
-<h2>Search Existing Records</h2>
-<div id="addbooks_search">
+ <div class="data">
<form action="isbnsearch.pl">
- <p>
- <label for="title">Title</label>
- <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" />
- </p>
- <p>
- <label for="isbn">ISBN</label>
- <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" />
- </p>
- <p><input type="submit" value="Search" /></p>
- <ul>
- <li>If the ISBN is found into the database, that record
will be retrieved and can be modified.</li>
+ <table>
+ <caption>Search Existing Records</caption>
+ <tr><th><label for="title">Title</label></th>
+ <td> <input type="text" name="title"
id="title"size="35" /></td></tr>
+ <tr><th><label for="isbn">ISBN</label></th>
+ <td><input type="text" name="isbn" 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>
- </form>
-</div>
-<div id="addbooks_add_without_search">
- <!-- TMPL_IF NAME="NOTMARC" -->
- <form action="addbiblio.pl">
- <input type="submit" value="Add Record Without Search"
/>
+ <li>Otherwise, a record can be added from scratch.</li></ul></div>
</form>
- <!-- TMPL_ELSE -->
+
+ <!-- TMPL_IF name="noitemsfound" -->
<form action="addbiblio.pl" method="post">
- <h3>Create a Blank Bibliographic Record</h3>
- <p>
- <label for="frameworkcode">Choose a Framework:</label>
- <select name="frameworkcode" id="frameworkcode">
+ <div class="data"><table>
+ <caption>Create a Blank Bibliographic Record</caption>
+ <tr><th><label for="frameworkcode">Choose a
Framework:</label></th><td><select name="frameworkcode" id="frameworkcode">
<option value="">Default</option>
<!-- TMPL_LOOP NAME="frameworkcodeloop" -->
- <option value="<!-- TMPL_VAR
NAME="value" -->">
- <!-- TMPL_VAR
NAME="frameworktext" -->
- </option>
+ <option value="<!--
TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="frameworktext" --></option>
<!-- /TMPL_LOOP -->
- </select>
- <input type="submit" value="Add Record Without Search"
/>
- </p>
- </form>
+ </select> <input type="submit"
value="Add Record Without Search" class="submit" /></td></tr>
+ </table></div></form>
+
<!-- /TMPL_IF -->
-</div>
+
+
+
+
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
Index: additem.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- additem.tmpl 19 Jan 2006 12:48:00 -0000 1.1
+++ additem.tmpl 11 Sep 2006 17:13:58 -0000 1.2
@@ -1,86 +1,88 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Cataloging: Items for
Bibliographic Record <!-- TMPL_VAR name="biblionumber" --><!-- TMPL_INCLUDE
NAME="doc-head-close.inc" -->
-
+<!--TMPL_UNLESS NAME="fromserials"-->
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
+<!--/TMPL_UNLESS-->
+<h1>Items for Record <!-- TMPL_VAR name="biblionumber" -->:</h1><h2><!--
TMPL_VAR name="title" -->, <!-- TMPL_VAR name="author" --></h2>
-
-<h1>Items for <!-- TMPL_VAR name="title" --> <!-- TMPL_IF NAME="author" --> by
<!-- TMPL_VAR name="author" --><!-- /TMPL_IF --> (Record #<!-- TMPL_VAR
NAME="biblionumber" -->)</h1>
-
-<div id="cataloguing_additem_itemlist">
- <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_UNLESS NAME="fromserials"-->
+<div class="tabitem">
+<form action="/cgi-bin/koha/cataloguing/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="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/catalogue/detail.pl" method="get"><input type="hidden"
name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->"> <input
type="submit" class="submit" value="View in Catalog"></form> <form
action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="get"><input
type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber"
-->"> <input type="submit" class="submit" value="View MARC in Catalog"></form>
<form action="/cgi-bin/koha/catalogue/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>
+<!--/TMPL_UNLESS-->
+<!-- TMPL_IF name="book_on_loan" -->
+ <div class="error">ERROR: This book is on LOAN DO NOT
DELETE!</div>
+ <!-- /TMPL_IF -->
+<!-- TMPL_IF name="non_utf8" -->
+ <div class="error">ERROR: This record contains non UTF-8
chatacters correct and resave!!</div>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="barcode_not_unique" -->
+ <div class="error">ERROR: Barcode already exists!</div>
+ <!-- /TMPL_IF -->
+<!--TMPL_UNLESS NAME="fromserials"-->
<!-- TMPL_IF name="item_loop" -->
- <h2>Existing items</h2>
- <table>
+ <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>
+ <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>
+ <td><a
href="additem.pl?op=edititem&biblionumber=<!-- TMPL_VAR NAME="biblionumber"
-->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->">Edit</a></td>
+ <td><a
href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="biblionumber" -->,<!--
TMPL_VAR NAME="itemnumber" -->)">Delete</a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
- <!-- /TMPL_IF -->
-</div>
+ </div>
-<div id="cataloguing_additem_newitem">
- <!-- TMPL_IF name="opisadd" -->
- <h2>Add Item</h2>
- <!-- TMPL_ELSE -->
- <h2>Edit Item</h2>
<!-- /TMPL_IF -->
+<!--/TMPL_UNLESS-->
+ <form method="post" action="additem.pl" name="f">
+ <input type="hidden" name="op" value="<!-- TMPL_VAR NAME="op" -->">
+ <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR
NAME="biblionumber" -->">
+ <input type="hidden" name="fromserials" value="<!--TMPL_VAR
NAME="fromserials"-->">
+ <input type="hidden" name="serialid" value="<!--TMPL_VAR
NAME="serialid"-->">
+ <input type="hidden" name="itemnumber" value="<!--TMPL_VAR
NAME="itemnumber"-->">
+ <div class="data">
+ <table>
+ <caption><!-- TMPL_IF name="opisadd" -->Add New Item<!--
TMPL_ELSE -->Update Item<!-- /TMPL_IF --></caption>
<!-- TMPL_LOOP NAME="item" -->
- <p>
- <label><!-- TMPL_VAR NAME="subfield" --> - <!--
TMPL_IF name="mandatory" --><!-- /TMPL_IF --><!-- TMPL_VAR NAME="marc_lib"
--><!-- TMPL_IF name="mandatory" --> *<!-- /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" -->" />
- </p>
- <!-- /tmpl_loop -->
- <input type="hidden" name="itemnum" value="<!-- TMPL_VAR NAME="itemnum"
-->" />
+ <tr style="<!-- TMPL_VAR NAME='hidden' -->;">
+ <th><label><!-- TMPL_VAR NAME="tag"
--><!-- 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="itemnumber" value="<!-- TMPL_VAR
NAME="itemnumber" -->">
<!-- TMPL_IF name="barcode_not_unique" -->
- ERROR : Barcode already exists !
+ <div class="error">ERROR: Barcode already exists!</div>
<!-- /TMPL_IF -->
+
<!-- TMPL_IF name="opisadd" -->
- <input type="button" value="Add item" onClick="Check(this.form)"
accesskey="w" />
+ <input type="button" value="Add item" onClick="Check(this.form)"
accesskey="w" class="submit">
<!-- 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)"
accesskey="w" />
+ <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="itemnumber" -->">
+ <input type="button" value="Save Changes" onClick="Check(this.form)"
accesskey="w" class="submit">
<!-- /TMPL_IF -->
</form>
-
-<div id="action">
- <form action="/cgi-bin/koha/cataloguing/addbiblio.pl" method="get">
- <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR
name="biblionumber" -->" />
- <input type="submit" value="Edit Bibliographic Record" />
- </form>
- <form action="/cgi-bin/koha/catalogue/detail.pl" method="get">
- <input type="hidden" name="bib" value="<!-- TMPL_VAR
name="biblionumber" -->" />
- <input type="submit" value="Normal view" />
- </form>
- <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="get">
- <input type="hidden" name="bib" value="<!-- TMPL_VAR
name="biblionumber" -->" />
- <input type="submit" value="View MARC in Catalog" />
- </form>
- <form action="/cgi-bin/koha/cataloguie/ISBDdetail.pl" method="get">
- <input type="hidden" name="bib" value="<!-- TMPL_VAR
name="biblionumber" -->" />
- <input type="submit" value="View ISBD in Catalog" />
- </form>
</div>
<script language="JavaScript" type="text/javascript">
+
+
+ <!--TMPL_IF name="exit"-->
+var finished=CloseMe(<!--TMPL_VAR NAME="serialid"-->,<!--TMPL_VAR
NAME="itemnumber"-->,"<!--TMPL_VAR NAME="holdingbranch"-->");
+ <!--/TMPL_IF-->
+
function _(s) { return s } // dummy function for gettext
function active(numlayer)
{
@@ -124,11 +126,20 @@
defaultvalue=document.forms[0].field_value[i].value;
newin=window.open(link+"&result="+defaultvalue,"value
builder",'width=500,height=400,toolbar=false,scrollbars=yes');
}
-function confirm_deletion(bibid,itemnum) {
- var is_confirmed = confirm(_('Are you sure you want to delete this
item?'));
+function confirm_deletion(biblionumber,itemnumber) {
+ var is_confirmed = confirm(_('Do you confirm item deletion?'));
if (is_confirmed) {
- window.location =
"additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;
+ window.location =
"additem.pl?op=delitem&biblionumber="+biblionumber+"&itemnumber="+itemnumber;
}
}
+function CloseMe(serialid,itemnumber,holdingbranch) {
+ var myfield = opener.document.getElementById('serial'+serialid);
+ myfield.value = itemnumber;
+ var myfield = opener.document.getElementById('holdingbranch'+serialid);
+ myfield.value = holdingbranch;
+ self.close();
+return false;
+ }
</script>
+
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
Index: isbnsearch.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/isbnsearch.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- isbnsearch.tmpl 15 Feb 2006 02:20:01 -0000 1.2
+++ isbnsearch.tmpl 11 Sep 2006 17:13:58 -0000 1.3
@@ -1,99 +1,103 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Cataloging: Search
Results for <!-- TMPL_IF name="isbn" -->ISBN <!-- TMPL_VAR name="isbn" --><!--
/TMPL_IF --><!-- TMPL_IF name="title" -->title <!-- TMPL_VAR name="title"
--><!-- /TMPL_IF --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE NAME="menus.inc" -->
+<!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
+ <h1 class="acquisition">Search Results</h1>
+ <div id="bloc25">
+ <h2 class="acquisition">Results for <b><!-- TMPL_IF name="isbn"
-->ISBN <!-- TMPL_VAR NAME="isbn" --><!-- /TMPL_IF --><!-- TMPL_IF name="title"
-->title <!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></b></h2>
+ <!-- TMPL_IF name="total" -->
+ <p><!-- TMPL_VAR NAME="grandtotal" --> total results</p>
+ <p>Results <i><!-- TMPL_VAR NAME="showoffset" --></i>
to <i><!-- TMPL_VAR NAME="total" --></i> displayed</p>
+ <!-- /TMPL_IF -->
+ </div>
+ <div id="bloc100">
+ <h2 class="acquisition">Exists in Koha</h2>
+ <table>
+ <tr>
+ <th class="acquisition">Title</th>
+ <th class="acquisition">Author</th>
+ <th class="acquisition">copyright</th>
+ <th class="acquisition">LC</th>
+ <th class="acquisition"> </th>
+<th class="acquisition"> </th>
+<th class="acquisition"> </th>
+ </tr>
+ <!-- TMPL_IF name="results_loop" -->
+ <!-- TMPL_LOOP NAME="results_loop" -->
+ <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
+ <td><!-- TMPL_VAR NAME="title" --></a>
+ <td><!-- TMPL_VAR NAME="author" --></td>
+ <td><!-- TMPL_VAR NAME="copyrightdate"
--></td>
+ <td><!-- TMPL_VAR NAME="classification"
--> <!-- TMPL_VAR NAME="subclass" --></td>
- <h2>Search Results for <!-- TMPL_IF name="isbn" -->ISBN <!-- TMPL_VAR
name="isbn" --><!-- /TMPL_IF --><!-- TMPL_IF name="title" -->title <!--
TMPL_VAR name="title" --><!-- /TMPL_IF --></h2>
-
-<!-- TMPL_IF name="total" -->
-Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!--
TMPL_VAR NAME="total" -->
-<!-- /TMPL_IF -->
+ <td><a
href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"
class="button acquisition">Edit Book</a></td>
+ <td><a
href="additem.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Edit
Items</a></td>
- <!-- TMPL_IF name="loop" -->
- <!-- TMPL_IF NAME="displayprev" -->
- <a
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"
-->
- <!-- TMPL_VAR
NAME="number" -->
- <!-- TMPL_ELSE --><a
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
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 -->
-
-<!-- /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 -->
+ <td><a
href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber"
-->&op=duplicate">Duplicate</a></td></tr>
</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>
+ <tr><td colspan="4">Nothing found</td></tr>
<!-- /TMPL_IF -->
</table>
-
-
- <!-- TMPL_IF NAME="displayprev" -->
- <a
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 -->
+ <p class="center">
+ <!-- Row of numbers corresponding to search result
pages -->
+ <!-- TMPL_IF name="displayprev" -->
+ <a href="isbnsearch.pl?offset=<!-- TMPL_VAR
NAME="prevstartfrom" -->&<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="value" ESCAPE=URL -->">
+ <img src="<!-- TMPL_VAR
NAME="themelang" -->/images/numbers/prev.gif" border="0">
+ </a>
+ <!-- TMPL_ELSE -->
+ <img src="<!-- TMPL_VAR NAME="themelang"
-->/images/numbers/placeholder.gif" border="0">
+ <!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="numbers" -->
- <!-- TMPL_IF NAME="highlight"
-->
- <!-- TMPL_VAR
NAME="number" -->
- <!-- TMPL_ELSE --><a
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
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 -->
-
-
-<!-- TMPL_IF name="breeding_loop" -->
-<table>
- <caption>Bibliographic Records in the Reservoir</caption>
+ <!-- TMPL_IF name="highlight" -->
+ <img src="<!-- TMPL_VAR
NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number"
-->-highlight.gif">
+ <!-- TMPL_ELSE -->
+ <a href="isbnsearch.pl?offset=<!--
TMPL_VAR NAME="startfrom" -->&<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="value" ESCAPE=URL -->">
+ <img src="<!-- TMPL_VAR
NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif"
border="0">
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF name="displaynext" -->
+ <a href="isbnsearch.pl?offset=<!-- TMPL_VAR
NAME="nextstartfrom" -->&<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR
NAME="value" ESCAPE=URL -->">
+ <img src="<!-- TMPL_VAR
NAME="themelang" -->/images/numbers/next.gif" border="0">
+ </a>
+ <!-- TMPL_ELSE -->
+ <img src="<!-- TMPL_VAR NAME="themelang"
-->/images/numbers/placeholder.gif" border="0">
+ <!-- /TMPL_IF -->
+ </p>
+ <h2 class="acquisition">Books in breeding farm</h2>
+ <!-- TMPL_IF name="breeding_loop" -->
+ <table>
<tr>
<th>Title</th>
<th>Author</th>
<th>ISBN</th>
+ <th>LC</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 -->
+ <tr bgcolor="<!-- TMPL_VAR
NAME="toggle" -->">
<td><!-- TMPL_VAR
NAME="title" --></a>
<td><!-- TMPL_VAR
NAME="author" --></td>
<td><!-- TMPL_VAR
NAME="isbn" --></td>
+ <td><!-- TMPL_VAR
NAME="classification" --> <!-- TMPL_VAR NAME="subclass" --></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 --><h3>No records found in the Reservoir</h3><!-- /TMPL_IF -->
-
-
-<h2>Create a New Record</h2>
- <!-- TMPL_IF NAME="NOTMARC" -->
- <a href="addbiblio-nomarc.pl?isbn=<!-- TMPL_VAR
NAME="isbn" -->">Add New Record</a>
<!-- TMPL_ELSE -->
- <form action="/cgi-bin/koha/cataloguing/addbiblio.pl"
method="post">
- <input type="hidden" name="title" value="<!-- TMPL_VAR
NAME="title" ESCAPE="URL" -->" />
- <input type="hidden" name="isbn" value="<!-- TMPL_VAR
NAME="isbn" -->" /><label for="frameworkcode">Choose a Framework:
</label><select id="frameworkcode" name="frameworkcode">
- <option value="">Default</option><!-- TMPL_LOOP
NAME="frameworkcodeloop" --><option value="<!-- TMPL_VAR NAME="value" -->"><!--
TMPL_VAR NAME="frameworktext" --></option><!-- /TMPL_LOOP --></select> <input
type="submit" class="submit" value="Add New Record" /></form>
+ <p class="center">Nothing found</p>
<!-- /TMPL_IF -->
+ <p class="center">
+
+ <a href="addbiblio.pl" class="button acquisition">Add
new record</a>
+
+ </p>
+ </div>
+
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/cataloguin...,
Tumer Garip <=