* add the_mgts room edit templates.
authorWilfried Göesgens <willi@citadel.org>
Thu, 22 Jul 2010 22:48:44 +0000 (22:48 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 22 Jul 2010 22:48:44 +0000 (22:48 +0000)
16 files changed:
webcit/static/t/room/edit/digestrecp_removal.html [new file with mode: 0644]
webcit/static/t/room/edit/editroom.html [new file with mode: 0644]
webcit/static/t/room/edit/er_config_tab_room_option_list.html [new file with mode: 0644]
webcit/static/t/room/edit/listrecp_removal.html [new file with mode: 0644]
webcit/static/t/room/edit/pop3client_removal.html [new file with mode: 0644]
webcit/static/t/room/edit/rssclient_removal.html [new file with mode: 0644]
webcit/static/t/room/edit/shared_room_add.html [new file with mode: 0644]
webcit/static/t/room/edit/shared_room_removal.html [new file with mode: 0644]
webcit/static/t/room/edit/tab_access.html [new file with mode: 0644]
webcit/static/t/room/edit/tab_admin.html [new file with mode: 0644]
webcit/static/t/room/edit/tab_config.html [new file with mode: 0644]
webcit/static/t/room/edit/tab_expire.html [new file with mode: 0644]
webcit/static/t/room/edit/tab_feed.html [new file with mode: 0644]
webcit/static/t/room/edit/tab_listserv.html [new file with mode: 0644]
webcit/static/t/room/edit/tab_share.html [new file with mode: 0644]
webcit/static/t/room/edit/username_list.html [new file with mode: 0644]

diff --git a/webcit/static/t/room/edit/digestrecp_removal.html b/webcit/static/t/room/edit/digestrecp_removal.html
new file mode 100644 (file)
index 0000000..d77ee75
--- /dev/null
@@ -0,0 +1 @@
+<?CONTEXTSTR("X")><a href="netedit?cmd=remove?tab=listserv?line=digestrecp|<?CONTEXTSTR("U")>"><?_("(remove)")></a><br />
diff --git a/webcit/static/t/room/edit/editroom.html b/webcit/static/t/room/edit/editroom.html
new file mode 100644 (file)
index 0000000..e547bb5
--- /dev/null
@@ -0,0 +1,17 @@
+<div class="fix_scrollbar_bug">
+       <table border="0" cellspacing="0" cellpadding="0"><tr><td>
+               <form method="post" action="siteconfig">
+                       <input type="hidden" name="nonce" value= '<?NONCE>' />
+                       <?DOTABBED(_("Administration"), "tab_editroom_admin",
+                               _("Configuration"), "tab_editroom_admin",
+                               _("Message expire policy"), "tab_editroom_expire",
+                               _("Access controls"), "tab_editroom_access",
+                               _("Sharing"), "tab_editroom_sharing",
+                               _("Mailing list service"), "tab_editroom_listserv",
+                               _("Remote retrieval"), "tab_editroom_feeds",
+                               "", "submit_editroom")>
+               </form>
+       </td></tr></table>
+</div>
+
+
diff --git a/webcit/static/t/room/edit/er_config_tab_room_option_list.html b/webcit/static/t/room/edit/er_config_tab_room_option_list.html
new file mode 100644 (file)
index 0000000..e1137ae
--- /dev/null
@@ -0,0 +1 @@
+<option <?%("COND:FLOOR:ISSUBROOM", 0, 1, "<?FLOOR:NAME>", "selected="selected", "")> value="<?FLOOR:ID>"><?FLOOR:NAME></option>
diff --git a/webcit/static/t/room/edit/listrecp_removal.html b/webcit/static/t/room/edit/listrecp_removal.html
new file mode 100644 (file)
index 0000000..0072069
--- /dev/null
@@ -0,0 +1 @@
+<?CONTEXTSTR("X")><a href="netedit?cmd=remove?tab=listserv?line=listrecp|<?CONTEXTSTR("U")>"><?_("(remove)")></a><br />
diff --git a/webcit/static/t/room/edit/pop3client_removal.html b/webcit/static/t/room/edit/pop3client_removal.html
new file mode 100644 (file)
index 0000000..875c3f0
--- /dev/null
@@ -0,0 +1,13 @@
+<tr class="<?ITERATE:ODDEVEN>">
+       <td><?CONTEXTSTRARR(#"POP3_HOST", "X")></td>
+       <td><?CONTEXTSTRARR(#"POP3_USER", "X")></td>
+       <td>*****</td> <!-- Don't show the password -->
+       <td><?CONTEXTSTRARR(#"POP3_KEEP")></td> <!-- Keep on server. didnt come up with a better name... -->
+       <td><?CONTEXTSTRARR(#"POP3_INTERVAL")></td>
+       <td class="button_link">
+               <a href="netedit?cmd=remove?tab=feeds?line=pop3client|<?CONTEXTARR(#"POP3_HOST", "U")>">
+                       <?_("(remove)")>
+               </a>
+       </td>
+</tr>
+
diff --git a/webcit/static/t/room/edit/rssclient_removal.html b/webcit/static/t/room/edit/rssclient_removal.html
new file mode 100644 (file)
index 0000000..c9bfb13
--- /dev/null
@@ -0,0 +1,9 @@
+<tr class="<?ITERATE:ODDEVEN>">
+       <td><?POP3_HOST></td>
+       <td class="button_link">
+               <a href="netedit?cmd=remove?tab=feeds?line=rssclient|<?CONTEXTSTR("U")>">
+                       <?_("(remove)")>
+               </a>
+       </td>
+</tr>
+
diff --git a/webcit/static/t/room/edit/shared_room_add.html b/webcit/static/t/room/edit/shared_room_add.html
new file mode 100644 (file)
index 0000000..a9e5a8b
--- /dev/null
@@ -0,0 +1,14 @@
+<form method="post" action="netedit">
+       <input type="hidden" name="nonce" value="<?NONCE>" />
+       <tr>   
+               <td><?CONTEXTARR(#"NODE","X")></td>
+               <td><input type="input" name="suffix" maxlength="128" /></td>
+               <td>
+                       <input type="hidden" name="line" value="ignet_push_share|<?CONTEXTARR(#"NODE","U")>|" /> 
+                       <input type="hidden" name="tab" value="sharing" />
+                       <input type="hidden" name="cmd" value="add" />
+                       <input type="submit" name="add_button" value="<?_("Share")>" />
+               </td>
+       </tr>
+</form>
+
diff --git a/webcit/static/t/room/edit/shared_room_removal.html b/webcit/static/t/room/edit/shared_room_removal.html
new file mode 100644 (file)
index 0000000..2b207e5
--- /dev/null
@@ -0,0 +1,14 @@
+<form method="post" action="netedit">
+       <input type="hidden" name="nonce" value="<?NONCE>" />
+       <tr>
+               <td><?CONTEXTARR(#"CFG:IGNET:NODE")></td>
+               <td><?CONTEXTARR(#"REMOTE_ROOM")></td>
+               <td>
+                       <input type="hidden" name="line" value="ignet_push_share|<?CONTEXTARR(#"NODE", "U")>|<?CONTEXTARR(#"REMOTE_ROOM", "U")> />
+                       <input type="hidden" name="tab" value="sharing" />
+                       <input type="hidden" name="cmd" value="remove" />
+                       <input type="submit" name="unshare_button" value="<?_("Unshare")>" />
+               </td>
+       </tr>
+</form>
+
diff --git a/webcit/static/t/room/edit/tab_access.html b/webcit/static/t/room/edit/tab_access.html
new file mode 100644 (file)
index 0000000..5a9a36a
--- /dev/null
@@ -0,0 +1,44 @@
+<div class="tabcontent">
+       <table border="0" cellspacing="10">
+               <tr valign="top">
+                       <td>
+                               <?_("The users listed below have access to this room.  "
+                               "To remove a user from the access list, select the user "
+                               "name from the list and click 'Kick'.")>
+                               <br /><br />
+                               <center>
+                                       <form method="post" action="do_invt_kick">
+                                               <input type="hidden" name="nonce" value="<?NONCE>" />
+                                               <input type="hidden" name="tab" value="access" />
+                                               <select name="username" size="10" style="width:100%">
+                                                       <?ITERATE("ITERATE:THISROOM:WHOK", ="username_list", 0, 0, -1, #"username")>
+                                               </select>
+                                               <br />
+                                               <input type="submit" name="kick_button" value="<?_("Kick")" />
+                                       </form>
+                               </center>
+                       </td>
+                       <td>
+                               <?_("To grant another user access to this room, enter the "
+                               "user name in the box below and click 'Invite'.")>
+                               <br /><br />
+                               <center>
+                                       <form method="post" action="do_invt_kick">
+                                               <input type="hidden" name="tab" value="access" />
+                                               <input type="hidden" name="nonce" value="<?NONCE>">
+                                               <?_("Invite:"));
+                                               <input type="text" name="username" id="username_id" style="width:100R"><br />"
+                                               <input type="hidden" name="invite_button" value="Invite" />
+                                               <input type="submit" value="<?_("Invite")>" />
+                                       </form>
+                               </center>
+                               <!-- Pop open an address book -- begin -->
+                               <a href="javascript:PopOpenAddressBook('username_id|<?_("User")>');" title="<?_("Users")>">
+                                       <img align="middle" border="0" width="24" height="24" src="static/viewcontacts_24x.gif" />
+                                       &nbsp;<?_("Users")>
+                               </a>
+                               <!-- Pop open an address book -- end -->
+                       </td>
+               </tr>
+       </table>
+</div>
diff --git a/webcit/static/t/room/edit/tab_admin.html b/webcit/static/t/room/edit/tab_admin.html
new file mode 100644 (file)
index 0000000..7b4ee23
--- /dev/null
@@ -0,0 +1,17 @@
+<div class="tabcontent">
+       <ul>
+               <li>
+                       <a href="delete_room" onClick="return confirm('<?_("Are you sure you want to delete this room?")>')>
+                               <?_("Delete this room")>
+                       </a>
+               </li>
+               <li>
+                       <a href="display_editroompic?which_room=<?ROOMNAME("U")>">
+                               <?_("Set or change the icon for this room's banner")>
+                       </a>
+               </li>
+               <li>
+                       <a href="display_editinfo"><?_("Edit this room's Info file")></a>
+               </li>
+       </ul>
+</div>
diff --git a/webcit/static/t/room/edit/tab_config.html b/webcit/static/t/room/edit/tab_config.html
new file mode 100644 (file)
index 0000000..7518b9d
--- /dev/null
@@ -0,0 +1,157 @@
+<div class="tabcontent">
+       <form method="post" action="editroom">
+               <input type="hidden" name="nonce" value="<?NONCE>" />"
+               <ul>   
+                       <li>
+                               <?_("name of room: ")>
+                               <input type="text" name="er_name" value="<?ROOMNAME>" maxlength="127" />
+                       </li>
+                       <li>
+                               <?_("Resides on floor: ")>
+                               <select name="er_floor" size="1"
+                                       <?%("COND:THISROOM:FLAG:QR", 0, #"QR_MAILBOX", 1, 'disabled="disabled" >', ">")>
+                                       <?!("COND:THISROOM:FLAG:QR", 1, #"QR_MAILBOX")>
+                                               <?ITERATE("LFLR", ="er_config_tab_room_option_list")>
+                                       <??("X", 1)>
+                               </select>
+                        </li>
+                       <li>
+                               <?_("Type of room:")>
+                               <ul>
+                                       <li>
+                                               <!-- this COND checks against the value of (QR_PRIVATE + QR_MAILBOX)) == 0 -->
+                                               <input type="radio" name="type" value="public" 
+                                               <?%("COND:THISROOM:FLAG:QR", 2, "14688", 1, 'disabled="disabled" >', ">")>
+                                               onChange="if (this.form.type[0].checked == true) { this.form.er_floor.disabled = false; }" />
+                                               <?_("Public (automatically appears to everyone)")>
+                                       </li>
+                                       <li>
+                                               <input type="radio" name="type" value="hidden" 
+                                                       <??("COND:THISROOM:FLAG:QR", 3, #"QR_PRIVATE")>
+                                                               <?%("COND:THISROOM:FLAG:QR", 4, #"QR_GUESSNAME", 1, 'checked="checked" ', "")> 
+                                                       <??("X", 3)>
+                                               onChange="if (this.form.type[1].checked == true) { this.form.er_floor.disabled = false; }" />
+                                               <?_("Private - hidden (accessible to anyone who knows its name)")>
+                                       </li>
+                                       <li>
+                                               <input type="radio" name="type" value="passworded" 
+                                                       <??("COND:THISROOM:FLAG:QR", 5, #"QR_PRIVATE")>
+                                                                       <?%("COND:THISROOM:FLAG:QR", 6, #"QR_PASSWORDED", 1, 'checked="checked" ', "")>
+                                                       <??("X", 5)>
+                                               onChange="this.form.er_floor.disabled = false; { (this.form.type[2].checked == true) } />
+                                               <?_("Private - require password: ")>
+                                               <input type="text" name="er_password" value="<?PASSWORD("U")>" maxlength="9" />
+                                       </li>
+                                       <li>
+                                               <input type="radio" name="type" value="invonly" 
+                                                       <??("COND:THISROOM:FLAG:QR", 7, #"QR_PRIVATE")>
+                                                                <??("COND:THISROOM:FLAG:QR", 8, #"QR_GUESSNAME")>
+                                                                       <?%("COND:THISROOM:FLAG:QR", 9, #"QR_PASSWORDED", 1, 'checked="checked" ', "")>
+                                                               <??("X", 8)>
+                                                       <??("X", 7)>
+                                               onChange="if (this.form.type[3].checked == true) { this.form.er_floor.disabled = false; }" />
+                                               <?_("Private - invitation only")>            
+                                       </li>
+                                       <li>
+                                               <input type="radio" name="type" value="personal" 
+                                                       <?%("COND:THISROOM:FLAG:QR", 10, #"QR_MAILBOX", 1, 'checked="checked" ', "")>
+                                                       onChange="if (this.form.type[4].checked == true) { this.form.er_floor.disabled = true; } />
+                                               <?_("Personal (mailbox for you only)")>
+                                       </li>
+                                       <li>
+                                               <input type="checkbox" name="bump" value="yes" />
+                                               <?_("If private, cause current users to forget room")>
+                                       </li>
+                               </ul>
+                               <li>
+                                       <input type="checkbox" name="prefonly" value="yes" 
+                                       <?%("COND:THISROOM:FLAG:QR", 11, #"QR_PREFONLY", 1, 'checked="checked" ', "")> />     
+                                       <?_("Preferred users only")>
+                               </li>
+                               <li>
+                                       <input type="checkbox" name="readonly" value="yes" 
+                                       <?%("COND:THISROOM:FLAG:QR", 12, #"QR_READONLY", 1, 'checked="checked" ', "")>  />
+                                       <?_("Read-only room")>
+                               </li>
+                               <li>
+                                       <input type="checkbox" name="collabdel" value="yes" 
+                                       <?%("COND:THISROOM:FLAG:QR2", 13, #"QR2_COLLABDEL", 1, 'checked="checked" ', "")> />
+                                       <?_("All users allowed to post may also delete messages")>
+                               </li>
+                               <li>
+                                       <input type="checkbox" name="directory" value="yes" 
+                                       <?%("COND:THISROOM:FLAG:QR", 14, #"QR_DIRECTORY", 1, 'checked="checked" ', "")>  />
+                                       <?_("File directory room")>
+                               </li>
+                               <ul>
+                                       <li>
+                                               <?_("Directory name: ")>
+                                               <input type="text" name="er_dirname" value="<?DIRNAME>" maxlength="14" />
+                                       </li>
+                                       <li>
+                                               <input type="checkbox" name="ulallowed" value="yes" 
+                                               <?%("COND:THISROOM:FLAG:QR", 15, #"QR_UPLOAD", 1, 'checked="checked" ', "")>  />
+                                               <?_("Uploading allowed")>
+                                       </li>
+                                       <li>
+                                               <input type="checkbox" name="dlallowed" value="yes" 
+                                               <?%("COND:THISROOM:FLAG:QR", 16, #"QR_DOWNLOAD", 1, 'checked="checked" ', "")>  />
+                                               <?_("Downloading allowed")>
+                                       </li>
+                                       <li>
+                                               <input type="checkbox" name="visdir" value="yes" 
+                                               <?%("COND:THISROOM:FLAG:QR", 17, #"QR_VISDIR", 1, 'checked="checked" ', "")>  />
+                                               <?_("Visible directory")>
+                                       </li>
+                       </ul>
+                       
+                       <li>
+                               <input type="checkbox" name="network" value="yes" 
+                               <?%("COND:THISROOM:FLAG:QR", 18, #"QR_NETWORK", 1, 'checked="checked" ', "")>  />
+                               <?_("Network shared room")>
+                       </li>                         
+                       <li>
+                               <input type="checkbox" name="permanent" value="yes" 
+                               <?%("COND:THISROOM:FLAG:QR", 19, #"QR_PERMANENT", 1, 'checked="checked" ', "")>  />
+                               <?_("Permanent (does not auto-purge)")>
+                       </li>
+                       <li>
+                               <input type="checkbox" name="subjectreq" value="yes" 
+                               <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_SUBJECTREQ", 1, 'checked="checked" ', "")>  />
+                               <?_("Subject Required (Force users to specify a message subject)")>
+                       </li>
+                       <li>
+                               <?_("Anonymous messages")>
+                       </li>
+                        <ul>
+                               <li>
+                                       <input type="radio" name="anon" value="no" 
+                                       <??("COND:THISROOM:FLAG:QR", 21, #"QR_ANONONLY")>
+                                               <?%("COND:THISROOM:FLAG:QR", 22, #"QR_ANONOPT", 1, 'checked="checked" ', "")>
+                                       <??("X", 21)> />
+                                       <?_("No anonymous messages")>
+                               </li>
+                               <li>
+                                       <input type="radio" name="anon" value="anononly" 
+                                       <?%("COND:THISROOM:FLAG:QR", 23, #"QR_ANONONLY", 1, 'checked="checked" ', "")> />
+                                       <?_("All messages are anonymous")>
+                               </li>
+                               <li>
+                                       <input type="radio" name="anon" value="anon2" 
+                                       <?%("COND:THISROOM:FLAG:QR", 24, #"QR_ANONOPT", 1, 'checked="checked" ', "")> />
+                                       <?_("Prompt user when entering messages")>
+                               </li>
+                       </ul>
+                       <li>
+                               <?_("Room aide: ")>
+                                <?%("COND:THISROOM:GETA", 25, ROOMAIDE, "<em><?GETA></em>", '<input type="text" name="er_roomaide" value="<?ROOMAIDE>" maxlength="25" /'>
+                       </li>
+       </ul>
+
+       <center>
+               <input type="hidden" name="tab" value="config" />
+               <input type="submit" name="ok_button" value="<?_("Save changes")>" />
+               &nbsp;
+               <input type="submit" name="cancel_button" value="<?_("Cancel")>" />
+       </center>
+</div>
diff --git a/webcit/static/t/room/edit/tab_expire.html b/webcit/static/t/room/edit/tab_expire.html
new file mode 100644 (file)
index 0000000..b17895f
--- /dev/null
@@ -0,0 +1,75 @@
+<div class="tabcontent">
+       <br />
+       <form method="post" action="set_room_policy">
+               <input type="hidden" name="nonce" value="<?NONCE>" />
+               <table border="0" cellspacing="5">
+                       <tr>
+                               <td>
+                                       <?_("Message expire policy for this room")>
+                                       <br />
+                                       <?ROOMNAME("X")>
+                               </td>
+                               <td>
+                                       <input type="radio" name="roompolicy" value="0" %s />&nbsp;
+                                               ((roompolicy == 0) ? "CHECKED" : "") );
+                                       <?_("Use the default policy for this floor")>&nbsp;
+                                       <br />
+                                       <input type="radio" name="roompolicy" value="1" <?%("COND:EXPIRE:MODE", 1, #"mailboxespolicy", #"EXPIRE_MANUAL", 'checked="checked"',"" />&nbsp;
+                                       <?_("Never automatically expire messages")>
+                                       <br />
+                                       <input type="radio" name="roompolicy" value="2" <?%("COND:EXPIRE:MODE", 2, #"mailboxespolicy", #"EXPIRE_NUMMSG", 'checked="checked"', "" />&nbsp;
+                                       <?_("Expire by message count")>
+                                       <br />
+                                       <input type="radio" name="roompolicy" value="3" <?%("COND:EXPIRE:MODE", 1, #"mailboxespolicy", #"EXPIRE_AGE", 'checked="checked"', "" /> />&nbsp;
+                                       <?_("Expire by message age")>
+                                       <br />
+                                       <?_("Number of messages or days: ")>
+                                       <input type="text" name="roomvalue" maxlength="5" value="<?SERV:CFG("sitevalue")>" />
+                               </td>
+                       </tr>
+       
+                       <??("COND:AIDE", 2 ...)>        if (WC->axlevel >= 6) {
+                       <tr>
+                               <td colspan="2"><hr /></td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <?_("Message expire policy for this floor")>
+                                       <br />(
+                                               escputs(floorlist[WC->CurRoom.floorid]);
+                               </td>
+                               <td>
+                                       <input type="radio" name="floorpolicy" value="0" %s>",
+                                               ((floorpolicy == 0) ? "CHECKED" : "") );
+                                       <?_("Use the system default")>
+                                       <br />
+                                       <input type="radio" name="floorpolicy" value="1" %s>",
+                                               ((floorpolicy == 1) ? "CHECKED" : "") );
+                                       <?_("Never automatically expire messages")>
+                                       <br />
+                                       <input type="radio" name="floorpolicy" value="2" %s>",
+                                               ((floorpolicy == 2) ? "CHECKED" : "") );
+                                       <?_("Expire by message count")>
+                                       <br />
+                                       <input type="radio" name="floorpolicy" value="3" %s>",
+                                               ((floorpolicy == 3) ? "CHECKED" : "") );
+                                       <?_("Expire by message age")>
+                                       <br />
+                                       <?_("Number of messages or days: ")>
+                                       <input type="text" name="floorvalue" MAXLENGTH="5" value="%d">",
+                                               floorvalue);
+                       <("X", 2)>      
+                       <tr>
+                               <td colspan="2">
+                                       <hr />
+                                       <center>
+                                               <input type="submit" name="ok_button" value="<?_("Save changes")>" />
+                                               &nbsp;
+                                               <input type="submit" name="cancel_button" value="<?_("Cancel")>" />
+                                       </center>
+                               </td>
+                       <tr>
+               </table>
+               <input type="hidden" name="tab" value="expire" />
+       </form>
+</div>
diff --git a/webcit/static/t/room/edit/tab_feed.html b/webcit/static/t/room/edit/tab_feed.html
new file mode 100644 (file)
index 0000000..e33240c
--- /dev/null
@@ -0,0 +1,51 @@
+<div class="tabcontent">
+       <i><?_("Retrieve messages from these remote POP3 accounts and store them in this room:")></i>
+       <br />
+       <table class="altern" border="0" cellpadding="5">
+               <tr class="even">
+                       <th><?_("Remote host")></th>
+                       <th><?_("User name")></th>
+                       <th><?_("Password")></th>
+                       <th><?_("Keep messages on server?")></th>
+                       <th><?_("Interval")></th>
+                       <th>&nbsp;</th>
+               </tr>
+               <?ITERATE("ITERATE:THISROOM:GNET", ="pop3client_removal", 0, 0, -1, #"pop3client")>
+               <form method="post" action="netedit">
+                       <tr>
+                               <input type="hidden" name="tab" value="feeds" />
+                               <input type="hidden" name="prefix" value="pop3client|" />
+                               <input type="hidden" name="nonce" value="<?NONCE>">
+                               <td><input type="text" id="add_as_pop3host" name="line_pop3host" /></td>
+                               <td><input type="text" id="add_as_pop3user" name="line_pop3user" /></td>
+                               <td><input type="password" id="add_as_pop3pass" name="line_pop3pass" /></td>
+                               <td><input type="checkbox" id="add_as_pop3keep" name="line_pop3keep" value="1" /></td>
+                               <td><input type="text" id="add_as_pop3int" name="line_pop3int" maxlength="5" /></td>
+                               <td><input type="submit" name="add_button" value="<?_("Add")>" /></td>
+                       </tr>
+               </form>
+       </table>
+       <hr>
+       <i><?_("Fetch the following RSS feeds and store them in this room:")></i>
+       <br />
+       <table class="altern" border="0" cellpadding="5">
+               <tr class="even">
+                       <th>
+                               <img src="static/rss_16x.png" width="16" height="16" alt=" " /> 
+                               <?_("Feed URL")>
+                       </th>
+                       <th></th>
+               </tr>
+               <?ITERATE("ITERATE:THISROOM:GNET", ="rssclient_removal", 0, 0, -1, #"rssclient")>
+               <form method="post" action="netedit">
+                       <tr>
+                               <input type="hidden" name="tab" value="feeds" />
+                               <input type="hidden" name="prefix" value="rssclient|" />
+                               <input type="hidden" name="nonce" value="<?NONCE>" />
+                               <td><input type="text" id="add_as_pop3host" size="72" "maxlength="256" name="line_pop3host" /></td>
+                               <td><input type="submit" name="add_button" value="<?_("Add")>" /></td>
+                       </tr>
+               </form>
+       </table>
+</div>
+
diff --git a/webcit/static/t/room/edit/tab_listserv.html b/webcit/static/t/room/edit/tab_listserv.html
new file mode 100644 (file)
index 0000000..4c9e281
--- /dev/null
@@ -0,0 +1,72 @@
+<div class="tabcontent">
+       <center>
+               <table border="0" width="100%" cellpadding="5">
+                       <tr><td valign="top">
+                       <?_("<i>The contents of this room are being mailed <b>as individual messages</b> to the following list recipients:</i><br /><br />")>
+                       <?ITERATE("ITERATE:THISROOM:GNET", ="listrecp_removal", 0, 0, -1, #"listrecp")>
+                       <br />
+                       <form method="post" action="netedit">
+                               <input type="hidden" name="tab" value="listserv" />
+                               <input type="hidden" name="prefix" value="listrecp|" />
+                               <input type="hidden" name="nonce" value="<?NONCE>" />
+                               <input type="text" id="add_as_listrecp" name="line" />
+                               <input type="submit" name="add_button" value="<?_("Add")>" />
+                       </form>
+                       </td>
+                       <td valign="top">
+                       <?_("<i>The contents of this room are being mailed <b>in digest form</b> to the following list recipients:</i><br /><br />")>
+                       <?ITERATE("ITERATE:THISROOM:GNET", ="digestrecp_removal", 0, 0, -1, #"digestrecp")>
+                       <br />
+                       <form method="post" action="netedit">
+                               <input type="hidden" name="tab" value="listserv" />
+                               <input type="hidden" name="prefix" value="digestrecp|" />
+                               <input type="hidden" name="nonce" value="<?NONCE>">
+                               <input type="text" id="add_as_digestrecp" name="line">
+                               <input type="submit" name="add_button" value="<?_("Add")>">
+                       </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")>')"
+                       title="<?_("Add recipients from Contacts or other address books")>">
+                       <img align="middle" border="0" width="24" height="24" src="static/viewcontacts_24x.gif" />
+                       &nbsp;<?_("Add recipients from Contacts or other address books")></a>
+               </div>
+               <!-- Pop open an address book -- end -->
+
+               <br />
+               <form method="get" action="toggle_self_service">
+                       <!-- Self Service subscription? -->
+                       <table>
+                               <tr>
+                                       <td><?_("Allow self-service subscribe/unsubscribe requests.")></td>
+                                       <td><input type="checkbox" name="QR2_SelfList" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_SELFLIST", 1, 'checked="checked" ', "")> /></td> (is_selflist(&RoomFlags))?"checked":"
+                               </tr>
+                               <tr>
+                                       <td colspan="2">
+                                               <?_("The URL for subscribe/unsubscribe is: ")>
+                                               <tt><?%("COND:ISHTTPS", 3, 1, #"ISHTTPS", "https", "http">://<?SERV:FQDN>/listsub</tt>
+                                       </td>
+                               </tr>
+                               <!-- Public posting? -->
+                               <tr>
+                                       <td><?_("Allow non-subscribers to mail to this room.")></td>
+                                       <td><input type="checkbox" name="QR2_SubsOnly" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_SUBSONLY", 1, 'checked="checked" ', "")> /></td>
+                               </tr>
+               
+                               <!-- Moderated List? -->
+                               <tr>
+                                       <td><?_("Room post publication needs Aide permission.")></td>
+                                       <td><input type="checkbox" name="QR2_Moderated" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_MODERATED", 1, 'checked="checked" ', "")> /></td>
+                               </tr>
+                               <tr>
+                                       <td colspan="2" align="center">
+                                               <input type="submit" name="add_button" value="<?_("Save changes")>" />
+                                       </td>
+                               </tr>
+                       </table>
+               </form>
+       </center>
+</div>
diff --git a/webcit/static/t/room/edit/tab_share.html b/webcit/static/t/room/edit/tab_share.html
new file mode 100644 (file)
index 0000000..6ed82a6
--- /dev/null
@@ -0,0 +1,47 @@
+<div class="tabcontent">
+       <br />
+       <table border="1" cellpadding="5">
+               <tr>
+                       <td><b><i><?_("Shared with")></i></b></td>
+                       <td><b><i><?_("Not shared with")></i></b></td></tr>
+               <tr>
+                       <td valign="top">
+                               <table border="0" cellpadding="5">
+                                       <tr class="tab_cell">
+                                               <td><?_("Remote node name")></td>
+                                               <td><?_("Remote room name")></td>
+                                               <td><?_("Actions")></td>
+                                       </tr>
+                                       <?ITERATE("ITERATE:THISROOM:GNET", ="shared_room_removal", 0, 0, -1, #"ignet_push_share")>
+                               </table>
+                       </td>
+                       <td valign="top">
+                               <table border="0" cellpadding="5">
+                                       <tr class="tab_cell">
+                                               <td><?_("Remote node name")></td>
+                                               <td><?_("Remote room name")></td>
+                                               <td><?_("Actions")></td>
+                                       </tr>
+                                       <?ITERATE("ITERATE:THISROOM:GNET", ="shared_room_add", 0, 0, -1, #"ignet_push_share")>
+                               </table>
+                       </td>
+               </tr>
+       </table>
+       <br />
+       <i>
+               <b><?_("Notes:")></b>
+               <ul>
+                       <li>
+                               <?_("When sharing a room, 
+                               it must be shared from both ends.  Adding a node to 
+                               the 'shared' list sends messages out, but in order to
+                                receive messages, the other nodes must be configured
+                                to send messages out to your system as well. 
+                       <li>If the remote room name is blank, it is assumed 
+                               that the room name is identical on the remote node.
+                       <li>If the remote room name is different, the remote 
+                               node must also configure the name of the room here.")>
+               </ul>
+       </i>
+       <br />
+</div>
diff --git a/webcit/static/t/room/edit/username_list.html b/webcit/static/t/room/edit/username_list.html
new file mode 100644 (file)
index 0000000..a187055
--- /dev/null
@@ -0,0 +1 @@
+<option><?CONTEXTSTR("X")></option>