[Koha-bugs] [Bug 12528] Enable staff to deny message setting access to patrons on the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 5 10:37:33 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12528

--- Comment #16 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 36512
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36512
Bug 12528 - Enable staff to deny message setting access to patrons on the OPAC

Review of attachment 36512:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=12528&attachment=36512)
-----------------------------------------------------------------

::: opac/opac-messaging.pl
@@ +69,5 @@
>                    SMSnumber => defined $borrower->{'smsalertnumber'} ? $borrower->{'smsalertnumber'} : $borrower->{'mobile'},
>                    SMSSendDriver                =>  C4::Context->preference("SMSSendDriver"),
> +                  TalkingTechItivaPhone        =>  C4::Context->preference("TalkingTechItivaPhoneNotification"),
> +                  admin                        =>  C4::Context->preference('KohaAdminEmailAddress'),
> +                  Authorized                   =>  C4::Context->preference('OPACEnhancedMessagingPreferences'));

Please use the Koha plugin to access system preference values from the
templates ([% IF Koha.Preference('OPACEnhancedMessagingPreferences') %]).
And maybe EnhancedMessagingPreferences should be checked too, according to the
description of the syspref.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list