[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/cataloguin...
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/cataloguin... |
Date: |
Tue, 24 Jul 2007 14:10:05 +0000 |
CVSROOT: /sources/koha
Module name: koha
Changes by: Antoine Farnault <toins> 07/07/24 14:10:05
Modified files:
koha-tmpl/intranet-tmpl/prog/en/cataloguing: z3950_search.tmpl
Log message:
do not write the result if there is no breeding id.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/z3950_search.tmpl?cvsroot=koha&r1=1.3&r2=1.4
Patches:
Index: z3950_search.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/z3950_search.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- z3950_search.tmpl 12 Jul 2007 15:30:14 -0000 1.3
+++ z3950_search.tmpl 24 Jul 2007 14:10:05 -0000 1.4
@@ -58,14 +58,15 @@
</tr>
<!-- TMPL_IF name="breeding_loop" -->
<!-- TMPL_LOOP name="breeding_loop" -->
+ <!-- TMPL_IF NAME="breedingid" -->
<tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
<td><!-- TMPL_VAR name="server" --></td>
<td><!-- TMPL_VAR NAME="title" --></td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="isbn" --></td>
<td><a href="javascript:Import(<!-- TMPL_VAR NAME="breedingid"
-->,<!-- TMPL_VAR NAME="biblionumber" -->)">Import</a></td>
-
</tr>
+ <!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
<tr><td colspan="6">Nothing found</td></tr>
@@ -77,8 +78,8 @@
<!-- TMPL_IF name="numberpending" --><h3 align="center">Still <!-- TMPL_VAR
NAME="numberpending" --> servers to search</h3><!-- /TMPL_IF -->
<script language="JavaScript" type="text/javascript">
function Import(GetThisOne,biblionumber) {
- opener.document.location=
"../cataloguing/addbiblio.pl?biblionumber="+biblionumber+"&z3950=1&frameworkcode=<!--
TMPL_VAR name="frameworkcode" -->&breedingid="+GetThisOne;
- self.close();
+
opener.document.location="../cataloguing/addbiblio.pl?biblionumber="+biblionumber+"&z3950=1&frameworkcode=<!--
TMPL_VAR name="frameworkcode" -->&breedingid="+GetThisOne;
+ window.close();
return false;
}
</script>