koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bruno Toumi
Subject: [Koha-cvs] koha koha-tmpl/intranet-tmpl/prog/en/members/me... [rel_3_0]
Date: Fri, 03 Nov 2006 10:50:36 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Bruno Toumi <btoumi>    06/11/03 10:50:36

Modified files:
        koha-tmpl/intranet-tmpl/prog/en/members: memberentryI.tmpl 
                                                 memberentryP.tmpl 
        members        : memberentry.pl 

Log message:
        bug fix on field contactnote : wrong field name used 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/members/memberentryI.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.6.2.10&r2=1.6.2.11
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/members/memberentryP.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.7.2.9&r2=1.7.2.10
http://cvs.savannah.gnu.org/viewcvs/koha/members/memberentry.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.38.2.10&r2=1.38.2.11

Patches:
Index: koha-tmpl/intranet-tmpl/prog/en/members/memberentryI.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/members/memberentryI.tmpl,v
retrieving revision 1.6.2.10
retrieving revision 1.6.2.11
diff -u -b -r1.6.2.10 -r1.6.2.11
--- koha-tmpl/intranet-tmpl/prog/en/members/memberentryI.tmpl   30 Oct 2006 
10:03:35 -0000      1.6.2.10
+++ koha-tmpl/intranet-tmpl/prog/en/members/memberentryI.tmpl   3 Nov 2006 
10:50:35 -0000       1.6.2.11
@@ -65,7 +65,7 @@
                <input type="hidden" name="branchcode"  value="<!-- TMPL_VAR 
NAME="branchcode" -->">
                <input type="hidden" name="phonepro" value="<!-- TMPL_VAR 
NAME="phonepro" -->" >
                <input type="hidden" name="emailpro" value="<!-- TMPL_VAR 
NAME="emailpro" -->" >
-               <textarea style="display:none;" name="contactnotes" cols="70" 
rows="3"  ><!-- TMPL_VAR NAME="contactnotes" --></textarea>
+               <textarea style="display:none;" name="contactnote" cols="70" 
rows="3"  ><!-- TMPL_VAR NAME="contactnote" --></textarea>
                <input type="hidden" name="fax"   value="<!-- TMPL_VAR 
NAME="fax" -->"  
 
 <!--           from form 3      -->
@@ -157,7 +157,7 @@
 <form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post">
                <!--            field always hidden in different form (1,2,3) 
-->
                <input type="hidden" name="BorrowerMandatoryField" 
value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->">
-               <input type="hidden" name="FormFieldList" 
value="cardnumber|streetnumber|streettype|address|address2|zipcode|city|phonepro|emailpro|fax|contactnotes">
+               <input type="hidden" name="FormFieldList" 
value="cardnumber|streetnumber|streettype|address|address2|zipcode|city|phonepro|emailpro|fax|contactnote">
                <input type="hidden" name="category_type" value="<!-- TMPL_VAR 
name="category_type" -->">
                <input type="hidden" name="type" value="borrowers">
                <input type="hidden" name="step" value="<!-- TMPL_VAR 
NAME="step" -->">
@@ -300,13 +300,13 @@
        <fieldset>
                <legend>Member list</legend>
                <p>
-                       <!-- TMPL_IF NAME="mandatorycontactnotes" -->
+                       <!-- TMPL_IF NAME="mandatorycontactnote" -->
                                <label style="font-weight:bold">
                        <!--TMPL_ELSE-->
                                <label>
                        <!-- /TMPL_IF-->
                        Persons that can issue books</label>
-                       <textarea  name="contactnotes" cols="70" rows="2"   
><!-- TMPL_VAR NAME="contactnotes" --></textarea>   
+                       <textarea  name="contactnote" cols="70" rows="2"   
><!-- TMPL_VAR NAME="contactnote" --></textarea>     
                </p>
        <fieldset>
        <div id="action">
@@ -350,7 +350,7 @@
                <input type="hidden" name="branchcode"  value="<!-- TMPL_VAR 
NAME="branchcode" -->">
                <input type="hidden" name="phonepro" value="<!-- TMPL_VAR 
NAME="phonepro" -->" >
                <input type="hidden" name="emailpro" value="<!-- TMPL_VAR 
NAME="emailpro" -->" >
-               <textarea style="display:none;" name="contactnotes" cols="70" 
rows="3"  ><!-- TMPL_VAR NAME="contactnotes" --></textarea>
+               <textarea style="display:none;" name="contactnote" cols="70" 
rows="3"  ><!-- TMPL_VAR NAME="contactnote" --></textarea>
                <input type="hidden" name="fax" value="<!-- TMPL_VAR NAME="fax" 
-->">
                
                <!-- TMPL_IF NAME="opadd" -->

