mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
bd7f7f417d
- migration for contacts to LDAP - some general addressbook fixes
85 lines
3.4 KiB
Smarty
85 lines
3.4 KiB
Smarty
<!-- BEGIN header -->
|
|
<form method="POST" action="{action_url}">
|
|
{hidden_vars}
|
|
<table border="0" align="center">
|
|
<tr class="th">
|
|
<td colspan="2"><font color="{th_text}"> <b>{title}</b></font></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"> <i><font color="red">{error}</i></font></td>
|
|
</tr>
|
|
<!-- END header -->
|
|
<!-- BEGIN body -->
|
|
<tr class="th">
|
|
<td colspan="2"> <b>{lang_Telephony_integration}</b></td>
|
|
</tr>
|
|
<tr class="row_on">
|
|
<td> {lang_URL_to_link_telephone_numbers_to_(use_%1_for_the_number)}:</td>
|
|
<td><input name="newsettings[call_link]" value="{value_call_link}" size="40"></td>
|
|
</tr>
|
|
<tr class="row_off">
|
|
<td> {lang_Size_of_popup_(WxH,_eg.400x300,_if_a_popup_should_be_used)}:</td>
|
|
<td><input name="newsettings[call_popup]" value="{value_call_popup}" size="10"></td>
|
|
</tr>
|
|
<tr class="th">
|
|
<td colspan="2"> <b>{lang_Contact_repository}</b></td>
|
|
</tr>
|
|
<tr class="row_on">
|
|
<td> {lang_Select_where_you_want_to_store_/_retrieve_contacts}:</td>
|
|
<td>
|
|
<select name="newsettings[contact_repository]">
|
|
{hook_contact_repositories}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr class="row_off">
|
|
<td colspan="2"> {lang_You_can_only_use_LDAP_as_contact_repository_if_the_accounts_are_stored_in_LDAP_too!}</td>
|
|
</tr>
|
|
<tr class="row_on">
|
|
<td> {lang_Account_repository}:</td>
|
|
<td>
|
|
<b><script>document.write('{value_account_repository}' == 'ldap' || '{value_account_repository}' == '' && '{value_auth_type}' == 'ldap' ? 'LDAP' : 'SQL');</script></b>
|
|
({lang_Can_be_changed_via_Setup_>>_Configuration})
|
|
</td>
|
|
</tr>
|
|
<tr class="th">
|
|
<td colspan="2"> <b>{lang_LDAP_settings_for_contacts}</b></td>
|
|
</tr>
|
|
<tr class="row_on">
|
|
<td> {lang_LDAP_host_for_contacts}:</td>
|
|
<td><input name="newsettings[ldap_contact_host]" value="{value_ldap_contact_host}"></td>
|
|
</tr>
|
|
<tr class="row_off">
|
|
<td> {lang_LDAP_context_for_contacts}:</td>
|
|
<td><input name="newsettings[ldap_contact_context]" value="{value_ldap_contact_context}" size="40"></td>
|
|
</tr>
|
|
<tr class="th">
|
|
<td colspan="2">
|
|
{lang_Additional_information_about_using_LDAP_as_contact_repository}:
|
|
<a href="addressbook/doc/README" target="_blank">README</a>
|
|
</td>
|
|
</tr>
|
|
<tr class="row_on">
|
|
<td> <b>{lang_Migration_to_LDAP}</b></td>
|
|
<td>
|
|
<select name="migrate">
|
|
<option value="">{lang_Select_migration_type}</option>
|
|
<option value="contacts" title="{lang_if_accounts_are_already_in_LDAP}">{lang_contacts_to_LDAP}</option>
|
|
<option value="contacts,accounts" title="{lang_use_setup_for_a_full_account-migration}">{lang_contacts_and_account_contact-data_to_LDAP}</option>
|
|
<option value="contacts,accounts-back" title="{lang_for_read_only_LDAP}">{lang_contacts_to_LDAP,_account_contact-data_to_SQL}</option>
|
|
</select>
|
|
<input type="button" onclick="if (this.form.migrate.value) document.location.href='index.php?menuaction=addressbook.uicontacts.migrate2ldap&type='+this.form.migrate.value;" value="{lang_Start}" />
|
|
</td>
|
|
</tr>
|
|
<!-- END body -->
|
|
<!-- BEGIN footer -->
|
|
<tr valign="bottom" style="height: 30px;">
|
|
<td colspan="2" align="center">
|
|
<input type="submit" name="submit" value="{lang_submit}">
|
|
<input type="submit" name="cancel" value="{lang_cancel}">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<!-- END footer -->
|