Bugzilla – Attachment 87468 Details for
Bug 22646
Fix use of PrivacyPolicyURL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22646: Fix use of PrivacyPolicyURL
Bug-22646-Fix-use-of-PrivacyPolicyURL.patch (text/plain), 3.61 KB, created by
Katrin Fischer
on 2019-04-06 10:00:55 UTC
(
hide
)
Description:
Bug 22646: Fix use of PrivacyPolicyURL
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-04-06 10:00:55 UTC
Size:
3.61 KB
patch
obsolete
>From c4387d630044fbfafbe0a04a70af235cbd31399e Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@libriotech.no> >Date: Fri, 5 Apr 2019 10:03:58 +0200 >Subject: [PATCH] Bug 22646: Fix use of PrivacyPolicyURL > >To test: > >PatronSelfRegistration = Allow >PatronSelfRegistrationDefaultCategory = PT (or some other real category) >GDPR_Policy = Enforced >PrivacyPolicyURL = Some URL > >- Go to <opac>/cgi-bin/koha/opac-memberentry.pl and verify that the text "privacy > policy" displays a link to the current page, not the URL in PrivacyPolicyURL >- Go to Administration > System preferences > Patrons > Privacy >- Verify that the descriptions of GDPR_Policy and PrivacyPolicyURL does not > mention that PrivacyPolicyURL needs to be set if GDPR_Policy is set. >- Apply the patch >- Verify that opac-memberentry.pl now links to the URL in PrivacyPolicyURL >- Verify that the syspref descriptions mention the relationship between them > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >Signed-off-by: Bin Wen <bin.wen@inlibro.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref | 2 ++ > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >index a014372c47..f8c63d5f2b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >@@ -233,6 +233,7 @@ Patrons: > - Use the following URL > - pref: PrivacyPolicyURL > - to refer to your local privacy policy in messages about privacy and data protection. (If you enforce GDPR policy, make sure that this page is not blocked.) >+ - "<br><strong>NOTE:</strong> The URL will only be displayed if GDPR_Policy is set." > - > - Set GDPR policy to > - pref: GDPR_Policy >@@ -241,3 +242,4 @@ Patrons: > Enforced: 'Enforced' > Permissive: 'Permissive' > - "GDPR is the EU General Data Protection Regulation. When you enforce, patrons need to give consent before using the OPAC. If you set to permissive, Koha will warn but not enforce." >+ - "<br><strong>NOTE:</strong> If you enable this you will also have to set the URL of your public privacy policy with the PrivacyPolicyURL setting." >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >index daf56b8d45..862091afe9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -903,7 +903,7 @@ > <legend>GDPR consent</legend> > <ol> > <li> >- <label></label><span><input type="checkbox" name="borrower_gdpr_proc_consent" value="agreed"> I agree with your processing of my personal data as outlined in the <a target="_blank" href="[% PrivacyPolicyURL | url %]">privacy policy</a>. <span class="required">Required</span></span> >+ <label></label><span><input type="checkbox" name="borrower_gdpr_proc_consent" value="agreed"> I agree with your processing of my personal data as outlined in the <a target="_blank" href="[% Koha.Preference('PrivacyPolicyURL') | url %]">privacy policy</a>. <span class="required">Required</span></span> > </li> > </ol> > </fieldset> >-- >2.11.0
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 22646
:
87439
|
87452
|
87454
| 87468