[Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/uk_UA acqu... [rel_2_2]
paul poulain
paul at koha-fr.org
Tue Oct 17 09:32:07 CEST 2006
CVSROOT: /cvsroot/koha
Module name: koha
Branch: rel_2_2
Changes by: paul poulain <tipaul> 06/10/17 07:32:07
Added files:
koha-tmpl/intranet-tmpl/default/uk_UA/acqui.simple:
addbiblio-nomarc.tmpl
addbiblio.tmpl
addbooks.tmpl
additem-nomarc.tmpl
additem.tmpl
isbnsearch.tmpl
marcimport.tmpl
koha-tmpl/intranet-tmpl/default/uk_UA/authorities:
auth_finder.tmpl
authorities-home.tmpl
authorities.tmpl
blinddetail-biblio-search.tmpl
detail-biblio-search.tmpl
detail.tmpl
searchresultlist-auth.tmpl
searchresultlist.tmpl
koha-tmpl/intranet-tmpl/default/uk_UA/barcodes:
barcodes-bottom.inc
barcodes-top.inc
barcodes.tmpl
printerConfig.tmpl
koha-tmpl/intranet-tmpl/default/uk_UA/bookshelves:
addbookbybiblionumber.tmpl
shelves.tmpl
Log message:
ukrainian templates for 2.2.6
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/acqui.simple/addbiblio-nomarc.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/acqui.simple/addbiblio.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/acqui.simple/addbooks.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/acqui.simple/additem-nomarc.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/acqui.simple/additem.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/acqui.simple/isbnsearch.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/acqui.simple/marcimport.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/authorities/auth_finder.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/authorities/authorities-home.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/authorities/authorities.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/authorities/blinddetail-biblio-search.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/authorities/detail-biblio-search.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/authorities/detail.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/authorities/searchresultlist-auth.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/authorities/searchresultlist.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/barcodes/barcodes-bottom.inc?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/barcodes/barcodes-top.inc?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/barcodes/barcodes.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/barcodes/printerConfig.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/bookshelves/addbookbybiblionumber.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/uk_UA/bookshelves/shelves.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
Patches:
Index: acqui.simple/addbiblio-nomarc.tmpl
===================================================================
RCS file: acqui.simple/addbiblio-nomarc.tmpl
diff -N acqui.simple/addbiblio-nomarc.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ acqui.simple/addbiblio-nomarc.tmpl 17 Oct 2006 07:32:06 -0000 1.1.2.1
@@ -0,0 +1,36 @@
+<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
+
+<div id="mainbloc">
+ <h1 class="catalogue">ÐÐ¾Ð´Ð°Ð²Ð°Ð½Ð½Ñ Ð½Ð¾Ð²Ð¾Ð³Ð¾ бÑблÑоÑеÑного запиÑÑ</h1>
+
+ <div id="bloc60">
+ <h2 class="catalogue">ЧаÑÑина пеÑÑа: ÐнÑоÑмаÑÑÑ Ñодо авÑоÑÑÑкого пÑава </h2>
+
+ <!-- TMPL_IF NAME="ERROR" -->
+ <p class="problem">ÐÑдÑ-лаÑка конкÑеÑизÑйÑе заголовок</p>
+ <!-- /TMPL_IF -->
+
+ <form action="savebiblio.pl" method="post">
+ <p><label class="label100">Ðаголовок:* </label><input name="title" size="40" /></p>
+ <p><label class="label100">ÐÑдзаголовок: </label><input name="subtitle" size="40" /></p>
+ <p><label class="label100">ÐвÑоÑ: </label><input name="author" size="40" /></p>
+ <p>ÐодаÑÐºÐ¾Ð²Ñ Ð°Ð²ÑоÑи: <i>Ðо Ð¾Ð´Ð½Ð¾Ð¼Ñ Ð°Ð²ÑоÑÑ Ð½Ð° ÑÑдок</i></p>
+ <p><label class="label100"> </label>
+ <textarea class="form-box-textarea2" name="additionalauthors" cols="30" rows="6"></textarea>
+ </p>
+ </p>
+ <p>Ðаголовок ÑеÑÑалÑного виданнÑ: <i>(ÑкÑо заÑÑоÑовÑÑÑÑÑÑ)</i></p>
+ <p><label class="label100"> </label><input name="seriestitle" size="40" /></p>
+ <p>ТемаÑиÑÐ½Ñ ÑÑбÑики: <i>Ðо однÑй ÑÐµÐ¼Ñ Ð½Ð° ÑÑдок</i></p>
+ <p><label class="label100"> </label>
+ <textarea class="form-box-textarea2" name="subjectheadings" cols="30" rows="6"></textarea>
+ </p>
+ <label class="label100">ÐаÑа авÑоÑÑÑкого пÑава: </label><input name="copyrightdate" size="40" /></p>
+ <label class="label100">ÐноÑаÑÑÑ: </label><textarea cols="30" rows="6" name="abstract"></textarea></p>
+ <label class="label100">ÐоÑаÑки: </label><textarea cols="30" rows="6" name="notes"></textarea></p>
+ <p><input type="submit" value="ÐаÑвеÑдиÑи" class="button catalogue"></p>
+ </form>
+ * Ðбов'Ñзкове
+ </div>
+</div>
+<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->
Index: acqui.simple/addbiblio.tmpl
===================================================================
RCS file: acqui.simple/addbiblio.tmpl
diff -N acqui.simple/addbiblio.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ acqui.simple/addbiblio.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,370 @@
+<!-- TMPL_INCLUDE NAME="marc-top.inc" -->
+ <form method="post" name="f" id="f" action="addbiblio.pl">
+<h1 class="catalogue"><!-- TMPL_IF NAME="oldbiblionumtagfield" -->РедагÑÐ²Ð°Ð½Ð½Ñ ÐÐÐ Ð-запиÑÑ Ð· номеÑом <!-- TMPL_VAR name="oldbiblionumber" --><!-- TMPL_ELSE -->ÐодаÑи ÐÐÐ Ð-запиÑ<!-- /TMPL_IF --> Ðз ÑÑÑÑкÑÑÑоÑ: <!--TMPL_VAR Name="framework" --></h1>
+
+<div class="tabbed">
+ <input type="hidden" name="op" value="addbiblio" />
+ <input type="hidden" name="addfield_field" />
+ <input type="hidden" name="repeat_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="ÐбеÑегÑи бÑблÑогÑаÑÑÑний Ð·Ð°Ð¿Ð¸Ñ Ñа пеÑейÑи до одиниÑÑ" onclick="Check(this.form);" accesskey="w" class="button catalogue">
+ <!-- TMPL_ELSE -->
+ <input type="button" value="ÐодаÑи бÑблÑогÑаÑÑÑний Ð·Ð°Ð¿Ð¸Ñ Ñа пеÑейÑи до одиниÑÑ" onclick="Check(this.form);" accesskey="w" class="button catalogue">
+ <!-- /TMPL_IF -->
+ <input type="button" value="ÐоÑÑк Ð·Ñ Z39.50" class="button catalogue" onclick="PopupZ3950(); return false;" =/></div>
+
+
+ <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" -->
+ <div class="error">
+ <p>Чи Ñе Ñ Ð´ÑблÑÐºÐ°Ñ <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>ÐибеÑÑÑÑ Ñой Ñи ÑнÑий: </p>
+ <ul>
+ <li>ЯкÑо Ñе <em>Ñ</em> дÑблÑкаÑом, Ñо <a href="additem.pl?biblionumber=<!-- TMPL_VAR name="duplicatebibid" -->">ÑедагÑваÑи елеменÑи</a> ÑÑнÑÑÑого запиÑÑ.</li>
+ <li>ЯкÑо нÑ, Ñо клаÑнÑÑÑ <input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" /> <a href="#" onclick="confirmnotdup(); return false;">ÐÑдÑвеÑдÑÑÑ, Ñо Ñе не дÑблÑкаÑ</a></li>
+ </ul>
+ </div>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_UNLESS -->
+ <!-- TMPL_LOOP NAME="innerloop" -->
+ <div style=";" id="tag<!-- TMPL_VAR name="tag"-->">
+ <!-- TMPL_IF name="tag" -->
+ <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="#<!-- TMPL_VAR NAME="tag" -->" onclick="javascript:this.nextSibling.type='text';this.nextSibling.focus()">+</a><input type="hidden" value="" size="2" onchange="javascript:alert(this.value);AddField('<!-- TMPL_VAR NAME="tag" -->',this.value)" ><!-- /TMPL_IF -->
+ </p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="subfield_loop" -->
+ <!-- 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" -->
+ </a>
+ <!-- /TMPL_IF -->
+ <div style="<!-- TMPL_VAR NAME='visibility' -->;" id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->">
+ <p>
+ <!-- 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" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat" DISABLE READONLY tabindex=-1 />
+ <!-- TMPL_ELSE -->
+ <input type="hidden" name="subfield" 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" --> *</b><!-- /TMPL_IF -->
+ </label>
+ <!-- /TMPL_UNLESS -->
+ <!-- TMPL_VAR NAME="marc_value" -->
+ <!-- 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="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="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->"/>
+ <input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->"/>
+ </p>
+ </div>
+ <!-- /TMPL_LOOP -->
+ </div>
+ <!-- /TMPL_LOOP -->
+ </div>
+<!-- /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 -->
+ </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>
+<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){
+ 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++) {
+ field_is_nonempty_p[f.tag[i].value] = 0;
+ }
+ for (i=0 ; i<f.field_value.length ; i++) {
+ if (f.field_value[i].value.length != 0) {
+ field_is_nonempty_p[f.tag[i].value] += 1;
+ }
+ }
+
+ // 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) {
+ // We should not flag an error unless the tag is also
+ // 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]) {
+ f.field_value[i].style.backgroundColor="#FF0000";
+ total_missing_mandatory_subfields++;
+ if (f.field_value[i].parentNode.tagName == "B")
+ {
+ 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(f.field_value[i].innerHTML + " (tab " + f.field_value[i].parentNode.parentNode.parentNode.id.substr(0,1) + ")");
+ }
+
+ }
+ } else {
+ f.field_value[i].style.backgroundColor="#FFFFFF";
+ }
+ }
+
+ // Scan for missing mandatory tags
+ 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;
+ if (!field_is_nonempty_p[j] && f.tag_mandatory[i].value == 1) {
+ if (seen_mandatory_tag_p[j] != 1) {
+ seen_mandatory_tag_p[j] = 1;
+ total_missing_mandatory_tags++;
+ if (f.field_value[i].parentNode.tagName == "B")
+ {
+ 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(f.field_value[i].innerHTML + " (tab " + f.field_value[i].parentNode.parentNode.parentNode.id.substr(0,1) + ")");
+ }
+ }
+ f.field_value[i].style.backgroundColor="#FFFF00";
+ }
+ }
+
+ var total_errors = total_missing_mandatory_tags + total_missing_mandatory_subfields;
+ var alertString2;
+ if (total_errors!=0) {
+ alertString2 = _("ФоÑма не вÑдÑÑлана ÑеÑез наÑÑÑÐ¿Ð½Ñ Ð¿Ñоблеми(Ñ)");
+ alertString2 += "\n------------------------------------------------------------------------------------\n";
+ alertString2 += "\n- "+ total_missing_mandatory_tags +_(" обов'ÑÐ·ÐºÐ¾Ð²Ñ Ð¾Ð·Ð½Ð°ÐºÐ¸ поÑожнÑ");
+ for (i=0; i<missing_mandatory_tags.length; i++)
+ {
+ alertString2 += "\n--->"+ missing_mandatory_tags[i];
+ }
+ alertString2 += "\n- "+ total_missing_mandatory_subfields +_(" обов'ÑÐ·ÐºÐ¾Ð²Ñ Ð¿Ð¾Ð»Ñ Ð¿Ð¾ÑÐ¾Ð¶Ð½Ñ (дивÑÑÑÑÑ Ð¿ÑдполÑ, вÑдмÑÑÐµÐ½Ñ Ð¶Ð¸Ñним ÑÑиÑÑом)");
+ for (i=0; i<missing_mandatory_subfields.length; i++)
+ {
+ alertString2 += "\n--->"+ missing_mandatory_subfields[i];
+ }
+ alert(alertString2);
+ } else {
+ document.forms['f'].submit();
+ }
+}
+function Dopop(link,i) {
+ defaultvalue=document.forms['f'].field_value[i].value;
+ newin=window.open(link+"&result="+defaultvalue,"value builder",'width=700,height=550,toolbar=false,scrollbars=yes');
+}
+
+function PopupZ3950() {
+ var strQuery="";
+ var error = 0;
+ for (i=0 ; i<document.forms['f'].field_value.length ; i++) {
+ if (document.forms['f'].kohafield[i].value == "biblioitems.isbn"){
+ if(document.forms['f'].field_value[i].value.length>0) {
+ strQuery += "&isbn="+document.forms['f'].field_value[i].value;
+ } else {
+ error++;
+ }
+ }
+ if (document.forms['f'].kohafield[i].value == "biblio.title"){
+ if(document.forms['f'].field_value[i].value.length>0) {
+ strQuery += "&title="+document.forms['f'].field_value[i].value;
+ } else {
+ error++;
+ }
+ }
+ if (document.forms['f'].kohafield[i].value == "biblio.author"){
+ if(document.forms['f'].field_value[i].value.length>0) {
+ strQuery += "&author="+document.forms['f'].field_value[i].value;
+ } else {
+ error++;
+ }
+ }
+ if (document.forms['f'].kohafield[i].value == "biblioitems.issn"){
+ 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');
+ } 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 openAuth(tagid,authtype,X) {
+// defaultid=document.getElementById(subfieldid);
+// alert("X"+X);
+ Y=X.parentNode.getAttribute("id");
+// alert("tagid"+Y);
+ newin=window.open("../authorities/auth_finder.pl?authtypecode="+ authtype+ "&tagid="+Y, "value builder",'width=700,height=550,toolbar=false,scrollbars=yes');
+}
+
+
+function AddField(field,cntrepeatfield) {
+ document.forms['f'].op.value = "addfield";
+ document.forms['f'].addfield_field.value=field;
+ document.forms['f'].repeat_field.value=cntrepeatfield;
+ document.f.submit();
+}
+
+function cloneSubfield(index) {
+ var original = document.getElementById(index); //original <div>
+ var clone = original.cloneNode(true);
+
+ // set the attribute for the new 'div' subfields
+ clone.setAttribute('id',index + index);//set another id.
+ var NumTabIndex;
+ NumTabIndex = parseInt(original.getAttribute('tabindex'));
+ if(isNaN(NumTabIndex)) NumTabIndex = 0;
+ clone.setAttribute('tabindex',NumTabIndex+1);
+
+ var CloneButtonPlus;
+ try{
+ CloneButtonPlus = clone.getElementsByTagName('a')[0];
+ CloneButtonPlus.setAttribute('onclick',"cloneSubfield('" + index + index + "')");
+ }
+ catch(e){
+ // do nothig if ButtonPlus & CloneButtonPlus don't exist.
+ }
+
+ // insert this line on the page
+ original.parentNode.insertBefore(clone,original.nextSibling);
+}
+
+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';
+}
+</script>
+</body>
+</html>
Index: acqui.simple/addbooks.tmpl
===================================================================
RCS file: acqui.simple/addbooks.tmpl
diff -N acqui.simple/addbooks.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ acqui.simple/addbooks.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,57 @@
+<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
+<div id="mainbloc">
+ <h1 class="catalogue">ÐеÑÑÐ²Ð°Ð½Ð½Ñ Ð±ÑблÑоÑеÑними запиÑами згÑдно ÐÐÐ Ð-Ñ</h1>
+ <!-- TMPL_IF name="noitemsfound" -->
+ <font color="red" size="4">Ðе знайдено Ð¶Ð¾Ð´Ð½Ð¾Ñ Ð¾Ð´Ð¸Ð½Ð¸ÑÑ</font>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="websiteadded" -->
+ <font color="red" size="4">Ðодана бÑблÑоÑеÑна одиниÑÑ Ð²ÐµÐ±-ÑайÑÑ</font>
+ <!-- /TMPL_IF -->
+
+ <div id="bloc25">
+ <form action="isbnsearch.pl">
+ <h2 class="catalogue">Щоб додаÑи новий бÑблÑоÑеÑний запиÑ, зÑÑканÑйÑе Ñи набеÑÑÑÑ Ð½Ð¾Ð¼ÐµÑ ISBN/ISSN</h2>
+ <p>
+ <label class="label100" for="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 class="label100" for="title">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="title" size="35">
+ </p>
+ <p><input type="submit" value="ÐпеÑед" class="button catalogue"></p>
+ </form>
+ <!-- TMPL_IF NAME="NOTMARC" -->
+ <p><a href="addbiblio-nomarc.pl" class="button catalogue">СÑвоÑиÑи поÑожнÑй бÑблÑоÑеÑний запиÑ</a></p>
+ <!-- TMPL_ELSE -->
+ <p>
+ <form action="addbiblio.pl" method="post">
+ <select name="frameworkcode">
+ <option value="">Ðо ÑмовÑаннÑ</option>
+ <!-- TMPL_LOOP NAME="frameworkcodeloop" -->
+ <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="frameworktext" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <input type="submit" value="СÑвоÑиÑи поÑожнÑй бÑблÑоÑеÑний запиÑ" class="button catalogue">
+ </form>
+ </p>
+ <!-- /TMPL_IF -->
+ </div>
+ <div id="bloc25">
+ <h2 class="catalogue">ÐоÑада</h2>
+ <p>ЯкÑо ÑÐ°ÐºÑ ISBN Ñи заголовок вже Ñ Ñ ÑаблиÑÑ ÑкогоÑÑ Ð±ÑблÑоÑеÑного запиÑÑ, вона бÑде знайдена Ñа може бÑÑи змÑнена.<br/>
+ ЯкÑо ISBN або заголовок Ñ Ñ ÑÑ
овиÑÑ, Ñе оÑÑимаÑÑÑÑÑ Ñа бÑблÑоÑеÑний Ð·Ð°Ð¿Ð¸Ñ Ð±Ñде доданий.<br/>
+ ÐнакÑе, бÑблÑоÑеÑний Ð·Ð°Ð¿Ð¸Ñ Ð±Ñде ÑÑвоÑений на поÑожнÑÐ¾Ð¼Ñ Ð¼ÑÑÑÑ.</p>
+ </div>
+</div>
+<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->
Index: acqui.simple/additem-nomarc.tmpl
===================================================================
RCS file: acqui.simple/additem-nomarc.tmpl
diff -N acqui.simple/additem-nomarc.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ acqui.simple/additem-nomarc.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,102 @@
+<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
+<div id="mainbloc">
+ <h1 class="catalogue"><!-- TMPL_VAR NAME="TITLE" --></h1>
+ <div id="bloc25">
+ <p>
+ <!-- TMPL_IF NAME="NOBARCODE" -->
+ <p class="problem">Ðи Ð¿Ð¾Ð²Ð¸Ð½Ð½Ñ Ð½Ð°Ð´Ð°Ñи одиниÑÑ ÑÑÑиÑ
-код</p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="NOBIBLIOITEM" -->
+ <p class="problem">Ðи Ð¿Ð¾Ð²Ð¸Ð½Ð½Ñ ÑÑвоÑиÑи Ð½Ð¾Ð²Ñ Ð³ÑÑÐ¿Ñ Ð´Ð»Ñ ÑвоÑÑ Ð¾Ð´Ð¸Ð½Ð¸ÑÑ, Ñка Ñ Ð´Ð¾Ð´Ð°Ð½Ð° до</p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="BARCODEINUSE" -->
+ <p class="problem">ÐаÑÑйÑе, але Ñей ÑÑÑиÑ
-код вже викоÑиÑÑовÑÑÑÑÑÑ</p>
+ <!-- /TMPL_IF -->
+ <h2 class="catalogue">ÐÐÐÐÐÐТÐЧÐÐÐ ÐÐÐÐС <!-- TMPL_VAR NAME="BIBNUM" --></h2>
+ <p><label class="label100">ÐвÑоÑ: </label> <!-- TMPL_VAR NAME="AUTHOR" --></p>
+ <p><label class="label100">ÐвÑоÑÑÑÐºÑ Ð¿Ñава: </label> <!-- TMPL_VAR NAME="COPYRIGHT" --></p>
+ <p><label class="label100">Ðаголовок ÑеÑÑалÑного виданнÑ: </label> <!-- TMPL_VAR NAME="SERIES" --></p>
+ <p><label class="label100">ÐоÑаÑки: </label> <!-- TMPL_VAR NAME="NOTES" --></p>
+ <!-- TMPL_LOOP NAME="BIBITEMS" -->
+ <!-- TMPL_IF NAME="WEB" -->
+ <h2 class="catalogue"><!-- TMPL_VAR NAME="biblioitemnumber" --> ÐРУÐÐ - <!-- TMPL_VAR NAME="itemtype" --></h2>
+ <p><label>URL:</label><!-- TMPL_VAR NAME="url" --></p>
+ <p><label>ÐаÑа:</label> <!-- TMPL_VAR NAME="publicationyear" --></p>
+ <p><label>ÐоÑаÑки: </label> <!-- TMPL_VAR NAME="notes" --></p>
+ <!-- TMPL_ELSE -->
+ <h2 class="catalogue"><!-- TMPL_VAR NAME="biblioitemnumber" --> ÐРУÐÐ - <!-- TMPL_VAR NAME="itemtype" --></h2>
+ <p><label>ISBN: </label> <!-- TMPL_VAR NAME="isbn" --></p>
+ <p><label>ÐÐ½Ð´ÐµÐºÑ ÐÑÑÑ (ÐÐÐ): </label> <!-- TMPL_VAR NAME="dewey" --></p>
+ <p><label>ÐидавеÑÑ: </label> <!-- TMPL_VAR NAME="publishercode" --></p>
+ <p><label>ÐÑÑÑе:</label> <!-- TMPL_VAR NAME="place" --></p>
+ <p><label>ÐаÑа:</label> <!-- TMPL_VAR NAME="publicationyear" --></p>
+ <!-- TMPL_LOOP NAME="ITEMS -->
+ <p><label class="label100">ÐдиниÑÑ:</label> <!-- TMPL_VAR NAME="barcode" --></p>
+ <p><label class="label100">ÐомаÑнÑй пÑдÑоздÑл:</label> <!-- TMPL_VAR NAME="homebranch" --></p>
+ <p><label class="label100">ÐоÑаÑки: </label> <!-- TMPL_VAR NAME="itemnotes" --></p>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ </div>
+ <div id="bloc25">
+ <form action="saveitem.pl" method="post">
+ <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="BIBNUM" -->">
+ <h2 class="catalogue">ÐÐÐÐÐÐÐÐЯ ÐÐÐÐÐ ÐÐÐÐÐЦÐ: </h2>
+ <p><i>ÐÐ»Ñ Ð²ÐµÐ±-ÑайÑÑ Ð´Ð¾Ð´Ð°ÑÑÑ Ð»Ð¸Ñе гÑÑпÑ</i></p>
+ <p><label>ШÑÑиÑ
-код одиниÑÑ Ð·Ð±ÐµÑÑганнÑ: </label><input type="text" name="barcode" size="40"></p>
+ <p>
+ <label>ÐÑдÑоздÑл:</label>
+ <select name="homebranch">
+ <!-- TMPL_LOOP NAME="BRANCHES" -->
+ <option value="<!-- TMPL_VAR NAME="branchcode" -->"><!-- TMPL_VAR NAME="branchname" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ </p>
+ <p><label>ЦÑна замÑни: </label><input type="text" name="replacementprice" size="40"></p>
+ <p><label>ÐоÑаÑки: </label><textarea name="itemnotes" cols="30" rows="6"></textarea></p>
+ </div>
+ <div id="bloc25">
+ <h2 class="catalogue">ÐодаÑи до ÑÑнÑÑÑÐ¾Ñ Ð³ÑÑпи:</h2>
+ <p>
+ <label>ÐÑÑпа: </label><select name="biblioitemnumber">
+ <!-- TMPL_LOOP NAME="BIBITEMS" -->
+ <!-- TMPL_IF NAME="WEB" -->
+ <!-- TMPL_ELSE -->
+ <option value="<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="itemtype" --></option>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ </select>
+ </p>
+ <p><input type="submit" name="existinggroup" value="ÐодаÑи Ð½Ð¾Ð²Ñ Ð¾Ð´Ð¸Ð½Ð¸ÑÑ Ð´Ð¾ ÑÑнÑÑÑÐ¾Ñ Ð³ÑÑпи"></p>
+ </div>
+ <div id="bloc25">
+ <h2 class="catalogue">ÐÐРж додаÑи Ñ Ð½Ð¾Ð²Ñ ÐРУÐУ: </h2>
+ <p>
+ <label>ФоÑмаÑ:</label>
+ <select name="itemtype">
+ <!-- TMPL_LOOP NAME="ITEMTYPES" -->
+ <option value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ </p>
+ <p><label>ISBN: </label><input name="isbn" size="40"></p>
+ <p><label>ÐидавеÑÑ: </label><input name="publishercode" size="40"></p>
+ <p><label>Ð Ñк пÑблÑкаÑÑÑ: </label><input name="publicationyear" size="40"></p>
+ <p><label>ÐÑÑÑе пÑблÑкаÑÑÑ: </label><input name="place" size="40"></p>
+ <p><label>ÐлÑÑÑÑаÑоÑ: </label><input name="illus" size="40"></p>
+ <p><label>URL веб-ÑайÑÑ: </label><input name="url" size="40"></p>
+ <p><label>ÐÐ½Ð´ÐµÐºÑ ÐÑÑÑ (ÐÐÐ): </label><input name="dewey" size="40"></p>
+ <p><label>ÐÑÐ´ÐºÐ»Ð°Ñ ÑндекÑÑ ÐÑÑÑ (ÐÐÐ): </label><input name="subclass" size="40"></p>
+ <p><label>ISSN: </label><input name="issn" size="40"></p>
+ <p><label>LCCN: </label><input name="lccn" size="40"></p>
+ <p><label>Том: </label><input name="volume" size="40"></p>
+ <p><label>ÐомеÑ: </label><input name="number" size="40"></p>
+ <p><label>ÐÐ¿Ð¸Ñ ÑомÑ: </label><input name="volumeddesc" size="40"></p>
+ <p><label>СÑоÑÑнки: </label><input name="pages" size="40"></p>
+ <p><label>РозмÑÑ: </label><input name="size" size="40"></p>
+ <p><label>ÐоÑаÑки: </label><textarea name="notes" cols="30" rows="6"></textarea></p>
+ <p><input type="submit" name="newgroup" value="ÐодаÑи Ð½Ð¾Ð²Ñ Ð¾Ð´Ð¸Ð½Ð¸ÑÑ Ñ Ð½Ð¾Ð²Ñ Ð³ÑÑпÑ" class="button catalogue"></p>
+ </form>
+ </div>
+</div>
+<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->
Index: acqui.simple/additem.tmpl
===================================================================
RCS file: acqui.simple/additem.tmpl
diff -N acqui.simple/additem.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ acqui.simple/additem.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,123 @@
+<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
+<div id="mainbloc">
+ <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" -->">
+ <div class="tabbed">
+ <h1 class="catalogue"><!-- TMPL_VAR name="title" --> (<!-- TMPL_VAR name="author" --> Ð½Ð¾Ð¼ÐµÑ Ð±ÑблÑоÑеÑного запиÑÑ â <!-- TMPL_VAR NAME="biblionumber" -->)</h1>
+ <a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> РедагÑваÑи бÑблÑоÑеÑний Ð·Ð°Ð¿Ð¸Ñ </a> <a href="../MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> ÐÐÐ Ð </a> <a href="../detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> ÐоÑмалÑний </a> <a href="../ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> ISBD </a>
+ </div>
+ <!-- TMPL_IF name="item_loop" -->
+ <div id="bloc25">
+ <div name="10XX" id="10XX">
+ <h2 class="catalogue">ÐÑнÑÑÑÑ Ð¾Ð´Ð¸Ð½Ð¸ÑÑ</h2>
+ <table>
+ <tr>
+ <!-- TMPL_LOOP NAME="item_header_loop" -->
+ <th class="catalogue">
+ <TMPL_VAR NAME="header_value">
+ </th>
+ <!-- /TMPL_LOOP -->
+ <th colspan="2" class="catalogue"> </th>
+ </tr>
+ <!-- TMPL_LOOP NAME="item_loop" -->
+ <tr>
+ <!-- TMPL_VAR NAME="item_value" -->
+ <!-- TMPL_IF Name="nomod" -->
+ <td> </td>
+ <td> </td>
+ <!-- TMPL_ELSE -->
+ <td><a href="additem.pl?op=edititem&bibid=<!-- TMPL_VAR NAME="bibid" -->&itemnum=<!-- TMPL_VAR NAME="itemnum" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" border="0"></a></td>
+ <td><a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="bibid" -->,<!-- TMPL_VAR NAME="itemnum" -->)"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" border="0"></a></td>
+ <!-- /TMPL_IF -->
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ </div>
+ </div>
+ <!-- /TMPL_IF -->
+ <div id="bloc25">
+ <!-- TMPL_IF name="opisadd" -->
+ <h2 class="catalogue">Ðова одиниÑÑ Ð·Ð±ÐµÑÑганнÑ</h2>
+ <!-- TMPL_ELSE -->
+ <h2 class="catalogue">ÐмÑниÑи одиниÑÑ</h2>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="item" -->
+ <p>
+ <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>
+ <!-- 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" -->">
+ <!-- TMPL_IF name="barcode_not_unique" -->
+ <div id="problem"><b>ÐÐÐÐÐÐÐ: ШÑÑиÑ
-код вже ÑÑнÑÑ!<b></div>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="book_on_loan" -->
+ <div id="problem"><b>ÐÐÐÐÐÐÐ: ÐдиниÑÑ Ñ Ð¿Ð¾Ð·Ð¸ÑÑ: не можна ÑÑ Ð²Ð¸Ð´Ð°Ð»ÑÑи!<b></div>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="opisadd" -->
+ <input type="button" value="ÐодаÑи одиниÑÑ" onclick="Check(this.form)" accesskey="w" class="button catalogue">
+ <!-- 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="ÐмÑниÑи одиниÑÑ" onclick="Check(this.form)" accesskey="w" class="button catalogue">
+ <!-- /TMPL_IF -->
+ </form>
+</div>
+<script LANGUAGE="JavaScript">
+function _(s) { return s } // dummy function for gettext
+function active(numlayer)
+{
+ for (i=10; i < 11 ; i++ ) {
+ ong = i+"XX";
+ link = "link"+i;
+ if (numlayer==i) {
+ 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";
+ document.getElementById(link).style.backgroundColor="#FFFFFF";
+ document.getElementById(link).style.backgroundImage="";
+ }
+ }
+}
+function Check(f) {
+ var total_errors=0;
+// alert(f.field_value.length);
+ for (i=0 ; i<f.field_value.length ; i++) {
+// alert (f.field_value[i].value);
+ if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
+ document.getElementById("error"+i).style.backgroundColor="#FF0000";
+ total_errors++;
+ } else {
+// document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
+ }
+ }
+ var alertString2;
+ if (total_errors==0) {
+ document.f.submit();
+ } else {
+ alertString2 = _("ФоÑма не вÑдÑÑлана ÑеÑез наÑÑÑÐ¿Ð½Ñ Ð¿Ñоблеми(Ñ)");
+ alertString2 += "\n------------------------------------------------------------------------------------\n";
+ alertString2 += "\n- "+ total_errors+_(" обов'ÑÐ·ÐºÐ¾Ð²Ñ Ð¿Ð¾Ð»Ñ Ð¿Ð¾ÑÐ¾Ð¶Ð½Ñ (дивÑÑÑÑÑ Ð¿ÑдполÑ, вÑдмÑÑÐµÐ½Ñ Ð¶Ð¸Ñним ÑÑиÑÑом)");
+ alert(alertString2);
+ }
+}
+function Dopop(link,i) {
+ defaultvalue=document.forms['f'].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(_('Ðи пÑдÑвеÑджÑÑÑе Ð²Ð¸Ð´Ð°Ð»ÐµÐ½Ð½Ñ Ð¾Ð´Ð¸Ð½Ð¸ÑÑ?'));
+ if (is_confirmed) {
+ window.location = "additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;
+ }
+}
+</script>
+</body>
+</html>
Index: acqui.simple/isbnsearch.tmpl
===================================================================
RCS file: acqui.simple/isbnsearch.tmpl
diff -N acqui.simple/isbnsearch.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ acqui.simple/isbnsearch.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,161 @@
+<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
+<div id="mainbloc">
+ <h1 class="catalogue">РезÑлÑÑаÑи поÑÑÐºÑ Ð·Ð° бÑблÑоÑеÑними запиÑами</h1>
+ <div id="bloc25">
+ <h2 class="catalogue">Ðи ÑÑкали за </h2>
+ <!-- TMPL_IF name="isbn" -->
+ <p>ISBN <!-- TMPL_VAR NAME="isbn" --></p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="title" -->
+ <p>заголовок <!-- TMPL_VAR NAME="title" --></p>
+ <!-- /TMPL_IF -->
+ </div>
+ <div id="bloc25">
+ <h2 class="catalogue">ÐÑблÑоÑеÑÐ½Ñ Ð·Ð°Ð¿Ð¸Ñи Ñ ÐоÑ
а</h2>
+ <!-- TMPL_IF name="loop" -->
+ <div id="resultnumber">
+ <p>
+ <!-- TMPL_IF NAME="displayprev" -->
+ <a class="resultnumber" 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">
+ <<ÐопеÑеднÑ
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF NAME="highlight" -->
+ <span class="highlight"><!-- TMPL_VAR NAME="number" --></span>
+ <!-- TMPL_ELSE -->
+ <a class="resultnumber" 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="resultnumber" 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">
+ ÐаÑÑÑпнÑ>>
+ </a>
+ <!-- /TMPL_IF -->
+ </p>
+ <p class="resultcount">
+ <!-- TMPL_IF NAME="total" -->
+ РезÑлÑÑаÑи поÑÑÐºÑ Ð· <!-- TMPL_VAR NAME="from" --> до <!-- TMPL_VAR NAME="to" --> Ð·Ñ <!-- TMPL_VAR NAME="total" -->
+ <!-- TMPL_ELSE -->
+ ÐÑÑого не знайдено.
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
+ <table>
+ <tr>
+ <th class="catalogue">Ðаголовок</th>
+ <th class="catalogue">ÐвÑоÑ</th>
+ <th class="catalogue">©</th>
+ <th class="catalogue"> </th>
+ <!-- TMPL_UNLESS NAME="NOTMARC" -->
+ <th class="catalogue"> </th>
+ <!-- /TMPL_UNLESS -->
+ </tr>
+ <!-- TMPL_LOOP NAME="loop" -->
+ <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
+ <td><!-- TMPL_VAR NAME="title" --></a>
+ <td><!-- TMPL_VAR NAME="author" --></td>
+ <td><!-- TMPL_VAR NAME="copyrightdate" --></td>
+ <!-- TMPL_IF NAME="NOTMARC" -->
+ <td><a href="additem-nomarc.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">ÐодаÑи одиниÑÑ</a></td>
+ <!-- TMPL_ELSE -->
+ <td><a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">РедагÑваÑи...</a></td>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_UNLESS NAME="NOTMARC" -->
+ <td>
+ <a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">
+ ÐдÑблÑваÑи
+ </a>
+ </td>
+ <!-- /TMPL_UNLESS -->
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <div id="resultnumber">
+ <p>
+ <!-- TMPL_IF NAME="displayprev" -->
+ <a class="resultnumber" 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">
+ <<ÐопеÑеднÑ
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF NAME="highlight" -->
+ <span class="highlight"><!-- TMPL_VAR NAME="number" --></span>
+ <!-- TMPL_ELSE -->
+ <a class="resultnumber" 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="resultnumber" 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">
+ ÐаÑÑÑпнÑ>>
+ </a>
+ <!-- /TMPL_IF -->
+ </p>
+ <p class="resultcount">
+ <!-- TMPL_IF NAME="total" -->
+ РезÑлÑÑаÑи поÑÑÐºÑ Ð· <!-- TMPL_VAR NAME="from" --> до <!-- TMPL_VAR NAME="to" --> Ð·Ñ <!-- TMPL_VAR NAME="total" -->
+ <!-- TMPL_ELSE -->
+ ÐÑÑого не знайдено.
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
+ <!-- TMPL_ELSE -->
+ <p>ÐемаÑ</p>
+ <!-- /TMPL_IF -->
+ </div>
+ <div id="bloc25">
+ <h2 class="catalogue">ÐÑблÑоÑеÑÐ½Ñ Ð·Ð°Ð¿Ð¸Ñи Ñ ÑÑ
овиÑÑ</h2>
+ <!-- TMPL_IF name="breeding_loop" -->
+ <table>
+ <tr>
+ <th class="catalogue">Ðаголовок</th>
+ <th class="catalogue">ÐвÑоÑ</th>
+ <th class="catalogue">ISBN</th>
+ <th class="catalogue">пÑибÑÑÑÑ Ð·Ñ</th>
+ <th class="catalogue"> </th>
+ <th class="catalogue"> </th>
+ </tr>
+ <!-- TMPL_LOOP NAME="breeding_loop" -->
+ <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /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" -->" class="button catalogue">ÐодаÑи бÑблÑоÑеÑний запиÑ</a></td>
+ <!-- /TMPL_IF -->
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <!-- TMPL_ELSE -->
+ <p>ÐемаÑ</p>
+ <!-- /TMPL_IF -->
+ </div>
+ <div id="bloc25">
+ <h2 class="catalogue">ÐодаÑи бÑблÑоÑеÑний запиÑ</h2>
+ <p class="center">
+ <!-- TMPL_IF NAME="NOTMARC" -->
+ <a href="addbiblio-nomarc.pl?isbn=<!-- TMPL_VAR NAME="isbn" -->" class="button catalogue">ÐодаÑи новий бÑблÑоÑеÑний запиÑ</a>
+ <!-- TMPL_ELSE -->
+ <p>
+ <form action="addbiblio.pl" method="post">
+ <select name="frameworkcode">
+ <option value="">Ðо ÑмовÑаннÑ</option>
+ <!-- TMPL_LOOP NAME="frameworkcodeloop" -->
+ <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="frameworktext" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <input type="submit" value="СÑвоÑиÑи поÑожнÑй бÑблÑоÑеÑний запиÑ" class="button catalogue">
+ </form>
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
+
+</div>
+<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->
Index: acqui.simple/marcimport.tmpl
===================================================================
RCS file: acqui.simple/marcimport.tmpl
diff -N acqui.simple/marcimport.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ acqui.simple/marcimport.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,60 @@
+<!-- TMPL_INCLUDE NAME="acquisitions-top.inc" -->
+<h1>СиÑÑема ÐÐÐ Ð-надÑ
одженÑ</h1>
+
+<table bgcolor="#ffcc00" width="80%" cellpadding="3">
+ <tr valign="center">
+ <td><font size="4">ÐмпоÑÑ Ð´Ð¾ ÑÑ
овиÑа</font></td>
+ </tr>
+</table>
+
+<!-- TMPL_IF name="uploadmarc" -->
+<p>РезÑлÑÑаÑи ÑмпоÑÑÑ: </p>
+<ul>
+ <p><!-- TMPL_VAR NAME="imported" --> ÑмпоÑÑовано запиÑÑв</p>
+ <p><!-- TMPL_VAR NAME="alreadyindb" --> не ÑмпоÑÑовано, ÑÐ¾Ð¼Ñ Ñо вже Ñ Ñ ÐÐ</p>
+ <p><!-- TMPL_VAR NAME="alreadyinfarm" --> не ÑмпоÑÑовано, ÑÐ¾Ð¼Ñ Ñо вже Ñ Ñ 'ÑеÑмÑ' запиÑÑв</p>
+ <p><!-- TMPL_VAR NAME="notmarcrecord" --> не ÑмпоÑÑовано, ÑÐ¾Ð¼Ñ Ñо вони, здаÑÑÑÑÑ, не Ñ Ñ ÐÐÐ Ð-ÑоÑмаÑÑ (або вÑдÑÑÑÐ½Ñ ISBN/ISSN)!</p>
+ <p><!-- TMPL_VAR NAME="total" --> пÑоаналÑзовано запиÑÑв</p>
+ <p><a href="addbooks.pl">Ðазад до надÑ
одженÑ</a>
+</ul>
+<!-- TMPL_ELSE -->
+<ul>
+ <li>ÐибеÑÑÑÑ Ñайл Ð´Ð»Ñ ÑмпоÑÑÑ Ð´Ð¾ ÑÑ
овиÑа. ÐÑн бÑде пÑоаналÑзований, Ñ Ð´Ð»Ñ ÐºÐ¾Ð¶Ð½Ð¾Ð³Ð¾ знайденого ISBN, новий малÑк-Ð·Ð°Ð¿Ð¸Ñ Ð±Ñде ÑÑвоÑений Ñ ÑÑ
овиÑÑ.</li>
+ <li>ЯкÑо ISBN вже ÑÑнÑÑ Ñ ÑÑ
овиÑÑ, Ðи можеÑе вибÑаÑи, Ñи неÑ
ÑÑваÑи новим запиÑом Ñи запиÑаÑи повеÑÑ
ÑÑаÑого.</li>
+ <li>Ðи можеÑе ввеÑÑи Ñм'Ñ ÑÑого ÑмпоÑÑÑ. Ðоно може бÑÑи коÑиÑно пÑи ÑÑвоÑÐµÐ½Ð½Ñ Ð±ÑблÑоÑеÑного запиÑÑ, Ñоб пам'ÑÑаÑи, звÑдки пÑийÑли запÑÐ¾Ð¿Ð¾Ð½Ð¾Ð²Ð°Ð½Ñ ÐÐÐ Ð-данÑ!</li>
+ <li>ÐвиÑайно, ÑкÑо ISBN вже ÑÑнÑÑ Ñ Ð°ÐºÑивнÑй ÐÐ, бÑблÑоÑеÑний Ð·Ð°Ð¿Ð¸Ñ Ð±Ñде пÑоÑгноÑовано.</li>
+</ul>
+<form method="post" action="<!-- TMPL_VAR NAME="SCRIPT_NAME" -->" enctype="multipart/form-data">
+<table cellpadding="3" border="0">
+ <tr valign="top">
+ <td>ÐибеÑÑÑÑ Ñайл Ð´Ð»Ñ ÑмпоÑÑÑ: </td>
+ <td>
+ <input type="file" name="uploadmarc" /><br/>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td>Ðазва Ð´Ð»Ñ ÑÑого ÑмпоÑÑÑваннÑ: </td>
+ <td>
+ <input type="text" name="filename" /><br/>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td>ÐодÑÐ²Ð°Ð½Ð½Ñ ÑимволÑв (MARC21 або UNIMARC)</td>
+ <td>
+ <select name="syntax" /><option value="MARC21">MARC21</option><option value="UNIMARC">UNIMARC</option></select><br/>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td>ЯкÑо ISBN вже Ñ Ñ ÑÑ
овиÑÑ: </td>
+ <td><input type="radio" name="overwrite_biblio" value="0" checked> ÐгноÑÑваÑи його, збеÑÑгÑи ÑÑнÑÑÑий<br/>
+ <input type="radio" name="overwrite_biblio" value="1"> Цей запиÑаÑи повеÑÑ
а ÑÑнÑÑÑого</td>
+ </tr>
+ <tr valign="top">
+ <td> </td>
+ <td><input type="submit" value="ÐмпоÑÑÑваÑи"></td>
+ </tr>
+
+</table>
+</form>
+<!-- /TMPL_IF -->
+<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->
Index: authorities/auth_finder.tmpl
===================================================================
RCS file: authorities/auth_finder.tmpl
diff -N authorities/auth_finder.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ authorities/auth_finder.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,60 @@
+<!-- TMPL_INCLUDE NAME="auth-search-top.inc" -->
+<div id="mainbloc">
+
+<h1 class="authority">ÐоÑÑк за авÑоÑиÑеÑним джеÑелом</h1>
+
+<form name="f" action="/cgi-bin/koha/authorities/auth_finder.pl" method="post">
+ <input type="hidden" name="op" value="do_search">
+ <input type="hidden" name="type" value="intranet">
+ <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
+ <div id="bloc25">
+ <h2 class="authority">ÐоÑÑк за</h2>
+ <p>
+ <label class="label100">Тип авÑоÑиÑеÑного джеÑела </label>
+ <!-- TMPL_VAR NAME="authtypecode" -->
+ <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
+ </p>
+ <p>
+ <label class="label100">ÐÑновне вÑ
Ð¾Ð´Ð¶ÐµÐ½Ð½Ñ ($a ÑÑлÑки)</label>
+ <select name="operator">
+ <option value="contains">мÑÑÑиÑÑ</option>
+ <option value="start">поÑинаÑÑÑÑÑ</option>
+ </select>
+ <input type="text" name="value" value="<!-- TMPL_VAR NAME="resultstring" -->">
+ <input type="hidden" name="marclist" value="$a">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ </p>
+ <p>
+ <label class="label100">ÐÑновне вÑ
Ð¾Ð´Ð¶ÐµÐ½Ð½Ñ </label>
+ <select name="operator">
+ <option value="contains">мÑÑÑиÑÑ</option>
+ <option value="start">поÑинаÑÑÑÑÑ</option>
+ </select>
+ <input type="text" name="value">
+ <input type="hidden" name="marclist" value="mainentry">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ </p>
+ <p>
+ <label class="label100">Ðе-небÑÐ´Ñ </label>
+ <select name="operator">
+ <option value="contains">мÑÑÑиÑÑ</option>
+ <option value="start">поÑинаÑÑÑÑÑ</option>
+ </select>
+ <input type="text" name="value">
+ <input type="hidden" name="marclist" value="">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ <input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
+ <input type="hidden" name="tagid" value="<!-- TMPL_VAR NAME="tagid" -->">
+ </p>
+ <p>(додавайÑе Ñимвол % в кÑнÑÑ ÐаÑого Ñлова, ÑкÑо Ðи Ñ
оÑеÑе викоÑиÑÑовÑваÑи ÑÑÑÐºÐ°Ð½Ð½Ñ ÑпÑава: пÑи Ð²Ð²ÐµÐ´ÐµÐ½Ñ ÑеоÑ% бÑде знайдено ÑеоÑÑÑ Ñа ÑеоÑÑÑ)</p>
+ <p>
+ <input type="submit" value="ÐоÑаÑи поÑÑк" class="button authority">
+ </p>
+ </div>
+</form>
+</div>
+<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
+
Index: authorities/authorities-home.tmpl
===================================================================
RCS file: authorities/authorities-home.tmpl
diff -N authorities/authorities-home.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ authorities/authorities-home.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,77 @@
+ <!-- TMPL_INCLUDE NAME="auth-top.inc" -->
+<div id="mainbloc">
+
+<h1 class="authority">ÐоÑÑк за авÑоÑиÑеÑним джеÑелом</h1>
+
+<form name="f" action="/cgi-bin/koha/authorities/authorities-home.pl" method="post">
+ <input type="hidden" name="op" value="do_search">
+ <input type="hidden" name="type" value="intranet">
+ <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
+ <div id="bloc25">
+ <h2 class="authority">ÐоÑÑк за
+ <select name="authtypecode">
+ <!-- TMPL_LOOP NAME="authtypesloop" -->
+ <option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
+ <!-- TMPL_VAR NAME="authtypetext" -->
+ </option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ </h2>
+ <p>
+ <label class="label100">ÐÑновне вÑ
Ð¾Ð´Ð¶ÐµÐ½Ð½Ñ ($a ÑÑлÑки)</label>
+ <select name="operator">
+ <option value="contains">мÑÑÑиÑÑ</option>
+ <option value="start">поÑинаÑÑÑÑÑ</option>
+ </select>
+ <input type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
+ <input type="hidden" name="marclist" value="$a">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ </p>
+ <p>
+ <label class="label100">ÐÑновне вÑ
Ð¾Ð´Ð¶ÐµÐ½Ð½Ñ </label>
+ <select name="operator">
+ <option value="contains">мÑÑÑиÑÑ</option>
+ <option value="start">поÑинаÑÑÑÑÑ</option>
+ </select>
+ <input type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
+ <input type="hidden" name="marclist" value="mainentry">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ </p>
+ <p>
+ <label class="label100">Ðе-небÑÐ´Ñ </label>
+ <select name="operator">
+ <option value="contains">мÑÑÑиÑÑ</option>
+ <option value="start">поÑинаÑÑÑÑÑ</option>
+ </select>
+ <input type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
+ <input type="hidden" name="marclist" value="">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ </p>
+ <p>(додавайÑе Ñимвол % в кÑнÑÑ ÐаÑого Ñлова, ÑкÑо Ðи Ñ
оÑеÑе викоÑиÑÑовÑваÑи ÑÑÑÐºÐ°Ð½Ð½Ñ ÑпÑава: пÑи Ð²Ð²ÐµÐ´ÐµÐ½Ñ <b>ÑеоÑ%</b> бÑде знайдено ÑеоÑÑÑ Ñа ÑеоÑÑÑ)</p>
+ <p>
+ <input type="submit" value="ÐоÑаÑи поÑÑк" class="button authority">
+ </p>
+ </div>
+</form>
+<div id="bloc25">
+<h2 class="authority">ÐодаÑи авÑоÑиÑеÑне джеÑело</h2>
+<form name="f2" method="post" action="authorities.pl">
+ <p>Тип авÑоÑиÑеÑного джеÑела
+ <select name="authtypecode">
+ <!-- TMPL_LOOP name="authtypesloop" -->
+ <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
+ <!-- TMPL_VAR name="authtypetext" -->
+ </option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <input type="submit" value="ÐодаÑи" class="button authority">
+ </p>
+</form>
+</div>
+
+</div>
+<!-- TMPL_INCLUDE NAME="auth-bottom.inc" -->
+
Index: authorities/authorities.tmpl
===================================================================
RCS file: authorities/authorities.tmpl
diff -N authorities/authorities.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ authorities/authorities.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,207 @@
+<!-- TMPL_INCLUDE NAME="auth-top.inc" -->
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
+
+<div class="tabbed">
+ <form method="post" name="f">
+ <!-- TMPL_IF name="authid" -->
+ <h1 class="authority">ÐодиÑÑкаÑÑÑ Ð°Ð²ÑоÑиÑеÑного джеÑела â <!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
+ <!-- TMPL_ELSE -->
+ <h1 class="authority">ÐÐ¾Ð´Ð°Ð²Ð°Ð½Ð½Ñ Ð°Ð²ÑоÑиÑеÑного джеÑела (<!-- TMPL_VAR name="authtypetext" -->)</h1>
+ <!-- /TMPL_IF -->
+ <p>
+ <input type="hidden" name="op" value="add">
+ <input type="hidden" name="addfield_field">
+ <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
+ <input type="hidden" name="authid" value="<!-- TMPL_VAR NAME="authid" -->">
+ <!-- TMPL_IF name="authid" -->
+ <input type="button" value="ÐбеÑегÑи" onclick="Check(this.form)" accesskey="w" class="button authority">
+ <!-- TMPL_ELSE -->
+ <input type="button" value="ÐодаÑи авÑоÑиÑеÑне джеÑело" onclick="Check(this.form)" accesskey="w" class="button authority">
+ <!-- /TMPL_IF -->
+ </p>
+</div>
+
+<br><br><br><br><br><br><br><br><br><br><br>
+<!-- TMPL_IF name="duplicateauthid" -->
+ <div class="problem">
+ <p>РпÑдозÑа на дÑблÑÐ²Ð°Ð½Ð½Ñ Ð· <a href='javascript:openWindow("detail.pl?authid=<!-- TMPL_VAR name="duplicateauthid" -->&popup=1", "Duplicate Authority")' class="button authority"><!-- TMPL_VAR name="duplicateauthvalue" --></a></p>
+ <p>ÐибеÑÑÑÑ Ñой Ñи ÑнÑий: </p>
+ <ul>
+ <p><input type="checkbox" value=1 name="confirm_not_duplicate">пÑдÑвеÑдÑÑÑ, Ñо Ñе не дÑблÑÐºÐ°Ñ (Ñ ÐºÐ»Ð°ÑнÑÑÑ Ð½Ð° <input type="button" value="ÐодаÑи авÑоÑиÑеÑне джеÑело" onclick="Check(this.form)" accesskey="w" class="button authority"> зновÑ)</p>
+ <p>ÐеÑейÑи до <a href="authorities.pl?authid=<!-- TMPL_VAR name="duplicateauthid" -->" >пеÑвÑÑного авÑоÑиÑеÑного джеÑела</a></p>
+ </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">
+ <!-- TMPL_UNLESS name="hide_marc" -->
+ <img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
+ <input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
+ <!-- TMPL_ELSE -->
+ <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
+ <!-- /TMPL_UNLESS -->
+ <!-- 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="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 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 -->
+ </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>
+<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
+ var field_is_nonempty_p = new Array();
+ for (i=0 ; i<f.field_value.length ; i++) {
+ field_is_nonempty_p[f.tag[i].value] = 0;
+ }
+ for (i=0 ; i<f.field_value.length ; i++) {
+ if (f.field_value[i].value.length != 0) {
+ field_is_nonempty_p[f.tag[i].value] += 1;
+ }
+ }
+
+ // Scan for missing mandatory subfields
+ var total_missing_mandatory_subfields = 0;
+ for (i=0 ; i<f.field_value.length-2 ; i++) {
+ if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
+ // We should not flag an error unless the tag is also
+ // 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";
+ total_missing_mandatory_subfields++;
+ }
+ } else {
+ document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
+ }
+ }
+
+ // Scan for missing mandatory tags
+ var total_missing_mandatory_tags = 0;
+ var seen_mandatory_tag_p = new Array();
+ for (i=0 ; i<f.field_value.length ; i++) {
+ var j = f.tag[i].value;
+ if (!field_is_nonempty_p[j] && f.tag_mandatory[i].value == 1) {
+ if (seen_mandatory_tag_p[j] != 1) {
+ seen_mandatory_tag_p[j] = 1;
+ total_missing_mandatory_tags++;
+ }
+ document.getElementById("error"+i).style.backgroundColor="#ffff00";
+ }
+ }
+
+ var total_errors = total_missing_mandatory_tags + total_missing_mandatory_subfields;
+ var alertString2;
+ if (total_errors!=0) {
+ alertString2 = _("ФоÑма не вÑдÑÑлана ÑеÑез наÑÑÑÐ¿Ð½Ñ Ð¿Ñоблеми(Ñ)");
+ alertString2 += "\n------------------------------------------------------------------------------------\n";
+ alertString2 += "\n- "+ total_missing_mandatory_tags +_(" обов'ÑÐ·ÐºÐ¾Ð²Ñ Ð¾Ð·Ð½Ð°ÐºÐ¸ поÑожнÑ");
+ alertString2 += "\n- "+ total_missing_mandatory_subfields +_(" обов'ÑÐ·ÐºÐ¾Ð²Ñ Ð¿Ð¾Ð»Ñ Ð¿Ð¾ÑÐ¾Ð¶Ð½Ñ (дивÑÑÑÑÑ Ð¿ÑдполÑ, вÑдмÑÑÐµÐ½Ñ Ð¶Ð¸Ñним ÑÑиÑÑом)");
+ alert(alertString2);
+ } else {
+ document.forms['f'].submit();
+ }
+}
+function Dopop(link,i) {
+ defaultvalue=document.forms['f'].field_value[i].value;
+ newin=window.open(link+"&result="+defaultvalue,"value builder",'width=550,height=550,toolbar=false,scrollbars=yes');
+}
+
+function PopupZ3950() {
+ var strQuery="";
+ for (i=0 ; i<document.forms['f'].field_value.length ; i++) {
+ if (document.forms['f'].kohafield[i].value == "biblioitems.isbn" && document.forms['f'].field_value[i].value.length>0) {
+ strQuery += "&isbn="+document.forms['f'].field_value[i].value;
+ }
+ if (document.forms['f'].kohafield[i].value == "biblio.title" && document.forms['f'].field_value[i].value.length>0) {
+ strQuery += "&title="+document.forms['f'].field_value[i].value;
+ }
+ if (document.forms['f'].kohafield[i].value == "biblio.author" &&document.forms['f'].field_value[i].value.length>0) {
+ strQuery += "&author="+document.forms['f'].field_value[i].value;
+ }
+ if (document.forms['f'].kohafield[i].value == "biblioitems.issn" && document.forms['f'].field_value[i].value.length>0) {
+ strQuery += "&issn="+document.forms['f'].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');
+}
+
+function AddField(field) {
+ document.forms['f'].op.value = "addfield";
+ document.forms['f'].addfield_field.value=field;
+ document.f.submit();
+}
+
+function upSubfield(index) {
+ temp = document.forms['f'].field_value[index-1].value;
+ document.forms['f'].field_value[index-1].value=document.forms['f'].field_value[index].value;
+ document.forms['f'].field_value[index].value= temp;
+ temp = document.forms['f'].subfield[index-1].value;
+ document.forms['f'].subfield[index-1].value=document.forms['f'].subfield[index].value;
+ document.forms['f'].subfield[index].value = temp;
+ temp = document.forms['f'].mandatory[index-1].value;
+ document.forms['f'].mandatory[index-1].value=document.forms['f'].mandatory[index].value;
+ document.forms['f'].mandatory[index].value = temp;
+ temp = document.forms['f'].kohafield[index-1].value;
+ document.forms['f'].kohafield[index-1].value=document.forms['f'].kohafield[index].value;
+ document.forms['f'].kohafield[index].value = temp;
+}
+
+</script>
+</body>
+</html>
Index: authorities/blinddetail-biblio-search.tmpl
===================================================================
RCS file: authorities/blinddetail-biblio-search.tmpl
diff -N authorities/blinddetail-biblio-search.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ authorities/blinddetail-biblio-search.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,61 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<!-- TMPL_IF NAME="TemplateEncoding" --><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><!-- TMPL_ELSE --><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><!-- /TMPL_IF -->
+
+<body>
+<script language="JavaScript" type="text/javascript">
+
+function go()
+{
+var index_start = <!-- TMPL_VAR NAME="index" -->;
+var whichfield = opener.opener.document.f.tag[index_start].value;
+i=index_start
+// go forward, until reaching the end of the field.
+while (i<opener.opener.document.f.field_value.length) {
+ if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9') {
+ opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR NAME="authid" -->";
+ }
+ <!-- TMPL_LOOP NAME="0XX" -->
+ <!-- TMPL_LOOP NAME="subfield" -->
+ if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '<!-- TMPL_VAR NAME="marc_subfield" -->')
+ {
+ opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR NAME="marc_value" -->";
+ }
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+ if (opener.opener.document.f.tag[i].value != whichfield) {
+ i=opener.opener.document.f.field_value.length;
+ }
+ i++;
+}
+// go backward until the beginning of the field
+i=index_start
+while (i>=0) {
+ if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9') {
+ opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR NAME="authid">";
+ }
+ <!-- TMPL_LOOP NAME="0XX" -->
+ <!-- TMPL_LOOP NAME="subfield" -->
+ if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '<!-- TMPL_VAR NAME="marc_subfield" -->')
+ {
+ opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR NAME="marc_value" -->";
+ }
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+ if (opener.opener.document.f.tag[i].value != whichfield) {
+ i=0;
+ }
+ i--;
+}
+ opener.close();
+ self.close();
+ return false;
+
+
+}
+</script>
+<script language="javascript" type="text/javascript">
+window.onload = go();
+</script>
+</body>
+</html>
Index: authorities/detail-biblio-search.tmpl
===================================================================
RCS file: authorities/detail-biblio-search.tmpl
diff -N authorities/detail-biblio-search.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ authorities/detail-biblio-search.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,86 @@
+<!-- TMPL_INCLUDE NAME="auth-top.inc" -->
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
+<div class="tabbed">
+ <h1 class="authority">ÐÐ¾Ð¼ÐµÑ Ð°Ð²ÑоÑиÑеÑного джеÑела: <!-- TMPL_VAR NAME="authid" --></h1>
+ <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
+ <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png">
+ </a>
+ <a href="javascript:confirm_deletion()">
+ <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
+ </a>
+ <a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->&index=<!-- TMPL_VAR NAME="index" -->')" class="button authority">
+ ÐÑÑк
+ </a>
+ <a href="javascript:CopyValues()"> <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/arrow.gif" height="45" width="45">
+
+ </a>
+</div>
+<br><br><br>
+<div name="0XX" id="0XX" class="tab" style="visibility:visible">
+ <!-- TMPL_LOOP NAME="0XX" -->
+ <p class="MARCtag">
+ <!-- TMPL_VAR NAME="tag" -->
+ </p>
+ <!-- TMPL_LOOP NAME="subfield" -->
+ <p>
+ <label class="labelsubfield">
+ <a href="search.marc/search.pl?op=do_search&marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&operator==&type=intranet&value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
+ <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15">
+ </a>
+ <!-- TMPL_VAR NAME="marc_subfield" -->
+ <!-- TMPL_VAR NAME="marc_lib" --></label>
+ <!-- TMPL_VAR NAME="marc_value" -->
+ </p>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+</div>
+
+<script language="JavaScript" type="text/javascript">
+
+function confirm_deletion() {
+ var is_confirmed = confirm('Are you sure you want to delete this biblio?');
+ if (is_confirmed) {
+ window.location="acqui.simple/addbiblio.pl?op=delete&bibid=<!-- TMPL_VAR NAME="bibid" -->";
+ }
+}
+function Dopop(link) {
+ newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
+}
+
+function CopyValues()
+{
+var index_start = <!-- TMPL_VAR NAME="index" -->;
+opener.opener.document.f.field_value[index_start].value = '<!-- TMPL_VAR NAME="authid">';
+var whichfield = opener.opener.document.f.tag[index_start].value;
+for (i=index_start ; i<opener.opener.document.f.field_value.length ; i++) {
+
+if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9')
+ {
+ opener.opener.document.f.field_value[i].value = '<!-- TMPL_VAR NAME="authid">';
+ }
+
+}
+
+
+<!-- TMPL_LOOP NAME="0XX" -->
+ <!-- TMPL_LOOP NAME="subfield" -->
+for (i=index_start ; i<opener.opener.document.f.field_value.length ; i++) {
+
+if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '<!-- TMPL_VAR NAME="marc_subfield" -->')
+ {
+ opener.opener.document.f.field_value[i].value = '<!-- TMPL_VAR NAME="marc_value" -->';
+ }
+
+}
+
+ <!-- /TMPL_LOOP -->
+<!-- /TMPL_LOOP -->
+ opener.close();
+ self.close();
+ return false;
+
+}
+
+</script>
+</body>
+</html>
Index: authorities/detail.tmpl
===================================================================
RCS file: authorities/detail.tmpl
diff -N authorities/detail.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ authorities/detail.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,98 @@
+<!-- TMPL_INCLUDE NAME="auth-top.inc" -->
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
+<!-- TMPL_IF Name="displayhierarchy"-->
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/hierarchy.css">
+<script language="JavaScript" type="text/javascript">
+function showParents(mynumber) {
+ var parents=document.getElementsByName(mynumber+'p')
+ for(i=0;i<parents.length;i++){
+ if (parents[i].style.display == "none") {
+ parents[i].style.display ="block";
+ } else {
+ parents[i].style.display ="none";
+ }
+ }
+}
+function showChildren(mynumber) {
+ var children=document.getElementsByName(mynumber+'c')
+ for(i=0;i<children.length;i++){
+ if (children[i].style.display == "none") {
+ children[i].style.display = "block";
+ } else {
+ children[i].style.display = "none";
+ }
+ }
+}
+</script>
+
+<div class="hierarchies">
+<!--TMPL_LOOP Name="loophierarchies" -->
+ <div class="hierarchy">
+ <!--TMPL_LOOP Name="loopelement" -->
+ <div id="<!--TMPL_VAR Name="loopauthid" -->" class="<!--TMPL_VAR Name="class" -->">
+ <!--TMPL_IF Name="ifparents" -->
+ <!--TMPL_LOOP Name="loopparents" -->
+ <div name="<!--TMPL_VAR Name="loopauthid" -->p" class="parent"> <a href="detail.pl?authid=<!--TMPL_VAR Name="parentauthid" -->"><!--TMPL_VAR Name="parentvalue" --></a></div>
+ <!--/TMPL_LOOP-->
+ <!--/TMPL_IF -->
+ <!-- TMPL_IF name="current_value" -->
+ <!--TMPL_VAR Name="value" -->
+ <!-- TMPL_ELSE -->
+ <a href="detail.pl?authid=<!--TMPL_VAR Name="loopauthid" -->" title="ТеÑмÑн"><!--TMPL_VAR Name="value" --></a>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF Name="ifchildren" -->
+ <sub><a class="parents" title="ÐÑжÑÑ ÑеÑмÑни" href="JavaScript:showChildren('<!--TMPL_VAR Name="loopauthid" -->');">+</a></sub><br/>
+ <!--TMPL_LOOP Name="loopchildren" -->
+ <div name="<!--TMPL_VAR Name="loopauthid" -->c" class="child"> <a href="detail.pl?authid=<!--TMPL_VAR Name="childauthid" -->"><!--TMPL_VAR Name="childvalue" --></a></div>
+ <!--/TMPL_LOOP-->
+ <!-- /TMPL_IF -->
+ </div>
+ <!--/TMPL_LOOP-->
+
+ </div>
+<!--/TMPL_LOOP-->
+</div>
+<!-- /TMPL_IF -->
+<div class="tabbed">
+ <h1 class="authority">ÐвÑоÑиÑеÑне джеÑело â <!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
+ <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
+ <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png">
+ </a>
+ <!-- TMPL_UNLESS name="count" -->
+ <a href="javascript:confirm_deletion()">
+ <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
+ </a>
+ <!-- /TMPL_UNLESS -->
+ <a href="../search.marc/search.pl?type=intranet&op=do_search&marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&operator==&value=<!-- TMPL_VAR NAME="authid" -->&and_or=and&excluding=" class="button authority"><!-- TMPL_VAR name="count" --> бÑблÑоÑеÑниÑ
запиÑÑв</a>
+</div>
+
+<div name="0XX" id="0XX" class="tab" style="visibility:visible">
+ <!-- TMPL_LOOP NAME="0XX" -->
+ <p class="MARCtag">
+ <!-- TMPL_VAR NAME="tag" -->
+ </p>
+ <!-- TMPL_LOOP NAME="subfield" -->
+ <p>
+ <label class="labelsubfield">
+ <!-- TMPL_VAR NAME="marc_subfield" -->
+ <!-- TMPL_VAR NAME="marc_lib" --></label>
+ <!-- TMPL_VAR NAME="marc_value" -->
+ </p>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+</div>
+
+<script language="JavaScript" type="text/javascript">
+
+function confirm_deletion() {
+ var is_confirmed = confirm('Are you sure you want to delete this authority?');
+ if (is_confirmed) {
+ window.location="authorities-home.pl?op=delete&authid=<!-- TMPL_VAR NAME="authid" -->";
+ }
+}
+function Dopop(link) {
+ newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
+}
+</script>
+</body>
+</html>
Index: authorities/searchresultlist-auth.tmpl
===================================================================
RCS file: authorities/searchresultlist-auth.tmpl
diff -N authorities/searchresultlist-auth.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ authorities/searchresultlist-auth.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,133 @@
+<!-- TMPL_INCLUDE NAME="auth-search-top.inc" -->
+<div id="mainbloc">
+ <h1 class="authority">РезÑлÑÑаÑи поÑÑÐºÑ Ð·Ð° авÑоÑиÑеÑним джеÑелом</h1>
+ <div id="bloc25">
+ <form name="f" method="post" action="auth_finder.pl">
+ <input type="hidden" name="op" value="do_search">
+ <input type="hidden" name="type" value="intranet">
+ <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
+ <div id="bloc25">
+ <h2 class="authority">ÐоÑÑк за</h2>
+ <p>
+ <label class="label100">Тип авÑоÑиÑеÑного джеÑела </label>
+ <!-- TMPL_VAR NAME="authtypecode" -->
+ <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
+ </p>
+ <p>
+ <label class="label100">ÐÑновне вÑ
Ð¾Ð´Ð¶ÐµÐ½Ð½Ñ </label><input type="text" name="value" value="<!-- TMPL_VAR name="resultstring" -->">
+ <input type="hidden" name="marclist" value="mainentry">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ <select name="operator">
+ <option value="start">поÑинаÑÑÑÑÑ</option>
+ <option value="contains">мÑÑÑиÑÑ</option>
+ </select>
+ <input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
+ <input type="hidden" name="tagid" value="<!-- TMPL_VAR NAME="tagid" -->">
+ </p>
+ <p>
+ <label class="label100">Ðе-небÑÐ´Ñ </label><input type="text" name="value">
+ <input type="hidden" name="marclist" value="">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ <select name="operator">
+ <option value="contains">мÑÑÑиÑÑ</option>
+ <option value="start">поÑинаÑÑÑÑÑ</option>
+ </select>
+ <input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
+ <input type="hidden" name="tagid" value="<!-- TMPL_VAR NAME="tagid" -->">
+ </p>
+ <p>
+ <input type="submit" value="ÐоÑаÑи поÑÑк" class="button authority">
+ </p>
+ </div>
+ </form>
+ </div>
+ <div id="bloc25">
+ <div id="resultnumber">
+ <p>
+ <!-- TMPL_IF name="displayprev" -->
+ <a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&&authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->&tagid=<!-- TMPL_VAR name="tagid" -->">
+ <img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF name="highlight" -->
+ <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
+ <!-- TMPL_ELSE -->
+ <a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->&tagid=<!-- TMPL_VAR name="tagid" -->">
+ <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0"></a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF name="displaynext" -->
+ <a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&&authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->&tagid=<!-- TMPL_VAR name="tagid" -->">
+ <img src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
+ <!-- /TMPL_IF -->
+ </p>
+ <p>
+ <!-- TMPL_IF name="total" -->
+ <b>РезÑлÑÑаÑи поÑÑÐºÑ Ð· <!-- TMPL_VAR NAME="from" --> до <!-- TMPL_VAR NAME="to" --> Ð·Ñ <!-- TMPL_VAR NAME="total" --></b><br><br>
+ <!-- TMPL_ELSE -->
+ ÐÑÑого не знайдено.<br>
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
+ <div id="resultlist">
+ <table>
+ <tr>
+ <th class="authority">ÐведеннÑ</th>
+ <th class="authority">ÐикоÑиÑÑано</th>
+ <th class="authority">ÐÑÑимаÑи Ñе!</th>
+ </tr>
+ <tr>
+ <td> </td>
+ <td> </td>
+ <td>
+ <a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=0&index=<!-- TMPL_VAR NAME="index" -->&tagid=<!-- TMPL_VAR NAME="tagid" -->')" class="button authority">
+ ÐÑиÑÑиÑи
+ </a>
+ </td>
+ <!-- TMPL_LOOP NAME="result" -->
+ <tr>
+ <td><!-- TMPL_VAR NAME="summary" --></td>
+ <td><!-- TMPL_VAR NAME="used" --> Ñаз(и/Ñв)</td>
+ <td>
+ <a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=<!-- TMPL_VAR NAME="authid" -->&index=<!-- TMPL_VAR NAME="index" -->&tagid=<!-- TMPL_VAR NAME="tagid" -->')"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/arrow.gif" width="32" hspace="0" vspace="0" border="0"></a>
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+
+ </div>
+ <div id="resultnumber">
+ <p>
+ <!-- TMPL_IF name="displayprev" -->
+ <a href="auth_finder.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" -->&authtypecode=<!-- TMPL_VAR name="authtypecode" -->&op=do_search&type=intranet">
+ <img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF name="highlight" -->
+ <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
+ <!-- TMPL_ELSE -->
+ <a href="auth_finder.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" -->&authtypecode=<!-- TMPL_VAR name="authtypecode" -->&op=do_search&type=intranet">
+ <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0"></a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF name="displaynext" -->
+ <a href="auth_finder.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" -->&authtypecode=<!-- TMPL_VAR name="authtypecode" -->&op=do_search&type=intranet">
+ <img src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
+ </div>
+</div>
+
+<script language="JavaScript" type="text/javascript">
+
+function jumpfull(page)
+{
+ window.open(page,'','width=10,height=10');
+}
+</script>
+<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
Index: authorities/searchresultlist.tmpl
===================================================================
RCS file: authorities/searchresultlist.tmpl
diff -N authorities/searchresultlist.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ authorities/searchresultlist.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,103 @@
+<!-- TMPL_INCLUDE NAME="auth-top.inc" -->
+<div id="mainbloc">
+ <h1 class="authority">РезÑлÑÑаÑи поÑÑÐºÑ Ð·Ð° авÑоÑиÑеÑним джеÑелом</h1>
+ <div id="resultnumber">
+ <p>
+ <!-- TMPL_IF name="displayprev" -->
+ <a href="authorities-home.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&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+ <img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF name="highlight" -->
+ <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
+ <!-- TMPL_ELSE -->
+ <a href="authorities-home.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&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+ <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF name="displaynext" -->
+ <a href="authorities-home.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&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+ <img src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
+ </a>
+ <!-- /TMPL_IF -->
+ </p>
+ <p>
+ <!-- TMPL_IF name="total" -->
+ <b>РезÑлÑÑаÑи поÑÑÐºÑ Ð· <!-- TMPL_VAR NAME="from" --> до <!-- TMPL_VAR NAME="to" --> Ð·Ñ <!-- TMPL_VAR NAME="total" --></b><br><br>
+ <!-- TMPL_ELSE -->
+ ÐÑÑого не знайдено.<br>
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
+ <div id="resultlist">
+ <table>
+ <tr>
+ <th class="authority">ÐведеннÑ</th>
+ <!-- TMPL_UNLESS name="isEDITORS" -->
+ <th class="authority">ÐикоÑиÑÑано</th>
+ <!-- /TMPL_UNLESS -->
+ <th class="authority">ÐеÑеглÑд</th>
+ <th class="authority">ÐидалиÑи</th>
+ </tr>
+ <!-- TMPL_LOOP NAME="result" -->
+ <tr>
+ <td><!-- TMPL_VAR NAME="summary" --></td>
+ <!-- TMPL_UNLESS name="isEDITORS" -->
+ <td>
+ <a href="../search.marc/search.pl?type=intranet&op=do_search&marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&operator==&value=<!-- TMPL_VAR NAME="authid" -->&and_or=and&excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> бÑблÑоÑеÑниÑ
запиÑÑв</a>
+ </td>
+ <!-- /TMPL_UNLESS -->
+ <td>
+ <a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
+ <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" width="32" hspace="0" vspace="0" border="0" alt='ÐÐ¾Ð¼ÐµÑ Ð°Ð²ÑоÑиÑеÑного джеÑела <!-- TMPL_VAR NAME="authid" -->' title='ÐÐ¾Ð¼ÐµÑ Ð°Ð²ÑоÑиÑеÑного джеÑела<!-- TMPL_VAR NAME="authid" -->'>
+ </a>
+ </td>
+ <td>
+ <!-- TMPL_UNLESS name="used" -->
+ <a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">
+ <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
+ </a>
+ <!-- /TMPL_UNLESS -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ </div>
+ <div id="resultnumber">
+ <p>
+ <!-- TMPL_IF name="displayprev" -->
+ <a href="authorities-home.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&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+ <img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF name="highlight" -->
+ <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
+ <!-- TMPL_ELSE -->
+ <a href="authorities-home.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&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+ <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF name="displaynext" -->
+ <a href="authorities-home.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&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+ <img src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
+ </a>
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
+</div>
+<!-- TMPL_INCLUDE NAME="auth-bottom.inc" -->
+
+
+<script language="JavaScript" type="text/javascript" >
+function confirm_deletion(id) {
+
+ var is_confirmed = confirm('Are you sure you want to delete this authority?');
+ if (is_confirmed) {
+ window.location="authorities-home.pl?op=delete&authid="+id;
+ }
+}
+</script>
\ No newline at end of file
Index: barcodes/barcodes-bottom.inc
===================================================================
RCS file: barcodes/barcodes-bottom.inc
diff -N barcodes/barcodes-bottom.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ barcodes/barcodes-bottom.inc 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,17 @@
+<br clear="all">
+<p> </p>
+
+<div class="center">
+<a href="/cgi-bin/koha/mainpage.pl">Ðа поÑаÑок</a> ||
+<a href="/cgi-bin/koha/loadmodules.pl?module=search&type=intranet">ÐаÑалог</a> ||
+<a href="/cgi-bin/koha/members/members-home.pl">ÐÑдвÑдÑваÑÑ</a> ||
+<a href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">ÐадÑ
одженнÑ</a> ||
+<a href="/cgi-bin/koha/circ/circulation.pl">ÐбÑг</a> ||
+<a href="/cgi-bin/koha/reports-home.pl">ÐвÑÑи</a> ||
+<a href="/cgi-bin/koha/admin-home.pl">ÐаÑамеÑÑи</a> ||
+<a href="/cgi-bin/koha/about.pl">ÐÑо ÑиÑÑемÑ</a> ||
+Ðопомога
+</div>
+
+</body>
+</html>
\ No newline at end of file
Index: barcodes/barcodes-top.inc
===================================================================
RCS file: barcodes/barcodes-top.inc
diff -N barcodes/barcodes-top.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ barcodes/barcodes-top.inc 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,216 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+<title>ÐÐÐ¥Ð: ÐÐТÐРФÐÐС ÐÐÐÐÐÐТÐÐÐРЯ: ÐаÑамеÑÑи</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/common-style.css">
+<style>
+.parameters {
+ background-color: #86c268;
+ color: #FFFFFF;
+ text-decoration: normal;
+ font-weight: bold;
+ }
+a.parameters:hover {
+ background-color: #86c268;
+ color: #FFFFFF;
+ text-decoration: normal;
+ font-weight: bold;
+ }
+.ranges {
+ border:0;
+}
+
+.myTable TD{
+ border-width: 0px;
+ border-color: navy;
+ border-style: solid;
+}
+
+.panel {
+ position:relative;
+}
+
+.countryPanel {
+ z-index:1;
+ width:300px;
+ display:none;
+ border:1px solid #000000;
+ padding:0px;
+}
+</style>
+
+
+<script type="text/javascript">
+ // Captura el evento onmousemove para cualquier navegador
+ if (document.layers) { // Netscape
+ document.captureEvents(Event.MOUSEMOVE);
+ document.onmousemove = captureMousePosition;
+ } else if (document.all) { // Internet Explorer
+ document.onmousemove = captureMousePosition;
+ } else if (document.getElementById) { // Netcsape 6
+ document.onmousemove = captureMousePosition;
+ }
+
+ var mouseXMax = 0;
+ var mouseYMax = 0;
+ var mouseX = 0;
+ var mouseY = 0;
+
+ function captureMousePosition(e) {
+ if (document.layers) {
+ mouseX = e.pageX;
+ mouseY = e.pageY;
+ mouseXMax = window.innerWidth + window.pageXOffset;
+ mouseYMax = window.innerHeight + window.pageYOffset;
+ } else if (document.all) {
+ mouseX = window.event.x + document.body.scrollLeft;
+ mouseY = window.event.y + document.body.scrollTop;
+ mouseXMax = document.body.clientWidth + document.body.scrollLeft;
+ mouseYMax = document.body.clientHeight + document.body.scrollTop;
+ } else if (document.getElementById) {
+ mouseX = e.pageX;
+ mouseY = e.pageY;
+ mouseXMax = window.innerWidth + window.pageXOffset;
+ mouseYMax = window.innerHeight + window.pageYOffset;
+ }
+ }
+
+/* Devuelve true si el explorador es Internet Explorer */
+var IE = document.all?true:false;
+
+function Help() {
+ newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
+}
+
+function correctRange (from, to) {
+ if (from <= to) {
+ return true;
+ } else {
+ return false;
+ }
+}
+
+function emptyField (field) {
+ if ((field == null) || (field == "")) {
+ return true;
+ } else {
+ return false;
+ }
+}
+
+function checkFields (aForm) {
+ var option = document.getElementById('rangeType').value;
+ if (option == 'continuous' || option == 'continuous2') {
+ if (emptyField(aForm.from.value) || emptyField(aForm.to.value)) {
+ alert("Please, complete all fields");
+ return false;
+ } else {
+ if (correctRange(aForm.from.value, aForm.to.value)) {
+ return true;
+ } else {
+ alert("The selected range is not correct");
+ return false;
+ }
+ }
+ } else {
+ var codeCount = document.getElementById('inventaryList').options.length;
+ if (codeCount == 0) {
+ alert("Please, complete all fields");
+ return false;
+ } else {
+ var inventaryList = document.getElementById('inventaryList');
+ var allCodes = '';
+ for (i = 0; i <= inventaryList.options.length - 1; i++) {
+ allCodes = allCodes + "'" + inventaryList.options[i].text + "',";
+ }
+ allCodes = '(' + allCodes.substr(0, allCodes.length - 1) + ')';
+ document.getElementById('individualCodes').value = allCodes;
+ return true;
+ }
+ }
+}
+
+function changeRange(selectBox) {
+ var option = selectBox.value;
+ var panel = document.getElementById(option);
+ panel.style.display = 'inline';
+ if (option == 'continuous') {
+ document.getElementById('inventaryList').options.length = 0;
+ document.getElementById('individuals').style.display = 'none';
+ document.getElementById('individualCodes').value = "";
+ } else {
+ document.getElementById('from').value = "";
+ document.getElementById('to').value = "";
+ document.getElementById('continuous').style.display = 'none';
+ }
+}
+
+function itemExists(code, list) {
+ var ok = false;
+ var listLength = list.length - 1;
+ var count = 0;
+ while (!(ok) && (count <= listLength)) {
+ if (code == list[count].value) {
+ ok = true;
+ }
+ count = count + 1;
+ }
+ return ok;
+}
+
+function addItem() {
+ var codeObject = document.getElementById('inventaryCode');
+ var inventaryCode = document.getElementById('inventaryCode').value;
+ var inventaryList = document.getElementById('inventaryList');
+ if (inventaryCode == "") {
+ alert('You can´t add an empty code.');
+ } else {
+ if (itemExists(inventaryCode, inventaryList.options)) {
+ codeObject.value = "";
+ alert("The code is already included.");
+ } else {
+ var optionObject = new Option(inventaryCode, inventaryCode);
+ if (!IE) {
+ inventaryList.add(optionObject, inventaryList.options[inventaryList.options.length]);
+ } else {
+ inventaryList.add(optionObject, inventaryList.options.length);
+ }
+ codeObject.value = "";
+ }
+ }
+}
+
+function removeItem() {
+ var inventaryList = document.getElementById('inventaryList');
+ if (inventaryList.selectedIndex == -1) {
+ alert('You have to select a code first.');
+ } else {
+ inventaryList.options[inventaryList.selectedIndex] = null;
+ }
+}
+
+ function addCountryCode() {
+ var panel = document.getElementById('addCountryCode');
+ panel.style.display = 'inline';
+ panel.style.top = mouseY;
+ panel.style.left = mouseX;
+ }
+</script>
+</head>
+<body onload="javascript: changeRange(document.getElementById('rangeType'))">
+<!-- MENUS -->
+<div id="menubar">
+ <span class="koha">ÐÐÐ¥Ð</span>
+ <a class="home" href="/cgi-bin/koha/mainpage.pl">Ðа поÑаÑок</a> <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&type=intranet">ÐаÑалог</a> <a class="members" href="/cgi-bin/koha/members/members-home.pl">ÐÑдвÑдÑваÑÑ</a> <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">ÐадÑ
одженнÑ</a> <a class="circulation" href="/cgi-bin/koha/circ/circulation.pl">ÐбÑг</a> <a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl">ÐвÑоÑиÑеÑÐ½Ñ Ð´Ð¶ÐµÑела</a> <a class="reports" href="/cgi-bin/koha/reports-home.pl">ÐвÑÑи</a> <a class="parameters" href="/cgi-bin/koha/admin-home.pl">ÐаÑамеÑÑи</a> <a class="about" href="/cgi-bin/koha/about.pl">ÐÑо ÑиÑÑемÑ</a> <a class="catalogue" href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">Ðопомога</a>
+</div>
+<div id="submenu">
+ <span class="koha">можливоÑÑÑ >> </span>
+ <a href="/cgi-bin/koha/admin/aqbookfund.pl" class="submenu">Фонди</a> <a href="/cgi-bin/koha/admin/authorised_values.pl" class="submenu2">ÐвÑоÑиÑеÑне джеÑело</a> <a href="/cgi-bin/koha/admin/thesaurus.pl" class="submenu">ТезаÑÑÑÑ</a> <a href="/cgi-bin/koha/admin/currency.pl" class="submenu2">ÐÑоÑÐ¾Ð²Ñ Ð¾Ð´Ð¸Ð½Ð¸ÑÑ</a> <a href="/cgi-bin/koha/admin/printers.pl" class="submenu">ÐÑÑкаÑки</a>
+</div>
+<!-- TMPL_IF NAME="loggedinusername" -->
+ <p align="left">Ðайдено Ñ ÑиÑÑÐµÐ¼Ñ Ñк: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">ÐиÑ
Ñд</a>]</p>
+<!-- TMPL_ELSE -->
+ <p align="left"><a href="/cgi-bin/koha/opac-user.pl">РеÑÑÑÑÑваÑиÑÑ</a> Ñ ÐоÑ
а</p>
+<!-- /TMPL_IF -->
Index: barcodes/barcodes.tmpl
===================================================================
RCS file: barcodes/barcodes.tmpl
diff -N barcodes/barcodes.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ barcodes/barcodes.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,177 @@
+<!-- TMPL_INCLUDE NAME="barcodes-top.inc" -->
+
+<!-- ******************************************************************************************************** -->
+<!-- ****** START OF ADD COUNTRY CODE PANEL ****** -->
+<!-- ******************************************************************************************************** -->
+
+<div class="countryPanel" style="position:absolute" id="addCountryCode">
+ <form action="/cgi-bin/koha/barcodes/barcodes.pl" method="post" style="display:inline">
+ <input type="hidden" name="addCode" value="1">
+ <table style="background-color:#EFEFEF;border:1px" align="center">
+ <tr>
+ <th colspan="2">
+ ÐодаÑи код Ð½Ð¾Ð²Ð¾Ñ ÐºÑаÑни
+ </th>
+ </tr>
+ <tr>
+ <td>
+ Ðазва кÑаÑни <input type="text" size="10" id="countryName" name="countryName"
+ style="background-color:#FFFFFF;color:Black"/>
+ </td>
+ <td>
+ Ðод кÑаÑни <input type="text" size="3" id="countryCode" name="countryCode"
+ style="background-color:#FFFFFF;color:Black"/>
+ </td>
+ </tr>
+ <tr>
+ <td align="right">
+ <input type="submit" name="submit" id="submit" value="ÐбеÑегÑи код">
+ </td>
+ <td align="left">
+ <input type="button" name="cancel" id="cancel" value="ÐÑдмÑна" onclick="document.getElementById('addCountryCode').style.display = 'none'">
+ </td>
+ </tr>
+ </table>
+ </form>
+</div>
+
+<!-- ******************************************************************************************************** -->
+<!-- ****** END OF ADD COUNTRY CODE PANEL ****** -->
+<!-- ******************************************************************************************************** -->
+
+<div id="mainbloc">
+ <h1>УÑвоÑÐµÐ½Ð½Ñ ÑÑÑиÑ
-кодÑв</h1>
+ <table bgcolor="#ffcc00" width="80%" cellpadding="3">
+ <tr valign="center">
+ <td><font size="4">УÑвоÑÐµÐ½Ð½Ñ ÑÑÑиÑ
-кодÑв з ÑнвенÑаÑниÑ
ÑиÑÑÑв</font></td>
+ </tr>
+ </table>
+ <ul>
+ <li>ÐибеÑÑÑÑ Ð´Ñапазон ÑнвенÑаÑниÑ
ÑиÑÑÑв. Ðи можеÑе вибÑаÑи безпеÑеÑвний дÑапазон або ÑндивÑдÑалÑÐ½Ñ ÑнвенÑаÑÐ½Ñ ÑиÑÑи</li>
+ <li>ÐибеÑÑÑÑ Ð²Ð°ÑÑанÑ(Ñип) ÑÑвоÑÐµÐ½Ð½Ñ ÑÑÑиÑ
-кодÑв.</li>
+ <li>ÐизнаÑÑе ÑозмÑÑ ÑÑоÑÑнки Ð´Ð»Ñ Ð²Ð¸Ð²ÐµÐ´ÐµÐ½Ð½Ñ Ñ PDF.</li>
+ <li>Ðалежно вÑд ÑозмÑÑÑ ÑÑоÑÑнки, ÐоÑ
а покаже Ðам, Ñк впоÑÑдкована ÑÑоÑÑнка Ð´Ð»Ñ ÐºÐ¾Ð¶Ð½Ð¾Ð³Ð¾ ÑÑÑиÑ
-кодÑ. Ðи можеÑе визнаÑиÑи звÑдки запÑÑкаÑи дÑÑк ÑÑоÑÑнки.
+ </li>
+ </ul>
+ <br>
+ <form id="formulario" method="POST" action="<!-- TMPL_VAR NAME="SCRIPT_NAME" -->" name="form1" onsubmit="return checkFields(this);" target="_blank">
+
+ <table cellpadding="3" border=0 class="myTable">
+ <!-- TMPL_IF NAME="ERROR" -->
+ <tr align="center">
+ <td colspan="2" >
+ <p style="font-size:13pt;color:red">Ðе вдаÑÑÑÑÑ Ð·Ð½Ð°Ð¹Ñи ÑнвенÑаÑÐ½Ñ ÑиÑÑи Ñ ÑÑÐ¾Ð¼Ñ Ð´ÑапазонÑ. ÐÑÐ´Ñ Ð»Ð°Ñка ÑпÑобÑйÑе по ÑнÑомÑ.</p>
+ </td>
+ </tr>
+ <!-- /TMPL_IF -->
+ <tr valign="top">
+ <td align="right" style="width:50%;padding-right:20px">
+ <table style="border:0px">
+ <tr align="right">
+ <td>Тип ÑнÑеÑвалÑ</td>
+ </tr>
+ <tr align="right">
+ <td><!-- TMPL_VAR NAME="RANGE_TYPE" --></td>
+ </tr>
+ </table>
+ </td>
+ <td style="width:50%;padding-left:20px">
+ <div id="continuous" class="panel" style="display:inline">
+ <table class="ranges">
+ <tr>
+ <td>вÑд:</td>
+ <td><input id="from" type="text" name="from" size="20"></td>
+ </tr>
+ <tr>
+ <td>до:</td>
+ <td><input id="to" type="text" name="to" size="20"></td>
+ </tr>
+ </table>
+ </div>
+ <div id="individuals" class="panel" style="display:none">
+ <table class="ranges">
+ <tr valign="top">
+ <td width="5%">
+ ÐнвенÑаÑний ÑиÑÑ <BR>
+ <input id="inventaryCode" type="text" name="inventaryCode" size="20">
+ <td>
+ <td align="center">
+ <img src="<!-- TMPL_VAR NAME="themelang" -->/images/rightarrow.png" onclick="addItem()"
+ border="0" onclick="javascript: addItem();" style="cursor:pointer" style="display:table-cell">
+ <img src="<!-- TMPL_VAR NAME="themelang" -->/images/leftarrow.png" onclick="javascript: removeItem();" border="0" style="cursor:pointer" style="display:table-cell">
+ </td>
+ <td width="95%">
+ <select id="inventaryList" size="5" style="width:150px">
+ </select>
+ <input type="hidden" id="individualCodes" name="individualCodes">
+ </td>
+ </tr>
+ </table>
+ </div>
+ </td> <!-- Fin Rangos -->
+ </tr>
+ <tr>
+ <td align="right" style="padding-right:20px">
+ <table style="border:0px">
+ <tr align="right">
+ <td>Ðод кÑаÑни</td>
+ </tr>
+ <tr align="right">
+ <td>
+ <div style="display:inline">
+ <img src="<!-- TMPL_VAR NAME="themelang" -->/images/more.gif" hspace="0" vspace="0" border="0" style="vertical-align:bottom;cursor:pointer" onclick="addCountryCode();">
+ <!-- TMPL_VAR NAME="NUMBER_SYSTEM" -->
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td style="padding-left:20px">
+ <table style="border:0px">
+ <tr>
+ <td>РозмÑÑ cÑоÑÑнки</td>
+ </tr>
+ <tr>
+ <td>
+ <input type="text" name="pageType" readonly value="<!-- TMPL_VAR NAME="PAGES" -->"
+ size="10"> <a href="/cgi-bin/koha/barcodes/printerConfig.pl">[пеÑейÑи до налаÑÑÑÐ²Ð°Ð½Ð½Ñ Ð´ÑÑкаÑки]</a>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td align="right" style="padding-left:20px">ТекÑÑ Ð¿Ñд мÑÑкоÑ</td>
+ <td>
+ <input type="text" name="text_under_label" size="40" value="<!-- TMPL_VAR name="text_under_label -->">, ÑкÑо Ñе поле поÑожнÑ, викоÑиÑÑовÑваÑимÑÑÑÑÑ Ð°Ð²ÑÐ¾Ñ Ñа заголовок
+ </td>
+ </tr>
+ <tr valign="top">
+ <td colspan="2" align="center">
+ <table style="width:50%">
+ <tr style="border-color:#000FCD">
+ <th colspan="<!-- TMPL_VAR NAME="COL_SPAN" -->">ÐÐ¾Ð¼ÐµÑ Ð¼ÑÑки, Ñоб запÑÑÑиÑи дÑÑк</th>
+ </tr>
+ <!-- TMPL_LOOP NAME="LABEL_TABLE" -->
+ <tr style="align:left">
+ <!-- TMPL_LOOP NAME="columns" -->
+ <td style="border:1px solid #000000">
+ <input type="radio" id="label" value="<!-- TMPL_VAR NAME="tagname" -->" name="label" <!-- TMPL_VAR NAME="check" -->> ÐÑÑка <!-- TMPL_VAR NAME="labelname" --></td>
+ <!-- /TMPL_LOOP -->
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td align="right">
+ <input type="submit" value="УÑвоÑиÑи ÑÑÑиÑ
-коди" name="B1" class="button">
+ </td>
+ <td align="left">
+ <input type="reset" value="ÐÑиÑÑиÑи полÑ" name="B2" class="button">
+ </td>
+ </tr>
+ </table>
+ </form>
+</div>
+<!-- TMPL_INCLUDE NAME="barcodes-bottom.inc" -->
Index: barcodes/printerConfig.tmpl
===================================================================
RCS file: barcodes/printerConfig.tmpl
diff -N barcodes/printerConfig.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ barcodes/printerConfig.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,103 @@
+<!-- TMPL_INCLUDE NAME="barcodes-top.inc" -->
+<div id="mainbloc">
+ <h1>ÐалаÑÑÑÐ²Ð°Ð½Ð½Ñ Ð´ÑÑкаÑки</h1>
+ <table bgcolor="#ffcc00" width="80%" cellpadding="3">
+ <tr valign="center">
+ <td><font size="4">ÐÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ ÐºÐ¾Ð½ÑÑÒÑÑаÑÑÑ Ð´ÑÑкаÑки вÑдповÑдно ÐаÑÐ¾Ð¼Ñ ÑиÑÑÐµÐ¼Ð½Ð¾Ð¼Ñ Ð¾ÑоÑеннÑ</font></td>
+ </tr>
+ </table>
+ <ul>
+ <li>ÐÑÑановиÑи ÑиÑÐ¸Ð½Ñ Ñ Ð²Ð¸ÑоÑÑ Ð¼ÑÑки з ÑÐºÐ¾Ñ Ðи пÑаÑÑÑÑе.</li>
+ <li>ÐÑÑановиÑи ÐаÑÑ ÑиÑÑÐµÐ¼Ð½Ñ ÑоздÑлÑÐ½Ñ Ð·Ð´Ð°ÑнÑÑÑÑ (DPI) по ÑмовÑаннÑ.</li>
+ <li>ÐÑÑановиÑи Ñип ÑÑоÑÑнки.</li>
+ <li>ÐибÑаÑи, ÑкÑлÑки ÑÑовпÑÑв Ñа ÑÑдкÑв ÑозмÑÑÑиÑÑÑÑ Ð½Ð° ÐаÑÐ¾Ð¼Ñ ÑÐ¸Ð¿Ñ ÑÑоÑÑнки.</li>
+ <li>ÐÑÑановиÑи лÑве Ñа Ð½Ð¸Ð¶Ð½Ñ Ð¿Ð¾Ð»Ñ Ð´Ð»Ñ ÑÑоÑÑнки, ÑÐºÑ Ð·Ð±Ð¸ÑаÑÑеÑÑ Ð²Ð¸ÐºÐ¾ÑиÑÑовÑваÑи. Ð¦Ñ Ð¿Ð°ÑамеÑÑи допоможÑÑÑ Ð²Ð¸ÑÑвнÑÑи по ÑенÑÑÑ ÑÑÑиÑ
-коди Ñ Ð¼ÑÑкаÑ
.</li>
+ </ul>
+ <br>
+ <form id="formulario" method="POST" action='<!-- TMPL_VAR NAME="SCRIPT_NAME" -->' name="form1">
+ <input type="hidden" name="saveSettings" value="1">
+ <table cellpadding="3" border=0 class="myTable">
+ <tr>
+ <td>
+ ШиÑина мÑÑки (в мм)
+ </td>
+ <td>
+ ÐиÑоÑа мÑÑки (Ñ Ð¼Ð¼)
+ </td>
+ <td>
+ СиÑÑемна ÑоздÑлÑна здаÑнÑÑÑÑ (DPI)
+ </td>
+ <td>
+ Тип cÑоÑÑнки
+ </td>
+ <td>
+ СÑовпÑÑ
+ </td>
+ <td>
+ Ð Ñдки
+ </td>
+ <td>
+ Ðоле Ð·Ð½Ð¸Ð·Ñ (Ñ Ð¼Ð¼)
+ </td>
+ <td>
+ Ðоле злÑва (Ñ Ð¼Ð¼)
+ </td>
+ <tr>
+ <tr valign="top">
+ <td align="left">
+ <input id="labelWidth" type="text" name="labelWidth" size="5"
+ value="<!-- TMPL_VAR NAME="LABEL_WIDTH" -->">
+ </td>
+ <td align="left">
+ <input id="labelHeigth" type="text" name="labelHeigth" size="5"
+ value="<!-- TMPL_VAR NAME="LABEL_HEIGTH" -->">
+ </td>
+ <td align="left">
+ <input id="systemDpi" type="text" name="systemDpi" size="5"
+ value="<!-- TMPL_VAR NAME="SYSTEM_DPI" -->">
+ </td>
+ <td align="left">
+ <select name="pageType" id="pageType" size="1">
+ <!-- TMPL_IF name="A4" -->
+ <option value="A4" selected>A4 (21 Ñ
29,7 Ñм)</option>
+ <!-- TMPL_ELSE -->
+ <option value="A4">A4 (21 Ñ
29,7 Ñм)</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="Letter" -->
+ <option value="Letter" selected>ÐиÑÑ (21,59 Ñ
27,94 Ñм)</option>
+ <!-- TMPL_ELSE -->
+ <option value="Letter">ÐиÑÑ (21,59 Ñ
27,94 Ñм)</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="Legal" -->
+ <option value="Legal" selected>Legal (21,59 Ñ
35,56 Ñм)</option>
+ <!-- TMPL_ELSE -->
+ <option value="Legal">Legal (21,59 Ñ
35,56 Ñм)</option>
+ <!-- /TMPL_IF -->
+ </select>
+ </td>
+ <td align="left">
+ <input id="columns" type="text" name="columns" size="5"
+ value="<!-- TMPL_VAR NAME="COLUMNS" -->">
+ </td>
+ <td align="left">
+ <input id="rows" type="text" name="rows" size="5"
+ value="<!-- TMPL_VAR NAME="ROWS" -->">
+ </td>
+ <td align="left">
+ <input id="marginBottom" type="text" name="marginBottom" size="5"
+ value="<!-- TMPL_VAR NAME="MARGIN_TOP" -->">
+ </td>
+ <td align="left">
+ <input id="marginLeft" type="text" name="marginLeft" size="5"
+ value="<!-- TMPL_VAR NAME="MARGIN_LEFT" -->">
+ </td>
+ </tr>
+ <tr valign="top">
+ <td colspan="8" align="center">
+ <input type="submit" value="ÐбеÑегÑи вÑÑановленнÑ">
+ </td>
+ </tr>
+ </table>
+ </form>
+</div>
+<!-- TMPL_INCLUDE NAME="barcodes-bottom.inc" -->
Index: bookshelves/addbookbybiblionumber.tmpl
===================================================================
RCS file: bookshelves/addbookbybiblionumber.tmpl
diff -N bookshelves/addbookbybiblionumber.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ bookshelves/addbookbybiblionumber.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,19 @@
+<!-- TMPL_INCLUDE Name="popup-top.inc" -->
+<div id="mainbloc">
+<h2 class="catalogue">ÐибеÑÑÑÑ ÐºÐ½Ð¸Ð¶ÐºÐ¾Ð²Ñ Ð¿Ð¾Ð»Ð¸ÑÑ</h2>
+<form action="/cgi-bin/koha/bookshelves/addbookbybiblionumber.pl" method="get">
+ <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
+ <p><label>Ðаголовок</label><!-- TMPL_VAR NAME="title" --></p>
+ <p><label>ÐвÑоÑ</label><!-- TMPL_VAR NAME="author" --></p>
+ <p><label>ÐоклаÑÑи на вÑÑÑÑалÑÐ½Ñ Ð¿Ð¾Ð»Ð¸ÑÑ</label><!-- TMPL_VAR NAME="CGIbookshelves" --></p>
+ <p>або поклаÑÑи на Ð½Ð¾Ð²Ñ ÐºÐ½Ð¸Ð¶ÐºÐ¾Ð²Ñ Ð¿Ð¾Ð»Ð¸ÑÑ </p>
+ <p><input type="text" name="newbookshelf" maxlength=40 size=40>
+ <select name="category">
+ <option value="1">ÐÑиваÑна</option>
+ <option value="2">СпÑлÑна</option>
+ <option value="3">ÐÑлÑна</option>
+ </select>
+ </p>
+ <input type="submit" value="ÐоклаÑÑи на вÑÑÑÑалÑÐ½Ñ Ð¿Ð¾Ð»Ð¸ÑÑ" class="button catalogue">
+</form>
+<!-- TMPL_INCLUDE Name="popup-bottom.inc" -->
Index: bookshelves/shelves.tmpl
===================================================================
RCS file: bookshelves/shelves.tmpl
diff -N bookshelves/shelves.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ bookshelves/shelves.tmpl 17 Oct 2006 07:32:07 -0000 1.1.2.1
@@ -0,0 +1,193 @@
+<!-- TMPL_INCLUDE Name="cat-top.inc" -->
+
+<div id="mainbloc">
+<!-- TMPL_IF Name="viewshelf" -->
+ <form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
+ <h1 class="catalogue"><!-- TMPL_VAR NAME="shelfname" --></h1>
+
+ <div id="bloc25">
+ <h2 class="catalogue">ÐмÑÑÑ Ð¿Ð¾Ð»Ð¸ÑÑ</h2>
+ <table class="small">
+ <tr colspan="4">
+ <th class="catalogue"><!-- TMPL_IF name="manageshelf" -->ÐидалиÑи<!-- TMPL_ELSE --> <!-- /TMPL_IF --></th>
+ <th class="catalogue">ШÑÑиÑ
-код</th>
+ <th class="catalogue">Ðаголовок</th>
+ <th class="catalogue">ÐвÑоÑ</th>
+ </tr>
+ <!-- TMPL_LOOP Name="itemsloop" -->
+ <!-- TMPL_IF NAME="toggle" --><tr class="hilighted"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
+ <td><!-- TMPL_IF name="manageshelf" --><input type="checkbox" name="REM-<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td>
+ <td><!-- TMPL_VAR NAME="barcode" --></td>
+ <td><a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
+ <td><!-- TMPL_VAR NAME="author" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
+ <input type="hidden" name="modifyshelfcontents" value="1">
+ <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
+ <!-- TMPL_IF name="manageshelf" -->
+ <input type="submit" value="ÐидалиÑи помÑÑÐµÐ½Ñ ÐµÐ»ÐµÐ¼ÐµÐ½Ñи" class="button catalogue">
+ <!-- /TMPL_IF -->
+ </div>
+ </form>
+
+ <!-- TMPL_IF name="manageshelf" -->
+ <div id="bloc25">
+ <form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
+ <h2 class="catalogue">ÐодаÑи ÐºÐ½Ð¸Ð³Ñ ÑÑÑиÑ
овим кодом</h2>
+ <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
+ <input type="hidden" name="modifyshelfcontents" value="1">
+ <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
+ <input name="addbarcode">
+ <input type="hidden" name="modifyshelfcontents" value="1">
+ <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
+ <input type="submit" value="ÐбеÑегÑи" class="button catalogue">
+ </form>
+ </div>
+ <!-- /TMPL_IF -->
+ <div id="bloc25">
+ <a href="/cgi-bin/koha/bookshelves/shelves.pl" class="button catalogue">СпиÑок полиÑÑ</a>
+ </div>
+<!-- TMPL_ELSE -->
+ <!-- TMPL_IF Name="shelves" -->
+ <h1 class="catalogue">ÐÐ½Ð¸Ð¶ÐºÐ¾Ð²Ñ Ð¿Ð¾Ð»Ð¸ÑÑ</h1>
+ <!-- TMPL_IF Name="status1" -->
+ <p class="problem"><!-- TMPL_VAR NAME="string1" --><p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP Name="paramsloop" -->
+ <!-- TMPL_IF Name="status" -->
+ <p class="problem"><!-- TMPL_VAR NAME="string" --><p>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <div id="bloc25">
+ <h2 class="catalogue">ÐибеÑÑÑÑ Ð¿Ð¾Ð»Ð¸ÑÑ Ð´Ð»Ñ Ð²Ð¸Ð´Ð°Ð»ÐµÐ½Ð½Ñ</h2>
+ <form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
+ <input type="hidden" name="shelves" value="1">
+ <!-- TMPL_LOOP Name="shelvesloop" -->
+ <!-- TMPL_IF name="canmanage" -->
+ <p>
+ <label>
+ <input type="checkbox" name="DEL-<!-- TMPL_VAR NAME="shelf" -->">
+ </label>
+ <a href="shelves.pl?viewshelf=<!-- TMPL_VAR name="shelf" -->"><!-- TMPL_VAR NAME="shelfname" --></a> (<!-- TMPL_VAR NAME="shelfbookcount" --> одиниÑ(Ñ/Ñ))
+ </p>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <p>
+ <input type="submit" value="ÐидалиÑи полиÑÑ" class="button catalogue">
+ </p>
+ </form>
+ </div>
+ <div id="bloc25">
+ <form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
+ <input type="hidden" name="shelves" value="1">
+ <h2 class="catalogue">ÐодаÑи полиÑÑ</h2>
+ <p><label>ÐайменÑÐ²Ð°Ð½Ð½Ñ </label><input type="text" name="addshelf" size="25"></p>
+ <p><label>ÐлаÑник </label><input type="hidden" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->"><!-- TMPL_VAR NAME="loggedinusername" --></p>
+ <p><label>ÐаÑегоÑÑÑ</label>
+ <select name="category">
+ <option value="1">ÐÑиваÑна</option>
+ <option value="2">СпÑлÑна</option>
+ <option value="3">ÐÑлÑна</option>
+ </select>
+ </p>
+ <p> <li>пÑиваÑÐ½Ð¾Ñ ÐºÐ½Ð¸Ð¶ÐºÐ¾Ð²Ð¾Ñ Ð¿Ð¾Ð»Ð¸ÑÐµÑ ÐºÐµÑÑÑÑе Ðи & можеÑе баÑиÑи лиÑе Ðи.</li>
+ <li> СпÑлÑÐ½Ñ Ð¼Ð¾Ð¶Ðµ баÑиÑи кожен, але ÑкладаÑÑе ÑÑлÑки Ðи.</li>
+ <li> ÐÑлÑÐ½Ð¾Ñ ÐºÐµÑÑÑ Ð±ÑдÑ-Ñкий коÑиÑÑÑваÑ.</li>
+ </p>
+ <p>
+ <input type="submit" value="ÐодаÑи Ð½Ð¾Ð²Ñ Ð¿Ð¾Ð»Ð¸ÑÑ" class="button catalogue">
+ <a href="/cgi-bin/koha/bookshelves/shelves.pl" class="button catalogue">повеÑнÑÑиÑÑ Ð´Ð¾ ÑпиÑÐºÑ Ð¿Ð¾Ð»Ð¸ÑÑ</a>
+ </p>
+
+ </form>
+ </div>
+ <!-- TMPL_ELSE -->
+ <div id="bloc25">
+ <h2 class="catalogue">СпиÑок полиÑÑ</h2>
+ <table class="small">
+ <tr>
+ <th class="catalogue">Ðазва полиÑÑ</th>
+ <th class="catalogue">ÐаÑегоÑÑÑ</th>
+ <th class="catalogue">ÐбÑÑг</th>
+ <th class="catalogue">ÐмÑниÑи</th>
+ </tr>
+ <!-- TMPL_LOOP Name="shelvesloop" -->
+ <!-- TMPL_IF NAME="toggle" --><tr class="hilighted"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
+ <td>
+ <a href="/cgi-bin/koha/bookshelves/shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
+ <!-- TMPL_VAR NAME="shelfname" -->
+ </a>
+ </td>
+ <td>
+ <!-- TMPL_IF NAME="category1" -->
+ ÐÑиваÑна
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="category2" -->
+ СпÑлÑна
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="category3" -->
+ ÐÑлÑна
+ <!-- /TMPL_IF -->
+ </td>
+ <td>
+ <!-- TMPL_VAR NAME="shelfbookcount" --> одиниÑ(Ñ/Ñ)
+ </td>
+ <!-- TMPL_IF name="mine" -->
+ <td>
+ <a href="/cgi-bin/koha/bookshelves/shelves.pl?op=modif&shelf=<!-- TMPL_VAR NAME="shelf" -->" class="button catalogue">ÐмÑниÑи</a> <!-- TMPL_VAR name="surname" --><!-- TMPL_VAR name="firstname" -->
+ </td>
+ <!-- TMPL_ELSE -->
+ <td> </td>
+ <!-- /TMPL_IF -->
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ </div>
+ <div id="bloc25">
+ <a href="/cgi-bin/koha/bookshelves/shelves.pl?shelves=1" class="button catalogue">ÐÐ¾Ð´Ð°Ð²Ð°Ð½Ð½Ñ Ñи Ð²Ð¸Ð´Ð°Ð»ÐµÐ½Ð½Ñ ÐºÐ½Ð¸Ð¶ÐºÐ¾Ð²Ð¸Ñ
полиÑÑ</a>
+ </div>
+ <!-- /TMPL_IF -->
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF name="edit" -->
+ <div id="bloc25">
+ <form method="post" action="/cgi-bin/koha/bookshelves/shelves.pl">
+ <input type="hidden" name="op" value="modifsave">
+ <h2 class="catalogue">ÐидозмÑна полиÑÑ</h2>
+ <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR name="shelfnumber" -->">
+ <p><label>ÐайменÑÐ²Ð°Ð½Ð½Ñ </label><input type="text" name="shelfname" size="25" value="<!-- TMPL_VAR name="shelfname"-->"></p>
+ <p><label>ÐлаÑник </label><input type="hidden" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->"><!-- TMPL_VAR NAME="loggedinusername" --></p>
+ <p><label>ÐаÑегоÑÑÑ</label>
+ <select name="category">
+ <!-- TMPL_IF name="category1" -->
+ <option value="1" selected>ÐÑиваÑна</option>
+ <!-- TMPL_ELSE -->
+ <option value="1">ÐÑиваÑна</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="category2" -->
+ <option value="2" selected>СпÑлÑна</option>
+ <!-- TMPL_ELSE -->
+ <option value="2">СпÑлÑна</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="category3" -->
+ <option value="3" selected>ÐÑлÑна</option>
+ <!-- TMPL_ELSE -->
+ <option value="3">ÐÑлÑна</option>
+ <!-- /TMPL_IF -->
+ </select>
+ </p>
+ <p> <li>пÑиваÑÐ½Ð¾Ñ ÐºÐ½Ð¸Ð¶ÐºÐ¾Ð²Ð¾Ñ Ð¿Ð¾Ð»Ð¸ÑÐµÑ ÐºÐµÑÑÑÑе Ðи & можеÑе баÑиÑи лиÑе Ðи.</li>
+ <li> СпÑлÑÐ½Ñ Ð¼Ð¾Ð¶Ðµ баÑиÑи кожен, але ÑкладаÑÑе ÑÑлÑки Ðи.</li>
+ <li> ÐÑлÑÐ½Ð¾Ñ ÐºÐµÑÑÑ Ð±ÑдÑ-Ñкий коÑиÑÑÑваÑ.</li>
+ </p>
+ <p>
+ <input type="submit" value="ÐбеÑегÑи" class="button catalogue">
+ </p>
+
+ </form>
+ </div>
+<!-- /TMPL_IF -->
+</div>
+<!-- TMPL_INCLUDE Name="cat-bottom.inc" -->
More information about the Koha-cvs
mailing list