Bugzilla – Attachment 33175 Details for
Bug 8753
Add forgot password link to OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8753 - Add forgot password link to OPAC - Updated
Bug-8753---Add-forgot-password-link-to-OPAC---Upda.patch (text/plain), 2.60 KB, created by
simith.doliveira
on 2014-11-03 18:10:55 UTC
(
hide
)
Description:
Bug 8753 - Add forgot password link to OPAC - Updated
Filename:
MIME Type:
Creator:
simith.doliveira
Created:
2014-11-03 18:10:55 UTC
Size:
2.60 KB
patch
obsolete
>From 8720d00f856e5b07cb607e7b64e8c1b89b07137d Mon Sep 17 00:00:00 2001 >From: simith <simith@inlibro.com> >Date: Mon, 3 Nov 2014 13:07:02 -0500 >Subject: [PATCH] Bug 8753 - Add forgot password link to OPAC - Updated > >--- > installer/data/mysql/en/mandatory/sample_notices.sql | 4 +++- > opac/opac-password-recovery.pl | 4 ++-- > 2 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/installer/data/mysql/en/mandatory/sample_notices.sql b/installer/data/mysql/en/mandatory/sample_notices.sql >index dcb6e8e..2368e35 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.sql >+++ b/installer/data/mysql/en/mandatory/sample_notices.sql >@@ -143,4 +143,6 @@ Thank you. > Your library.' > ); > >-INSERT INTO `letter` VALUES ('members','PASSWORD_RESET','','Online password reset',1,'Koha password recovery','<html>\r\n<p>This email has been sent in response to your password recovery request for the account <strong><< borrowers.userid>></strong>.\r\n</p>\r\n<p>\r\nYou can now create your new password using the following link:\r\n<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>\r\n</p>\r\n<p>This link will be valid for 2 days from this email\'s reception, then you must reapply if you do not change your password.</p>\r\n<p>Thank you.</p>\r\n</html>\r\n','email'); >+INSERT INTO `letter` (module, code, branchcode, name, is_html, title, content, message_transport_type) >+VALUES ('members','PASSWORD_RESET','','Online password reset',1,'Koha password recovery','<html>\r\n<p>This email has been sent in response to your password recovery request for the account <strong><< borrowers.userid>></strong>.\r\n</p>\r\n<p>\r\nYou can now create your new password using the following link:\r\n<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>\r\n</p>\r\n<p>This link will be valid for 2 days from this email\'s reception, then you must reapply if you do not change your password.</p>\r\n<p>Thank you.</p>\r\n</html>\r\n','email' >+); >diff --git a/opac/opac-password-recovery.pl b/opac/opac-password-recovery.pl >index e0dc544..27c8ea6 100755 >--- a/opac/opac-password-recovery.pl >+++ b/opac/opac-password-recovery.pl >@@ -10,12 +10,12 @@ use C4::Members qw(changepassword GetMember GetMemberDetails ); > use C4::Output; > use C4::Context; > use Koha::AuthUtils qw(hash_password); >- > my $query = new CGI; >+use HTML::Entities; > > my ( $template, $dummy, $cookie ) = get_template_and_user( > { >- template_name => "opac-password-recovery.tmpl", >+ template_name => "opac-password-recovery.tt", > query => $query, > type => "opac", > authnotrequired => 1, >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8753
:
21502
|
21512
|
21521
|
21849
|
22175
|
22430
|
24586
|
24780
|
24781
|
24846
|
24853
|
24854
|
24855
|
24862
|
24906
|
24907
|
24908
|
25038
|
25039
|
25051
|
29111
|
33175
|
33176
|
34472
|
36819
|
37492
|
39049
|
39144
|
39165
|
39166
|
39167
|
39168
|
39827
|
41181
|
41192
|
41193
|
41455
|
41686
|
41687
|
41688
|
41706
|
43017
|
43183
|
43576
|
44305
|
44306
|
44307
|
44308
|
44309
|
44310
|
44311
|
44323
|
44324
|
44325
|
44326
|
44327
|
44329
|
44330
|
45209
|
45210
|
45211
|
45212
|
45213
|
45214
|
45215
|
45223
|
45224
|
45225
|
45226
|
45227
|
45228
|
45229
|
45230
|
46379
|
47164
|
47165
|
47166
|
47167
|
47168
|
47169
|
47170
|
47171
|
47357
|
47366