|
Lines 1-6
Link Here
|
| 1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
| 2 |
<!-- snippet for form to set borrower and patron category messaging preferences --> |
2 |
<!-- snippet for form to set borrower and patron category messaging preferences --> |
| 3 |
|
3 |
|
|
|
4 |
<script> |
| 5 |
var TalkingTechItivaPhoneNotification = [% Koha.Preference('TalkingTechItivaPhoneNotification') || 0 | html %]; |
| 6 |
var PhoneNotification = [% Koha.Preference('PhoneNotification') || 0 | html %]; |
| 7 |
</script> |
| 4 |
<input type="hidden" name="modify" value="yes" /> |
8 |
<input type="hidden" name="modify" value="yes" /> |
| 5 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> |
9 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> |
| 6 |
<table> |
10 |
<table> |
|
Lines 109-120
Link Here
|
| 109 |
<input type="checkbox" |
113 |
<input type="checkbox" |
| 110 |
id="itiva[% messaging_preference.message_attribute_id | html %]" |
114 |
id="itiva[% messaging_preference.message_attribute_id | html %]" |
| 111 |
name="[% messaging_preference.message_attribute_id | html %]" |
115 |
name="[% messaging_preference.message_attribute_id | html %]" |
| 112 |
value="itiva" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" /> |
116 |
value="itiva" checked="checked" class="pmp_phone active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" /> |
| 113 |
[% ELSE %] |
117 |
[% ELSE %] |
| 114 |
<input type="checkbox" |
118 |
<input type="checkbox" |
| 115 |
id="itiva[% messaging_preference.message_attribute_id | html %]" |
119 |
id="itiva[% messaging_preference.message_attribute_id | html %]" |
| 116 |
name="[% messaging_preference.message_attribute_id | html %]" |
120 |
name="[% messaging_preference.message_attribute_id | html %]" |
| 117 |
value="itiva" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" /> |
121 |
value="itiva" class="pmp_phone active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" /> |
| 118 |
[% END %] |
122 |
[% END %] |
| 119 |
[% END %] |
123 |
[% END %] |
| 120 |
</td> |
124 |
</td> |
|
Lines 141-152
Link Here
|
| 141 |
<input type="checkbox" |
145 |
<input type="checkbox" |
| 142 |
id="phone[% messaging_preference.message_attribute_id | html %]" |
146 |
id="phone[% messaging_preference.message_attribute_id | html %]" |
| 143 |
name="[% messaging_preference.message_attribute_id | html %]" |
147 |
name="[% messaging_preference.message_attribute_id | html %]" |
| 144 |
value="phone" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" /> |
148 |
value="phone" checked="checked" class="pmp_phone active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" /> |
| 145 |
[% ELSE %] |
149 |
[% ELSE %] |
| 146 |
<input type="checkbox" |
150 |
<input type="checkbox" |
| 147 |
id="phone[% messaging_preference.message_attribute_id | html %]" |
151 |
id="phone[% messaging_preference.message_attribute_id | html %]" |
| 148 |
name="[% messaging_preference.message_attribute_id | html %]" |
152 |
name="[% messaging_preference.message_attribute_id | html %]" |
| 149 |
value="phone" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" /> |
153 |
value="phone" class="pmp_phone active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" /> |
| 150 |
[% END %] |
154 |
[% END %] |
| 151 |
[% END %] |
155 |
[% END %] |
| 152 |
</td> |
156 |
</td> |