koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities auth


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities auth_finder.tmpl,1.8,1.9 authorities-home.tmpl,1.5,1.6 authorities.tmpl,1.10,1.11 detail.tmpl,1.5,1.6
Date: Wed, 26 Oct 2005 02:15:58 -0700

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29883/koha-tmpl/intranet-tmpl/default/en/authorities

Modified Files:
        auth_finder.tmpl authorities-home.tmpl authorities.tmpl 
        detail.tmpl 
Log Message:
big commit, still breaking things...

* synch with rel_2_2. Probably the last non manual synch, as rel_2_2 should not 
be modified deeply.
* code cleaning (cleaning warnings from perl -w) continued

Index: auth_finder.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** auth_finder.tmpl    4 May 2005 08:52:51 -0000       1.8
--- auth_finder.tmpl    26 Oct 2005 09:15:56 -0000      1.9
***************
*** 4,8 ****
  <h1 class="authority">Authority search</h1>
  
! <form name="f" method="post">
        <input type="hidden" name="op" value="do_search">
        <input type="hidden" name="type" value="intranet">
--- 4,8 ----
  <h1 class="authority">Authority search</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">

Index: authorities-home.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/authorities-home.tmpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** authorities-home.tmpl       4 Aug 2005 13:48:31 -0000       1.5
--- authorities-home.tmpl       26 Oct 2005 09:15:56 -0000      1.6
***************
*** 4,8 ****
  <h1 class="authority">Authority search</h1>
  
! <form name="f" method="post">
        <input type="hidden" name="op" value="do_search">
        <input type="hidden" name="type" value="intranet">
--- 4,8 ----
  <h1 class="authority">Authority search</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">

Index: authorities.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** authorities.tmpl    20 Jun 2005 14:17:04 -0000      1.10
--- authorities.tmpl    26 Oct 2005 09:15:56 -0000      1.11
***************
*** 48,52 ****
                <p>
                        <label class="labelsubfield">
!                               <b><!-- TMPL_VAR NAME="subfield" --></b>
                                <!-- TMPL_IF name="mandatory" --><b><!-- 
/TMPL_IF -->
                                <!-- TMPL_VAR NAME="marc_lib" -->
--- 48,57 ----
                <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" -->
***************
*** 55,59 ****
                        <!-- TMPL_VAR NAME="marc_value" -->
                        <input type="hidden" name="tag" value="<!-- TMPL_VAR 
NAME="tag" -->">
-                       <input type="hidden" name="subfield" value="<!-- 
TMPL_VAR NAME="subfield" -->">
                        <input type="hidden" name="mandatory" value="<!-- 
TMPL_VAR NAME="mandatory" -->">
                        <input type="hidden" name="kohafield" value="<!-- 
TMPL_VAR NAME="kohafield" -->">
--- 60,63 ----
***************
*** 151,159 ****
                alert(alertString2);
        } else {
!               document.forms[1].submit();
        }
  }
  function Dopop(link,i) {
!       defaultvalue=document.forms[0].field_value[i].value;
        newin=window.open(link+"&result="+defaultvalue,"value 
builder",'width=550,height=550,toolbar=false,scrollbars=yes');
  }
--- 155,163 ----
                alert(alertString2);
        } else {
!               document.forms[0].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');
  }
***************
*** 161,176 ****
  function PopupZ3950() {
      var strQuery="";
!       for (i=0 ; i<document.forms[0].field_value.length ; i++) {
!               if (document.forms[0].kohafield[i].value == "biblioitems.isbn" 
&& document.forms[0].field_value[i].value.length>0) {
!                   strQuery += "&isbn="+document.forms[0].field_value[i].value;
                }
!               if (document.forms[0].kohafield[i].value == "biblio.title" && 
document.forms[0].field_value[i].value.length>0) {
!                   strQuery += 
"&title="+document.forms[0].field_value[i].value;
                }
!               if (document.forms[0].kohafield[i].value == "biblio.author" 
&&document.forms[0].field_value[i].value.length>0) {
!                   strQuery += 
"&author="+document.forms[0].field_value[i].value;
                }
!               if (document.forms[0].kohafield[i].value == "biblioitems.issn" 
&& document.forms[0].field_value[i].value.length>0) {
!                   strQuery += "&issn="+document.forms[0].field_value[i].value;
                }
        }
--- 165,180 ----
  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;
                }
        }
***************
*** 183,186 ****
--- 187,206 ----
        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>

Index: detail.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/detail.tmpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** detail.tmpl 20 Jun 2005 14:17:04 -0000      1.5
--- detail.tmpl 26 Oct 2005 09:15:56 -0000      1.6
***************
*** 6,12 ****
                <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" -->')" class="button authority">
                Print
--- 6,14 ----
                <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="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR 
NAME="authid" -->')" class="button authority">
                Print
***************
*** 23,29 ****
                        <p>
                                <label class="labelsubfield">
-                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR 
NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" 
-->&amp;operator=&#x003D&amp;type=intranet&amp;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>
--- 25,28 ----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]