* DTX: I found a bug in the template that you configure the 'Initial Access Level...
[citadel.git] / webcit / static / t / tab_siteconfig_access.html
1 <center><h1><?_("Access controls and site policy settings")></h1></center>
2 <table border="0">
3
4 <tr><td><?_("Automatically grant room-aide status to users who create private rooms")></td><td>
5 <input type="checkbox" name="c_creataide" value="yes" '<?SERV:CFG("c_creataide")>'></td></tr>
6
7 <tr><td><?_("Initial access level for new users")></td><td>
8 <select name="c_initax" size="1">
9         <option <?%("COND:SERVCFG", 1, "c_initax", 0, 'selected="selected"', "")> value="0">0 - <?_("Deleted")></option>
10         <option <?%("COND:SERVCFG", 1, "c_initax", 1, 'selected="selected"', "")> value="1">1 - <?_("New User")></option>
11         <option <?%("COND:SERVCFG", 1, "c_initax", 2, 'selected="selected"', "")> value="2">2 - <?_("Problem User")></option>
12         <option <?%("COND:SERVCFG", 1, "c_initax", 3, 'selected="selected"', "")> value="3">3 - <?_("Local User")></option>
13         <option <?%("COND:SERVCFG", 1, "c_initax", 4, 'selected="selected"', "")> value="4">4 - <?_("Network User")></option>
14         <option <?%("COND:SERVCFG", 1, "c_initax", 5, 'selected="selected"', "")> value="5">5 - <?_("Preferred User")></option>
15         <option <?%("COND:SERVCFG", 1, "c_initax", 6, 'selected="selected"', "")> value="6">6 - <?_("Aide")></option>
16 </select></td></tr>
17
18 <tr><td><?_("Require registration for new users")></td><td>
19 <input type="checkbox" name="c_regiscall" value="yes" <?%("COND:SERVCFG", 1, "c_regiscall", 1, "CHECKED", "")>></td></tr>
20
21 <tr><td><?_("Quarantine messages from problem users")></td><td>
22 <input type="checkbox" name="c_twitdetect" value="yes" <?%("COND:SERVCFG", 1, "c_twitdetect", 1, "CHECKED", "")>></td></tr>
23
24 <tr><td><?_("Name of quarantine room")></td><td>
25 <input type="text" name="c_twitroom" maxlength="63" value='<?SERV:CFG("c_twitroom")>'></td></tr>
26
27 <tr><td><?_("Restrict access to Internet mail")></td><td>
28 <input type="checkbox" name="c_restrict" value="yes" <?%("COND:SERVCFG", 1, "c_restrict", 1, "CHECKED", "")>></td></tr>
29
30 <tr><td><?_("Name of room to log pages")></td><td>
31 <input type="text" name="c_logpages" maxlength="63" value='<?SERV:CFG("c_logpages")>'></td></tr>
32
33 <tr><td><?_("Access level required to create rooms")></td><td>
34 <select name="c_createax" size="1">
35         <option <?%("COND:SERVCFG", 1, "c_createax", 0, 'selected="selected"', "")> value="0">0 - <?_("Deleted")></option>
36         <option <?%("COND:SERVCFG", 1, "c_createax", 1, 'selected="selected"', "")> value="1">1 - <?_("New User")></option>
37         <option <?%("COND:SERVCFG", 1, "c_createax", 2, 'selected="selected"', "")> value="2">2 - <?_("Problem User")></option>
38         <option <?%("COND:SERVCFG", 1, "c_createax", 3, 'selected="selected"', "")> value="3">3 - <?_("Local User")></option>
39         <option <?%("COND:SERVCFG", 1, "c_createax", 4, 'selected="selected"', "")> value="4">4 - <?_("Network User")></option>
40         <option <?%("COND:SERVCFG", 1, "c_createax", 5, 'selected="selected"', "")> value="5">5 - <?_("Preferred User")></option>
41         <option <?%("COND:SERVCFG", 1, "c_createax", 6, 'selected="selected"', "")> value="6">6 - <?_("Aide")></option>
42 </select></td></tr>
43
44 <tr><td><?_("Allow aides to zap (forget) rooms")></td><td>
45 <input type="checkbox" NAME="c_aide_zap" VALUE="yes" <?%("COND:SERVCFG", 1, "c_aide_zap", 1, "CHECKED", "")>></td></tr>
46
47 <tr><td><?_("Disable self-service user account creation")></td><td>
48 <input type="checkbox" NAME="c_disable_newu" VALUE="yes" <?%("COND:SERVCFG", 1, "c_disable_newu", 1, "CHECKED", "")>></td></tr>
49
50 <tr><td><?_("Enable host based authentication mode")></td><td>
51 <input type="hidden" NAME="c_auth_mode" VALUE='<?%("COND:SERVCFG", 1, "c_auth_mode", 0, "'Yes'", "'No'")>'>
52 <?!("COND:SERVCFG", 1, "c_auth_mode", 0)>
53 <?_("Yes")>
54 <?!("X", 1)>
55 <??("COND:SERVCFG", 2, "c_auth_mode", 0)>
56 <?_("No")>
57 <??("X", 2)>
58 </td></tr>
59
60 <tr><td><?_("Master user name (blank to disable)")></td><td>
61 <input type="text" NAME="c_master_user" MAXLENGTH="31" VALUE='<?SERV:CFG("c_master_user")>'></td></tr>
62
63 <tr><td><?_("Master user password")></td><td>
64 <input type="password" NAME="c_master_pass" MAXLENGTH="31" VALUE='<?SERV:CFG("c_master_pass")>'></td></tr>
65
66 </table>