Bugzilla – Attachment 45885 Details for
Bug 12528
Enable staff to deny message setting access to patrons on the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12528 - Enable staff to deny message setting access to patrons on the OPAC
Bug-12528---Enable-staff-to-deny-message-setting-a.patch (text/plain), 3.22 KB, created by
Bouzid Fergani
on 2015-12-21 14:47:49 UTC
(
hide
)
Description:
Bug 12528 - Enable staff to deny message setting access to patrons on the OPAC
Filename:
MIME Type:
Creator:
Bouzid Fergani
Created:
2015-12-21 14:47:49 UTC
Size:
3.22 KB
patch
obsolete
>From 06ef2eccd401b30aa4ea608b37f2231106134059 Mon Sep 17 00:00:00 2001 >From: Bouzid Fergani <bouzid.fergani@inlibro.com> >Date: Mon, 21 Dec 2015 09:33:33 -0500 >Subject: [PATCH] Bug 12528 - Enable staff to deny message setting access to > patrons on the OPAC > > Change the preference Enhancedmessagingpreference description. > Enable default EnhancedMessagingPreferences and OPACEnhancedMessagingPreferences. > not sent e-mail it's necessary, when user call opac-messaging.pl directly. >--- > installer/data/mysql/atomicupdate/sysprefs_Bug12528.sql | 5 +++-- > .../intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt | 1 - > 3 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/sysprefs_Bug12528.sql b/installer/data/mysql/atomicupdate/sysprefs_Bug12528.sql >index be3169a..b711e47 100644 >--- a/installer/data/mysql/atomicupdate/sysprefs_Bug12528.sql >+++ b/installer/data/mysql/atomicupdate/sysprefs_Bug12528.sql >@@ -1,3 +1,4 @@ > INSERT INTO systempreferences ( variable, value, options, explanation,type ) VALUES >-('OPACEnhancedMessagingPreferences', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo') >-; >+('OPACEnhancedMessagingPreferences', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo') ON DUPLICATE KEY UPDATE value ='1'; >+INSERT INTO systempreferences ( variable, value, options, explanation,type ) VALUES >+('EnhancedMessagingPreferences', '1', NULL, 'If ON, allows patrons to select to receive additional messages about items due or nearly due.', 'YesNo') ON DUPLICATE KEY UPDATE value ='1'; >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 0636039..01a30cc 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 >@@ -54,7 +54,7 @@ Patrons: > choices: > yes: Allow > no: "Don't allow" >- - patrons to choose which notices they receive and when they receive them. Note that this only applies to certain kinds of notices. >+ - "Staff to manage which notices patrons will receive and when they will receive them. Note: this only applies to courtesy notices. To manage if patrons have also access to these settings, use OPACEnhancedMessagingPreferences." > - > - pref: ExtendedPatronAttributes > choices: >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >index 4cc84c1..aac5065 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >@@ -132,7 +132,6 @@ > </div> <!-- / #usermessaging --> > [% ELSE %] > <h4>You are not allowed to call this page directly</h4> >- <span> To report this problem, you can <a href="mailto:[% admin %]">email the Koha Administrator</a>.</span> > [% END %] > </div> <!-- / .span10 --> > </div> <!-- / .row-fluid --> >-- >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 12528
:
29505
|
30259
|
30348
|
30349
|
30487
|
31047
|
36511
|
36512
|
36513
|
36818
|
44302
|
44820
|
44826
|
45885
|
45886
|
45962
|
46003
|
46015
|
46082
|
46156
|
46217
|
46218
|
50649
|
50650
|
50651
|
50652
|
50988
|
50989
|
51000
|
51001
|
51002
|
51003
|
51004