mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
Add LSaddon mailquota
This commit is contained in:
parent
1c2e6f4abb
commit
22dd1a61e6
8 changed files with 413 additions and 62 deletions
|
@ -13,6 +13,7 @@
|
|||
&conf-LSaddon_exportSearchResultAsCSV;
|
||||
&conf-LSaddon_mail;
|
||||
&conf-LSaddon_maildir;
|
||||
&conf-LSaddon_mailquota;
|
||||
&conf-LSaddon_phpldapadmin;
|
||||
|
||||
</sect1>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!ENTITY conf-LSaddon_asterisk SYSTEM "LSaddon_asterisk.docbook">
|
||||
<!ENTITY conf-LSaddon_exportSearchResultAsCSV SYSTEM "LSaddon_exportSearchResultAsCSV.docbook">
|
||||
<!ENTITY conf-LSaddon_maildir SYSTEM "LSaddon_maildir.docbook">
|
||||
<!ENTITY conf-LSaddon_mail SYSTEM "LSaddon_mail.docbook">
|
||||
<!ENTITY conf-LSaddon_maildir SYSTEM "LSaddon_maildir.docbook">
|
||||
<!ENTITY conf-LSaddon_mailquota SYSTEM "LSaddon_mailquota.docbook">
|
||||
<!ENTITY conf-LSaddon_phpldapadmin SYSTEM "LSaddon_phpldapadmin.docbook">
|
||||
|
||||
|
|
60
doc/conf/LSaddon/LSaddon_mailquota.docbook
Normal file
60
doc/conf/LSaddon/LSaddon_mailquota.docbook
Normal file
|
@ -0,0 +1,60 @@
|
|||
<sect2 id="config-LSaddon_mailquota">
|
||||
<title>LSaddon_mailquota</title>
|
||||
<para>Cet &LSaddon; fournie une fonction <literal>mailquota_get_usage</literal>
|
||||
pouvant être utilisée pour récupérer l'utilisation du quota d'une boîte mail
|
||||
IMAP. Pour cela, &LdapSaisie; se connecte au serveur IMAP en utilisant un
|
||||
compte maître.</para>
|
||||
<para>Cet &LSaddon; fournie une également une fonction
|
||||
<literal>mailquota_show_usage</literal> pouvant être utilisée comme
|
||||
&customSearchActions; et permettant d'afficher l'utilisation du quota de la
|
||||
boîte mail correspondante via une message dynamique (<literal>LSinfo</literal>).
|
||||
</para>
|
||||
|
||||
<para>Des paramètres de configuration sont disponibles dans le fichier de
|
||||
configuration <literal>config.LSaddons.mailquota.php</literal>.</para>
|
||||
|
||||
<programlisting linenumbering="unnumbered">
|
||||
<citetitle>Structure du fichier</citetitle>
|
||||
<![CDATA[// IMAP Mailbox connection string LSformat (composed with LSldapObject attributes)
|
||||
// See : https://php.net/imap_open (parameter $mailbox)
|
||||
define('MAILQUOTA_IMAP_MAILBOX','{localhost}');
|
||||
|
||||
// IMAP Master user
|
||||
define('MAILQUOTA_IMAP_MASTER_USER', 'ldapsaisie');
|
||||
|
||||
// IMAP Master user's password
|
||||
define('MAILQUOTA_IMAP_MASTER_USER_PWD', 'secret');
|
||||
|
||||
// IMAP Master user LSformat composed with :
|
||||
// * masteruser = master username (MAILQUOTA_IMAP_MASTER_USER)
|
||||
// * LSldapObject attributes
|
||||
define('MAILQUOTA_IMAP_MASTER_USER_FORMAT', '%{mail}*%{masteruser}');
|
||||
|
||||
// IMAP quota root mailbox
|
||||
define('MAILQUOTA_IMAP_QUOTA_ROOT_MAILBOX', 'INBOX');]]>
|
||||
</programlisting>
|
||||
|
||||
<para>Ci-dessous, vous trouverez un exemple de configuration de la fonction
|
||||
<literal>mailquota_show_usage()</literal> comme &customActions;</para>
|
||||
|
||||
<programlisting linenumbering="unnumbered">
|
||||
<citetitle>Exemple d'utilisation</citetitle><![CDATA[$GLOBALS['LSobjects']['LSpeople'] = array (
|
||||
[...]
|
||||
'customActions' => array (
|
||||
'showmailquotausage' => array (
|
||||
'function' => 'mailquota_show_usage',
|
||||
'label' => 'Show mail quota usage',
|
||||
'noConfirmation' => true,
|
||||
'disableOnSuccessMsg' => true,
|
||||
'icon' => 'mail',
|
||||
'rights' => array (
|
||||
'admin'
|
||||
)
|
||||
),
|
||||
[...]
|
||||
),
|
||||
[...]
|
||||
);]]>
|
||||
</programlisting>
|
||||
|
||||
</sect2>
|
45
public_html/conf/LSaddons/config.LSaddons.mailquota.php
Normal file
45
public_html/conf/LSaddons/config.LSaddons.mailquota.php
Normal file
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/*******************************************************************************
|
||||
* Copyright (C) 2019 Easter-eggs
|
||||
* http://ldapsaisie.easter-eggs.org
|
||||
*
|
||||
* Author: See AUTHORS file in top-level directory.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
******************************************************************************/
|
||||
|
||||
/*
|
||||
***************************************
|
||||
* Configuration for mailquota support *
|
||||
***************************************
|
||||
*/
|
||||
|
||||
// IMAP Mailbox connection string LSformat (composed with LSldapObject attributes)
|
||||
// See : https://php.net/imap_open (parameter $mailbox)
|
||||
define('MAILQUOTA_IMAP_MAILBOX','{localhost}');
|
||||
|
||||
// IMAP Master user
|
||||
define('MAILQUOTA_IMAP_MASTER_USER', 'ldapsaisie');
|
||||
|
||||
// IMAP Master user's password
|
||||
define('MAILQUOTA_IMAP_MASTER_USER_PWD', 'secret');
|
||||
|
||||
// IMAP Master user LSformat composed with :
|
||||
// * masteruser = master username (MAILQUOTA_IMAP_MASTER_USER)
|
||||
// * LSldapObject attributes
|
||||
define('MAILQUOTA_IMAP_MASTER_USER_FORMAT', '%{mail}*%{masteruser}');
|
||||
|
||||
// IMAP quota root mailbox
|
||||
define('MAILQUOTA_IMAP_QUOTA_ROOT_MAILBOX', 'INBOX');
|
183
public_html/includes/addons/LSaddons.mailquota.php
Normal file
183
public_html/includes/addons/LSaddons.mailquota.php
Normal file
|
@ -0,0 +1,183 @@
|
|||
<?php
|
||||
/*******************************************************************************
|
||||
* Copyright (C) 2019 Easter-eggs
|
||||
* http://ldapsaisie.easter-eggs.org
|
||||
*
|
||||
* Author: See AUTHORS file in top-level directory.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
******************************************************************************/
|
||||
|
||||
// Messages d'erreur
|
||||
|
||||
// Support
|
||||
LSerror :: defineError('MAILQUOTA_SUPPORT_01',
|
||||
__("MAILQUOTA Support : The constant %{const} is not defined.")
|
||||
);
|
||||
LSerror :: defineError('MAILQUOTA_SUPPORT_02',
|
||||
_("MAILQUOTA Support : The IMAP PHP module is not available.")
|
||||
);
|
||||
|
||||
// Other errors
|
||||
LSerror :: defineError('MAILQUOTA_01',
|
||||
__("MAILQUOTA : Fail to connect on IMAP server : %{error}")
|
||||
);
|
||||
LSerror :: defineError('MAILQUOTA_02',
|
||||
__("MAILQUOTA : Unexpected error occured retreiving mailbox quota usage.")
|
||||
);
|
||||
LSerror :: defineError('MAILQUOTA_03',
|
||||
__("MAILQUOTA : Fail to compose IMAP mailbox username.")
|
||||
);
|
||||
|
||||
/**
|
||||
* Check support of this addons
|
||||
*
|
||||
* @author Benjamin Renard <brenard@easter-eggs.com>
|
||||
*
|
||||
* @retval boolean True if this addons is fully supported, false otherwise
|
||||
*/
|
||||
function LSaddon_mailquota_support() {
|
||||
$retval=True;
|
||||
|
||||
$MUST_DEFINE_CONST= array(
|
||||
'MAILQUOTA_IMAP_MAILBOX',
|
||||
'MAILQUOTA_IMAP_MASTER_USER',
|
||||
'MAILQUOTA_IMAP_MASTER_USER_PWD',
|
||||
'MAILQUOTA_IMAP_MASTER_USER_FORMAT',
|
||||
'MAILQUOTA_IMAP_QUOTA_ROOT_MAILBOX',
|
||||
);
|
||||
|
||||
foreach($MUST_DEFINE_CONST as $const) {
|
||||
if ( (!defined($const)) || (constant($const) == "")) {
|
||||
LSerror :: addErrorCode('MAILQUOTA_SUPPORT_01',$const);
|
||||
$retval=false;
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('imap_open')) {
|
||||
LSerror :: addErrorCode('MAILQUOTA_SUPPORT_02');
|
||||
$retval=false;
|
||||
}
|
||||
|
||||
return $retval;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Get IMAP mailbox usage
|
||||
*
|
||||
* @param[in] $ldapobject LSldapObject The LDAP object
|
||||
*
|
||||
* @retval array|false Array with mailbox usage and quota, or false
|
||||
**/
|
||||
function mailquota_get_usage(&$LSldapObject) {
|
||||
try {
|
||||
$LSldapObject -> registerOtherValue('masteruser', MAILQUOTA_IMAP_MASTER_USER);
|
||||
$imap_login = $LSldapObject -> getFData(MAILQUOTA_IMAP_MASTER_USER_FORMAT);
|
||||
if (empty($imap_login)) {
|
||||
LSerror :: addErrorCode('MAILQUOTA_03');
|
||||
return false;
|
||||
}
|
||||
$imap_mailbox = $LSldapObject -> getFData(MAILQUOTA_IMAP_MAILBOX);
|
||||
LSdebug("IMAP mailbox : '$imap_mailbox'");
|
||||
$mbox = @imap_open(
|
||||
$imap_mailbox,
|
||||
$imap_login,
|
||||
MAILQUOTA_IMAP_MASTER_USER_PWD,
|
||||
OP_HALFOPEN
|
||||
);
|
||||
if ($mbox) {
|
||||
$quota_values = imap_get_quotaroot($mbox, MAILQUOTA_IMAP_QUOTA_ROOT_MAILBOX);
|
||||
LSdebug("IMAP mailbox :\n".varDump($quota_values));
|
||||
if(isset($quota_values['usage'])) {
|
||||
return array (
|
||||
'usage' => intval($quota_values['usage']*1024),
|
||||
'limit' => intval($quota_values['limit']*1024),
|
||||
);
|
||||
}
|
||||
}
|
||||
else {
|
||||
LSerror :: addErrorCode('MAILQUOTA_01', imap_last_error());
|
||||
}
|
||||
}
|
||||
catch (Exception $e) {
|
||||
LSerror :: addErrorCode('MAILQUOTA_02');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom action that could be use to show mailbox quota usage
|
||||
*
|
||||
* This custom action just show mailbox quota usage via LSinfo.
|
||||
*
|
||||
* The custom action could be configured on LSldapObject as following :
|
||||
*
|
||||
* 'customActions' => array (
|
||||
* 'showmailquotausage' => array (
|
||||
* 'function' => 'mailquota_show_usage',
|
||||
* 'label' => 'Show mail quota usage',
|
||||
* 'noConfirmation' => true,
|
||||
* 'disableOnSuccessMsg' => true,
|
||||
* 'icon' => 'mail',
|
||||
* 'rights' => array (
|
||||
* 'admin'
|
||||
* )
|
||||
* ),
|
||||
* [...]
|
||||
* );
|
||||
*
|
||||
* @param[in] $ldapobject LSldapObject The LDAP object
|
||||
*
|
||||
* @retval true in any case
|
||||
**/
|
||||
function mailquota_show_usage(&$LSldapObject) {
|
||||
$quota = mailquota_get_usage($LSldapObject);
|
||||
if (is_array($quota)) {
|
||||
$msg = __("Mailbox quota usage : %{usage} / %{limit}");
|
||||
$infos = array('usage' => mailquota_formatValue($quota['usage']));
|
||||
if ($quota['limit']) {
|
||||
$infos['limit'] = mailquota_formatValue($quota['limit']);
|
||||
$infos['perc'] = number_format($quota['usage'] * 100 / $quota['limit'], 2);
|
||||
$msg .= " (%{perc}%)";
|
||||
}
|
||||
else {
|
||||
$infos['limit'] = __('Unlimited');
|
||||
}
|
||||
LSsession :: addInfo(getFData($msg, $infos));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function mailquota_formatValue($value) {
|
||||
$sizeFacts = array(
|
||||
1073741824 => 'Go',
|
||||
1048576 => 'Mo',
|
||||
1024 => 'Ko',
|
||||
1 => 'o',
|
||||
);
|
||||
krsort($sizeFacts);
|
||||
foreach($sizeFacts as $sill => $label) {
|
||||
if ($value >= $sill) {
|
||||
if ($value % $sill == 0) {
|
||||
return $value/$sill.$label;
|
||||
}
|
||||
else {
|
||||
return number_format($value/$sill, 1).$label;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $value."o";
|
||||
}
|
Binary file not shown.
|
@ -8,7 +8,7 @@ msgstr ""
|
|||
"Project-Id-Version: LdapSaisie\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: 2019-06-04 00:20+0200\n"
|
||||
"PO-Revision-Date: 2019-06-17 12:20+0200\n"
|
||||
"Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n"
|
||||
"Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise."
|
||||
"org>\n"
|
||||
|
@ -77,7 +77,7 @@ msgid "Import"
|
|||
msgstr "Importer"
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/view.php:156
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1418
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1417
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:32
|
||||
msgid "Refresh"
|
||||
msgstr "Rafraîchir"
|
||||
|
@ -88,7 +88,7 @@ msgstr "Réinitialiser"
|
|||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1214
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2284
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2298
|
||||
msgid "Level"
|
||||
msgstr "Niveau"
|
||||
|
||||
|
@ -373,6 +373,37 @@ msgstr ""
|
|||
"Support FTP : Impossible de renommer le dossier %{old} en %{new} sur le "
|
||||
"serveur distant."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:27
|
||||
msgid "MAILQUOTA Support : The constant %{const} is not defined."
|
||||
msgstr "Support MAILQUOTA : La constante %{const} n'est pas définie."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:30
|
||||
msgid "MAILQUOTA Support : The IMAP PHP module is not available."
|
||||
msgstr "Support MAILQUOTA : Le module IMAP pour PHP n'est pas disponible."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:35
|
||||
msgid "MAILQUOTA : Fail to connect on IMAP server : %{error}"
|
||||
msgstr "MAILQUOTA : Impossible de se connecter au serveur IMAP : %{error}"
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:38
|
||||
msgid "MAILQUOTA : Unexpected error occured retreiving mailbox quota usage."
|
||||
msgstr ""
|
||||
"MAILQUOTA : Une erreur inattendue est survenue en récupérant l'utilisation "
|
||||
"du quota de la boîte mail."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:41
|
||||
msgid "MAILQUOTA : Fail to compose IMAP mailbox username."
|
||||
msgstr ""
|
||||
"MAILQUOTA : Impossible de composer l'identifiant IMAP de la boîte mail."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:149
|
||||
msgid "Mailbox quota usage : %{usage} / %{limit}"
|
||||
msgstr "Utilisation de la boîte mail : %{usage} / %{limit}"
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:157
|
||||
msgid "Unlimited"
|
||||
msgstr "Illimité"
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.maildir.php:27
|
||||
msgid "MAILDIR Support : Unable to load LSaddon::FTP."
|
||||
msgstr "Support MAILDIR : Impossible de charger LSaddon::FTP."
|
||||
|
@ -833,19 +864,19 @@ msgstr ""
|
|||
msgid "Your new password has been sent to %{mail}. "
|
||||
msgstr "Votre nouveau mot de passe vous a été envoyé à l'adresse %{mail}."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1434
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1433
|
||||
msgid "Language"
|
||||
msgstr "Langue"
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1456
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1455
|
||||
msgid "Connected as"
|
||||
msgstr "Connecté en tant que"
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2431
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2445
|
||||
msgid "LSsession : The constant %{const} is not defined."
|
||||
msgstr "LSsession : La constante %{const} n'est pas définie."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2434
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2448
|
||||
msgid ""
|
||||
"LSsession : The %{addon} support is uncertain. Verify system compatibility "
|
||||
"and the add-on configuration."
|
||||
|
@ -853,52 +884,52 @@ msgstr ""
|
|||
"LSsession : Le support %{addon} est incertain. Vérifiez la compatibilité du "
|
||||
"système et la configuration de l'add-on."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2437
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2451
|
||||
msgid ""
|
||||
"LSsession : LDAP server's configuration data are invalid. Can't connect."
|
||||
msgstr ""
|
||||
"LSsession : Les données de configuration du serveur LDAP sont invalide. "
|
||||
"Impossible de s'y connecter."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2440
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2454
|
||||
msgid "LSsession : Failed to load LSobject type %{type} : unknon type."
|
||||
msgstr ""
|
||||
"LSsession : Impossible de charger le type d'LSobject %{type} : type inconnu."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2443
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2457
|
||||
msgid "LSsession : Failed to load LSclass %{class}."
|
||||
msgstr "LSsession : Impossible de charger la LSclass %{class}."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2446
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2460
|
||||
msgid "LSsession : Login or password incorrect."
|
||||
msgstr "LSsession : Identifiant ou mot de passe incorrects."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2449
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2463
|
||||
msgid "LSsession : Impossible to identify you : Duplication of identities."
|
||||
msgstr "LSsession : Impossible de vous identifier : Duplication d'identité."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2452
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2466
|
||||
msgid "LSsession : Can't load class of authentification (%{class})."
|
||||
msgstr ""
|
||||
"LSsession : Impossible de charger la classe d'authentification (%{class})."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2455
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2469
|
||||
msgid "LSsession : Can't connect to LDAP server."
|
||||
msgstr "LSsession : Impossible de se connecter au serveur LDAP."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2458
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2472
|
||||
msgid "LSsession : Impossible to authenticate you."
|
||||
msgstr "LSsession : Impossible de vous identifier."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2461
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2475
|
||||
msgid "LSsession : Your are not authorized to do this action."
|
||||
msgstr "LSsession : Vous n'êtes pas autorisé à faire cette action."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2464
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2478
|
||||
msgid "LSsession : Some informations are missing to display this page."
|
||||
msgstr "LSsession : Des informations sont manquant pour afficher cette page."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2467
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2481
|
||||
msgid ""
|
||||
"LSsession : The function of the custom action %{name} does not exists or is "
|
||||
"not configured."
|
||||
|
@ -906,24 +937,24 @@ msgstr ""
|
|||
"LSsearch : La fonction de l'action personnalisée %{name} n'existe pas ou "
|
||||
"n'est pas configurée."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2470
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2484
|
||||
msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth."
|
||||
msgstr ""
|
||||
"LSsession : Erreur en récupérant les identifiants LDAP de l'utilisateur "
|
||||
"depuis LSauth."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2473
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2487
|
||||
msgid ""
|
||||
"LSsession : Fail to reconnect to LDAP server with user's LDAP credentials."
|
||||
msgstr ""
|
||||
"LSsession : Impossible de se reconnecter au serveur LDAP avec les "
|
||||
"identifiants de l'utilisateur."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2476
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2490
|
||||
msgid "LSsession : No import/export format define for this object type."
|
||||
msgstr "LSsession : Aucun format d'entrée/sortie définie pour ce type d'objet."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2479
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2493
|
||||
msgid ""
|
||||
"LSsession : Error during creation of list of levels. Contact administrators. "
|
||||
"(Code : %{code})"
|
||||
|
@ -931,13 +962,13 @@ msgstr ""
|
|||
"LSsession : Erreur durant la création de la liste des niveaux. Contacter les "
|
||||
"administrateurs. (Code : %{type})"
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2482
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2496
|
||||
msgid "LSsession : The password recovery is disabled for this LDAP server."
|
||||
msgstr ""
|
||||
"LSsession : La récupération de mot de passe est désactivée pour ce serveur "
|
||||
"LDAP."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2485
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2499
|
||||
msgid ""
|
||||
"LSsession : Some informations are missing to recover your password. Contact "
|
||||
"administrators."
|
||||
|
@ -945,7 +976,7 @@ msgstr ""
|
|||
"LSsession : Des informations sont manques pour pouvoir récupérer votre mot "
|
||||
"de passe. Contacter les administrateurs."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2488
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2502
|
||||
msgid ""
|
||||
"LSsession : Error during password recovery. Contact administrators.(Step : "
|
||||
"%{step})"
|
||||
|
@ -953,22 +984,22 @@ msgstr ""
|
|||
"LSsession : Erreur durant la récupération de votre mot de passe. Contacter "
|
||||
"les administrateurs. (Etape : %{step})"
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2491
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2505
|
||||
msgid ""
|
||||
"LSsession : call function %{func} do not provided from LSaddon %{addon}."
|
||||
msgstr ""
|
||||
"LSsession : la fonction %{func} n'est pas fournie par le LSaddon %{addon}."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2494
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2508
|
||||
msgid "LSsession : problem during initialisation."
|
||||
msgstr "LSsession : Problème durant l'initialisation."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2497
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2511
|
||||
msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist."
|
||||
msgstr ""
|
||||
"LSsession : la fonction de vue %{func} du LSaddon %{addon} n'existe pas."
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2500
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2514
|
||||
msgid "LSsession : invalid related object's DN pass in parameter."
|
||||
msgstr "LSsession : DN d'objet en relation incorrect dans les paramètres."
|
||||
|
||||
|
@ -1957,7 +1988,8 @@ msgstr "Fichier"
|
|||
msgid "Format"
|
||||
msgstr "Format"
|
||||
|
||||
#: templates/default/top.tpl:35 templates/default/global_search.tpl:10
|
||||
#: templates/default/top.tpl:35 templates/default/top.tpl:36
|
||||
#: templates/default/global_search.tpl:10
|
||||
msgid "Global search"
|
||||
msgstr "Recherche globale"
|
||||
|
||||
|
@ -1977,7 +2009,7 @@ msgstr "Aucune valeur"
|
|||
msgid "Only validate data"
|
||||
msgstr "Validation des données uniquement"
|
||||
|
||||
#: templates/default/top.tpl:61
|
||||
#: templates/default/top.tpl:62
|
||||
msgid "Refresh my access rights"
|
||||
msgstr "Rafraîchir mes droits d'accès"
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ msgid "Import"
|
|||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/view.php:156
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1418
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1417
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:32
|
||||
msgid "Refresh"
|
||||
msgstr ""
|
||||
|
@ -66,7 +66,7 @@ msgstr ""
|
|||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1214
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2284
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2298
|
||||
msgid "Level"
|
||||
msgstr ""
|
||||
|
||||
|
@ -311,6 +311,34 @@ msgid ""
|
|||
"server."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:27
|
||||
msgid "MAILQUOTA Support : The constant %{const} is not defined."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:30
|
||||
msgid "MAILQUOTA Support : The IMAP PHP module is not available."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:35
|
||||
msgid "MAILQUOTA : Fail to connect on IMAP server : %{error}"
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:38
|
||||
msgid "MAILQUOTA : Unexpected error occured retreiving mailbox quota usage."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:41
|
||||
msgid "MAILQUOTA : Fail to compose IMAP mailbox username."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:149
|
||||
msgid "Mailbox quota usage : %{usage} / %{limit}"
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.mailquota.php:157
|
||||
msgid "Unlimited"
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.maildir.php:27
|
||||
msgid "MAILDIR Support : Unable to load LSaddon::FTP."
|
||||
msgstr ""
|
||||
|
@ -712,120 +740,120 @@ msgstr ""
|
|||
msgid "Your new password has been sent to %{mail}. "
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1434
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1433
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1456
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1455
|
||||
msgid "Connected as"
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2431
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2445
|
||||
msgid "LSsession : The constant %{const} is not defined."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2434
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2448
|
||||
msgid ""
|
||||
"LSsession : The %{addon} support is uncertain. Verify system compatibility "
|
||||
"and the add-on configuration."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2437
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2451
|
||||
msgid ""
|
||||
"LSsession : LDAP server's configuration data are invalid. Can't connect."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2440
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2454
|
||||
msgid "LSsession : Failed to load LSobject type %{type} : unknon type."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2443
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2457
|
||||
msgid "LSsession : Failed to load LSclass %{class}."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2446
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2460
|
||||
msgid "LSsession : Login or password incorrect."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2449
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2463
|
||||
msgid "LSsession : Impossible to identify you : Duplication of identities."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2452
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2466
|
||||
msgid "LSsession : Can't load class of authentification (%{class})."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2455
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2469
|
||||
msgid "LSsession : Can't connect to LDAP server."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2458
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2472
|
||||
msgid "LSsession : Impossible to authenticate you."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2461
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2475
|
||||
msgid "LSsession : Your are not authorized to do this action."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2464
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2478
|
||||
msgid "LSsession : Some informations are missing to display this page."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2467
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2481
|
||||
msgid ""
|
||||
"LSsession : The function of the custom action %{name} does not exists or is "
|
||||
"not configured."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2470
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2484
|
||||
msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2473
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2487
|
||||
msgid ""
|
||||
"LSsession : Fail to reconnect to LDAP server with user's LDAP credentials."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2476
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2490
|
||||
msgid "LSsession : No import/export format define for this object type."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2479
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2493
|
||||
msgid ""
|
||||
"LSsession : Error during creation of list of levels. Contact administrators. "
|
||||
"(Code : %{code})"
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2482
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2496
|
||||
msgid "LSsession : The password recovery is disabled for this LDAP server."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2485
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2499
|
||||
msgid ""
|
||||
"LSsession : Some informations are missing to recover your password. Contact "
|
||||
"administrators."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2488
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2502
|
||||
msgid ""
|
||||
"LSsession : Error during password recovery. Contact administrators.(Step : "
|
||||
"%{step})"
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2491
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2505
|
||||
msgid ""
|
||||
"LSsession : call function %{func} do not provided from LSaddon %{addon}."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2494
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2508
|
||||
msgid "LSsession : problem during initialisation."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2497
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2511
|
||||
msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist."
|
||||
msgstr ""
|
||||
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2500
|
||||
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2514
|
||||
msgid "LSsession : invalid related object's DN pass in parameter."
|
||||
msgstr ""
|
||||
|
||||
|
@ -1676,7 +1704,8 @@ msgstr ""
|
|||
msgid "Format"
|
||||
msgstr ""
|
||||
|
||||
#: templates/default/top.tpl:35 templates/default/global_search.tpl:10
|
||||
#: templates/default/top.tpl:35 templates/default/top.tpl:36
|
||||
#: templates/default/global_search.tpl:10
|
||||
msgid "Global search"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1696,7 +1725,7 @@ msgstr ""
|
|||
msgid "Only validate data"
|
||||
msgstr ""
|
||||
|
||||
#: templates/default/top.tpl:61
|
||||
#: templates/default/top.tpl:62
|
||||
msgid "Refresh my access rights"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue