872f3ea1942245df5b7c2c92504a2c3c95e4fafb
[citadel.git] / 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="<?ROOM:INFO:PRINT_NAME("X")>">
5                 <ul>   
6                         <li>
7                                 <?_("name of room: ")>
8                                 <input type="text" name="er_name" value="<?ROOMNAME("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="visdir" value="yes" 
96                                                 <?%("COND:THISROOM:FLAG:QR", 18, #"QR_VISDIR", 1, 'checked="checked" ', "")>  />
97                                                 <?_("Visible directory")>
98                                         </li>
99                                   </ul></li>
100                        
101                         <li>
102                                 <input type="checkbox" name="network" value="yes" 
103                                 <?%("COND:THISROOM:FLAG:QR", 19, #"QR_NETWORK", 1, 'checked="checked" ', "")>  />
104                                 <?_("Network shared room")>
105                         </li>                         
106                         <li>
107                                 <input type="checkbox" name="permanent" value="yes" 
108                                 <?%("COND:THISROOM:FLAG:QR", 20, #"QR_PERMANENT", 1, 'checked="checked" ', "")>  />
109                                 <?_("Permanent (does not auto-purge)")>
110                         </li>
111                         <li>
112                                 <input type="checkbox" name="subjectreq" value="yes" 
113                                 <?%("COND:THISROOM:FLAG:QR2", 21, #"QR2_SUBJECTREQ", 1, 'checked="checked" ', "")>  />
114                                 <?_("Subject Required (Force users to specify a message subject)")>
115                         </li>
116                         <li>
117                                 <?_("Anonymous messages")>
118                         <ul>
119                                 <li>
120                                         <input type="radio" name="anon" value="no" 
121                                                <?%("COND:THISROOM:FLAG:QR", 23, #"QR_ANONOPT & QR_ANONONLY", 1, "", 'checked="checked" ')>
122                                                >
123                                         <?_("No anonymous messages")>
124                                 </li>
125                                 <li>
126                                         <input type="radio" name="anon" value="anononly" 
127                                         <?%("COND:THISROOM:FLAG:QR", 24, #"QR_ANONONLY", 1, 'checked="checked" ', "")> />
128                                         <?_("All messages are anonymous")>
129                                 </li>
130                                 <li>
131                                         <input type="radio" name="anon" value="anon2" 
132                                         <?%("COND:THISROOM:FLAG:QR", 25, #"QR_ANONOPT", 1, 'checked="checked" ', "")> />
133                                         <?_("Prompt user when entering messages")>
134                                 </li>
135                         </ul></li>
136                         <li>
137                                 <?_("Room aide: ")>
138                                 <input type="text" name="er_roomaide" value="<?THISROOM:AIDE("U")>" maxlength="25" /'>
139                         </li>
140         </ul>
141
142         <center>
143                 <input type="hidden" name="last_tabsel" value="<?TAB:N>" />
144                 <input type="submit" name="ok_button" value="<?_("Save changes")>" />
145                 &nbsp;
146                 <input type="submit" name="cancel_button" value="<?_("Cancel")>" />
147         </center>
148         </form>
149 </div>
150 <?!("X", 1)><??("COND:THISROOM:EDIT", 20)><div class="tabcontent"><?_("Higher access is required to access this function.")></div><??("X", 20)>