A couple more corrections to opac-userupdate. Needed to add additional fields to...
authorOwen Leonard <oleonard@myacpl.org>
Wed, 27 Feb 2008 21:33:25 +0000 (10:33 +1300)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 28 Feb 2008 13:59:03 +0000 (07:59 -0600)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl
opac/opac-userupdate.pl

index 1f4c990..a59c8c1 100644 (file)
@@ -50,7 +50,7 @@
 </li>
 
 <li><label for="B_city">City, State:</label> <input id="B_city" type="text" value="<!-- TMPL_VAR name="B_city" -->"  name="B_city" /></li>
-<li><label for="B_zipcode">Zip Code</label> <input type="text" id="B_zipcode" value="<!-- TMPL_VAR NAME="B_zipcode" -->" /></li>
+<li><label for="B_zipcode">Zip Code</label> <input type="text" id="B_zipcode" name="B_zipcode" value="<!-- TMPL_VAR NAME="B_zipcode" -->" /></li>
 </ol>
 </fieldset>
 <fieldset class="brief">
index dad7450..9789b44 100755 (executable)
@@ -49,8 +49,8 @@ my ( $borr, $flags ) = GetMemberDetails( $borrowernumber );
 # handle the new information....
 # collect the form values and send an email.
 my @fields = (
-    'title',     'surname',       'firstname',    'phone',
-    'fax', 'streetaddress', 'emailaddress', 'city','phonepro',
+    'surname',       'firstname',    'phone',
+    'fax', 'address','address2','city','zipcode','phone','mobile','fax','phonepro', 'emailaddress','B_streetaddress','B_city','B_zipcode','dateofbirth','sex'
 );
 my $update;
 my $updateemailaddress = C4::Context->preference('KohaAdminEmailAddress');