Index: koha-tmpl/intranet-tmpl/prog/en/members/memberentryP.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/members/memberentryP.tmpl,v
retrieving revision 1.7.2.9
retrieving revision 1.7.2.10
diff -u -b -r1.7.2.9 -r1.7.2.10
--- koha-tmpl/intranet-tmpl/prog/en/members/memberentryP.tmpl   30 Oct 2006 
10:03:35 -0000      1.7.2.9
+++ koha-tmpl/intranet-tmpl/prog/en/members/memberentryP.tmpl   3 Nov 2006 
10:50:35 -0000       1.7.2.10
@@ -79,7 +79,7 @@
                <input type="hidden" name="B_city"  value="<!-- TMPL_VAR 
NAME="B_city" -->">
                <input type="hidden" name="B_phone"  value="<!-- TMPL_VAR 
NAME="B_phone" -->"> 
                <input type="hidden" name="fax"  value="<!-- TMPL_VAR 
NAME="fax" -->">  
-               <textarea style="display:none;" name="contactnotes" cols="70" 
rows="3"  ><!-- TMPL_VAR NAME="contactnotes" --></textarea>
+               <textarea style="display:none;" name="contactnote" cols="70" 
rows="3"  ><!-- TMPL_VAR NAME="contactnote" --></textarea>
 
 <!--           from form 3 -->
                <input type="hidden" name="dateenrolled"  value="<!-- TMPL_VAR 
NAME="dateenrolled" -->">
@@ -240,7 +240,7 @@
 <form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post">
                <!--            field always hidden in different form (1,2,3) 
-->
                <input type="hidden" name="BorrowerMandatoryField" 
value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->">
-               <input type="hidden" name="FormFieldList" 
value="cardnumber|streetnumber|streettype|address|address2|zipcode|city|contactname|phone|phonepro|mobile|email|emailpro|B_zipcode|B_phone|B_address|B_city|relationship|fax|contactnotes">
+               <input type="hidden" name="FormFieldList" 
value="cardnumber|streetnumber|streettype|address|address2|zipcode|city|contactname|phone|phonepro|mobile|email|emailpro|B_zipcode|B_phone|B_address|B_city|relationship|fax|contactnote">
                <input type="hidden" name="category_type" value="<!-- TMPL_VAR 
name="category_type" -->">
                <input type="hidden" name="type" value="borrowers">
                <input type="hidden" name="step" value="<!-- TMPL_VAR 
NAME="step" -->">
@@ -480,13 +480,13 @@
                        <input type="text" name="B_phone" size="20" value="<!-- 
TMPL_VAR NAME="B_phone" -->">
                </p>
                <p>
-                       <!-- TMPL_IF NAME="mandatorycontactnotes" -->
+                       <!-- TMPL_IF NAME="mandatorycontactnote" -->
                                <label style="font-weight:bold">
                        <!-- TMPL_ELSE -->
                                <label>
                        <!-- /TMPL_IF-->
                        Notes</label>
-                       <textarea  name="contactnotes" cols="70" rows="2"   
><!-- TMPL_VAR NAME="contactnotes" --></textarea>
+                       <textarea  name="contactnote" cols="70" rows="2"   
><!-- TMPL_VAR NAME="contactnote" --></textarea>
                </p>
        </fieldset>
                <div>
@@ -547,7 +547,7 @@
                <input type="hidden" name="B_city"  value="<!-- TMPL_VAR 
NAME="B_city" -->">
                <input type="hidden" name="B_phone"  value="<!-- TMPL_VAR 
NAME="B_phone" -->"> 
                <input type="hidden" name="fax"  value="<!-- TMPL_VAR 
NAME="fax" -->">  
-               <textarea style="display:none;" name="contactnotes" cols="70" 
rows="3"  ><!-- TMPL_VAR NAME="contactnotes" --></textarea>
+               <textarea style="display:none;" name="contactnote" cols="70" 
rows="3"  ><!-- TMPL_VAR NAME="contactnote" --></textarea>
        
                <!-- TMPL_IF NAME="opadd" -->
                        <input type="hidden" name="op" value="add">

Index: members/memberentry.pl
===================================================================
RCS file: /sources/koha/koha/members/memberentry.pl,v
retrieving revision 1.38.2.10
retrieving revision 1.38.2.11
diff -u -b -r1.38.2.10 -r1.38.2.11
--- members/memberentry.pl      17 Oct 2006 16:56:55 -0000      1.38.2.10
+++ members/memberentry.pl      3 Nov 2006 10:50:35 -0000       1.38.2.11
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# $Id: memberentry.pl,v 1.38.2.10 2006/10/17 16:56:55 toins Exp $
+# $Id: memberentry.pl,v 1.38.2.11 2006/11/03 10:50:35 btoumi Exp $
 
 # Copyright 2006 SAN OUEST PROVENCE et Paul POULAIN
 #
@@ -504,7 +504,7 @@
                userid          => $data{'userid'},     
                password        => $data{'password'},   
                opacnote        => $data{'opacnote'},   
-               contactnotes    => $data{'contactnotes'},
+               contactnote     => $data{'contactnote'},
                borrowernotes   => $data{'borrowernotes'},
                relshiploop     => address@hidden,
                relationship    => $data{'relationship'},




reply via email to

[Prev in Thread] Current Thread [Next in Thread]