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

--- Comment #16 from Jonathan Druart <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to