[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/members gu... [rel_3_0]

Bruno Toumi btoumi at ouestprovence.fr
Thu Nov 16 16:13:16 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Bruno Toumi <btoumi>	06/11/16 15:13:16

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/members: guarantor_search.tmpl 
	                                         memberentryC.tmpl 

Log message:
	add dynamic title for  button 'find guarantor'  in children template 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/members/guarantor_search.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.2&r2=1.2.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/members/memberentryC.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.9.2.10&r2=1.9.2.11

Patches:
Index: guarantor_search.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/members/guarantor_search.tmpl,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -b -r1.2 -r1.2.2.1
--- guarantor_search.tmpl	12 Jun 2006 08:35:58 -0000	1.2
+++ guarantor_search.tmpl	16 Nov 2006 15:13:16 -0000	1.2.2.1
@@ -28,7 +28,7 @@
 				<tr bgcolor="white">
 			<!-- /TMPL_IF -->
 				<td><!-- TMPL_VAR NAME="cardnumber" --></td>
-				<td><p><a href="javascript:window.opener.document.form.guarantorid.value=<!-- TMPL_VAR NAME="borrowernumber" -->;self.close();"><!-- TMPL_VAR NAME="surname" --></a></p>
+				<td><p><a href="javascript:window.opener.document.form.guarantorid.value=<!-- TMPL_VAR NAME="borrowernumber" -->;window.opener.document.form.guarantorsearch.value='Modify Guarantor';self.close();"><!-- TMPL_VAR NAME="surname" --></a></p>
 				<td><b><!-- TMPL_VAR NAME="firstname" --></b></td> 
 				<td><!-- TMPL_VAR NAME="dateofbirth" --></td>
 				<td><p><!-- TMPL_VAR NAME="address" --> <!-- TMPL_VAR NAME="city" --></p></td>

Index: memberentryC.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/members/memberentryC.tmpl,v
retrieving revision 1.9.2.10
retrieving revision 1.9.2.11
diff -u -b -r1.9.2.10 -r1.9.2.11
--- memberentryC.tmpl	15 Nov 2006 14:29:10 -0000	1.9.2.10
+++ memberentryC.tmpl	16 Nov 2006 15:13:16 -0000	1.9.2.11
@@ -178,14 +178,13 @@
 			<input style="text-transform:uppercase;" type="text" name="othernames" size="20"  value="<!-- TMPL_VAR NAME="othernames" -->" >
 		</p>
 	
-	<!-- TMPL_UNLESS NAME="add"-->	
-	<p><a href="javascript:Dopopguarantor('guarantor_search.pl');">Modify guarantor</a></p>
-	<!-- /TMPL_UNLESS -->
-	<!-- TMPL_IF NAME="add" -->
-	<!-- TMPL_UNLESS NAME="guarantorid"-->	
-	<p><a href="javascript:Dopopguarantor('guarantor_search.pl');">Find guarantor</a></p>
-	<!-- /TMPL_UNLESS -->
+	<p>
+	<!-- TMPL_IF NAME="guarantorid"-->	
+		<input name="guarantorsearch" type="button" value="Modify Guarantor" onClick="javascript:Dopopguarantor('guarantor_search.pl');">
+	<!-- TMPL_ELSE -->
+		<input name="guarantorsearch" type="button" value="Find guarantor" onClick="javascript:Dopopguarantor('guarantor_search.pl');">
 	<!-- /TMPL_IF -->
+	</p>
 	</fieldset>
 	<fieldset id="memberentry_identity">
 		<legend>Borrower type</legend>





More information about the Koha-cvs mailing list