2018-06-15 15:25:25 +02:00
|
|
|
<dl class='LSform{if $LSmail_options.class} {$LSmail_options.class|escape:"htmlall"}{/if}'>
|
2016-11-17 11:51:49 +01:00
|
|
|
{if $LSmail_options.display_mail_field}
|
2018-06-11 11:50:17 +02:00
|
|
|
<dt class='LSform'>{$LSmail_mail_label|escape:"htmlall"}</dt>
|
2008-09-25 17:15:33 +02:00
|
|
|
<dd class='LSform'>
|
|
|
|
{if $LSmail_mails != ""}
|
2008-10-07 16:59:23 +02:00
|
|
|
{if $LSmail_mails|@count==1}
|
2018-06-15 15:25:25 +02:00
|
|
|
<input type='text' name='LSmail_mail' id='LSmail_mail' value='{$LSmail_mails[0]|escape:"htmlall"}'/>
|
2008-10-07 16:59:23 +02:00
|
|
|
{else}
|
2008-09-25 17:15:33 +02:00
|
|
|
<select name='LSmail_mail' id='LSmail_mail'>
|
|
|
|
{html_options values=$LSmail_mails output=$LSmail_mails}
|
|
|
|
</select>
|
2008-10-07 16:59:23 +02:00
|
|
|
{/if}
|
2008-09-25 17:15:33 +02:00
|
|
|
{else}
|
|
|
|
<input type='text' name='LSmail_mail' id='LSmail_mail'/>
|
|
|
|
{/if}
|
|
|
|
</dd>
|
2016-11-17 11:51:49 +01:00
|
|
|
{else}
|
2018-06-15 15:25:25 +02:00
|
|
|
<input type='hidden' name='LSmail_mail' id='LSmail_mail' value='{$LSmail_mails[0]|escape:"htmlall"}'/>
|
2016-11-17 11:51:49 +01:00
|
|
|
{/if}
|
|
|
|
{if $LSmail_options.display_subject_field}
|
2018-06-11 11:50:17 +02:00
|
|
|
<dt class='LSform'>{$LSmail_subject_label|escape:"htmlall"}</dt>
|
2008-09-25 17:15:33 +02:00
|
|
|
<dd class='LSform'>
|
2018-06-15 15:25:25 +02:00
|
|
|
<input type='text' name='LSmail_subject' id='LSmail_subject' value='{$LSmail_subject|escape:"htmlall"}'/>
|
2008-09-25 17:15:33 +02:00
|
|
|
</dd>
|
2016-11-17 11:51:49 +01:00
|
|
|
{else}
|
2018-06-15 15:25:25 +02:00
|
|
|
<input type='hidden' name='LSmail_subject' id='LSmail_subject' value='{$LSmail_subject|escape:"htmlall"}'/>
|
2016-11-17 11:51:49 +01:00
|
|
|
{/if}
|
2018-06-11 11:50:17 +02:00
|
|
|
<dt class='LSform'>{$LSmail_msg_label|escape:"htmlall"}</dt>
|
2008-09-25 17:15:33 +02:00
|
|
|
<dd class='LSform'>
|
2018-06-11 11:50:17 +02:00
|
|
|
<textarea name='LSmail_msg' id='LSmail_msg'>{$LSmail_msg|escape:"htmlall"}</textarea>
|
2008-09-25 17:15:33 +02:00
|
|
|
</dd>
|
|
|
|
</dl>
|