6898696137ae932404963383576364128c9f4b66
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>
45 {render acl=$nmessageACL}
46 <textarea id="nmessage" style="width:99%; height:180px;" name="nmessage" rows="4" cols="512" >{$nmessage}</textarea>
47 {/render}
49 {if $show_templates eq "true"}
50 <select name="nmessage_template">
51 {html_options options=$message_templates selected=$template}
52 <option disabled> </option>
53 </select>
54 <input type="submit" value="{t}Import{/t}" name="import_template">
55 {/if}
57 <p class="seperator"> </p>
58 <div style='text-align:right;margin-top:5px'>
59 {render acl=$nmessageACL}
60 <input type="submit" name="send" value="{t}Send message{/t}">
61 {/render}
62 </div>
65 <!-- Place cursor -->
66 <script language="JavaScript" type="text/javascript">
67 <!-- // First input field on page
68 document.mainform.nmessage.focus();
69 -->
70 </script>
71 {else}
72 <h2>{t}Notification send!{/t}</h2>
73 <p class="seperator"> </p>
74 <br>
75 {t}Your message has been sent successfully. Press the continue button to get back to the notification plugin.{/t}
76 <p class="seperator"> </p>
77 <div style='text-align:right;margin-top:5px'>
78 <input type="submit" name="continue" value="{t}Continue{/t}">
79 </div>
80 {/if}