[Koha-cvs] CVS: koha/opac opac-passwd.pl,1.1.2.1,1.1.2.2
Owen Leonard
oleonard at users.sourceforge.net
Tue Aug 2 22:57:21 CEST 2005
Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18287/opac
Modified Files:
Tag: rel_2_2
opac-passwd.pl
Log Message:
- Translating a template variable into English
- Adding borrowernumber to the confirmation screen so that user can be returned to his user page
- Removing warn
Index: opac-passwd.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/Attic/opac-passwd.pl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** opac-passwd.pl 2 Aug 2005 01:40:21 -0000 1.1.2.1
--- opac-passwd.pl 2 Aug 2005 20:57:19 -0000 1.1.2.2
***************
*** 52,56 ****
my $clave = md5_base64($query->param('Newkey'));
$sth->execute($clave,$borrowernumber);
! $template->param('Cambio_clave' => '1');
}elsif ( $query->param('Newkey') ne $query->param('Confirm') ){
$template->param('Ask_data' => '1');
--- 52,57 ----
my $clave = md5_base64($query->param('Newkey'));
$sth->execute($clave,$borrowernumber);
! $template->param('password_updated' => '1');
! $template->param('borrowernumber' => $borrowernumber);
}elsif ( $query->param('Newkey') ne $query->param('Confirm') ){
$template->param('Ask_data' => '1');
***************
*** 58,62 ****
$template->param('PassMismatch' => '1');
}elsif (length($query->param('Confirm')) <= 5 ){
- warn "La password es chica\n";
$template->param('Ask_data' => '1');
$template->param('Error_messages' => '1');
--- 59,62 ----
More information about the Koha-cvs
mailing list