Bugzilla – Attachment 14191 Details for
Bug 7067
allow patron self registration via the opac
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7067 - Followup - Change 'mobile phone' to 'other phone', run typed in captcha through uc before comparing.
Bug-7067---Followup---Change-mobile-phone-to-other.patch (text/plain), 1.85 KB, created by
Kyle M Hall (khall)
on 2012-12-18 15:56:15 UTC
(
hide
)
Description:
Bug 7067 - Followup - Change 'mobile phone' to 'other phone', run typed in captcha through uc before comparing.
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-12-18 15:56:15 UTC
Size:
1.85 KB
patch
obsolete
>From 67189ba431acb126c4550a3236bdfe87dfef1e96 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 18 Dec 2012 10:55:25 -0500 >Subject: [PATCH] Bug 7067 - Followup - Change 'mobile phone' to 'other phone', run typed in captcha through uc before comparing. > >--- > .../opac-tmpl/prog/en/modules/opac-memberentry.tt | 2 +- > opac/opac-memberentry.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt >index d41917c..19a15ee 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt >@@ -383,7 +383,7 @@ > [% ELSE %] > <label for="borrower_mobile"> > [% END %] >- Mobile phone:</label> >+ Other phone:</label> > > <input type="text" id="borrower_mobile" name="borrower_mobile" value="[% borrower.mobile %]" /> > [% IF mandatory.defined('mobile') %]<span class="required">Required</span>[% END %] >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index 7f8230d..1343e95 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -79,7 +79,7 @@ if ( $action eq 'create' ) { > ); > } > elsif ( >- md5_base64( $cgi->param('captcha') ) ne $cgi->param('captcha_digest') ) >+ md5_base64( uc( $cgi->param('captcha') ) ) ne $cgi->param('captcha_digest') ) > { > $template->param( > failed_captcha => 1, >-- >1.7.2.5
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 7067
:
11960
|
11961
|
11962
|
11965
|
11966
|
11967
|
11968
|
11970
|
11973
|
11978
|
12006
|
12007
|
12013
|
12104
|
12109
|
12114
|
12116
|
12129
|
12135
|
12136
|
12138
|
12153
|
12154
|
12171
|
12190
|
12191
|
12196
|
12197
|
12242
|
12243
|
12244
|
12245
|
12277
|
12278
|
13038
|
13039
|
13040
|
13048
|
13053
|
13259
|
13260
|
13744
|
13745
|
13746
|
13747
|
13748
|
13765
|
13766
|
13767
|
13768
|
13769
|
13984
|
14001
|
14085
|
14086
|
14087
|
14088
|
14089
|
14090
|
14092
|
14093
|
14119
|
14190
|
14191
|
14193
|
14194
|
14282
|
14283