From 5d4686eac30399ffec91b06939255ded72216bcc Mon Sep 17 00:00:00 2001 From: Bouzid Fergani Date: Wed, 30 Dec 2015 08:44:48 -0500 Subject: [PATCH] Bug 12528 - add check EnhancedMessagingPreference when call directly opac/opac-messaging.pl --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 aac5065..363786e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt @@ -22,6 +22,7 @@
+ [% IF Koha.Preference( 'EnhancedMessagingPreferences' ) %] [% IF Koha.Preference( 'OPACEnhancedMessagingPreferences' ) %]

Your messaging settings

@@ -133,7 +134,10 @@ [% ELSE %]

You are not allowed to call this page directly

[% END %] -
+ [% ELSE %] +

You are not allowed to call this page directly

+ [% END %] +
-- 1.9.1