Lines 401-414
$(document).ready(function() {
Link Here
|
401 |
<li> |
401 |
<li> |
402 |
<label for="SQLfieldname_[% letter.message_transport_type %]">Message body:</label> |
402 |
<label for="SQLfieldname_[% letter.message_transport_type %]">Message body:</label> |
403 |
[% IF letter.message_transport_type == 'sms' %] |
403 |
[% IF letter.message_transport_type == 'sms' %] |
404 |
<span id="sms_counter">[% IF letter.content.length > 0 %][% letter.content.length %][% ELSE %]0[% END %]/160 characters</span> |
404 |
<span id="sms_counter">[% IF letter.content && letter.content.length > 0 %][% letter.content.length %][% ELSE %]0[% END %]/160 characters</span> |
405 |
[% END %] |
405 |
[% END %] |
406 |
<table> |
406 |
<table> |
407 |
<tr> |
407 |
<tr> |
408 |
<td> |
408 |
<td> |
409 |
<select name="SQLfieldname" id="SQLfieldname_[% letter.message_transport_type %]" multiple="multiple" size="9"> |
409 |
<select name="SQLfieldname" id="SQLfieldname_[% letter.message_transport_type %]" multiple="multiple" size="9"> |
410 |
[% FOREACH SQLfieldnam IN SQLfieldname %] |
410 |
[% FOREACH SQLfieldname IN SQLfieldnames %] |
411 |
<option value="[% SQLfieldnam.value %]">[% SQLfieldnam.text %]</option> |
411 |
<option value="[% SQLfieldname.value %]">[% SQLfieldname.text %]</option> |
412 |
[% END %] |
412 |
[% END %] |
413 |
</select> |
413 |
</select> |
414 |
</td> |
414 |
</td> |