Lines 640-653
Link Here
|
640 |
<li> |
640 |
<li> |
641 |
<label for="is_html_[% letter.message_transport_type | html %]_[% lang | html %]">HTML message:</label> |
641 |
<label for="is_html_[% letter.message_transport_type | html %]_[% lang | html %]">HTML message:</label> |
642 |
[% IF letter.is_html %] |
642 |
[% IF letter.is_html %] |
643 |
<input [% IF sms_readonly %] disabled="disabled" [% END %] type="checkbox" name="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" id="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" value="1" checked="checked" /> |
643 |
[% IF sms_readonly %] |
|
|
644 |
<input type="checkbox" name="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" id="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" value="1" checked="checked" disabled="disabled" /> |
645 |
[% ELSE %] |
646 |
<input type="checkbox" name="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" id="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" value="1" checked="checked" /> |
647 |
[% END %] |
644 |
[% ELSE %] |
648 |
[% ELSE %] |
645 |
<input [% IF sms_readonly %] disabled="disabled" [% END %] type="checkbox" name="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" id="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" value="1" /> |
649 |
[% IF sms_readonly %] |
|
|
650 |
<input type="checkbox" name="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" id="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" value="1" disabled="disabled" /> |
651 |
[% ELSE %] |
652 |
<input type="checkbox" name="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" id="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" value="1" /> |
653 |
[% END %] |
646 |
[% END %] |
654 |
[% END %] |
647 |
</li> |
655 |
</li> |
648 |
<li> |
656 |
<li> |
649 |
<label for="title_[% letter.message_transport_type | html %]_[% lang | html %]">Message subject:</label> |
657 |
<label for="title_[% letter.message_transport_type | html %]_[% lang | html %]">Message subject:</label> |
650 |
<input [% IF sms_readonly %] readonly [% END %] type="text" id="title_[% letter.message_transport_type | html %]_[% lang | html %]" name="title" size="60" value="[% letter.title | html %]" /> |
658 |
[% IF sms_readonly %] |
|
|
659 |
<input type="text" id="title_[% letter.message_transport_type | html %]_[% lang | html %]" name="title" size="60" value="[% letter.title | html %]" readonly /> |
660 |
[% ELSE %] |
661 |
<input type="text" id="title_[% letter.message_transport_type | html %]_[% lang | html %]" name="title" size="60" value="[% letter.title | html %]" /> |
662 |
[% END %] |
651 |
</li> |
663 |
</li> |
652 |
<li> |
664 |
<li> |
653 |
<label for="SQLfieldname_[% letter.message_transport_type | html %]_[% lang | html %]">Message body:</label> |
665 |
<label for="SQLfieldname_[% letter.message_transport_type | html %]_[% lang | html %]">Message body:</label> |
Lines 665-681
Link Here
|
665 |
<table> |
677 |
<table> |
666 |
<tr> |
678 |
<tr> |
667 |
<td> |
679 |
<td> |
668 |
<select [% IF sms_readonly %] disabled="disabled" [% END %] name="SQLfieldname" id="SQLfieldname_[% letter.message_transport_type | html %]_[% lang | html %]" multiple="multiple" size="9"> |
680 |
[% IF sms_readonly %] |
|
|
681 |
<select name="SQLfieldname" id="SQLfieldname_[% letter.message_transport_type | html %]_[% lang | html %]" multiple="multiple" size="9" disabled="disabled" > |
682 |
[% ELSE%] |
683 |
<select name="SQLfieldname" id="SQLfieldname_[% letter.message_transport_type | html %]_[% lang | html %]" multiple="multiple" size="9"> |
684 |
[% END %] |
669 |
[% FOREACH SQLfieldname IN SQLfieldnames %] |
685 |
[% FOREACH SQLfieldname IN SQLfieldnames %] |
670 |
<option value="[% SQLfieldname.value | html %]">[% SQLfieldname.text | html %]</option> |
686 |
<option value="[% SQLfieldname.value | html %]">[% SQLfieldname.text | html %]</option> |
671 |
[% END %] |
687 |
[% END %] |
672 |
</select> |
688 |
</select> |
673 |
</td> |
689 |
</td> |
674 |
<td class="actions"> |
690 |
<td class="actions"> |
675 |
<button [% IF sms_readonly %] disabled="disabled" [% END %] type="button" data-containerid="[% letter.message_transport_type | html %]_[% lang | html %]" class="btn btn-default btn-sm insert">Insert <i class="fa-solid fa-right-long"></i></button> |
691 |
[% IF sms_readonly %] |
|
|
692 |
<button type="button" data-containerid="[% letter.message_transport_type | html %]_[% lang | html %]" class="btn btn-default btn-sm insert">Insert <i class="fa-solid fa-right-long" disabled="disabled"></i></button> |
693 |
[% ELSE %] |
694 |
<button type="button" data-containerid="[% letter.message_transport_type | html %]_[% lang | html %]" class="btn btn-default btn-sm insert">Insert <i class="fa-solid fa-right-long"></i></button> |
695 |
[% END %] |
676 |
</td> |
696 |
</td> |
677 |
<td> |
697 |
<td> |
678 |
<textarea [% IF sms_readonly %] readonly [% END %] name="content" data-lang="[% lang | html %]" class="content_[% letter.message_transport_type | html %]" id="content_[% letter.message_transport_type | html %]_[% lang | html %]" cols="80" rows="15">[% letter.content | html %]</textarea> |
698 |
[% IF sms_readonly %] |
|
|
699 |
<textarea name="content" data-lang="[% lang | html %]" class="content_[% letter.message_transport_type | html %]" id="content_[% letter.message_transport_type | html %]_[% lang | html %]" cols="80" rows="15" readonly>[% letter.content | html %]</textarea> |
700 |
[% ELSE %] |
701 |
<textarea name="content" data-lang="[% lang | html %]" class="content_[% letter.message_transport_type | html %]" id="content_[% letter.message_transport_type | html %]_[% lang | html %]" cols="80" rows="15">[% letter.content | html %]</textarea> |
702 |
[% END %] |
679 |
</td> |
703 |
</td> |
680 |
</tr> |
704 |
</tr> |
681 |
</table> |
705 |
</table> |
682 |
- |
|
|