-<center><h1><?_("Access controls and site policy settings")></h1></center>
+<div class="conftitle"><?_("Access controls and site policy settings")></div>
+<hr>
<table border="0">
<tr><td><?_("Automatically grant room-aide status to users who create private rooms")></td><td>
-<input type="checkbox" name="c_creataide" value="yes" '<?SERV:CFG("c_creataide")>'></td></tr>
+<input type="checkbox" name="c_creataide" value="yes" <?%("COND:SERVCFG", 1, "c_creataide", 1, "CHECKED", "")>></td></tr>
<tr><td><?_("Initial access level for new users")></td><td>
<select name="c_initax" size="1">
<tr><td><?_("Disable self-service user account creation")></td><td>
<input type="checkbox" NAME="c_disable_newu" VALUE="yes" <?%("COND:SERVCFG", 1, "c_disable_newu", 1, "CHECKED", "")>></td></tr>
-<tr><td><?_("Enable host based authentication mode")></td><td>
-<input type="hidden" NAME="c_auth_mode" VALUE='<?%("COND:SERVCFG", 1, "c_auth_mode", 0, "'Yes'", "'No'")>'>
-<?!("COND:SERVCFG", 1, "c_auth_mode", 0)>
-<?_("Yes")>
-<?!("X", 1)>
-<??("COND:SERVCFG", 2, "c_auth_mode", 0)>
-<?_("No")>
-<??("X", 2)>
-</td></tr>
+<tr><td><?_("Authentication mode")></td><td>
+<select name="c_auth_mode" size="1">
+ <option <?%("COND:SERVCFG", 1, "c_auth_mode", 0, 'selected="selected"', "")> value="0"><?_("Self contained")></option>
+ <option <?%("COND:SERVCFG", 1, "c_auth_mode", 1, 'selected="selected"', "")> value="1"><?_("Host based")></option>
+ <option <?%("COND:SERVCFG", 1, "c_auth_mode", 2, 'selected="selected"', "")> value="2"><?_("LDAP (RFC2307)")></option>
+ <option <?%("COND:SERVCFG", 1, "c_auth_mode", 3, 'selected="selected"', "")> value="3"><?_("LDAP (Active Directory)")></option>
+</select></td></tr>
<tr><td><?_("Master user name (blank to disable)")></td><td>
<input type="text" NAME="c_master_user" MAXLENGTH="31" VALUE='<?SERV:CFG("c_master_user")>'></td></tr>