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 blin


From: doXulting
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities blinddetail-biblio-search.tmpl,1.1,1.2
Date: Thu, 08 Jul 2004 03:16:49 -0700

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

Modified Files:
        blinddetail-biblio-search.tmpl 
Log Message:
Authorities

Index: blinddetail-biblio-search.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** blinddetail-biblio-search.tmpl      5 Jul 2004 13:34:25 -0000       1.1
--- blinddetail-biblio-search.tmpl      8 Jul 2004 10:16:46 -0000       1.2
***************
*** 5,19 ****
  function go()
  {
! var val = 0;
!       opener.opener.document.f.field_value[<!-- TMPL_VAR name="index" --> - 
2].value = <!-- TMPL_VAR name="authid" -->;
!       <!-- TMPL_LOOP name="0XX" -->
!               <!-- TMPL_LOOP name="subfield" -->
!       opener.opener.document.f.field_value[<!-- TMPL_VAR name="index" --> + 
val].value = '<!-- TMPL_VAR name="marc_value" -->';
!       val += 1;
!               <!-- /TMPL_LOOP -->
!       <!-- /TMPL_LOOP -->
        opener.close();
        self.close();
        return false;
  }
  </script>
--- 5,37 ----
  function go()
  {
! 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>




reply via email to

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