From 985fc8292cbc99a94c4e3d97d5f2d45df34e590f Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sat, 5 Jan 2002 20:40:44 +0000 Subject: [PATCH] Move peer server config; add option to set default expiration for auto-created accounts --- admin/templates/default/config.tpl | 40 +++++++++++------ phpgwapi/inc/class.accounts_ldap.inc.php | 28 ++++++++++-- phpgwapi/inc/class.accounts_sql.inc.php | 28 ++++++++++-- phpgwapi/templates/default/config.tpl | 25 ++++++++--- preferences/templates/default/config.tpl | 56 ++++++++++++------------ 5 files changed, 121 insertions(+), 56 deletions(-) diff --git a/admin/templates/default/config.tpl b/admin/templates/default/config.tpl index 697b2b10e9..9f0f926e44 100644 --- a/admin/templates/default/config.tpl +++ b/admin/templates/default/config.tpl @@ -29,7 +29,7 @@ - + {lang_Select_where_you_want_to_store/retrieve_user_accounts}: @@ -58,12 +58,12 @@ - + {lang_If_using_LDAP,_do_you_want_to_manage_homedirectory_and_loginshell_attributes?}: @@ -73,7 +73,7 @@ - +    {lang_LDAP_Default_shell_(e.g._/bin/bash)}: @@ -82,23 +82,35 @@ {lang_Auto_create_account_records_for_authenticated_users}: + + {lang_Auto-created_user_accounts_expire}: + + + + + {lang_Add_auto-created_users_to_this_group_('Default'_will_be_attempted_if_this_is_empty.)}: - + {lang_If_no_ACL_records_for_user_or_any_group_the_user_is_a_member_of}: @@ -108,7 +120,7 @@ - + {lang_LDAP_accounts_context}: @@ -118,7 +130,7 @@ - + {lang_LDAP_rootdn}: @@ -128,7 +140,7 @@ - + {lang_LDAP_encryption_type}: + - {lang_Enter_the_full_path_for_users_and_group_files.
Examples:_/files,_E:\FILES}: - + {lang_Enter_the_full_path_for_users_and_group_files.
Examples:_/files,_E:\FILES}: + @@ -36,7 +36,7 @@ {lang_Enter_the_hostname_of_the_machine_on_which_this_server_is_running}: - + @@ -48,8 +48,8 @@ {lang_Attempt_to_use_correct_mimetype_for_FTP_instead_of_default_'application/octet-stream'}: @@ -63,6 +63,17 @@ {lang_Enter_your_HTTP_proxy_server_port}: + + + {lang_Enter_the_site_username_for_peer_servers}. + + + + + {lang_Enter_the_site_password_for_peer_servers}. + + + diff --git a/preferences/templates/default/config.tpl b/preferences/templates/default/config.tpl index ffd8ee4b33..9bcccc0a7a 100644 --- a/preferences/templates/default/config.tpl +++ b/preferences/templates/default/config.tpl @@ -19,22 +19,12 @@ - - {lang_Enter_the_site_username_for_peer_servers}. - - - - - {lang_Enter_the_site_password_for_peer_servers}. - - - {lang_Show_'powered_by'_logo_on}: @@ -52,8 +42,8 @@ {lang_Use_pure_HTML_compliant_code_(not_fully_working_yet)}: @@ -62,8 +52,8 @@ {lang_Use_cookies_to_pass_sessionid}: @@ -72,8 +62,8 @@ {lang_check_ip_address_of_all_sessions}: @@ -82,38 +72,50 @@ {lang_Would_you_like_phpGroupWare_to_check_for_a_new_version
when_admins_login_?}: + + + {lang_Would_you_like_to_show_each_application's_upgrade_status_?}: - + {lang_Would_you_like_phpGroupWare_to_cache_the_phpgw_info_array_?}: - + {lang_Deny_all_users_access_to_grant_other_users_access_to_their_entries_?}: