egroupware/addressbook/setup/config.inc.php

47 lines
2.3 KiB
PHP
Raw Normal View History

2001-03-21 01:26:46 +01:00
<!-- BEGIN addressbook/setup/config.inc.php -->
<tr bgcolor="FFFFFF">
<td colspan="2">&nbsp;</td>
</tr>
<tr bgcolor="486591">
<td colspan="2"><font color="fefefe">&nbsp;<b>Addressbook/Contact settings</b></font></td>
</tr>
<tr bgcolor="e6e6e6">
<td>Contact application:</td>
2001-03-29 21:36:29 +02:00
<?php if (!$current_config["contact_application"]) { $current_config["contact_application"] = "addressbook"; } ?>
<td><input name="newsettings[contact_application]" value="<?php echo $current_config["contact_application"]; ?>"></td>
</tr>
<tr bgcolor="e6e6e6">
<td>Select from list instead of text entry for country:</td>
<td><input type="checkbox" name="newsettings[countrylist]" value="True"<?php echo ($current_config["countrylist"]?" checked":""); ?>></td>
</tr>
<?php $selected[$current_config["contact_repository"]] = " selected"; ?>
<tr bgcolor="e6e6e6">
<td>Select where you want to store/retrieve contacts.</td>
<td>
<select name="newsettings[contact_repository]">
<option value="sql"<?php echo $selected["sql"]; ?>>SQL</option>
<option value="ldap"<?php echo $selected["ldap"]; ?>>LDAP</option>
</select>
</td>
</tr>
<tr bgcolor="e6e6e6">
<td>LDAP host for contacts:</td>
2001-03-29 21:36:29 +02:00
<?php if (!$current_config["ldap_contact_host"]) { $current_config["ldap_contact_host"] = $current_config["ldap_host"]; } ?>
<td><input name="newsettings[ldap_contact_host]" value="<?php echo $current_config["ldap_contact_host"]; ?>"></td>
</tr>
<tr bgcolor="e6e6e6">
<td>LDAP context for contacts:</td>
<td><input name="newsettings[ldap_contact_context]" value="<?php echo $current_config["ldap_contact_context"]; ?>" size="40"></td>
</tr>
<tr bgcolor="e6e6e6">
<td>LDAP root dn for contacts:</td>
2001-03-29 21:36:29 +02:00
<?php if (!$current_config["ldap_contact_dn"]) { $current_config["ldap_contact_dn"] = $current_config["ldap_root_dn"]; } ?>
<td><input name="newsettings[ldap_contact_dn]" value="<?php echo $current_config["ldap_contact_dn"]; ?>"></td>
</tr>
<tr bgcolor="e6e6e6">
<td>LDAP root pw for contacts:</td>
2001-03-29 21:36:29 +02:00
<?php if (!$current_config["ldap_contact_pw"]) { $current_config["ldap_contact_pw"] = $current_config["ldap_root_pw"]; } ?>
2001-02-04 13:34:54 +01:00
<td><input name="newsettings[ldap_contact_pw]" type="password" value="<?php echo $current_config["ldap_contact_pw"]; ?>"></td>
</tr>