1 {if $finished eq "false"}
2 <h2>{t}Notification target{/t}</h2>
4 <table style="width:100%">
5 <tr>
6 <td style="width:48%; vertical-align:top;">
7 {t}Use target from{/t}
8 <select name="target" onChange="document.mainform.submit()">
9 {html_options options=$targets selected=$target}
10 <option disabled> </option>
11 </select>
12 {if $javascript eq 'false'}<input type="submit" value="{t}Apply{/t}" name="refresh">{/if}<br><br>
13 </td>
14 <td>
15 </td>
16 <td>
17 </td>
18 </tr>
19 <tr>
20 <td>
21 {t}Available recipients{/t}<br>
22 <select style="width:100%;height:180px;" name="source[]" size="20" multiple title="{t}List message possible targets{/t}">
23 {html_options options=$sources}
24 <option disabled> </option>
25 </select>
26 </td>
27 <td style="vertical-align:center; text-align:center">
28 <input type="submit" value=">" name="add">
29 <br><br>
30 <input type="submit" value="<" name="del">
31 </td>
32 <td style="width:48%; vertical-align:top;">
33 {t}Recipients{/t}<br>
34 <select style="width:100%;height:180px;" name="recipient[]" size="20" multiple title="{t}List message recipients{/t}">
35 {html_options options=$recipients}
36 <option disabled> </option>
37 </select>
38 </td>
39 </tr>
40 </table>
43 <p class="seperator"> </p>
44 <h2>{t}Message{/t}</h2>
46 <textarea id="nmessage" style="width:99%; height:180px;" name="nmessage" rows="4" cols="512" {$nmessageACL}>{$nmessage}</textarea>
47 {if $show_templates eq "true"}
48 <select name="nmessage_template">
49 {html_options options=$message_templates selected=$template}
50 <option disabled> </option>
51 </select>
52 <input type="submit" value="{t}Import{/t}" name="import_template">
53 {/if}
55 <p class="seperator"> </p>
56 <div style='text-align:right;margin-top:5px'>
57 <input type="submit" name="send" value="{t}Send message{/t}">
58 </div>
61 <!-- Place cursor -->
62 <script language="JavaScript" type="text/javascript">
63 <!-- // First input field on page
64 document.mainform.nmessage.focus();
65 -->
66 </script>
67 {else}
68 <h2>{t}Notification send!{/t}</h2>
69 <p class="seperator"> </p>
70 <br>
71 {t}Your message has been sent successfully. Press the continue button to get back to the notification plugin.{/t}
72 <p class="seperator"> </p>
73 <div style='text-align:right;margin-top:5px'>
74 <input type="submit" name="continue" value="{t}Continue{/t}">
75 </div>
76 {/if}