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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt (-4 / +3 lines)
Lines 397-410 $(document).ready(function() { Link Here
397
                <li>
397
                <li>
398
                  <label for="SQLfieldname_[% letter.message_transport_type %]">Message body:</label>
398
                  <label for="SQLfieldname_[% letter.message_transport_type %]">Message body:</label>
399
                  [% IF letter.message_transport_type == 'sms' %]
399
                  [% IF letter.message_transport_type == 'sms' %]
400
                    <span id="sms_counter">[% IF letter.content.length > 0 %][% letter.content.length %][% ELSE %]0[% END %]/160 characters</span>
400
                    <span id="sms_counter">[% IF letter.length && letter.length > 0 %][% letter.length %][% ELSE %]0[% END %]/160 characters</span>
401
                  [% END %]
401
                  [% END %]
402
                  <table>
402
                  <table>
403
                    <tr>
403
                    <tr>
404
                      <td>
404
                      <td>
405
                        <select name="SQLfieldname" id="SQLfieldname_[% letter.message_transport_type %]" multiple="multiple" size="9">
405
                        <select name="SQLfieldname" id="SQLfieldname_[% letter.message_transport_type %]" multiple="multiple" size="9">
406
                          [% FOREACH SQLfieldnam IN SQLfieldname %]
406
                          [% FOREACH SQLfieldname IN SQLfieldname %]
407
                            <option value="[% SQLfieldnam.value %]">[% SQLfieldnam.text %]</option>
407
                            <option value="[% SQLfieldname.value %]">[% SQLfieldname.text %]</option>
408
                          [% END %]
408
                          [% END %]
409
                        </select>
409
                        </select>
410
                      </td>
410
                      </td>
411
- 

Return to bug 14445