Fix code to send notification to all recipients.
[savadur.git] / templates / notifications.thtml
blob249a4066c38ea6b60923b8a3dec04719171d9120
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
6 <title>Savadur : @_PROJECT_NAME_@ - Notifications</title>
8 <meta name="description" content="notifications" />
10 <meta http-equiv="Content-Type"
11 content="text/html; charset=utf-8" />
13 <style type="text/css">
14 @import url("/css/style.css");
15 </style>
16 </head>
17 <body id="notif_page">
18 <h1><a href="/@_PROJECT_NAME_@" title="Back to project page">@_PROJECT_NAME_@</a></h1>
19 <div id="menu">
20 <ul><li><a href="/">Back to project list</a></li></ul>
21 <ul><li><a href="/@_PROJECT_NAME_@">Back to @_PROJECT_NAME_@ page</a></li></ul>
22 </div>
23 <div id="content">
24 <form action="/notif?p=@_PROJECT_NAME_@&a=del" method="POST">
25 <table>
26 <tr><td></td><td>e-mail</td><td>log?</td>
27 <td>jabber</td><td>log?</td></tr>
28 @@TABLE@@
29 <tr>
30 <td><input type="checkbox" name="delid"
31 value="@_E_MAIL_@/@_JABBER_@"/></td>
32 <td>@_E_MAIL_@</td>
33 <td>@_YES_NO:LOG_EMAIL_@</td>
34 <td>@_JABBER_@</td>
35 <td>@_YES_NO:LOG_JABBER_@</td>
36 </tr>
37 @@END_TABLE@@
38 </table>
39 <input type="submit" value="Remove selected"/>
40 </form>
41 <p/>
42 <p>Add notification:</p>
43 <form action="/notif?p=@_PROJECT_NAME_@&a=add" method="POST">
44 <p>
45 <label for="email">E-Mail</label>
46 <input type="text" width="30" id="email" name="email"/>
47 log? <input type="checkbox" id="log_email" name="log_email" checked/>
48 </p>
49 <p>
50 <label for="xmpp">XMPP</label>
51 <input type="text" width="30" id="xmpp" name="xmpp"/>
52 log? <input type="checkbox" id="log_xmpp" name="log_xmpp"/>
53 </p>
54 <p><input type="submit" value="Add"/></p>
55 </form>
56 </div>
57 </body>
58 </html>