[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/search.marc search.tmpl,1.23,1.24

Henri-Damien LAURENT hdl at users.sourceforge.net
Wed May 4 14:52:36 CEST 2005


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

Modified Files:
	search.tmpl 
Log Message:
Dictionary call modification

Index: search.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/search.marc/search.tmpl,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** search.tmpl	4 May 2005 09:00:58 -0000	1.23
--- search.tmpl	4 May 2005 12:52:34 -0000	1.24
***************
*** 31,35 ****
  			<input type="hidden" name="operator" value="contains">
  			<input type="text" name="value" id="title" onchange="sql_update()" size="35">
! 			<a href="javascript:Dopop('dictionary.pl?marclist=biblio.title&amp;type=intranet','biblio.title')">
  				<img src="/intranet-tmpl/default/en/includes/addressbook_section.png" width=12 height=12 alt="dict">
  			</a>
--- 31,35 ----
  			<input type="hidden" name="operator" value="contains">
  			<input type="text" name="value" id="title" onchange="sql_update()" size="35">
! 			<a href="javascript:Dopop('dictionary.pl?marclist=biblio.title&amp;type=intranet&amp;index=1',1)">
  				<img src="/intranet-tmpl/default/en/includes/addressbook_section.png" width=12 height=12 alt="dict">
  			</a>
***************
*** 41,45 ****
  			<input type="hidden" name="operator" value="contains">
  			<input type="text" name="value" id="author" onchange="sql_update()" size="35">
! 			<a href="javascript:Dopop('dictionary.pl?marclist=biblio.author&amp;type=intranet','biblio.author')">
  				<img src="/intranet-tmpl/default/en/includes/addressbook_section.png" width=12 height=12 alt="dict">
  			</a>
--- 41,45 ----
  			<input type="hidden" name="operator" value="contains">
  			<input type="text" name="value" id="author" onchange="sql_update()" size="35">
! 			<a href="javascript:Dopop('dictionary.pl?marclist=biblio.author&amp;type=intranet&amp;index=2',2)">
  				<img src="/intranet-tmpl/default/en/includes/addressbook_section.png" width=12 height=12 alt="dict">
  			</a>
***************
*** 52,56 ****
  			<input type="hidden" name="operator" value="contains">  
  			<input type="text" name="value" id="subject" onchange="sql_update()" size="35">
! 			<a href="javascript:Dopop('dictionary.pl?marclist=bibliosubject.subject&amp;type=intranet','bibliosubject.subject')">
  				<img src="/intranet-tmpl/default/en/includes/addressbook_section.png" width=12 height=12 alt="dict">
  			</a>
--- 52,56 ----
  			<input type="hidden" name="operator" value="contains">  
  			<input type="text" name="value" id="subject" onchange="sql_update()" size="35">
! 			<a href="javascript:Dopop('dictionary.pl?marclist=bibliosubject.subject&amp;type=intranet&amp;index=3',3)">
  				<img src="/intranet-tmpl/default/en/includes/addressbook_section.png" width=12 height=12 alt="dict">
  			</a>
***************
*** 187,191 ****
  
  function Dopop(link,i) {
! 	newin=window.open(link,'width=550,height=550,toolbar=false,scrollbars=yes');
  }
  
--- 187,192 ----
  
  function Dopop(link,i) {
! 	var searchstring=document.forms[0].value[i].value;
! 	newin=window.open(link+'&amp;search='+searchstring,"popup",'width=550,height=550,toolbar=false,scrollbars=yes');
  }
  





More information about the Koha-cvs mailing list