[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities authorities.tmpl,1.2,1.3 searchresultlist.tmpl,1.1,1.2

Paul POULAIN tipaul at users.sourceforge.net
Thu Jun 17 10:20:29 CEST 2004


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

Modified Files:
	authorities.tmpl searchresultlist.tmpl 
Log Message:
authorities (continued)

Index: authorities.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** authorities.tmpl	10 Jun 2004 08:30:02 -0000	1.2
--- authorities.tmpl	17 Jun 2004 08:20:27 -0000	1.3
***************
*** 9,16 ****
  		<input type="hidden" name="addfield_field">
  		<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="authtypecode" -->">
  		<!-- TMPL_IF name="authid" -->
  			<input type="button" value="Save" onClick='Check(this.form)' accesskey="w" class="button authority">
  		<!-- TMPL_ELSE -->
! 			<input type="button" value="Add biblio" onClick='Check(this.form)' accesskey="w" class="button authority">
  		<!-- /TMPL_IF -->
  <!--		<a href="javascript:PopupZ3950()" class="button authority">z3950 search</a> -->
--- 9,17 ----
  		<input type="hidden" name="addfield_field">
  		<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="authtypecode" -->">
+ 		<input type="hidden" name="authid" value="<!-- TMPL_VAR name="authid" -->">
  		<!-- TMPL_IF name="authid" -->
  			<input type="button" value="Save" onClick='Check(this.form)' accesskey="w" class="button authority">
  		<!-- TMPL_ELSE -->
! 			<input type="button" value="Add authority" onClick='Check(this.form)' accesskey="w" class="button authority">
  		<!-- /TMPL_IF -->
  <!--		<a href="javascript:PopupZ3950()" class="button authority">z3950 search</a> -->

Index: searchresultlist.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** searchresultlist.tmpl	10 Jun 2004 08:30:02 -0000	1.1
--- searchresultlist.tmpl	17 Jun 2004 08:20:27 -0000	1.2
***************
*** 31,41 ****
  		<table>
  			<tr>
! 				<th class="authority">Authority #</th>
! 				<th class="authority">Author</th>
  			</tr>
  			<!-- TMPL_LOOP name="result" -->
  				<tr>
- 					<td><a href="detail.pl?authid=<!-- TMPL_VAR name="authid" -->"><!-- TMPL_VAR name="authid" --></a></td>
  					<td><!-- TMPL_VAR name="summary" --></td>
  				</tr>
  			<!-- /TMPL_LOOP -->
--- 31,55 ----
  		<table>
  			<tr>
! 				<th class="authority">Summary</th>
! 				<th class="authority">Used</th>
! 				<th class="authority">View</th>
! 				<th class="authority">Delete</th>
  			</tr>
  			<!-- TMPL_LOOP name="result" -->
  				<tr>
  					<td><!-- TMPL_VAR name="summary" --></td>
+ 					<td><!-- TMPL_VAR name="used" --> <a href="../search.marc/search.pl?type=intranet&op=do_search&marclist=<!-- TMPL_VAR name="biblio_fields" -->&operator==&value=<!-- TMPL_VAR name="authid" -->&and_or=&excluding=">...</a></td>
+ 					<td>
+ 						<a href="detail.pl?authid=<!-- TMPL_VAR name="authid" -->">
+ 							<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR name="authid" -->" title="Authority number<!-- TMPL_VAR name="authid" -->">
+ 						</a>
+ 					</td>
+ 					<td>
+ 						<!-- TMPL_UNLESS name="used" -->
+ 						<a href="authorities-home.pl?op=delete&authid=<!-- TMPL_VAR name="authid" -->">
+ 							<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
+ 						</a>
+ 						<!-- /TMPL_UNLESS -->
+ 					</td>
  				</tr>
  			<!-- /TMPL_LOOP -->





More information about the Koha-cvs mailing list