From 2f68dd9269b61a293134f3e6ebf8e7c79e2f5739 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 18 Jul 2012 20:35:42 +0200 Subject: [PATCH] Nettoyage des commentaires --- root/usr/share/mozilla-mcd/thunderbird.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/root/usr/share/mozilla-mcd/thunderbird.php b/root/usr/share/mozilla-mcd/thunderbird.php index 2ac7093..1081802 100644 --- a/root/usr/share/mozilla-mcd/thunderbird.php +++ b/root/usr/share/mozilla-mcd/thunderbird.php @@ -8,11 +8,11 @@ if(isset($_SERVER['QUERY_STRING']) && preg_match('/^.+@' . DOMAIN . '$/', $_SERV $temp = explode('@', $_SERVER['QUERY_STRING']); $uid = $temp[0]; - //Connexion a l'annuaire LDAP - $link = @ldap_connect(LDAP_SERVER) or die ('connexion echouee'); + // Bind to the LDAP server + $link = @ldap_connect(LDAP_SERVER) or die ("Couldn't connect to the LDAP server"); ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, 3); - @ldap_bind($link) or die ('identification echouee'); - // Recherche de l'utilisateur demandé + @ldap_bind($link) or die ("Couldn't bind to the LDAP server"); + // Lookup the user $result = ldap_search($link, USER_BASE, "uid=" . $uid); $user = ldap_get_entries($link, $result); if($user['count'] == 0) { @@ -36,7 +36,7 @@ else { var path_profile = getenv("USERPROFILE"); } -// Compte local +// Local Account ("mail.account.account1.server", "server1"); ("mail.accountmanager.localfoldersserver", "server1"); ("mail.server.server1.directory-rel", "[ProfD]Mail/Local Folders"); @@ -45,7 +45,7 @@ else { ("mail.server.server1.type", "none"); ("mail.server.server1.userName", "nobody"); -// SMTP +// SMTP config ("mail.smtp.defaultserver", "smtp1"); ("mail.smtpservers", "smtp1"); ("mail.smtpserver.smtp1.try_ssl", 3); @@ -53,7 +53,7 @@ else { ("mail.smtpserver.smtp1.hostname", ""); ("mail.smtpserver.smtp1.username", ""); -// Compte par défaut +// Default account is acocunt2 (the personal account) ("mail.accountmanager.defaultaccount", "account2"); @@ -66,7 +66,7 @@ $accountlist = 'account1'; $identities = '' ?> -// Compte personnel +// Personnal account ("mail.account.account2.server", "server"); ("mail.server.server2.hostname", ""); ("mail.server.server2.name", ""); @@ -90,7 +90,6 @@ defaultPref("mail.identity.id.stationery_folder", "imap://.attach_signature", true); defaultPref("mail.identity.id.sig_file", path_profile+path_sep+"signature"+path_sep+"email.html"); ("mail.account.account2.identities", ""); ("mail.accountmanager.accounts", "account1,account2"); -// Mise a jour +// Disable auto updates ("app.update.enabled", false); ("app.update.auto", false); -// Extension +// Extensions ("extensions.installDistroAddons", true); ("extensions.enabledScopes", 13); ("extensions.autoDisableScopes", 2); @@ -111,13 +110,13 @@ $id++; // Spam ("mail.adaptivefilters.junk_threshold", 500); -// Checks +// Checks IMAP folders defaultPref("mail.check_all_imap_folders_for_new", true); // Composition defaultPref("mail.default_html_action", 3); -// Pièces jointes +// Attachments defaultPref("mail.content_disposition_type ", 1); // Expunge @@ -125,6 +124,7 @@ defaultPref("mail.imap.expunge_option", 3); defaultPref("mail.imap.expunge_threshold_number", 100);