]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/t/tab_siteconfig_access.html
* Offer the ability to switch authentication modes via WebCit. This is a great way...
[citadel.git] / webcit / static / t / tab_siteconfig_access.html
index 77ede047270934d32731ab383b55b9801172580d..4f76dadb733d599c1ea14e42690c60fae766e385 100644 (file)
 <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="<?SERV:CFG("c_auth_mode")>">
-<?!("COND:SERVCFG", 1, "c_auth_mode", 1)>
-<?_("Yes")>
-<?!("X", 1)>
-<??("COND:SERVCFG", 2, "c_auth_mode", 1)>
-<?_("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>