View | Details | Raw Unified | Return to bug 12528
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt (-1 / +5 lines)
Lines 5-11 Link Here
5
</head>
5
</head>
6
[% INCLUDE 'bodytag.inc' bodyid='opac-messaging' %]
6
[% INCLUDE 'bodytag.inc' bodyid='opac-messaging' %]
7
[% INCLUDE 'masthead.inc' %]
7
[% INCLUDE 'masthead.inc' %]
8
9
<div class="main">
8
<div class="main">
10
    <ul class="breadcrumb">
9
    <ul class="breadcrumb">
11
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
10
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
Lines 21-26 Link Here
21
                </div>
20
                </div>
22
            </div>
21
            </div>
23
            <div class="span10">
22
            <div class="span10">
23
                [% IF (Authorized) %]
24
                <div id="usermessaging">
24
                <div id="usermessaging">
25
                    <h3>Your messaging settings</h3>
25
                    <h3>Your messaging settings</h3>
26
                    [% IF ( settings_updated ) %]
26
                    [% IF ( settings_updated ) %]
Lines 120-125 Link Here
120
                        </fieldset>
120
                        </fieldset>
121
                    </form>
121
                    </form>
122
                </div> <!-- / #usermessaging -->
122
                </div> <!-- / #usermessaging -->
123
                [% ELSE %]
124
                    <h4>You are not allowed to call this page directly</h4>
125
                    <span> To report this problem, you can <a href="mailto:[% admin %]">email the Koha Administrator</a>.</span>
126
                [% END %]
123
            </div> <!-- / .span10 -->
127
            </div> <!-- / .span10 -->
124
        </div> <!-- / .row-fluid -->
128
        </div> <!-- / .row-fluid -->
125
    </div> <!-- / .container-fluid -->
129
    </div> <!-- / .container-fluid -->
(-)a/opac/opac-messaging.pl (-2 / +3 lines)
Lines 68-73 $template->param( BORROWER_INFO => [ $borrower ], Link Here
68
                  messagingview         => 1,
68
                  messagingview         => 1,
69
                  SMSnumber => defined $borrower->{'smsalertnumber'} ? $borrower->{'smsalertnumber'} : $borrower->{'mobile'},
69
                  SMSnumber => defined $borrower->{'smsalertnumber'} ? $borrower->{'smsalertnumber'} : $borrower->{'mobile'},
70
                  SMSSendDriver                =>  C4::Context->preference("SMSSendDriver"),
70
                  SMSSendDriver                =>  C4::Context->preference("SMSSendDriver"),
71
                  TalkingTechItivaPhone        =>  C4::Context->preference("TalkingTechItivaPhoneNotification") );
71
                  TalkingTechItivaPhone        =>  C4::Context->preference("TalkingTechItivaPhoneNotification"),
72
                  admin                        =>  C4::Context->preference('KohaAdminEmailAddress'),
73
                  Authorized                   =>  C4::Context->preference('OPACEnhancedMessagingPreferences'));
72
74
73
output_html_with_http_headers $query, $cookie, $template->output;
75
output_html_with_http_headers $query, $cookie, $template->output;
74
- 

Return to bug 12528