NETCFG: add a UI interface to add participates.
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 18 Feb 2013 22:51:54 +0000 (23:51 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 18 Feb 2013 22:51:54 +0000 (23:51 +0100)
webcit/static/t/room/edit/participate_removal.html [new file with mode: 0644]
webcit/static/t/room/edit/tab_listserv.html

diff --git a/webcit/static/t/room/edit/participate_removal.html b/webcit/static/t/room/edit/participate_removal.html
new file mode 100644 (file)
index 0000000..b03956d
--- /dev/null
@@ -0,0 +1 @@
+<tr class="<?ITERATE:ODDEVEN>"><td><?CONTEXTSTRARR(1, "X")><a href="netedit?cmd=remove?tab=listserv?line=participate|<?CONTEXTSTRARR(1, "U")>?last_tabsel=<?TAB:N>"><?_("(remove)")></a></td></tr>
index 8371113e5e396dc0623fb32bb47d707ead88fdb3..d3ec69b861b2854111aaf0fa4b36253125d8a763 100644 (file)
                        </td></tr>
                </table>
 
+               <table border="0" width="100%" cellpadding="5">
+                       <td valign="top">
+                           <table class="altern">
+                             <tr><th><?_("Posts to this room will be sent to these mailing lists")></th></tr>
+                             <tr><td><?_("All messages posted / mailed into this room will be sent to these email addresses. If you link this with mailinglist subscriptions, make shure the default sender address below matches the subscribed address. You will see your messages twice once the mailinglist sends it back to you.")></td></tr>
+                             <?ITERATE("ITERATE:THISROOM:GNET", ="room_edit_participate_removal", 0, 0, -1, #"participate")>
+                           </table>
+                       <br>
+                       <form method="post" action="netedit">
+                         <p>
+                               <input type="hidden" name="last_tabsel" value="<?TAB:N>">
+                               <input type="hidden" name="prefix" value="participate|">
+                               <input type="hidden" name="nonce" value="<?NONCE>">
+                               <input type="hidden" name="go" value="<?THISROOM:NAME("X")>">
+                               <input type="text" id="add_as_digestrecp" name="line">
+                               <input type="submit" name="add_button" value="<?_("Add")>">
+                         </p>
+                       </form>
+                       </td></tr>
+               </table>
+
                <!-- Pop open an address book - begin -->
                <div align="right">
                        <a href="javascript:PopOpenAddressBook('add_as_listrecp|<?_("List")>|add_as_digestrecp|<?_("Digest")>')"