Add new setting to disable posting of notification messages to file rooms.
[citadel] / webcit / static / t / room / edit / tab_config.html
1 <?!("COND:THISROOM:EDIT", 1)><div class="tabcontent">
2         <form method="post" action="editroom">
3                 <input type="hidden" name="nonce" value="<?NONCE>" />
4                 <input type="hidden" name="go" value="<?THISROOM:NAME("X")>">
5                 <ul>   
6                         <li>
7                                 <?_("name of room: ")>
8                                 <input type="text" name="er_name" value="<?THISROOM:NAME("X")>" maxlength="127" />
9                         </li>
10                         <li>
11                                 <?_("Resides on floor: ")>
12                                 <select name="er_floor" size="1" <?%("COND:THISROOM:FLAG:QR", 1, #"QR_MAILBOX", 1, 'disabled="disabled" >', ">")>
13                                   <??("COND:THISROOM:FLAG:QR", 2, #"QR_MAILBOX")><?ITERATE("LFLR", ="room_edit_er_config_tab_room_option_list")><??("X", 2)>
14                                 </select>
15                         </li>
16                         <li>
17                                 <?_("Type of room:")>
18                                 <ul>
19                                         <li>
20                                                 <input type="radio" name="type" value="public" 
21                                                        <?%("COND:THISROOM:FLAG:QR", 3, #"QR_PRIVATE | QR_MAILBOX", 1, "", 'checked="checked" ')>
22                                                        onChange="if (this.form.type[0].checked == true) { this.form.er_floor.disabled = false; }" />
23                                                 <?_("Public (automatically appears to everyone)")>
24                                         </li>
25                                         <li>
26                                                 <input type="radio" name="type" value="hidden" 
27                                                        <?%("COND:THISROOM:FLAG:QR", 5, #"QR_GUESSNAME & QR_PRIVATE", 1, 'checked="checked" ', "")> 
28                                                        onChange="if (this.form.type[1].checked == true) { this.form.er_floor.disabled = false; }" />
29                                                 <?_("Private - hidden (accessible to anyone who knows its name)")>
30                                         </li>
31                                         <li>
32                                                 <input type="radio" name="type" value="passworded" 
33                                                        <?%("COND:THISROOM:FLAG:QR", 7, #"QR_PASSWORDED & QR_PRIVATE", 1, 'checked="checked" ', "")>
34                                                        onChange="this.form.er_floor.disabled = false; { (this.form.type[2].checked == true) }"
35                                                         />
36                                                 <?_("Private - require password: ")>
37                                                 <input type="text" name="er_password" value="<?THISROOM:PASS("U")>" maxlength="9" />
38                                         </li>
39                                         <li>
40                                                 <input type="radio" name="type" value="invonly" 
41                                                        <??("COND:THISROOM:FLAG:QR", 9, #"QR_PASSWORDED | QR_GUESSNAME")>
42                                                        <?%("COND:THISROOM:FLAG:QR", 10, #"QR_PRIVATE", 1, 'checked="checked" ', "")>
43                                                        <??("X", 9)>
44                                                        onChange="if (this.form.type[3].checked == true) { this.form.er_floor.disabled = false; }" />
45                                                 <?_("Private - invitation only")>            
46                                         </li>
47                                         <li>
48                                                 <input type="radio" name="type" value="personal" 
49                                                        <?%("COND:THISROOM:FLAG:QR", 11, #"QR_MAILBOX", 1, 'checked="checked" ', "")>
50                                                        onChange="if (this.form.type[4].checked == true) { this.form.er_floor.disabled = true; }"
51                                                         />
52                                                 <?_("Personal (mailbox for you only)")>
53                                         </li>
54                                         <li>
55                                                 <input type="checkbox" name="bump" value="yes" />
56                                                 <?_("If private, cause current users to forget room")>
57                                         </li>
58                                 </ul>
59                                 <li>
60                                         <input type="checkbox" name="prefonly" value="yes" 
61                                         <?%("COND:THISROOM:FLAG:QR", 12, #"QR_PREFONLY", 1, 'checked="checked" ', "")> />     
62                                         <?_("Preferred users only")>
63                                 </li>
64                                 <li>
65                                         <input type="checkbox" name="readonly" value="yes" 
66                                         <?%("COND:THISROOM:FLAG:QR", 13, #"QR_READONLY", 1, 'checked="checked" ', "")>  />
67                                         <?_("Read-only room")>
68                                 </li>
69                                 <li>
70                                         <input type="checkbox" name="collabdel" value="yes" 
71                                         <?%("COND:THISROOM:FLAG:QR2", 14, #"QR2_COLLABDEL", 1, 'checked="checked" ', "")> />
72                                         <?_("All users allowed to post may also delete messages")>
73                                 </li>
74                                 <li>
75                                         <input type="checkbox" name="directory" value="yes" 
76                                         <?%("COND:THISROOM:FLAG:QR", 15, #"QR_DIRECTORY", 1, 'checked="checked" ', "")>  />
77                                         <?_("File directory room")>
78                                 
79                                 <ul>
80                                         <li>
81                                                 <?_("Directory name: ")>
82                                                 <input type="text" name="er_dirname" value="<?THISROOM:DIRECTORY("X")>" maxlength="14" />
83                                         </li>
84                                         <li>
85                                                 <input type="checkbox" name="ulallowed" value="yes" 
86                                                 <?%("COND:THISROOM:FLAG:QR", 16, #"QR_UPLOAD", 1, 'checked="checked" ', "")>  />
87                                                 <?_("Uploading allowed")>
88                                         </li>
89                                         <li>
90                                                 <input type="checkbox" name="dlallowed" value="yes" 
91                                                 <?%("COND:THISROOM:FLAG:QR", 17, #"QR_DOWNLOAD", 1, 'checked="checked" ', "")>  />
92                                                 <?_("Downloading allowed")>
93                                         </li>
94                                         <li>
95                                                 <input type="checkbox" name="ulmsg" value="yes" 
96                                                 <?%("COND:THISROOM:FLAG:QR2", 17, #"QR2_NOUPLMSG", 1, 'checked="checked" ', "")>  />
97                                                 <?_("Don't send message on upload")>
98                                         </li>
99                                         <li>
100                                                 <input type="checkbox" name="visdir" value="yes" 
101                                                 <?%("COND:THISROOM:FLAG:QR", 18, #"QR_VISDIR", 1, 'checked="checked" ', "")>  />
102                                                 <?_("Visible directory")>
103                                         </li>
104                                   </ul></li>
105                        
106                         <li>
107                                 <input type="checkbox" name="network" value="yes" 
108                                 <?%("COND:THISROOM:FLAG:QR", 19, #"QR_NETWORK", 1, 'checked="checked" ', "")>  />
109                                 <?_("Network shared room")>
110                         </li>                         
111                         <li>
112                                 <input type="checkbox" name="permanent" value="yes" 
113                                 <?%("COND:THISROOM:FLAG:QR", 20, #"QR_PERMANENT", 1, 'checked="checked" ', "")>  />
114                                 <?_("Permanent (does not auto-purge)")>
115                         </li>
116                         <li>
117                                 <input type="checkbox" name="subjectreq" value="yes" 
118                                 <?%("COND:THISROOM:FLAG:QR2", 21, #"QR2_SUBJECTREQ", 1, 'checked="checked" ', "")>  />
119                                 <?_("Subject Required (Force users to specify a message subject)")>
120                         </li>
121                         <li>
122                                 <?_("Anonymous messages")>
123                         <ul>
124                                 <li>
125                                         <input type="radio" name="anon" value="no" 
126                                                <?%("COND:THISROOM:FLAG:QR", 23, #"QR_ANONOPT & QR_ANONONLY", 1, "", 'checked="checked" ')>
127                                                >
128                                         <?_("No anonymous messages")>
129                                 </li>
130                                 <li>
131                                         <input type="radio" name="anon" value="anononly" 
132                                         <?%("COND:THISROOM:FLAG:QR", 24, #"QR_ANONONLY", 1, 'checked="checked" ', "")> />
133                                         <?_("All messages are anonymous")>
134                                 </li>
135                                 <li>
136                                         <input type="radio" name="anon" value="anon2" 
137                                         <?%("COND:THISROOM:FLAG:QR", 25, #"QR_ANONOPT", 1, 'checked="checked" ', "")> />
138                                         <?_("Prompt user when entering messages")>
139                                 </li>
140                         </ul></li>
141                         <li>
142                                 <?_("Room aide: ")>
143                                 <input type="text" name="er_roomaide" value="<?THISROOM:AIDE("U")>" maxlength="25" /'>
144                         </li>
145         </ul>
146
147         <center>
148                 <input type="hidden" name="last_tabsel" value="<?TAB:N>" />
149                 <input type="submit" name="ok_button" value="<?_("Save changes")>" />
150                 &nbsp;
151                 <input type="submit" name="cancel_button" value="<?_("Cancel")>" />
152         </center>
153         </form>
154 </div>
155 <?!("X", 1)><??("COND:THISROOM:EDIT", 20)><div class="tabcontent"><?_("Higher access is required to access this function.")></div><??("X", 20)>