[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities deta
From: |
doXulting |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities detail-biblio-search.tmpl,1.1,1.2 |
Date: |
Thu, 08 Jul 2004 03:18:36 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18797/koha/koha-tmpl/intranet-tmpl/default/en/authorities
Modified Files:
detail-biblio-search.tmpl
Log Message:
Authorities
Index: detail-biblio-search.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/detail-biblio-search.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** detail-biblio-search.tmpl 5 Jul 2004 13:31:30 -0000 1.1
--- detail-biblio-search.tmpl 8 Jul 2004 10:18:33 -0000 1.2
***************
*** 50,65 ****
function CopyValues()
{
! 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;
}
--- 50,83 ----
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;
+
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities detail-biblio-search.tmpl,1.1,1.2,
doXulting <=