[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities blinddetail-biblio-search.tmpl,1.4,1.5 searchresultlist-auth.tmpl,1.3,1.4

Paul POULAIN tipaul at users.sourceforge.net
Mon Sep 13 17:29:51 CEST 2004


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

Modified Files:
	blinddetail-biblio-search.tmpl searchresultlist-auth.tmpl 
Log Message:
fixes for 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.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** blinddetail-biblio-search.tmpl	18 Aug 2004 16:07:34 -0000	1.4
--- blinddetail-biblio-search.tmpl	13 Sep 2004 15:29:48 -0000	1.5
***************
*** 12,23 ****
  while (i<=opener.opener.document.f.field_value.length) {
  	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" -->
! 	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 -->
--- 12,23 ----
  while (i<=opener.opener.document.f.field_value.length) {
  	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" -->
! 			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 -->
***************
*** 31,42 ****
  while (i>=0) {
  	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" -->
! 	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 -->
--- 31,42 ----
  while (i>=0) {
  	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" -->
! 			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 -->

Index: searchresultlist-auth.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** searchresultlist-auth.tmpl	18 Aug 2004 16:07:34 -0000	1.3
--- searchresultlist-auth.tmpl	13 Sep 2004 15:29:48 -0000	1.4
***************
*** 23,27 ****
  				</p>
  				<p>
! 					<input type="submit" value="Start search" class="button authority">
  				</p>
  			</div>
--- 23,27 ----
  				</p>
  				<p>
! 				<input type="submit" value="Start search" class="button authority">
  				</p>
  			</div>
***************
*** 32,36 ****
  			<p>
  				<!-- TMPL_IF name="displayprev" -->
! 					<a href="search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">
  						<img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
  					</a>
--- 32,36 ----
  			<p>
  				<!-- TMPL_IF name="displayprev" -->
! 					<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
  						<img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
  					</a>
***************
*** 40,48 ****
  						<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
  					<!-- TMPL_ELSE -->
! 						<a href="search.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0"></a>
  					<!-- /TMPL_IF -->
  				<!-- /TMPL_LOOP -->
  				<!-- TMPL_IF name="displaynext" -->
! 					<a href="search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><img src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
  				<!-- /TMPL_IF -->
  			</p>
--- 40,50 ----
  						<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
  					<!-- TMPL_ELSE -->
! 						<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
! 							<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0"></a>
  					<!-- /TMPL_IF -->
  				<!-- /TMPL_LOOP -->
  				<!-- TMPL_IF name="displaynext" -->
! 					<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
! 						<img src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
  				<!-- /TMPL_IF -->
  			</p>
***************
*** 62,65 ****
--- 64,75 ----
  					<th class="authority">Get It!</th>
  				</tr>
+ 				<tr>
+ 					<td>&nbsp;</td>
+ 					<td>&nbsp;</td>
+ 					<td>
+ 						<a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=0&amp;index=<!-- TMPL_VAR NAME="index" -->')" class="button authority">
+ 							Clear
+ 						</a>
+ 					</td>
  				<!-- TMPL_LOOP NAME="result" -->
  					<tr>
***************
*** 77,92 ****
  			<p>
  				<!-- TMPL_IF name="displayprev" -->
! 				<a href="search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0"></a>
  				<!-- /TMPL_IF -->
  				<!-- TMPL_LOOP NAME="numbers" -->
  					<!-- TMPL_IF name="highlight" -->
! 					<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
  					<!-- TMPL_ELSE -->
! 					<a href="search.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0"></a>
  					<!-- /TMPL_IF -->
  				<!-- /TMPL_LOOP -->
  				<!-- TMPL_IF name="displaynext" -->
! 				<a href="search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><img src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
! 					<!-- /TMPL_IF -->
  			</p>
  		</div>	
--- 87,106 ----
  			<p>
  				<!-- TMPL_IF name="displayprev" -->
! 					<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
! 						<img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
! 					</a>
  				<!-- /TMPL_IF -->
  				<!-- TMPL_LOOP NAME="numbers" -->
  					<!-- TMPL_IF name="highlight" -->
! 						<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
  					<!-- TMPL_ELSE -->
! 						<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
! 							<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0"></a>
  					<!-- /TMPL_IF -->
  				<!-- /TMPL_LOOP -->
  				<!-- TMPL_IF name="displaynext" -->
! 					<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
! 						<img src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
! 				<!-- /TMPL_IF -->
  			</p>
  		</div>	





More information about the Koha-cvs mailing list