Lines 1-3
Link Here
|
|
|
1 |
[% USE Koha %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Tools › Notices[% IF ( add_form ) %][% IF ( modify ) %] › Modify notice[% ELSE %] › Add notice[% END %][% END %][% IF ( add_validate ) %] › Notice added[% END %][% IF ( delete_confirm ) %] › Confirm deletion[% END %]</title> |
3 |
<title>Koha › Tools › Notices[% IF ( add_form ) %][% IF ( modify ) %] › Modify notice[% ELSE %] › Add notice[% END %][% END %][% IF ( add_validate ) %] › Notice added[% END %][% IF ( delete_confirm ) %] › Confirm deletion[% END %]</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 291-297
$(document).ready(function() {
Link Here
|
291 |
|
292 |
|
292 |
[% FOREACH letter IN letters %] |
293 |
[% FOREACH letter IN letters %] |
293 |
<li> |
294 |
<li> |
294 |
<fieldset class="rows mtt" id="[% letter.message_transport_type %]"> |
295 |
[% IF letter.message_transport_type == "sms" and not Koha.Preference("SMSSendDriver") %] |
|
|
296 |
<fieldset class="rows mtt" id="[% letter.message_transport_type %]" disabled="disabled"> |
297 |
<div class="dialog message">You should enable the SMSSendDriver preference to use the sms templates.</div> |
298 |
[% ELSIF letter.message_transport_type == "phone" and not Koha.Preference("TalkingTechItivaPhoneNotification") %] |
299 |
<fieldset class="rows mtt" id="[% letter.message_transport_type %]" disabled="disabled"> |
300 |
<div class="dialog message">You should enable the TalkingTechItivaPhoneNotification preference to use the phone templates.</div> |
301 |
[% ELSE %] |
302 |
<fieldset class="rows mtt" id="[% letter.message_transport_type %]"> |
303 |
[% END %] |
295 |
<legend> |
304 |
<legend> |
296 |
[% SWITCH letter.message_transport_type %] |
305 |
[% SWITCH letter.message_transport_type %] |
297 |
[% CASE 'email' %] |
306 |
[% CASE 'email' %] |