1
0
Fork 0
mirror of https://gitlab.easter-eggs.com/ee/ldapsaisie.git synced 2024-12-22 00:13:51 +01:00

Code cleaning

This commit is contained in:
Benjamin Renard 2021-08-25 18:02:37 +02:00
parent a3aa857c78
commit 9907e08f18
50 changed files with 783 additions and 735 deletions

View file

@ -5,7 +5,7 @@ _ldapsaisie()
local cur words cword local cur words cword
_get_comp_words_by_ref -n "=" cur words cword _get_comp_words_by_ref -n "=" cur words cword
# Retreive COMPREPLY using bash_autocomplete ldapsaisie CLI command # Retrieve COMPREPLY using bash_autocomplete ldapsaisie CLI command
COMPREPLY=( $(ldapsaisie bash_autocomplete ${cword} -- ${words[@]}) ) COMPREPLY=( $(ldapsaisie bash_autocomplete ${cword} -- ${words[@]}) )
# If current word to complete contain '=' and if it's a word-break char # If current word to complete contain '=' and if it's a word-break char

View file

@ -440,7 +440,7 @@ les possibilités de contribution.</para>
* *
* @author My Name <my.email@example.com> * @author My Name <my.email@example.com>
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
function cli_my_custom_cli_cmd($command_args) { function cli_my_custom_cli_cmd($command_args) {
$objType = null; $objType = null;

View file

@ -152,7 +152,7 @@ $GLOBALS['LSobjects']['LSdyngroup'] = array (
'label' => 'Member search URI', 'label' => 'Member search URI',
'help_info' => "<p>LDAP search URI or group members. A LDAP search URI is composed of the following parts separated by semicolons :<ul> 'help_info' => "<p>LDAP search URI or group members. A LDAP search URI is composed of the following parts separated by semicolons :<ul>
<li>The LDAP URI in format <code>ldap://[host]/[base DN]</code>. For instance, to make a request on the same LDAP server, use <code>ldap:///o=ls</code></li> <li>The LDAP URI in format <code>ldap://[host]/[base DN]</code>. For instance, to make a request on the same LDAP server, use <code>ldap:///o=ls</code></li>
<li>The retreived attributes (separated by coma, optional)</li> <li>The retrieved attributes (separated by coma, optional)</li>
<li>The search scope (<code>base</code>, <code>one</code> or <code>sub</code>)</li> <li>The search scope (<code>base</code>, <code>one</code> or <code>sub</code>)</li>
<li>The LDAP filter (optional, default : <code>(objectClass=*)</code>)</li> <li>The LDAP filter (optional, default : <code>(objectClass=*)</code>)</li>
</ul></p><p><strong>Example :</strong> <code>ldap:///ou=people,o=ls??one?(&(objectClass=lspeople)(mail=*@ls.com))</code></p>", </ul></p><p><strong>Example :</strong> <code>ldap:///ou=people,o=ls??one?(&(objectClass=lspeople)(mail=*@ls.com))</code></p>",

View file

@ -101,11 +101,8 @@ LSerror :: defineError('MAIL_01',
$from = $headers['From']; $from = $headers['From'];
unset($headers['From']); unset($headers['From']);
} }
elseif (LSsession :: getEmailSender() != "") {
$from = LSsession :: getEmailSender();
}
else { else {
$from = null; $from = LSsession :: getEmailSender();
} }
$headers["To"] = $to; $headers["To"] = $to;

View file

@ -284,7 +284,7 @@ function generate_sambaPrimaryGroupSID($ldapObject) {
* *
* @param[in] $attr string The sambaUnixIdPool attribute name that contain next ID value * @param[in] $attr string The sambaUnixIdPool attribute name that contain next ID value
* *
* @retval integer UNIX ID value on succes, false otherwise * @retval integer UNIX ID value on success, false otherwise
*/ */
function get_samba_unix_pool_next_id($attr) { function get_samba_unix_pool_next_id($attr) {
$unix_id_pool_dn = (defined('LS_SAMBA_UNIX_ID_POOL_DN')?constant('LS_SAMBA_UNIX_ID_POOL_DN'):LS_SAMBA_DOMAIN_OBJECT_DN); $unix_id_pool_dn = (defined('LS_SAMBA_UNIX_ID_POOL_DN')?constant('LS_SAMBA_UNIX_ID_POOL_DN'):LS_SAMBA_DOMAIN_OBJECT_DN);

View file

@ -34,7 +34,7 @@ function LSaddon_showTechInfo_support() {
function showTechInfo($object) { function showTechInfo($object) {
$dn = $object -> getDn(); $dn = $object -> getDn();
// Retreive internal attributes // Retrieve internal attributes
$internal_attrs = LSldap :: getAttrs( $internal_attrs = LSldap :: getAttrs(
$dn, $dn,
null, null,

View file

@ -1244,7 +1244,7 @@ function cli_generate_supann_codeEtablissement_uai_nomenclature($command_args) {
$data = file_get_contents('https://data.enseignementsup-recherche.gouv.fr/explore/dataset/fr-esr-principaux-etablissements-enseignement-superieur/download?format=json'); $data = file_get_contents('https://data.enseignementsup-recherche.gouv.fr/explore/dataset/fr-esr-principaux-etablissements-enseignement-superieur/download?format=json');
$items = json_decode($data, true); $items = json_decode($data, true);
if (!is_array($items)) if (!is_array($items))
LSlog :: get_logger('LSaddon_supann') -> fatal('Fail to retreive UAI dataset from data.enseignementsup-recherche.gouv.fr'); LSlog :: get_logger('LSaddon_supann') -> fatal('Fail to retrieve UAI dataset from data.enseignementsup-recherche.gouv.fr');
$codes = array(); $codes = array();
foreach($items as $item) { foreach($items as $item) {
if (!isset($item['fields']) || !isset($item['fields']['uai']) || !$item['fields']['uai']) if (!isset($item['fields']) || !isset($item['fields']['uai']) || !$item['fields']['uai'])

View file

@ -451,5 +451,5 @@ LSerror :: defineError('LSattr_html_select_list_06',
___("LSattr_html_select_list: Invalid get_possible_values parameter found in configuration of attribute %{attr}: must be a callable.") ___("LSattr_html_select_list: Invalid get_possible_values parameter found in configuration of attribute %{attr}: must be a callable.")
); );
LSerror :: defineError('LSattr_html_select_list_07', LSerror :: defineError('LSattr_html_select_list_07',
___("LSattr_html_select_list: fail to retreive possible values of attribute %{attr} using configured function %{callable}.") ___("LSattr_html_select_list: fail to retrieve possible values of attribute %{attr} using configured function %{callable}.")
); );

View file

@ -168,19 +168,19 @@ class LSattr_html_select_object extends LSattr_html{
* *
* @param[in] mixed $values array|null Array of the input values () * @param[in] mixed $values array|null Array of the input values ()
* @param[in] boolean $fromDNs boolean If true, considered provided values as DNs (default: false) * @param[in] boolean $fromDNs boolean If true, considered provided values as DNs (default: false)
* @param[in] boolean $retreiveAttrValues boolean If true, attribute values will be returned instead * @param[in] boolean $retrieveAttrValues boolean If true, attribute values will be returned instead
* of selected objects info (default: false) * of selected objects info (default: false)
* *
* @author Benjamin Renard <brenard@easter-eggs.com> * @author Benjamin Renard <brenard@easter-eggs.com>
* *
* @retval array|false Array of selected objects with DN as key and object info as value or array * @retval array|false Array of selected objects with DN as key and object info as value or array
* of attribute values if $retreiveAttrValues==true or False on error. * of attribute values if $retrieveAttrValues==true or False on error.
*/ */
public function getFormValues($values=NULL, $fromDNs=false, $retreiveAttrValues=false) { public function getFormValues($values=NULL, $fromDNs=false, $retrieveAttrValues=false) {
self :: log_debug("getFormValues(): input values=".varDump($values)); self :: log_debug("getFormValues(): input values=".varDump($values));
// Check parameters consistency // Check parameters consistency
if ($retreiveAttrValues && !$fromDNs) { if ($retrieveAttrValues && !$fromDNs) {
self :: log_fatal('getFormValues(): $fromDNs must be true if $retreiveAttrValues==true'); self :: log_fatal('getFormValues(): $fromDNs must be true if $retrieveAttrValues==true');
return false; return false;
} }
if (!is_array($values)) { if (!is_array($values)) {
@ -188,7 +188,7 @@ class LSattr_html_select_object extends LSattr_html{
return false; return false;
} }
// Retreive/check selectable objects config // Retrieve/check selectable objects config
$objs = array(); $objs = array();
$confs = $this -> getSelectableObjectsConfig($objs); $confs = $this -> getSelectableObjectsConfig($objs);
if (!is_array($confs) || empty($confs)) { if (!is_array($confs) || empty($confs)) {
@ -236,8 +236,8 @@ class LSattr_html_select_object extends LSattr_html{
} }
$found_values[$value] = $value; $found_values[$value] = $value;
if ($retreiveAttrValues) { if ($retrieveAttrValues) {
// Retreive attribute value case: $selected_objects[dn] = attribute value // Retrieve attribute value case: $selected_objects[dn] = attribute value
if(($conf['value_attribute']=='dn') || ($conf['value_attribute']=='%{dn}')) { if(($conf['value_attribute']=='dn') || ($conf['value_attribute']=='%{dn}')) {
$selected_objects[$value] = $value; $selected_objects[$value] = $value;
} }
@ -312,8 +312,8 @@ class LSattr_html_select_object extends LSattr_html{
} }
} }
// Retreive attribute values case: return forged array values (list of attribute values) // Retrieve attribute values case: return forged array values (list of attribute values)
if ($retreiveAttrValues) if ($retrieveAttrValues)
return array_values($selected_objects); return array_values($selected_objects);
// General case // General case
@ -369,7 +369,7 @@ class LSattr_html_select_object extends LSattr_html{
$LSselect_id = $this -> getLSselectId(); $LSselect_id = $this -> getLSselectId();
if (LSsession :: loadLSclass('LSselect', null, true) && LSselect :: exists($LSselect_id)) { if (LSsession :: loadLSclass('LSselect', null, true) && LSselect :: exists($LSselect_id)) {
$selected_objects = LSselect :: getSelectedObjects($LSselect_id); $selected_objects = LSselect :: getSelectedObjects($LSselect_id);
self :: log_debug("getValuesFromLSselect(): selected objects retreived from LSselect '$LSselect_id' = ".varDump($selected_objects)); self :: log_debug("getValuesFromLSselect(): selected objects retrieved from LSselect '$LSselect_id' = ".varDump($selected_objects));
if (is_array($selected_objects)) { if (is_array($selected_objects)) {
return $this -> getFormValues( return $this -> getFormValues(
array_keys($selected_objects), array_keys($selected_objects),

View file

@ -317,7 +317,7 @@ class LSattribute extends LSlog_staticLoggerClass {
* @param[in] $api_mode boolean True if it's a view in API mode (=all accessible attributes present, * @param[in] $api_mode boolean True if it's a view in API mode (=all accessible attributes present,
* optional, default: false) * optional, default: false)
* *
* @retval boolean True on succes, False otherwise * @retval boolean True on success, False otherwise
*/ */
public function addToView(&$form, $api_mode=false) { public function addToView(&$form, $api_mode=false) {
if ((!$api_mode && !$this -> getConfig('view', false, 'bool')) || ($this -> myRights() == 'n') ) if ((!$api_mode && !$this -> getConfig('view', false, 'bool')) || ($this -> myRights() == 'n') )
@ -337,7 +337,7 @@ class LSattribute extends LSlog_staticLoggerClass {
* *
* @param[in] $form LSform The LSform object * @param[in] $form LSform The LSform object
* *
* @retval boolean True on succes, False otherwise * @retval boolean True on success, False otherwise
*/ */
public function addToExport(&$form) { public function addToExport(&$form) {
if ($this -> myRights() == 'n') if ($this -> myRights() == 'n')
@ -357,7 +357,7 @@ class LSattribute extends LSlog_staticLoggerClass {
* *
* @param[in] object $form The LSform object * @param[in] object $form The LSform object
* *
* @retval LSformElement|False LSformElement object on succes, False otherwise * @retval LSformElement|False LSformElement object on success, False otherwise
*/ */
private function _addToForm(&$form, $idForm, &$obj=NULL, $data=NULL) { private function _addToForm(&$form, $idForm, &$obj=NULL, $data=NULL) {
if (!$this -> html) { if (!$this -> html) {

View file

@ -109,7 +109,7 @@ class LSauth extends LSlog_staticLoggerClass {
} }
/** /**
* Retreive auth object types info * Retrieve auth object types info
* @return array Array of auth object type with type as key and type's parameters as value * @return array Array of auth object type with type as key and type's parameters as value
*/ */
public static function getAuthObjectTypes() { public static function getAuthObjectTypes() {
@ -127,7 +127,7 @@ class LSauth extends LSlog_staticLoggerClass {
'password_attribute' => self :: getConfig("LSobjects.$objType.password_attribute", 'userPassword', 'string'), 'password_attribute' => self :: getConfig("LSobjects.$objType.password_attribute", 'userPassword', 'string'),
); );
} }
// For retro-compatibility, also retreived old parameters (excepted in API mode): // For retro-compatibility, also retrieved old parameters (excepted in API mode):
$oldAuthObjectType = LSconfig :: get('authObjectType', null, 'string', LSsession :: $ldapServer); $oldAuthObjectType = LSconfig :: get('authObjectType', null, 'string', LSsession :: $ldapServer);
if ($oldAuthObjectType && !array_key_exists($oldAuthObjectType, $objTypes) && self :: checkAuthObjectTypeAccess($oldAuthObjectType)) { if ($oldAuthObjectType && !array_key_exists($oldAuthObjectType, $objTypes) && self :: checkAuthObjectTypeAccess($oldAuthObjectType)) {
$objTypes[$oldAuthObjectType] = array( $objTypes[$oldAuthObjectType] = array(
@ -155,7 +155,7 @@ class LSauth extends LSlog_staticLoggerClass {
} }
/** /**
* Retreived LSobjects corresponding to a username * Retrieved LSobjects corresponding to a username
* *
* @retval array|false Array of corresponding LSldapObject with object DN as key, or false in case of error * @retval array|false Array of corresponding LSldapObject with object DN as key, or false in case of error
*/ */

View file

@ -53,7 +53,7 @@ class LSauthMethod_HTTP extends LSauthMethod_basic {
define('LSAUTHMETHOD_HTTP_METHOD', 'PHP_AUTH'); define('LSAUTHMETHOD_HTTP_METHOD', 'PHP_AUTH');
} }
else { else {
self :: log_debug('HTTP method to retreive auth data is "'.LSAUTHMETHOD_HTTP_METHOD.'"'); self :: log_debug('HTTP method to retrieve auth data is "'.LSAUTHMETHOD_HTTP_METHOD.'"');
} }
$missing_info = null; $missing_info = null;

View file

@ -385,7 +385,7 @@ class LScli extends LSlog_staticLoggerClass {
* *
* @param[in] $command_args array Command arguments * @param[in] $command_args array Command arguments
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
public static function bash_autocomplete($command_args) { public static function bash_autocomplete($command_args) {
if (count($command_args) < 3) if (count($command_args) < 3)

View file

@ -79,7 +79,7 @@ class LSerror {
* *
* @author Benjamin Renard <brenard@easter-eggs.com> * @author Benjamin Renard <brenard@easter-eggs.com>
* *
* @param[in] $return boolean True if you want to retreived errors message. If false, * @param[in] $return boolean True if you want to retrieved errors message. If false,
* (default), LSerrors template variable will be assigned * (default), LSerrors template variable will be assigned
* with errors message. * with errors message.
* *

View file

@ -479,13 +479,13 @@ class LSform extends LSlog_staticLoggerClass {
} }
/** /**
* Retreive POST data of the form * Retrieve POST data of the form
* *
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* @author Benjamin Renard <brenard@easter-eggs.com> * @author Benjamin Renard <brenard@easter-eggs.com>
* *
* @retval boolean true if POST data are retreived, false otherwise * @retval boolean true if POST data are retrieved, false otherwise
*/ */
public function getPostData($onlyIfPresent=false) { public function getPostData($onlyIfPresent=false) {
if (is_null($this -> dataEntryForm)) { if (is_null($this -> dataEntryForm)) {
@ -670,8 +670,8 @@ class LSform extends LSlog_staticLoggerClass {
/** /**
* Return the values of an element * Return the values of an element
* *
* If form is posted, retreive values from postData, otherwise * If form is posted, retrieve values from postData, otherwise
* retreive value from the element. * retrieve value from the element.
* *
* @param[in] string $element The element name * @param[in] string $element The element name
* *
@ -852,7 +852,7 @@ class LSform extends LSlog_staticLoggerClass {
} }
else { else {
// Attribute name not already entered: add attribute name options // Attribute name not already entered: add attribute name options
// Check if $comp_word is quoted and retreived quote char // Check if $comp_word is quoted and retrieved quote char
if ($comp_word) { if ($comp_word) {
$quote_char = LScli :: unquote_word($comp_word); $quote_char = LScli :: unquote_word($comp_word);
} }

View file

@ -206,7 +206,7 @@ class LSformElement extends LSlog_staticLoggerClass {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *
@ -230,7 +230,7 @@ class LSformElement extends LSlog_staticLoggerClass {
} }
/** /**
* Retreive the value of the element specified by its name ($name) * Retrieve the value of the element specified by its name ($name)
* from POST data (provided as $post). * from POST data (provided as $post).
* *
* @param[in] &$post array Reference of the array for input POST data * @param[in] &$post array Reference of the array for input POST data
@ -402,7 +402,7 @@ class LSformElement extends LSlog_staticLoggerClass {
} }
/** /**
* Retreive value as return in API response * Retrieve value as return in API response
* *
* @param[in] $details boolean If true, returned values will contain details if this field type * @param[in] $details boolean If true, returned values will contain details if this field type
* support it (optional, default: false) * support it (optional, default: false)

View file

@ -76,7 +76,7 @@ class LSformElement_boolean extends LSformElement {
* @retval void * @retval void
*/ */
public function autocomplete_attr_values(&$opts, $comp_word, $attr_value="", $multiple_value_delimiter="|", $quote_char='') { public function autocomplete_attr_values(&$opts, $comp_word, $attr_value="", $multiple_value_delimiter="|", $quote_char='') {
// Split attribute values and retreived splited value in $attr_values and $last_attr_value // Split attribute values and retrieved splited value in $attr_values and $last_attr_value
if (!$this -> split_autocomplete_attr_values($attr_value, $multiple_value_delimiter, $attr_values, $last_attr_value)) if (!$this -> split_autocomplete_attr_values($attr_value, $multiple_value_delimiter, $attr_values, $last_attr_value))
return; return;

View file

@ -212,7 +212,7 @@ class LSformElement_date extends LSformElement {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *

View file

@ -86,7 +86,7 @@ class LSformElement_image extends LSformElement {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *
@ -165,7 +165,7 @@ class LSformElement_image extends LSformElement {
} }
/** /**
* Retreive value as return in API response * Retrieve value as return in API response
* *
* @param[in] $details boolean If true, returned values will contain details if this field type * @param[in] $details boolean If true, returned values will contain details if this field type
* support it (optional, default: false) * support it (optional, default: false)

View file

@ -178,7 +178,7 @@ class LSformElement_jsonCompositeAttribute extends LSformElement {
} }
/** /**
* Retreive possible values of an select_list component * Retrieve possible values of an select_list component
* *
* @param[in] $c string The component name * @param[in] $c string The component name
* *
@ -201,7 +201,7 @@ class LSformElement_jsonCompositeAttribute extends LSformElement {
} }
/** /**
* Retreive value's label of an select_list component * Retrieve value's label of an select_list component
* *
* @param[in] $c string The component name * @param[in] $c string The component name
* @param[in] $value string The value * @param[in] $value string The value
@ -224,12 +224,12 @@ class LSformElement_jsonCompositeAttribute extends LSformElement {
} }
/** /**
* Retreive LSformElement value from POST data * Retrieve LSformElement value from POST data
* *
* This method check present of this element's value in POST data and retreive * This method check present of this element's value in POST data and retrieve
* it to feed the array passed in paramater. * it to feed the array passed in paramater.
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *
@ -437,7 +437,7 @@ class LSformElement_jsonCompositeAttribute extends LSformElement {
} }
/** /**
* Retreive value as return in API response * Retrieve value as return in API response
* *
* @param[in] $details boolean If true, returned values will contain details if this field type * @param[in] $details boolean If true, returned values will contain details if this field type
* support it (optional, default: false) * support it (optional, default: false)

View file

@ -110,7 +110,7 @@ class LSformElement_labeledValue extends LSformElement {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *

View file

@ -148,7 +148,7 @@ class LSformElement_mailQuota extends LSformElement {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *

View file

@ -80,7 +80,7 @@ class LSformElement_maildir extends LSformElement_text {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *

View file

@ -43,7 +43,7 @@ class LSformElement_password extends LSformElement {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *
@ -449,7 +449,7 @@ class LSformElement_password extends LSformElement {
* @retval void * @retval void
*/ */
public function autocomplete_attr_values(&$opts, $comp_word, $attr_value="", $multiple_value_delimiter="|", $quote_char='') { public function autocomplete_attr_values(&$opts, $comp_word, $attr_value="", $multiple_value_delimiter="|", $quote_char='') {
// Split attribute values and retreived splited value in $attr_values and $last_attr_value // Split attribute values and retrieved splited value in $attr_values and $last_attr_value
if (!$this -> split_autocomplete_attr_values($attr_value, $multiple_value_delimiter, $attr_values, $last_attr_value)) if (!$this -> split_autocomplete_attr_values($attr_value, $multiple_value_delimiter, $attr_values, $last_attr_value))
return; return;
$pwd = $this->generatePassword($this -> params); $pwd = $this->generatePassword($this -> params);

View file

@ -140,7 +140,7 @@ class LSformElement_quota extends LSformElement {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *
@ -188,7 +188,7 @@ class LSformElement_quota extends LSformElement {
} }
/** /**
* Retreive factor value * Retrieve factor value
* *
* @retval integer Factor value * @retval integer Factor value
*/ */

View file

@ -125,7 +125,7 @@ class LSformElement_select extends LSformElement {
* @retval void * @retval void
*/ */
public function autocomplete_attr_values(&$opts, $comp_word, $attr_value="", $multiple_value_delimiter="|", $quote_char='') { public function autocomplete_attr_values(&$opts, $comp_word, $attr_value="", $multiple_value_delimiter="|", $quote_char='') {
// Split attribute values and retreived splited value in $attr_values and $last_attr_value // Split attribute values and retrieved splited value in $attr_values and $last_attr_value
if (!$this -> split_autocomplete_attr_values($attr_value, $multiple_value_delimiter, $attr_values, $last_attr_value)) if (!$this -> split_autocomplete_attr_values($attr_value, $multiple_value_delimiter, $attr_values, $last_attr_value))
return; return;
@ -143,7 +143,7 @@ class LSformElement_select extends LSformElement {
/** /**
* Retreive value as return in API response * Retrieve value as return in API response
* *
* @param[in] $details boolean If true, returned values will contain details if this field type * @param[in] $details boolean If true, returned values will contain details if this field type
* support it (optional, default: false) * support it (optional, default: false)

View file

@ -110,7 +110,7 @@ class LSformElement_select_object extends LSformElement {
* @retval boolean True if LSselect is initialized, false otherwise * @retval boolean True if LSselect is initialized, false otherwise
*/ */
private function initLSselect() { private function initLSselect() {
// Retreive selectable objects configuratio from HTML attr // Retrieve selectable objects configuratio from HTML attr
$objs = null; $objs = null;
$confs = $this -> attr_html -> getSelectableObjectsConfig($objs); $confs = $this -> attr_html -> getSelectableObjectsConfig($objs);
if (!is_array($confs)) { if (!is_array($confs)) {
@ -300,17 +300,17 @@ class LSformElement_select_object extends LSformElement {
public function autocomplete_attr_values(&$opts, $comp_word, $attr_value="", $multiple_value_delimiter="|", $quote_char='') { public function autocomplete_attr_values(&$opts, $comp_word, $attr_value="", $multiple_value_delimiter="|", $quote_char='') {
self :: log_debug("LSformElement :: autocomplete_opts([...], '$comp_word', '$attr_value', '$multiple_value_delimiter', '$quote_char')"); self :: log_debug("LSformElement :: autocomplete_opts([...], '$comp_word', '$attr_value', '$multiple_value_delimiter', '$quote_char')");
// Split attribute values and retreived splited value in $attr_values and $last_attr_value // Split attribute values and retrieved splited value in $attr_values and $last_attr_value
if (!$this -> split_autocomplete_attr_values($attr_value, $multiple_value_delimiter, $attr_values, $last_attr_value)) if (!$this -> split_autocomplete_attr_values($attr_value, $multiple_value_delimiter, $attr_values, $last_attr_value))
return; return;
// Retreive selectable objects configuration // Retrieve selectable objects configuration
$objs = null; $objs = null;
$confs = $this -> attr_html -> getSelectableObjectsConfig($objs); $confs = $this -> attr_html -> getSelectableObjectsConfig($objs);
if (!is_array($confs)) if (!is_array($confs))
return; return;
// Iter on selectable object types to retreived available autocomplete options // Iter on selectable object types to retrieved available autocomplete options
foreach($confs as $object_type => $conf) { foreach($confs as $object_type => $conf) {
$dns = LScli :: autocomplete_LSobject_dn($object_type, $last_attr_value); $dns = LScli :: autocomplete_LSobject_dn($object_type, $last_attr_value);
self :: log_debug("LScli :: autocomplete_LSobject_dn($object_type, $last_attr_value) : ".varDump($dns)); self :: log_debug("LScli :: autocomplete_LSobject_dn($object_type, $last_attr_value) : ".varDump($dns));
@ -323,7 +323,7 @@ class LSformElement_select_object extends LSformElement {
} }
/** /**
* Retreive value as return in API response * Retrieve value as return in API response
* *
* @param[in] $details boolean If true, returned values will contain details if this field type * @param[in] $details boolean If true, returned values will contain details if this field type
* support it (optional, default: false) * support it (optional, default: false)

View file

@ -322,7 +322,7 @@ class LSformElement_supannCompositeAttribute extends LSformElement {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *
@ -562,7 +562,7 @@ class LSformElement_supannCompositeAttribute extends LSformElement {
/** /**
* Retreive value as return in API response * Retrieve value as return in API response
* *
* @param[in] $details boolean If true, returned values will contain details if this field type * @param[in] $details boolean If true, returned values will contain details if this field type
* support it (optional, default: false) * support it (optional, default: false)

View file

@ -122,7 +122,7 @@ class LSformElement_supannLabeledValue extends LSformElement {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *
@ -210,7 +210,7 @@ class LSformElement_supannLabeledValue extends LSformElement {
} }
/** /**
* Retreive value as return in API response * Retrieve value as return in API response
* *
* @param[in] $details boolean If true, returned values will contain details if this field type * @param[in] $details boolean If true, returned values will contain details if this field type
* support it (optional, default: false) * support it (optional, default: false)

View file

@ -177,7 +177,7 @@ class LSformElement_valueWithUnit extends LSformElement {
* Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère * Cette méthode vérifie la présence en POST de la valeur de l'élément et la récupère
* pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément * pour la mettre dans le tableau passer en paramètre avec en clef le nom de l'élément
* *
* @param[in] &$return array Reference of the array for retreived values * @param[in] &$return array Reference of the array for retrieved values
* @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data, * @param[in] $onlyIfPresent boolean If true and data of this element is not present in POST data,
* just ignore it. * just ignore it.
* *

View file

@ -107,7 +107,7 @@ class LSformRule extends LSlog_staticLoggerClass {
* - Optional arguments : * - Optional arguments :
* - -p|--param: LSformRule parameters (format: param=value) * - -p|--param: LSformRule parameters (format: param=value)
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
public static function cli_test_form_rule($command_args) { public static function cli_test_form_rule($command_args) {
$rule_name = null; $rule_name = null;

View file

@ -66,7 +66,7 @@ class LSio extends LSlog_staticLoggerClass {
} }
/** /**
* Retreive POST data * Retrieve POST data
* *
* This method retrieve and format POST data. * This method retrieve and format POST data.
* *
@ -102,7 +102,7 @@ class LSio extends LSlog_staticLoggerClass {
/** /**
* Import objects from POST data * Import objects from POST data
* *
* This method retreive, validate and import POST data. * This method retrieve, validate and import POST data.
* *
* @author Benjamin Renard <brenard@easter-eggs.com> * @author Benjamin Renard <brenard@easter-eggs.com>
* *
@ -222,7 +222,7 @@ class LSio extends LSlog_staticLoggerClass {
} }
self :: log_debug("import(): file loaded"); self :: log_debug("import(): file loaded");
// Retreive object from ioFormat // Retrieve object from ioFormat
$objectsData = $ioFormat -> getAll(); $objectsData = $ioFormat -> getAll();
$objectsInError = array(); $objectsInError = array();
self :: log_trace("import(): objects data=".varDump($objectsData)); self :: log_trace("import(): objects data=".varDump($objectsData));
@ -255,7 +255,7 @@ class LSio extends LSlog_staticLoggerClass {
$globalErrors[] = _('Failed to validate object data.'); $globalErrors[] = _('Failed to validate object data.');
} }
else { else {
self :: log_debug('import(): Data is correct, retreive object DN'); self :: log_debug('import(): Data is correct, retrieve object DN');
$dn = $object -> getDn(); $dn = $object -> getDn();
if (!$dn) { if (!$dn) {
self :: log_debug('import(): fail to generate for this object: '.varDump($objData)); self :: log_debug('import(): fail to generate for this object: '.varDump($objData));
@ -375,7 +375,7 @@ class LSio extends LSlog_staticLoggerClass {
$search = new LSsearch($object -> type, 'LSio'); $search = new LSsearch($object -> type, 'LSio');
$search -> run(); $search -> run();
// Retreive objets // Retrieve objets
$objects = $search -> listObjects(); $objects = $search -> listObjects();
if (!is_array($objects)) { if (!is_array($objects)) {
LSerror :: addErrorCode('LSio_06'); LSerror :: addErrorCode('LSio_06');
@ -408,7 +408,7 @@ class LSio extends LSlog_staticLoggerClass {
* - -U|--update: Enable "update if exist" * - -U|--update: Enable "update if exist"
* - -j|--just-try: Enable just-try mode * - -j|--just-try: Enable just-try mode
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
public static function cli_import($command_args) { public static function cli_import($command_args) {
$objType = null; $objType = null;
@ -565,7 +565,7 @@ class LSio extends LSlog_staticLoggerClass {
* - Optional arguments: * - Optional arguments:
* - -o|--output: Output path ("-" == stdout, default: "-") * - -o|--output: Output path ("-" == stdout, default: "-")
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
public static function cli_export($command_args) { public static function cli_export($command_args) {
$objType = null; $objType = null;

View file

@ -93,7 +93,7 @@ class LSioFormat extends LSlog_staticLoggerClass {
} }
/** /**
* Retreive all objects contained by the loaded file * Retrieve all objects contained by the loaded file
* *
* @retval array The objects contained by the loaded file * @retval array The objects contained by the loaded file
**/ **/
@ -110,7 +110,7 @@ class LSioFormat extends LSlog_staticLoggerClass {
* @param $objects array of LSldapObject The objects to export * @param $objects array of LSldapObject The objects to export
* @param[in] $stream resource|null The output stream (optional, default: STDOUT) * @param[in] $stream resource|null The output stream (optional, default: STDOUT)
* *
* @return boolean True on succes, False otherwise * @return boolean True on success, False otherwise
*/ */
public function exportObjects(&$objects, $stream=null) { public function exportObjects(&$objects, $stream=null) {
self :: log_trace('exportObjects(): start'); self :: log_trace('exportObjects(): start');

View file

@ -126,7 +126,7 @@ class LSioFormatCSV extends LSioFormatDriver {
} }
/** /**
* Retreive all object data contained by the loaded file * Retrieve all object data contained by the loaded file
* *
* The objects are returned in array : * The objects are returned in array :
* *
@ -160,7 +160,7 @@ class LSioFormatCSV extends LSioFormatDriver {
} }
/** /**
* Retreive fields names of the loaded file * Retrieve fields names of the loaded file
* *
* The fields names are returned in array : * The fields names are returned in array :
* *
@ -184,7 +184,7 @@ class LSioFormatCSV extends LSioFormatDriver {
* @param[in] $objects_data Array of objects data to export * @param[in] $objects_data Array of objects data to export
* @param[in] $stream resource|null The output stream (optional, default: STDOUT) * @param[in] $stream resource|null The output stream (optional, default: STDOUT)
* *
* @return boolean True on succes, False otherwise * @return boolean True on success, False otherwise
*/ */
public function exportObjectsData($objects_data, $stream=null) { public function exportObjectsData($objects_data, $stream=null) {
if (!function_exists('fputcsv')) { if (!function_exists('fputcsv')) {

View file

@ -63,7 +63,7 @@ class LSioFormatDriver extends LSlog_staticLoggerClass {
} }
/** /**
* Retreive all object data contained by the loaded file * Retrieve all object data contained by the loaded file
* *
* The objects are returned in array : * The objects are returned in array :
* *
@ -87,7 +87,7 @@ class LSioFormatDriver extends LSlog_staticLoggerClass {
} }
/** /**
* Retreive fields names of the loaded file * Retrieve fields names of the loaded file
* *
* The fields names are returned in array : * The fields names are returned in array :
* *
@ -104,7 +104,7 @@ class LSioFormatDriver extends LSlog_staticLoggerClass {
} }
/** /**
* Retreive all objects data of the loaded file formated * Retrieve all objects data of the loaded file formated
* *
* This method format objects data using ioFormat configuration * This method format objects data using ioFormat configuration
* given as parameters. * given as parameters.
@ -150,7 +150,7 @@ class LSioFormatDriver extends LSlog_staticLoggerClass {
* @param[in] $objects_data Array of objects data to export * @param[in] $objects_data Array of objects data to export
* @param[in] $stream resource|null The output stream (optional, default: STDOUT) * @param[in] $stream resource|null The output stream (optional, default: STDOUT)
* *
* @return boolean True on succes, False otherwise * @return boolean True on success, False otherwise
*/ */
public function exportObjectsData($objects_data, $stream=null) { public function exportObjectsData($objects_data, $stream=null) {
// Must be implement in real drivers // Must be implement in real drivers

View file

@ -229,7 +229,7 @@ if (php_sapi_name() != "cli") return true;
* *
* @param[in] $command_args array Command arguments * @param[in] $command_args array Command arguments
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
global $LSlang_cli_logger, $available_onlys, $available_withouts; global $LSlang_cli_logger, $available_onlys, $available_withouts;
@ -986,7 +986,7 @@ LScli :: add_command(
* *
* @param[in] $command_args array Command arguments * @param[in] $command_args array Command arguments
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
function cli_generate_ldapsaisie_pot($command_args) { function cli_generate_ldapsaisie_pot($command_args) {
global $LSlang_cli_logger; global $LSlang_cli_logger;

View file

@ -209,7 +209,7 @@ class LSldap extends LSlog_staticLoggerClass {
/** /**
* Load values of an LDAP entry attributes * Load values of an LDAP entry attributes
* *
* This method retreive attributes values of an LDAP entry and return it * This method retrieve attributes values of an LDAP entry and return it
* as associative array. * as associative array.
* *
* @author Benjamin Renard <brenard@easter-eggs.com> * @author Benjamin Renard <brenard@easter-eggs.com>
@ -348,7 +348,7 @@ class LSldap extends LSlog_staticLoggerClass {
public static function update($object_type, $dn, $change) { public static function update($object_type, $dn, $change) {
self :: log_trace("update($object_type, $dn): change=".varDump($change)); self :: log_trace("update($object_type, $dn): change=".varDump($change));
// Retreive current LDAP entry // Retrieve current LDAP entry
$entry = self :: getEntry($object_type, $dn); $entry = self :: getEntry($object_type, $dn);
if(!is_a($entry, 'Net_LDAP2_Entry')) { if(!is_a($entry, 'Net_LDAP2_Entry')) {
LSerror :: addErrorCode('LSldap_04'); LSerror :: addErrorCode('LSldap_04');

View file

@ -537,7 +537,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
$ret++; $ret++;
} }
else { else {
// Otherwise, just retreive number of matching objets // Otherwise, just retrieve number of matching objets
$ret = LSldap :: getNumberResult($sfilter, $sbasedn, $sparams); $ret = LSldap :: getNumberResult($sfilter, $sbasedn, $sparams);
if (!is_int($ret)) { if (!is_int($ret)) {
// An error occured // An error occured
@ -690,7 +690,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
} }
} }
else { else {
self :: log_error("$this -> submitChange($idForm): fail to retreive new DN"); self :: log_error("$this -> submitChange($idForm): fail to retrieve new DN");
return; return;
} }
} }
@ -1125,7 +1125,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
} }
/** /**
* Retreive object type translated label * Retrieve object type translated label
* *
* @param[in] $type string|null The object type (optional, default: called class name) * @param[in] $type string|null The object type (optional, default: called class name)
* *
@ -2017,7 +2017,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
* - Optional arguments : * - Optional arguments :
* - -r|--raw-values : show raw values (instead of display ones) * - -r|--raw-values : show raw values (instead of display ones)
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
public static function cli_show($command_args) { public static function cli_show($command_args) {
$objType = null; $objType = null;
@ -2297,7 +2297,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
* - Optional arguments : * - Optional arguments :
* - -N|--no-confirm : Do not ask for confirmation * - -N|--no-confirm : Do not ask for confirmation
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
public static function cli_remove($command_args) { public static function cli_remove($command_args) {
$objType = null; $objType = null;
@ -2446,7 +2446,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
* Note: for multiple-values attributes, you also could specify attribute and value * Note: for multiple-values attributes, you also could specify attribute and value
* multiple time, for instance : attr1=value1 attr1=value2 * multiple time, for instance : attr1=value1 attr1=value2
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
public static function cli_create($command_args) { public static function cli_create($command_args) {
$objType = null; $objType = null;
@ -2609,7 +2609,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
* Note: for multiple-values attributes, you also could specify attribute and value * Note: for multiple-values attributes, you also could specify attribute and value
* multiple time, for instance : attr1=value1 attr1=value2 * multiple time, for instance : attr1=value1 attr1=value2
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
public static function cli_modify($command_args) { public static function cli_modify($command_args) {
$objType = null; $objType = null;
@ -2789,7 +2789,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
* - -a|--add : Add related object (specified by DN) * - -a|--add : Add related object (specified by DN)
* - -r|--remove : Remove related object (specified by DN) * - -r|--remove : Remove related object (specified by DN)
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
public static function cli_relation($command_args) { public static function cli_relation($command_args) {
$objType = null; $objType = null;

View file

@ -228,7 +228,7 @@ class LSlog_handler extends LSlog_staticLoggerClass {
} }
/** /**
* Helper to retreive current LDAP server name * Helper to retrieve current LDAP server name
* *
* @retval string Current LDAP server name * @retval string Current LDAP server name
**/ **/
@ -243,7 +243,7 @@ class LSlog_handler extends LSlog_staticLoggerClass {
} }
/** /**
* Helper to retreive current authenticated user DN * Helper to retrieve current authenticated user DN
* *
* @retval string Current authenticated user DN * @retval string Current authenticated user DN
**/ **/

View file

@ -894,10 +894,10 @@ class LSrelation extends LSlog_staticLoggerClass {
return; return;
} }
// Retreive selected object from LSselect // Retrieve selected object from LSselect
$selected_objects = LSselect :: getSelectedObjects($_REQUEST['id']); $selected_objects = LSselect :: getSelectedObjects($_REQUEST['id']);
if (!is_array($selected_objects)) { if (!is_array($selected_objects)) {
self :: log_warning("Fail to retreive selected object from LSselect"); self :: log_warning("Fail to retrieve selected object from LSselect");
return; return;
} }
self :: log_debug('Selected objects: '.varDump($selected_objects)); self :: log_debug('Selected objects: '.varDump($selected_objects));

View file

@ -983,7 +983,7 @@ class LSsearch extends LSlog_staticLoggerClass {
self :: log_debug($this.' -> run(): Cache enabled'); self :: log_debug($this.' -> run(): Cache enabled');
$this -> result = $this -> getResultFromCache(); $this -> result = $this -> getResultFromCache();
if ($this -> result) if ($this -> result)
self :: log_debug($this.' -> run(): result retreived from cache'); self :: log_debug($this.' -> run(): result retrieved from cache');
else else
self :: log_debug($this.' -> run(): result not found in cache'); self :: log_debug($this.' -> run(): result not found in cache');
} }
@ -1495,7 +1495,7 @@ class LSsearch extends LSlog_staticLoggerClass {
* - -e|--extra-columns : Display extra columns * - -e|--extra-columns : Display extra columns
* - -p|--page : page number to show (starting by 1, default: first one) * - -p|--page : page number to show (starting by 1, default: first one)
* *
* @retval boolean True on succes, false otherwise * @retval boolean True on success, false otherwise
**/ **/
public static function cli_search($command_args) { public static function cli_search($command_args) {
$objType = null; $objType = null;
@ -1622,7 +1622,7 @@ class LSsearch extends LSlog_staticLoggerClass {
if ($all) { if ($all) {
$entries = $search -> listEntries(); $entries = $search -> listEntries();
if (!is_array($entries)) if (!is_array($entries))
self :: log_fatal("Fail to retreive search result"); self :: log_fatal("Fail to retrieve search result");
} }
else { else {
// Retrieve page // Retrieve page
@ -1638,7 +1638,7 @@ class LSsearch extends LSlog_staticLoggerClass {
// Check page // Check page
if (!is_array($page) || $page_nb > $page['nbPages']) if (!is_array($page) || $page_nb > $page['nbPages'])
self :: log_fatal("Fail to retreive page #$page_nb."); self :: log_fatal("Fail to retrieve page #$page_nb.");
} }
// Handle JSON output // Handle JSON output

View file

@ -239,7 +239,7 @@ class LSsearchEntry extends LSlog_staticLoggerClass {
elseif (array_key_exists($key,$this->params['customInfos'])) { elseif (array_key_exists($key,$this->params['customInfos'])) {
$cache = $this -> getConfig("customInfos.$key.cache", true, 'bool'); $cache = $this -> getConfig("customInfos.$key.cache", true, 'bool');
if($cache && isset($this -> cache['customInfos'][$key])) { if($cache && isset($this -> cache['customInfos'][$key])) {
self :: log_debug("__get($key): custom info retreived from cache"); self :: log_debug("__get($key): custom info retrieved from cache");
return $this -> cache['customInfos'][$key]; return $this -> cache['customInfos'][$key];
} }
if(is_array($this->params['customInfos'][$key]['function']) && is_string($this->params['customInfos'][$key]['function'][0])) { if(is_array($this->params['customInfos'][$key]['function']) && is_string($this->params['customInfos'][$key]['function'][0])) {

File diff suppressed because it is too large Load diff

View file

@ -293,7 +293,7 @@ class LSurl extends LSlog_staticLoggerClass {
} }
/** /**
* Helpers to retreive current requested URL * Helpers to retrieve current requested URL
*/ */
/* /*

View file

@ -324,216 +324,216 @@ function LSdebugDefined() {
); );
} }
/** /**
* Vérifie la compatibilite des DN * Vérifie la compatibilite des DN
* *
* Vérifie que les DNs sont dans la même branche de l'annuaire. * Vérifie que les DNs sont dans la même branche de l'annuaire.
* *
* @param[in] $dn Un premier DN. * @param[in] $dn Un premier DN.
* @param[in] $dn Un deuxième DN. * @param[in] $dn Un deuxième DN.
* *
* @author Benjamin Renard <brenard@easter-eggs.com> * @author Benjamin Renard <brenard@easter-eggs.com>
* *
* @retval boolean true si les DN sont compatibles, false sinon. * @retval boolean true si les DN sont compatibles, false sinon.
*/ */
function isCompatibleDNs($dn1,$dn2) { function isCompatibleDNs($dn1,$dn2) {
$infos1=ldap_explode_dn($dn1,0); $infos1=ldap_explode_dn($dn1,0);
if(!$infos1) if(!$infos1)
return; return;
$infos2=ldap_explode_dn($dn2,0); $infos2=ldap_explode_dn($dn2,0);
if(!$infos2) if(!$infos2)
return; return;
if($infos2['count']>$infos1['count']) { if($infos2['count']>$infos1['count']) {
$tmp=$infos1; $tmp=$infos1;
$infos1=$infos2; $infos1=$infos2;
$infos2=$tmp; $infos2=$tmp;
} }
$infos1=array_reverse($infos1); $infos1=array_reverse($infos1);
$infos2=array_reverse($infos2); $infos2=array_reverse($infos2);
for($i=0;$i<$infos1['count'];$i++) { for($i=0;$i<$infos1['count'];$i++) {
if (!isset($infos2[$i])) continue; if (!isset($infos2[$i])) continue;
if($infos1[$i]==$infos2[$i]) continue; if($infos1[$i]==$infos2[$i]) continue;
return false; return false;
}
return true;
}
/**
* Fait la somme de DN
*
* Retourne un DN qui correspond au point de séparation des DN si les DN
* ne sont pas dans la meme dans la meme branche ou le dn le plus long sinon.
*
* @param[in] $dn Un premier DN.
* @param[in] $dn Un deuxième DN.
*
* @author Benjamin Renard <brenard@easter-eggs.com>
*
* @retval string Un DN (ou false si les DN ne sont pas valide)
*/
function sumDn($dn1,$dn2) {
$infos1=ldap_explode_dn($dn1,0);
if(!$infos1)
return;
$infos2=ldap_explode_dn($dn2,0);
if(!$infos2)
return;
if($infos2['count']>$infos1['count']) {
$tmp=$infos1;
$infos1=$infos2;
$infos2=$tmp;
}
$infos1=array_reverse($infos1);
$infos2=array_reverse($infos2);
$first=true;
$basedn='';
for($i=0;$i<$infos1['count'];$i++) {
if(($infos1[$i]==$infos2[$i])||(!isset($infos2[$i]))) {
if($first) {
$basedn=$infos1[$i];
$first=false;
}
else
$basedn=$infos1[$i].','.$basedn;
} }
return true; else {
return $basedn;
}
}
return $basedn;
}
function checkEmail($value,$domain=NULL,$checkDns=true) {
$log = LSlog :: get_logger('checkEmail');
$regex = '/^((\"[^\"\f\n\r\t\v\b]+\")|([\w\!\#\$\%\&\'\*\+\-\~\/\^\`\|\{\}]+(\.[\w\!\#\$\%\&\'\*\+\-\~\/\^\`\|\{\}]+)*))@((\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9\-])+\.)+[A-Za-z\-]+))$/';
if (!preg_match($regex, $value)) {
$log -> debug("'$value': regex fail");
return false;
} }
/** $nd = explode('@', $value);
* Fait la somme de DN $nd=$nd[1];
*
* Retourne un DN qui correspond au point de séparation des DN si les DN
* ne sont pas dans la meme dans la meme branche ou le dn le plus long sinon.
*
* @param[in] $dn Un premier DN.
* @param[in] $dn Un deuxième DN.
*
* @author Benjamin Renard <brenard@easter-eggs.com>
*
* @retval string Un DN (ou false si les DN ne sont pas valide)
*/
function sumDn($dn1,$dn2) {
$infos1=ldap_explode_dn($dn1,0);
if(!$infos1)
return;
$infos2=ldap_explode_dn($dn2,0);
if(!$infos2)
return;
if($infos2['count']>$infos1['count']) {
$tmp=$infos1;
$infos1=$infos2;
$infos2=$tmp;
}
$infos1=array_reverse($infos1);
$infos2=array_reverse($infos2);
$first=true; if ($domain) {
$basedn=''; if(is_array($domain)) {
for($i=0;$i<$infos1['count'];$i++) { if (!in_array($nd,$domain)) {
if(($infos1[$i]==$infos2[$i])||(!isset($infos2[$i]))) { $log -> debug("'$value': domain '$nd' not authorized. Allowed domains: '".implode("', '", $domain)."'");
if($first) {
$basedn=$infos1[$i];
$first=false;
}
else
$basedn=$infos1[$i].','.$basedn;
}
else {
return $basedn;
}
}
return $basedn;
}
function checkEmail($value,$domain=NULL,$checkDns=true) {
$log = LSlog :: get_logger('checkEmail');
$regex = '/^((\"[^\"\f\n\r\t\v\b]+\")|([\w\!\#\$\%\&\'\*\+\-\~\/\^\`\|\{\}]+(\.[\w\!\#\$\%\&\'\*\+\-\~\/\^\`\|\{\}]+)*))@((\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9\-])+\.)+[A-Za-z\-]+))$/';
if (!preg_match($regex, $value)) {
$log -> debug("'$value': regex fail");
return false;
}
$nd = explode('@', $value);
$nd=$nd[1];
if ($domain) {
if(is_array($domain)) {
if (!in_array($nd,$domain)) {
$log -> debug("'$value': domain '$nd' not authorized. Allowed domains: '".implode("', '", $domain)."'");
return false;
}
}
else {
if($nd!=$domain) {
$log -> debug("'$value': domain '$nd' not authorized. Allowed domains: '$domain'");
return false;
}
}
}
if ($checkDns && function_exists('checkdnsrr')) {
if (!(checkdnsrr($nd, 'MX') || checkdnsrr($nd, 'A'))) {
$log -> debug("'$value': DNS check fail");
return false; return false;
} }
} }
else {
$log -> debug("'$value': validated"); if($nd!=$domain) {
return true; $log -> debug("'$value': domain '$nd' not authorized. Allowed domains: '$domain'");
} return false;
function generatePassword($chars=NULL,$lenght=NULL) {
if (!$lenght) {
$lenght=8;
}
if (is_array($chars)) {
$retval='';
foreach($chars as $chs) {
if (!is_array($chs)) {
$chs=array('chars' => $chs);
}
if (!isset($chs['nb']) || !is_int($chs['nb'])) {
$chs['nb']=1;
}
$retval.=aleaChar($chs['chars'],$chs['nb']);
} }
$add = ($lenght-strlen($retval));
if ($add > 0) {
$retval .= aleaChar($chars,$add);
}
return str_shuffle($retval);
} else {
return aleaChar($chars,$lenght);
} }
} }
function aleaChar($chars=NULL,$lenght=1) { if ($checkDns && function_exists('checkdnsrr')) {
if (is_array($chars)) { if (!(checkdnsrr($nd, 'MX') || checkdnsrr($nd, 'A'))) {
$nchars=""; $log -> debug("'$value': DNS check fail");
foreach($chars as $chs) { return false;
if (is_string($chs)) {
$nchars.=$chs;
}
else if (is_string($chs['chars'])) {
$nchars.=$chs['chars'];
}
}
if(is_string($chars) && strlen($chars)>0) {
$chars=$nchars;
}
else {
$chars=NULL;
}
} }
if (!$chars) {
$chars='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-';
}
$nbChars=strlen($chars);
$retval="";
if(is_int($lenght)) {
for ($i=0;$i<$lenght;$i++) {
$retval.=$chars[rand(0,$nbChars-1)];
}
}
return $retval;
} }
function compareDn($a,$b) { $log -> debug("'$value': validated");
if (substr_count($a,',') > substr_count($b,',')) return true;
return -1; }
else
return 1;
}
/** function generatePassword($chars=NULL,$lenght=NULL) {
* Translate message by using LSlang or Gettext methods if (!$lenght) {
* $lenght=8;
* @param[in] @msg string The message }
* if (is_array($chars)) {
* @retval string The translated message if translation available, the original message otherwise $retval='';
**/ foreach($chars as $chs) {
function __($msg) { if (!is_array($chs)) {
if (empty($msg)) return $msg; $chs=array('chars' => $chs);
if (isset($GLOBALS['LSlang'][$msg])) { }
return $GLOBALS['LSlang'][$msg]; if (!isset($chs['nb']) || !is_int($chs['nb'])) {
$chs['nb']=1;
}
$retval.=aleaChar($chs['chars'],$chs['nb']);
} }
return _($msg); $add = ($lenght-strlen($retval));
if ($add > 0) {
$retval .= aleaChar($chars,$add);
}
return str_shuffle($retval);
} else {
return aleaChar($chars,$lenght);
} }
}
/** function aleaChar($chars=NULL,$lenght=1) {
* Non-translate message if (is_array($chars)) {
* $nchars="";
* Just-return the input message. This function permit the detection of message foreach($chars as $chs) {
* that will be translated only at display time and not at declare time. if (is_string($chs)) {
* $nchars.=$chs;
* @param[in] @msg string The message }
* else if (is_string($chs['chars'])) {
* @retval string The message (unchanged) $nchars.=$chs['chars'];
**/ }
function ___($msg) { }
return $msg; if(is_string($chars) && strlen($chars)>0) {
$chars=$nchars;
}
else {
$chars=NULL;
}
} }
if (!$chars) {
$chars='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-';
}
$nbChars=strlen($chars);
$retval="";
if(is_int($lenght)) {
for ($i=0;$i<$lenght;$i++) {
$retval.=$chars[rand(0,$nbChars-1)];
}
}
return $retval;
}
function compareDn($a,$b) {
if (substr_count($a,',') > substr_count($b,','))
return -1;
else
return 1;
}
/**
* Translate message by using LSlang or Gettext methods
*
* @param[in] @msg string The message
*
* @retval string The translated message if translation available, the original message otherwise
**/
function __($msg) {
if (empty($msg)) return $msg;
if (isset($GLOBALS['LSlang'][$msg])) {
return $GLOBALS['LSlang'][$msg];
}
return _($msg);
}
/**
* Non-translate message
*
* Just-return the input message. This function permit the detection of message
* that will be translated only at display time and not at declare time.
*
* @param[in] @msg string The message
*
* @retval string The message (unchanged)
**/
function ___($msg) {
return $msg;
}
// Try to load unidecode library // Try to load unidecode library
if (!function_exists('unidecode')) { if (!function_exists('unidecode')) {

View file

@ -343,7 +343,7 @@ LSurl :: add_handler('#^tmp/(?P<filename>[^/]+)$#', 'handle_tmp_file', true, tru
*/ */
/* /*
* LSobject view helper to retreive LSobject from request * LSobject view helper to retrieve LSobject from request
* *
* This helper load LSobject type from 'LSobject' request * This helper load LSobject type from 'LSobject' request
* parameter, check user access. If instanciate parameter * parameter, check user access. If instanciate parameter
@ -495,7 +495,7 @@ function handle_LSobject_search($request) {
$LSsearch -> run(); $LSsearch -> run();
$LSsearch -> redirectWhenOnlyOneResult(); $LSsearch -> redirectWhenOnlyOneResult();
// Handle page parameter and retreive corresponding page from search // Handle page parameter and retrieve corresponding page from search
$page_nb = (isset($_REQUEST['page'])?(int)$_REQUEST['page']:1); $page_nb = (isset($_REQUEST['page'])?(int)$_REQUEST['page']:1);
$page = $LSsearch -> getPage($page_nb); $page = $LSsearch -> getPage($page_nb);
@ -690,7 +690,7 @@ function handle_LSobject_select($request) {
(isset($_REQUEST['LSobject'])?$_REQUEST['LSobject']:null) (isset($_REQUEST['LSobject'])?$_REQUEST['LSobject']:null)
); );
if (!$LSsearch) if (!$LSsearch)
LSlog :: fatal('Fail to retreive search from context.'); LSlog :: fatal('Fail to retrieve search from context.');
$LSobject = $LSsearch -> LSobject; $LSobject = $LSsearch -> LSobject;
$object = new $LSobject(); $object = new $LSobject();
@ -1529,7 +1529,7 @@ LSurl :: add_handler('#^addon_view\.php#', 'handle_old_addon_view', false);
*/ */
/* /*
* LSobject API view helper to retreive LSobject from request * LSobject API view helper to retrieve LSobject from request
* *
* Just a wrapper on get_LSobject_from_request() helper function to * Just a wrapper on get_LSobject_from_request() helper function to
* correctly set parameters for API context. * correctly set parameters for API context.
@ -1595,7 +1595,7 @@ function handle_api_LSobject_search($request) {
if ($all) { if ($all) {
$entries = $search -> listEntries(); $entries = $search -> listEntries();
if (!is_array($entries)) if (!is_array($entries))
LSlog :: fatal("Fail to retreive search result"); LSlog :: fatal("Fail to retrieve search result");
} }
else { else {
// Retrieve page // Retrieve page
@ -1613,7 +1613,7 @@ function handle_api_LSobject_search($request) {
// Check page // Check page
if (!is_array($page) || $page_nb > $page['nbPages']) if (!is_array($page) || $page_nb > $page['nbPages'])
LSlog :: fatal("Fail to retreive page #$page_nb."); LSlog :: fatal("Fail to retrieve page #$page_nb.");
} }
// Handle JSON output // Handle JSON output

View file

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: LdapSaisie\n" "Project-Id-Version: LdapSaisie\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: 2021-07-21 19:28+0200\n" "PO-Revision-Date: 2021-08-25 18:02+0200\n"
"Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n" "Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n"
"Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise." "Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise."
"org>\n" "org>\n"
@ -747,7 +747,7 @@ msgstr ""
"LSformElement_valueWithUnit : La configuration des unités est manquante pour " "LSformElement_valueWithUnit : La configuration des unités est manquante pour "
"l'attribut %{attr}." "l'attribut %{attr}."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html.php:143 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html.php:164
msgid "" msgid ""
"LSattr_html : The method addToForm() of the HTML type of the attribute " "LSattr_html : The method addToForm() of the HTML type of the attribute "
"%{attr} is not defined." "%{attr} is not defined."
@ -755,12 +755,10 @@ msgstr ""
"LSattr_html : La méthode addToForm() du type HTML de l'attribut %{attr} " "LSattr_html : La méthode addToForm() du type HTML de l'attribut %{attr} "
"n'est pas encore définie." "n'est pas encore définie."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html.php:147 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html.php:168
msgid "" msgid "%{type} : Multiple data are not supported for this field type."
"LSattr_html_%{type} : Multiple data are not supported for this field type."
msgstr "" msgstr ""
"LSattr_html_%{type} : Les données multiples ne sont pas supportées pour ce " "%{type} : Les données multiples ne sont pas supportées pour ce type de champ."
"type de champ."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_supannCompositeAttribute.php:186 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_supannCompositeAttribute.php:186
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSrelation.php:701 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSrelation.php:701
@ -914,7 +912,7 @@ msgstr ""
"LStemplate : Erreur durant l'exécution du déclencheur %{callable} lors de " "LStemplate : Erreur durant l'exécution du déclencheur %{callable} lors de "
"événement %{event}." "événement %{event}."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:399 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:400
msgid "" msgid ""
"LSattr_html_select_object : parameter '%{parameter}' is missing (attribute : " "LSattr_html_select_object : parameter '%{parameter}' is missing (attribute : "
"%{attr})." "%{attr})."
@ -922,7 +920,7 @@ msgstr ""
"LSattr_html_select_objet : Le type paramètre %{parameter} n'est pas définie " "LSattr_html_select_objet : Le type paramètre %{parameter} n'est pas définie "
"(attribut : %{attr})." "(attribut : %{attr})."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:402 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:403
msgid "" msgid ""
"LSattr_html_select_object : the value of the parameter value_attribute in " "LSattr_html_select_object : the value of the parameter value_attribute in "
"the configuration of the attribute %{attr} is incorrect. Object " "the configuration of the attribute %{attr} is incorrect. Object "
@ -932,7 +930,7 @@ msgstr ""
"configuration de l'attribut %{attr} est incorrecte. Les objets " "configuration de l'attribut %{attr} est incorrecte. Les objets "
"%{object_type} n'ont pas d'attribut %{value_attribute}." "%{object_type} n'ont pas d'attribut %{value_attribute}."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:405 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:406
msgid "" msgid ""
"LSattr_html_select_object : more than one object returned corresponding to " "LSattr_html_select_object : more than one object returned corresponding to "
"value %{val} of attribute %{attr}." "value %{val} of attribute %{attr}."
@ -940,7 +938,7 @@ msgstr ""
"LSattr_html_select_objet : plus d'un objet retourné en correspondance à la " "LSattr_html_select_objet : plus d'un objet retourné en correspondance à la "
"valeur %{val} de l'attribut %{attr}." "valeur %{val} de l'attribut %{attr}."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:408 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:409
msgid "" msgid ""
"LSattr_html_select_object : selection of object type %{type} is configured " "LSattr_html_select_object : selection of object type %{type} is configured "
"multiple time for attribute %{attr}." "multiple time for attribute %{attr}."
@ -948,7 +946,7 @@ msgstr ""
"LSattr_html_select_objet : La sélection du type d'objet %{type} est " "LSattr_html_select_objet : La sélection du type d'objet %{type} est "
"configurée plusieurs fois pour l'attribut %{attr}." "configurée plusieurs fois pour l'attribut %{attr}."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:411 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:412
msgid "" msgid ""
"LSattr_html_select_object : the value '%{value}' seem to be duplicated in " "LSattr_html_select_object : the value '%{value}' seem to be duplicated in "
"values of the attribute %{attr}." "values of the attribute %{attr}."
@ -956,7 +954,7 @@ msgstr ""
"LSattr_html_select_objet : La valeur '%{value}' semble dupliquée dans les " "LSattr_html_select_objet : La valeur '%{value}' semble dupliquée dans les "
"valeurs de l'attribut %{attr}." "valeurs de l'attribut %{attr}."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:414 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:415
msgid "" msgid ""
"LSattr_html_select_object : selected object %{name} has no attribute %{attr} " "LSattr_html_select_object : selected object %{name} has no attribute %{attr} "
"value, you can't select it." "value, you can't select it."
@ -1093,56 +1091,56 @@ msgstr ""
msgid "Clear" msgid "Clear"
msgstr "Nettoyer" msgstr "Nettoyer"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:374 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:381
msgid "Copy to clipboard" msgid "Copy to clipboard"
msgstr "Copier dans le presse-papier" msgstr "Copier dans le presse-papier"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:375 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:382
msgid "Copied!" msgid "Copied!"
msgstr "Copié !" msgstr "Copié !"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1464 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1504
msgid "Connection" msgid "Connection"
msgstr "Connexion" msgstr "Connexion"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1486 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1524
msgid "Recovery of your credentials" msgid "Recovery of your credentials"
msgstr "Récupération de votre mot de passe" msgstr "Récupération de votre mot de passe"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1495 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1533
msgid "Please fill the identifier field to proceed recovery procedure" msgid "Please fill the identifier field to proceed recovery procedure"
msgstr "" msgstr ""
"Merci d'entrer votre identifiant pour poursuivre la procédure de récupération" "Merci d'entrer votre identifiant pour poursuivre la procédure de récupération"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1500 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1538
msgid "" msgid ""
"An email has been sent to %{mail}. Please follow the instructions on it." "An email has been sent to %{mail}. Please follow the instructions on it."
msgstr "" msgstr ""
"Un e-mail vient de vous être envoyé à l'adresse %{mail}. Merci de suivre les " "Un e-mail vient de vous être envoyé à l'adresse %{mail}. Merci de suivre les "
"indications qu'il contient." "indications qu'il contient."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1509 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1547
msgid "Your new password has been sent to %{mail}." msgid "Your new password has been sent to %{mail}."
msgstr "Votre nouveau mot de passe vous a été envoyé à l'adresse %{mail}." msgstr "Votre nouveau mot de passe vous a été envoyé à l'adresse %{mail}."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1680 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1717
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:156 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:156
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:467 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:467
#: templates/default/select.tpl:29 #: templates/default/select.tpl:29
msgid "Refresh" msgid "Refresh"
msgstr "Rafraîchir" msgstr "Rafraîchir"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2762 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2811
#: templates/default/select.tpl:20 templates/default/recoverpassword.tpl:17 #: templates/default/select.tpl:20 templates/default/recoverpassword.tpl:17
#: templates/default/login.tpl:16 #: templates/default/login.tpl:16
msgid "Level" msgid "Level"
msgstr "Niveau" msgstr "Niveau"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2920 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2979
msgid "LSsession : The constant '%{const}' is not defined." msgid "LSsession : The constant '%{const}' is not defined."
msgstr "LSsession : La constante '%{const}' n'est pas définie." msgstr "LSsession : La constante '%{const}' n'est pas définie."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2923 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2982
msgid "" msgid ""
"LSsession : The addon '%{addon}' support is uncertain. Verify system " "LSsession : The addon '%{addon}' support is uncertain. Verify system "
"compatibility and the add-on configuration." "compatibility and the add-on configuration."
@ -1150,53 +1148,53 @@ msgstr ""
"LSsession : Le support de l'addon '%{addon}' est incertain. Vérifiez la " "LSsession : Le support de l'addon '%{addon}' est incertain. Vérifiez la "
"compatibilité du système et la configuration de l'add-on." "compatibilité du système et la configuration de l'add-on."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2926 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2985
msgid "" msgid ""
"LSsession : LDAP server's configuration data are invalid. Can't connect." "LSsession : LDAP server's configuration data are invalid. Can't connect."
msgstr "" msgstr ""
"LSsession : Les données de configuration du serveur LDAP sont invalide. " "LSsession : Les données de configuration du serveur LDAP sont invalide. "
"Impossible de s'y connecter." "Impossible de s'y connecter."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2929 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2988
msgid "LSsession : Failed to load LSobject type '%{type}' : unknon type." msgid "LSsession : Failed to load LSobject type '%{type}' : unknon type."
msgstr "" msgstr ""
"LSsession : Impossible de charger le type d'LSobject '%{type}' : type " "LSsession : Impossible de charger le type d'LSobject '%{type}' : type "
"inconnu." "inconnu."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2932 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2991
msgid "LSsession : Failed to load LSclass '%{class}'." msgid "LSsession : Failed to load LSclass '%{class}'."
msgstr "LSsession : Impossible de charger la LSclass '%{class}'." msgstr "LSsession : Impossible de charger la LSclass '%{class}'."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2935 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2994
msgid "LSsession : Login or password incorrect." msgid "LSsession : Login or password incorrect."
msgstr "LSsession : Identifiant ou mot de passe incorrects." msgstr "LSsession : Identifiant ou mot de passe incorrects."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2938 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2997
msgid "LSsession : Impossible to identify you : Duplication of identities." msgid "LSsession : Impossible to identify you : Duplication of identities."
msgstr "LSsession : Impossible de vous identifier : Duplication d'identité." msgstr "LSsession : Impossible de vous identifier : Duplication d'identité."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2941 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3000
msgid "LSsession : Can't load class of authentification (%{class})." msgid "LSsession : Can't load class of authentification (%{class})."
msgstr "" msgstr ""
"LSsession : Impossible de charger la classe d'authentification (%{class})." "LSsession : Impossible de charger la classe d'authentification (%{class})."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2944 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3003
msgid "LSsession : Can't connect to LDAP server." msgid "LSsession : Can't connect to LDAP server."
msgstr "LSsession : Impossible de se connecter au serveur LDAP." msgstr "LSsession : Impossible de se connecter au serveur LDAP."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2947 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3006
msgid "LSsession : Impossible to authenticate you." msgid "LSsession : Impossible to authenticate you."
msgstr "LSsession : Impossible de vous identifier." msgstr "LSsession : Impossible de vous identifier."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2950 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3009
msgid "LSsession : Your are not authorized to do this action." msgid "LSsession : Your are not authorized to do this action."
msgstr "LSsession : Vous n'êtes pas autorisé à faire cette action." msgstr "LSsession : Vous n'êtes pas autorisé à faire cette action."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2953 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3012
msgid "LSsession : Some informations are missing to display this page." msgid "LSsession : Some informations are missing to display this page."
msgstr "LSsession : Des informations sont manquant pour afficher cette page." msgstr "LSsession : Des informations sont manquant pour afficher cette page."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2956 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3015
msgid "" msgid ""
"LSsession : The function '%{function}' of the custom action " "LSsession : The function '%{function}' of the custom action "
"'%{customAction}' does not exists or is not configured." "'%{customAction}' does not exists or is not configured."
@ -1204,24 +1202,24 @@ msgstr ""
"LSsession : La fonction '%{function}' de l'action personnalisée " "LSsession : La fonction '%{function}' de l'action personnalisée "
"'%{customAction}' n'existe pas ou n'est pas configurée." "'%{customAction}' n'existe pas ou n'est pas configurée."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2959 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3018
msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth." msgid "LSsession : Fail to retrieve user's LDAP credentials from LSauth."
msgstr "" msgstr ""
"LSsession : Erreur en récupérant les identifiants LDAP de l'utilisateur " "LSsession : Erreur en récupérant les identifiants LDAP de l'utilisateur "
"depuis LSauth." "depuis LSauth."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2962 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3021
msgid "" msgid ""
"LSsession : Fail to reconnect to LDAP server with user's LDAP credentials." "LSsession : Fail to reconnect to LDAP server with user's LDAP credentials."
msgstr "" msgstr ""
"LSsession : Impossible de se reconnecter au serveur LDAP avec les " "LSsession : Impossible de se reconnecter au serveur LDAP avec les "
"identifiants de l'utilisateur." "identifiants de l'utilisateur."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2965 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3024
msgid "LSsession : No import/export format define for this object type." 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." msgstr "LSsession : Aucun format d'entrée/sortie définie pour ce type d'objet."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2968 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3027
msgid "" msgid ""
"LSsession : Error during creation of list of levels. Contact administrators. " "LSsession : Error during creation of list of levels. Contact administrators. "
"(Code : %{code})" "(Code : %{code})"
@ -1229,13 +1227,13 @@ msgstr ""
"LSsession : Erreur durant la création de la liste des niveaux. Contacter les " "LSsession : Erreur durant la création de la liste des niveaux. Contacter les "
"administrateurs. (Code : %{type})" "administrateurs. (Code : %{type})"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2971 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3030
msgid "LSsession : The password recovery is disabled for this LDAP server." msgid "LSsession : The password recovery is disabled for this LDAP server."
msgstr "" msgstr ""
"LSsession : La récupération de mot de passe est désactivée pour ce serveur " "LSsession : La récupération de mot de passe est désactivée pour ce serveur "
"LDAP." "LDAP."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2974 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3033
msgid "" msgid ""
"LSsession : Some informations are missing to recover your password. Contact " "LSsession : Some informations are missing to recover your password. Contact "
"administrators." "administrators."
@ -1243,7 +1241,7 @@ msgstr ""
"LSsession : Des informations sont manques pour pouvoir récupérer votre mot " "LSsession : Des informations sont manques pour pouvoir récupérer votre mot "
"de passe. Contacter les administrateurs." "de passe. Contacter les administrateurs."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2977 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3036
msgid "" msgid ""
"LSsession : Error during password recovery. Contact administrators.(Step : " "LSsession : Error during password recovery. Contact administrators.(Step : "
"%{step})" "%{step})"
@ -1251,7 +1249,7 @@ msgstr ""
"LSsession : Erreur durant la récupération de votre mot de passe. Contacter " "LSsession : Erreur durant la récupération de votre mot de passe. Contacter "
"les administrateurs. (Etape : %{step})" "les administrateurs. (Etape : %{step})"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2980 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3039
msgid "" msgid ""
"LSsession : The function '%{func}' configured for the view '%{view}' of the " "LSsession : The function '%{func}' configured for the view '%{view}' of the "
"LSaddon '%{addon}' is not declared in the LSaddon file." "LSaddon '%{addon}' is not declared in the LSaddon file."
@ -1259,11 +1257,11 @@ msgstr ""
"LSsession : la fonction '%{func}' configurée pour la vue '%{view}' du " "LSsession : la fonction '%{func}' configurée pour la vue '%{view}' du "
"LSaddon '%{addon}' n'est pas déclaré dans le fichier du LSaddon." "LSaddon '%{addon}' n'est pas déclaré dans le fichier du LSaddon."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2983 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3042
msgid "LSsession : Failed to load resource file '%{file}'." msgid "LSsession : Failed to load resource file '%{file}'."
msgstr "LSsession : Impossible de charger le fichier de ressource '%{file}'." msgstr "LSsession : Impossible de charger le fichier de ressource '%{file}'."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2986 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3045
msgid "" msgid ""
"LSsession : The function '%{func}' configured for the view '%{view}' of the " "LSsession : The function '%{func}' configured for the view '%{view}' of the "
"LSaddon '%{addon}' doesn't exist." "LSaddon '%{addon}' doesn't exist."
@ -1271,11 +1269,11 @@ msgstr ""
"LSsession : la fonction '%{func}' configurée pour la vue '%{view}' du " "LSsession : la fonction '%{func}' configurée pour la vue '%{view}' du "
"LSaddon '%{addon}' n'existe pas." "LSaddon '%{addon}' n'existe pas."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2989 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3048
msgid "LSsession : invalid related object's DN pass in parameter." msgid "LSsession : invalid related object's DN pass in parameter."
msgstr "LSsession : DN d'objet en relation incorrect dans les paramètres." msgstr "LSsession : DN d'objet en relation incorrect dans les paramètres."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2992 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3051
msgid "" msgid ""
"LSsession : the LSaddon %{addon} keep using old-style addon view URL. Please " "LSsession : the LSaddon %{addon} keep using old-style addon view URL. Please "
"upgrade it." "upgrade it."
@ -1283,7 +1281,7 @@ msgstr ""
"LSsession : le LSaddon %{addon} utilise toujours l'ancien type d'URL de " "LSsession : le LSaddon %{addon} utilise toujours l'ancien type d'URL de "
"vues. Merci de le mettre à jour." "vues. Merci de le mettre à jour."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2995 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3054
msgid "" msgid ""
"LSsession : You have been redirect from an old-style URL %{url}. Please " "LSsession : You have been redirect from an old-style URL %{url}. Please "
"upgrade this link." "upgrade this link."
@ -1291,7 +1289,7 @@ msgstr ""
"LSsession : Vous avez été redirigé depuis une ancienne URL %{url}. Merci de " "LSsession : Vous avez été redirigé depuis une ancienne URL %{url}. Merci de "
"le mettre à jour ce lien." "le mettre à jour ce lien."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2998 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3057
msgid "" msgid ""
"LSsession : You always seem to use %{old} in your custom code: Please " "LSsession : You always seem to use %{old} in your custom code: Please "
"upgrade it and use %{new}.<pre>\n" "upgrade it and use %{new}.<pre>\n"
@ -1793,37 +1791,37 @@ msgstr ""
"LSrelation : Le paramètre '%{parameter}' est invalide dans la configuration " "LSrelation : Le paramètre '%{parameter}' est invalide dans la configuration "
"de la relation %{relation} des objets %{LSobject}." "de la relation %{relation} des objets %{LSobject}."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:85 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:93
msgid "%{label}: passwords entered did not match." msgid "%{label}: passwords entered did not match."
msgstr "%{label} : les mots de passe saisies ne correspondent pas." msgstr "%{label} : les mots de passe saisies ne correspondent pas."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:133 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:143
msgid "%{label}: invalid email address provided to send new password." msgid "%{label}: invalid email address provided to send new password."
msgstr "" msgstr ""
"%{label} : une adresse mail invalide a été fournie pour l'envoi du nouveau " "%{label} : une adresse mail invalide a été fournie pour l'envoi du nouveau "
"mot de passe." "mot de passe."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:170 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:181
msgid "Generate a password." msgid "Generate a password."
msgstr "Générer un mot de passe." msgstr "Générer un mot de passe."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:171 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:182
msgid "Compare with stored password." msgid "Compare with stored password."
msgstr "Comparer avec le mot de passe stocké." msgstr "Comparer avec le mot de passe stocké."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:172 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:183
msgid "Display password." msgid "Display password."
msgstr "Afficher le mot de passe." msgstr "Afficher le mot de passe."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:173 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:184
msgid "Display hashed password." msgid "Display hashed password."
msgstr "Afficher le mot de passe haché." msgstr "Afficher le mot de passe haché."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:174 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:185
msgid "Hide password." msgid "Hide password."
msgstr "Cacher le mot de passe." msgstr "Cacher le mot de passe."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:175 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:186
msgid "" msgid ""
"The password will be sent by mail if changed. Click to disable automatic " "The password will be sent by mail if changed. Click to disable automatic "
"notification." "notification."
@ -1831,7 +1829,7 @@ msgstr ""
"Le mot de passe sera envoyé par e-mail en cas de modification. Cliquer pour " "Le mot de passe sera envoyé par e-mail en cas de modification. Cliquer pour "
"désactiver la notification." "désactiver la notification."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:176 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:187
msgid "" msgid ""
"The password will not be sent if changed. Click to enable automatic " "The password will not be sent if changed. Click to enable automatic "
"notification." "notification."
@ -1839,23 +1837,23 @@ msgstr ""
"Le mot de passe ne sera pas envoyé en cas de modification. Cliquer pour " "Le mot de passe ne sera pas envoyé en cas de modification. Cliquer pour "
"activer la notification automatique." "activer la notification automatique."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:177 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:188
msgid "Modify the mail sent to notice the user" msgid "Modify the mail sent to notice the user"
msgstr "Modifier mail de notification de l'utilisateur" msgstr "Modifier mail de notification de l'utilisateur"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:195 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:216
msgid "%{label}: Do you confirm the password change?" msgid "%{label}: Do you confirm the password change?"
msgstr "%{label} : Confirmez-vous la modification du mot de passe ?" msgstr "%{label} : Confirmez-vous la modification du mot de passe ?"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:203 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:224
msgid "Passwords entered did not match." msgid "Passwords entered did not match."
msgstr "Les mots de passe saisies ne correspondent pas." msgstr "Les mots de passe saisies ne correspondent pas."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:329 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:355
msgid "Notice mail sent." msgid "Notice mail sent."
msgstr "Le mail de notification a été envoyé." msgstr "Le mail de notification a été envoyé."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:424 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:465
msgid "" msgid ""
"LSformElement_password : No valid contact mail address available : Can't " "LSformElement_password : No valid contact mail address available : Can't "
"send new password." "send new password."
@ -1863,20 +1861,20 @@ msgstr ""
"LSformElement_password : Aucun mail de contact valide disponible : " "LSformElement_password : Aucun mail de contact valide disponible : "
"impossible d'envoyer le nouveau mot de passe." "impossible d'envoyer le nouveau mot de passe."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:427 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:468
msgid "LSformElement_password : Fail to send new password by email to %{mail}." msgid "LSformElement_password : Fail to send new password by email to %{mail}."
msgstr "" msgstr ""
"LSformElement_password : Une erreur est survenue en envoyant le nouveau mot " "LSformElement_password : Une erreur est survenue en envoyant le nouveau mot "
"de passe à %{mail}." "de passe à %{mail}."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:430 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:471
msgid "" msgid ""
"LSformElement_password : Fail to exec pwgen. Check it's correctly installed." "LSformElement_password : Fail to exec pwgen. Check it's correctly installed."
msgstr "" msgstr ""
"LSformElement_password : Impossible d'exécuter pwgen. Vérifier qu'il est " "LSformElement_password : Impossible d'exécuter pwgen. Vérifier qu'il est "
"bien installé." "bien installé."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:433 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:474
msgid "" msgid ""
"LSformElement_password : Fail to determine witch e-mail attribute to use to " "LSformElement_password : Fail to determine witch e-mail attribute to use to "
"send new password : get_mail_attr_function parameter not refer to a valid " "send new password : get_mail_attr_function parameter not refer to a valid "
@ -1886,7 +1884,7 @@ msgstr ""
"être utilisé pour l'envoi du mot de passe : le paramètre " "être utilisé pour l'envoi du mot de passe : le paramètre "
"get_mail_attr_function ne fait pas référence à une fonction valide." "get_mail_attr_function ne fait pas référence à une fonction valide."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:436 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:477
msgid "" msgid ""
"LSformElement_password : Fail to determine witch e-mail attribute to use to " "LSformElement_password : Fail to determine witch e-mail attribute to use to "
"send new password : get_mail_attr_function throwed an exception : %{msg}" "send new password : get_mail_attr_function throwed an exception : %{msg}"
@ -2105,27 +2103,27 @@ msgstr "Ajout rapide"
msgid "Display advanced search and selection panel." msgid "Display advanced search and selection panel."
msgstr "Afficher la fenêtre de recherche et de sélection étendue." msgstr "Afficher la fenêtre de recherche et de sélection étendue."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:115 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:114
msgid "Fail to determine the requested URL." msgid "Fail to determine the requested URL."
msgstr "Impossible de déterminer l'URL demandée." msgstr "Impossible de déterminer l'URL demandée."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:119 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:118
msgid "No URL patterns configured !" msgid "No URL patterns configured !"
msgstr "Aucun modèle d'URL configuré !" msgstr "Aucun modèle d'URL configuré !"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:226 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:225
msgid "Fail to determine the requested URL (loop detected)." msgid "Fail to determine the requested URL (loop detected)."
msgstr "Impossible de déterminer l'URL demandée (boucle détectée)." msgstr "Impossible de déterminer l'URL demandée (boucle détectée)."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:248 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:247
msgid "The requested page was not found." msgid "The requested page was not found."
msgstr "La page demandée est introuvable." msgstr "La page demandée est introuvable."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:273 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:272
msgid "This request could not be handled." msgid "This request could not be handled."
msgstr "Cette requête ne peut être traitée." msgstr "Cette requête ne peut être traitée."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:292 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:291
msgid "This request could not be processed correctly." msgid "This request could not be processed correctly."
msgstr "Cette requête ne peut être traitée correctement." msgstr "Cette requête ne peut être traitée correctement."
@ -2482,7 +2480,7 @@ msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_list.php:454 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_list.php:454
msgid "" msgid ""
"LSattr_html_select_list: fail to retreive possible values of attribute " "LSattr_html_select_list: fail to retrieve possible values of attribute "
"%{attr} using configured function %{callable}." "%{attr} using configured function %{callable}."
msgstr "" msgstr ""
"LSattr_html_select_list : Impossible de récupérer les valeurs possibles de " "LSattr_html_select_list : Impossible de récupérer les valeurs possibles de "
@ -2559,20 +2557,20 @@ msgstr "LSioFormatCSV : la fonction fputcsv n'est pas disponible."
msgid "LSlog : Fail to load logging handler %{handler}." msgid "LSlog : Fail to load logging handler %{handler}."
msgstr "LSlog : Impossible de charger l'handler %{handler}." msgstr "LSlog : Impossible de charger l'handler %{handler}."
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:112 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:109
#: templates/default/import.tpl:43 #: templates/default/import.tpl:43
msgid "Errors" msgid "Errors"
msgstr "Erreurs" msgstr "Erreurs"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:115 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:112
msgid "Stop" msgid "Stop"
msgstr "Stop" msgstr "Stop"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:158 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:150
msgid "Unknown error" msgid "Unknown error"
msgstr "Erreur inconnue" msgstr "Erreur inconnue"
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:213 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:210
msgid "Unknown error : %{error}" msgid "Unknown error : %{error}"
msgstr "Erreur inconnu : %{error}" msgstr "Erreur inconnu : %{error}"

View file

@ -5,7 +5,7 @@ $GLOBALS['LSlang'] = array (
# LSobjects.LSdyngroup.attrs.lsDynGroupMemberDnURI.help_info # LSobjects.LSdyngroup.attrs.lsDynGroupMemberDnURI.help_info
"<p>LDAP search URI or group members. A LDAP search URI is composed of the following parts separated by semicolons :<ul> "<p>LDAP search URI or group members. A LDAP search URI is composed of the following parts separated by semicolons :<ul>
<li>The LDAP URI in format <code>ldap://[host]/[base DN]</code>. For instance, to make a request on the same LDAP server, use <code>ldap:///o=ls</code></li> <li>The LDAP URI in format <code>ldap://[host]/[base DN]</code>. For instance, to make a request on the same LDAP server, use <code>ldap:///o=ls</code></li>
<li>The retreived attributes (separated by coma, optional)</li> <li>The retrieved attributes (separated by coma, optional)</li>
<li>The search scope (<code>base</code>, <code>one</code> or <code>sub</code>)</li> <li>The search scope (<code>base</code>, <code>one</code> or <code>sub</code>)</li>
<li>The LDAP filter (optional, default : <code>(objectClass=*)</code>)</li> <li>The LDAP filter (optional, default : <code>(objectClass=*)</code>)</li>
</ul></p><p><strong>Example :</strong> <code>ldap:///ou=people,o=ls??one?(&(objectClass=lspeople)(mail=*@ls.com))</code></p>" => </ul></p><p><strong>Example :</strong> <code>ldap:///ou=people,o=ls??one?(&(objectClass=lspeople)(mail=*@ls.com))</code></p>" =>

View file

@ -638,15 +638,14 @@ msgid ""
"attribute %{attr}." "attribute %{attr}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html.php:143 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html.php:164
msgid "" msgid ""
"LSattr_html : The method addToForm() of the HTML type of the attribute " "LSattr_html : The method addToForm() of the HTML type of the attribute "
"%{attr} is not defined." "%{attr} is not defined."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html.php:147 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html.php:168
msgid "" msgid "%{type} : Multiple data are not supported for this field type."
"LSattr_html_%{type} : Multiple data are not supported for this field type."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_supannCompositeAttribute.php:186 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_supannCompositeAttribute.php:186
@ -789,38 +788,38 @@ msgid ""
"%{event}." "%{event}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:399 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:400
msgid "" msgid ""
"LSattr_html_select_object : parameter '%{parameter}' is missing (attribute : " "LSattr_html_select_object : parameter '%{parameter}' is missing (attribute : "
"%{attr})." "%{attr})."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:402 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:403
msgid "" msgid ""
"LSattr_html_select_object : the value of the parameter value_attribute in " "LSattr_html_select_object : the value of the parameter value_attribute in "
"the configuration of the attribute %{attr} is incorrect. Object " "the configuration of the attribute %{attr} is incorrect. Object "
"%{object_type} have no attribute %{value_attribute}." "%{object_type} have no attribute %{value_attribute}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:405 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:406
msgid "" msgid ""
"LSattr_html_select_object : more than one object returned corresponding to " "LSattr_html_select_object : more than one object returned corresponding to "
"value %{val} of attribute %{attr}." "value %{val} of attribute %{attr}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:408 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:409
msgid "" msgid ""
"LSattr_html_select_object : selection of object type %{type} is configured " "LSattr_html_select_object : selection of object type %{type} is configured "
"multiple time for attribute %{attr}." "multiple time for attribute %{attr}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:411 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:412
msgid "" msgid ""
"LSattr_html_select_object : the value '%{value}' seem to be duplicated in " "LSattr_html_select_object : the value '%{value}' seem to be duplicated in "
"values of the attribute %{attr}." "values of the attribute %{attr}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:414 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_object.php:415
msgid "" msgid ""
"LSattr_html_select_object : selected object %{name} has no attribute %{attr} " "LSattr_html_select_object : selected object %{name} has no attribute %{attr} "
"value, you can't select it." "value, you can't select it."
@ -927,173 +926,173 @@ msgstr ""
msgid "Clear" msgid "Clear"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:374 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:381
msgid "Copy to clipboard" msgid "Copy to clipboard"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:375 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:382
msgid "Copied!" msgid "Copied!"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1464 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1504
msgid "Connection" msgid "Connection"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1486 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1524
msgid "Recovery of your credentials" msgid "Recovery of your credentials"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1495 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1533
msgid "Please fill the identifier field to proceed recovery procedure" msgid "Please fill the identifier field to proceed recovery procedure"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1500 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1538
msgid "" msgid ""
"An email has been sent to %{mail}. Please follow the instructions on it." "An email has been sent to %{mail}. Please follow the instructions on it."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1509 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1547
msgid "Your new password has been sent to %{mail}." msgid "Your new password has been sent to %{mail}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1680 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:1717
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:156 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:156
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:467 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:467
#: templates/default/select.tpl:29 #: templates/default/select.tpl:29
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2762 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2811
#: templates/default/select.tpl:20 templates/default/recoverpassword.tpl:17 #: templates/default/select.tpl:20 templates/default/recoverpassword.tpl:17
#: templates/default/login.tpl:16 #: templates/default/login.tpl:16
msgid "Level" msgid "Level"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2920 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2979
msgid "LSsession : The constant '%{const}' is not defined." msgid "LSsession : The constant '%{const}' is not defined."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2923 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2982
msgid "" msgid ""
"LSsession : The addon '%{addon}' support is uncertain. Verify system " "LSsession : The addon '%{addon}' support is uncertain. Verify system "
"compatibility and the add-on configuration." "compatibility and the add-on configuration."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2926 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2985
msgid "" msgid ""
"LSsession : LDAP server's configuration data are invalid. Can't connect." "LSsession : LDAP server's configuration data are invalid. Can't connect."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2929 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2988
msgid "LSsession : Failed to load LSobject type '%{type}' : unknon type." msgid "LSsession : Failed to load LSobject type '%{type}' : unknon type."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2932 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2991
msgid "LSsession : Failed to load LSclass '%{class}'." msgid "LSsession : Failed to load LSclass '%{class}'."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2935 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2994
msgid "LSsession : Login or password incorrect." msgid "LSsession : Login or password incorrect."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2938 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2997
msgid "LSsession : Impossible to identify you : Duplication of identities." msgid "LSsession : Impossible to identify you : Duplication of identities."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2941 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3000
msgid "LSsession : Can't load class of authentification (%{class})." msgid "LSsession : Can't load class of authentification (%{class})."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2944 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3003
msgid "LSsession : Can't connect to LDAP server." msgid "LSsession : Can't connect to LDAP server."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2947 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3006
msgid "LSsession : Impossible to authenticate you." msgid "LSsession : Impossible to authenticate you."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2950 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3009
msgid "LSsession : Your are not authorized to do this action." msgid "LSsession : Your are not authorized to do this action."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2953 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3012
msgid "LSsession : Some informations are missing to display this page." msgid "LSsession : Some informations are missing to display this page."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2956 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3015
msgid "" msgid ""
"LSsession : The function '%{function}' of the custom action " "LSsession : The function '%{function}' of the custom action "
"'%{customAction}' does not exists or is not configured." "'%{customAction}' does not exists or is not configured."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2959 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3018
msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth." msgid "LSsession : Fail to retrieve user's LDAP credentials from LSauth."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2962 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3021
msgid "" msgid ""
"LSsession : Fail to reconnect to LDAP server with user's LDAP credentials." "LSsession : Fail to reconnect to LDAP server with user's LDAP credentials."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2965 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3024
msgid "LSsession : No import/export format define for this object type." msgid "LSsession : No import/export format define for this object type."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2968 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3027
msgid "" msgid ""
"LSsession : Error during creation of list of levels. Contact administrators. " "LSsession : Error during creation of list of levels. Contact administrators. "
"(Code : %{code})" "(Code : %{code})"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2971 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3030
msgid "LSsession : The password recovery is disabled for this LDAP server." msgid "LSsession : The password recovery is disabled for this LDAP server."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2974 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3033
msgid "" msgid ""
"LSsession : Some informations are missing to recover your password. Contact " "LSsession : Some informations are missing to recover your password. Contact "
"administrators." "administrators."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2977 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3036
msgid "" msgid ""
"LSsession : Error during password recovery. Contact administrators.(Step : " "LSsession : Error during password recovery. Contact administrators.(Step : "
"%{step})" "%{step})"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2980 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3039
msgid "" msgid ""
"LSsession : The function '%{func}' configured for the view '%{view}' of the " "LSsession : The function '%{func}' configured for the view '%{view}' of the "
"LSaddon '%{addon}' is not declared in the LSaddon file." "LSaddon '%{addon}' is not declared in the LSaddon file."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2983 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3042
msgid "LSsession : Failed to load resource file '%{file}'." msgid "LSsession : Failed to load resource file '%{file}'."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2986 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3045
msgid "" msgid ""
"LSsession : The function '%{func}' configured for the view '%{view}' of the " "LSsession : The function '%{func}' configured for the view '%{view}' of the "
"LSaddon '%{addon}' doesn't exist." "LSaddon '%{addon}' doesn't exist."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2989 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3048
msgid "LSsession : invalid related object's DN pass in parameter." msgid "LSsession : invalid related object's DN pass in parameter."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2992 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3051
msgid "" msgid ""
"LSsession : the LSaddon %{addon} keep using old-style addon view URL. Please " "LSsession : the LSaddon %{addon} keep using old-style addon view URL. Please "
"upgrade it." "upgrade it."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2995 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3054
msgid "" msgid ""
"LSsession : You have been redirect from an old-style URL %{url}. Please " "LSsession : You have been redirect from an old-style URL %{url}. Please "
"upgrade this link." "upgrade this link."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2998 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:3057
msgid "" msgid ""
"LSsession : You always seem to use %{old} in your custom code: Please " "LSsession : You always seem to use %{old} in your custom code: Please "
"upgrade it and use %{new}.<pre>\n" "upgrade it and use %{new}.<pre>\n"
@ -1510,85 +1509,85 @@ msgid ""
"%{relation} of %{LSobject} is invalid." "%{relation} of %{LSobject} is invalid."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:85 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:93
msgid "%{label}: passwords entered did not match." msgid "%{label}: passwords entered did not match."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:133 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:143
msgid "%{label}: invalid email address provided to send new password." msgid "%{label}: invalid email address provided to send new password."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:170 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:181
msgid "Generate a password." msgid "Generate a password."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:171 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:182
msgid "Compare with stored password." msgid "Compare with stored password."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:172 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:183
msgid "Display password." msgid "Display password."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:173 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:184
msgid "Display hashed password." msgid "Display hashed password."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:174 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:185
msgid "Hide password." msgid "Hide password."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:175 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:186
msgid "" msgid ""
"The password will be sent by mail if changed. Click to disable automatic " "The password will be sent by mail if changed. Click to disable automatic "
"notification." "notification."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:176 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:187
msgid "" msgid ""
"The password will not be sent if changed. Click to enable automatic " "The password will not be sent if changed. Click to enable automatic "
"notification." "notification."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:177 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:188
msgid "Modify the mail sent to notice the user" msgid "Modify the mail sent to notice the user"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:195 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:216
msgid "%{label}: Do you confirm the password change?" msgid "%{label}: Do you confirm the password change?"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:203 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:224
msgid "Passwords entered did not match." msgid "Passwords entered did not match."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:329 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:355
msgid "Notice mail sent." msgid "Notice mail sent."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:424 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:465
msgid "" msgid ""
"LSformElement_password : No valid contact mail address available : Can't " "LSformElement_password : No valid contact mail address available : Can't "
"send new password." "send new password."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:427 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:468
msgid "LSformElement_password : Fail to send new password by email to %{mail}." msgid "LSformElement_password : Fail to send new password by email to %{mail}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:430 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:471
msgid "" msgid ""
"LSformElement_password : Fail to exec pwgen. Check it's correctly installed." "LSformElement_password : Fail to exec pwgen. Check it's correctly installed."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:433 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:474
msgid "" msgid ""
"LSformElement_password : Fail to determine witch e-mail attribute to use to " "LSformElement_password : Fail to determine witch e-mail attribute to use to "
"send new password : get_mail_attr_function parameter not refer to a valid " "send new password : get_mail_attr_function parameter not refer to a valid "
"function." "function."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:436 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:477
msgid "" msgid ""
"LSformElement_password : Fail to determine witch e-mail attribute to use to " "LSformElement_password : Fail to determine witch e-mail attribute to use to "
"send new password : get_mail_attr_function throwed an exception : %{msg}" "send new password : get_mail_attr_function throwed an exception : %{msg}"
@ -1785,27 +1784,27 @@ msgstr ""
msgid "Display advanced search and selection panel." msgid "Display advanced search and selection panel."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:115 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:114
msgid "Fail to determine the requested URL." msgid "Fail to determine the requested URL."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:119 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:118
msgid "No URL patterns configured !" msgid "No URL patterns configured !"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:226 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:225
msgid "Fail to determine the requested URL (loop detected)." msgid "Fail to determine the requested URL (loop detected)."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:248 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:247
msgid "The requested page was not found." msgid "The requested page was not found."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:273 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:272
msgid "This request could not be handled." msgid "This request could not be handled."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:292 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSurl.php:291
msgid "This request could not be processed correctly." msgid "This request could not be processed correctly."
msgstr "" msgstr ""
@ -2119,7 +2118,7 @@ msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_list.php:454 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_html_select_list.php:454
msgid "" msgid ""
"LSattr_html_select_list: fail to retreive possible values of attribute " "LSattr_html_select_list: fail to retrieve possible values of attribute "
"%{attr} using configured function %{callable}." "%{attr} using configured function %{callable}."
msgstr "" msgstr ""
@ -2187,20 +2186,20 @@ msgstr ""
msgid "LSlog : Fail to load logging handler %{handler}." msgid "LSlog : Fail to load logging handler %{handler}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:112 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:109
#: templates/default/import.tpl:43 #: templates/default/import.tpl:43
msgid "Errors" msgid "Errors"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:115 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:112
msgid "Stop" msgid "Stop"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:158 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:150
msgid "Unknown error" msgid "Unknown error"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:213 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSerror.php:210
msgid "Unknown error : %{error}" msgid "Unknown error : %{error}"
msgstr "" msgstr ""