mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-24 02:49:07 +01:00
Compare commits
5 commits
9384d2e312
...
1c42aa3a47
Author | SHA1 | Date | |
---|---|---|---|
|
1c42aa3a47 | ||
|
96d99f5b06 | ||
|
5998983315 | ||
|
5e8d625a34 | ||
|
7a4f0fac69 |
15 changed files with 347 additions and 388 deletions
9
.phpstan/compat.php
Normal file
9
.phpstan/compat.php
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$config = [];
|
||||||
|
|
||||||
|
if (PHP_VERSION_ID < 80100) {
|
||||||
|
$config['parameters']['typeAliases']['FTP\Connection'] = 'resource';
|
||||||
|
}
|
||||||
|
|
||||||
|
return $config;
|
|
@ -1,3 +1,6 @@
|
||||||
|
includes:
|
||||||
|
- compat.php
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
level: 3
|
level: 3
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require 'Net/LDAP2.php';
|
require 'Net/LDAP2.php';
|
||||||
require 'Net/FTP.php';
|
|
||||||
require 'Console/Table.php';
|
require 'Console/Table.php';
|
||||||
require 'Zxcvbn/autoload.php';
|
require 'Zxcvbn/autoload.php';
|
||||||
require '/usr/share/php/phpseclib/autoload.php';
|
require '/usr/share/php/phpseclib/autoload.php';
|
||||||
|
|
|
@ -7,13 +7,3 @@ repos:
|
||||||
- id: php-stan
|
- id: php-stan
|
||||||
files: ^src\/.*\.(php)$
|
files: ^src\/.*\.(php)$
|
||||||
args: ['--configuration=.phpstan/config.neon']
|
args: ['--configuration=.phpstan/config.neon']
|
||||||
- repo: local
|
|
||||||
hooks:
|
|
||||||
- id: xmlint
|
|
||||||
files: ^doc\/.*\.(docbook)$
|
|
||||||
name: xmlint
|
|
||||||
entry: xmllint --valid --noout doc/LdapSaisie.docbook
|
|
||||||
pass_filenames: false
|
|
||||||
language: system
|
|
||||||
types: [text]
|
|
||||||
pass_filenames: false
|
|
||||||
|
|
12
INSTALL
12
INSTALL
|
@ -23,8 +23,8 @@
|
||||||
* La librairie File_CSV_DataSource (paquet php-file-csv-datasource dans Debian)
|
* La librairie File_CSV_DataSource (paquet php-file-csv-datasource dans Debian)
|
||||||
* La librairie Console_Table (nécessaire pour le fonctionnement de l'outil CLI, paquet php-console-table dans Debian)
|
* La librairie Console_Table (nécessaire pour le fonctionnement de l'outil CLI, paquet php-console-table dans Debian)
|
||||||
* Les librairies Mail et Mail_Mime (nécessaire pour l'envoi de courriels, paquets php-mail et php-mail-mime dans Debian)
|
* Les librairies Mail et Mail_Mime (nécessaire pour l'envoi de courriels, paquets php-mail et php-mail-mime dans Debian)
|
||||||
* La librairie Net_FTP (nécessaire pour le fonctionnement du LSaddon FTP, paquet php-console-table dans Debian)
|
* L'extension PHP ftp (nécessaire pour le fonctionnement du LSaddon FTP, paquet php-ftp dans Debian)
|
||||||
* La librairie PhpSecLib (nécessaire pour le fonctionnement du LSaddon SSH, paquet php-console-table dans Debian)
|
* La librairie PhpSecLib (nécessaire pour le fonctionnement du LSaddon SSH, paquet php-phpseclib dans Debian)
|
||||||
|
|
||||||
#################
|
#################
|
||||||
# Avertissement #
|
# Avertissement #
|
||||||
|
@ -78,7 +78,7 @@ Toutes les nuits, un snapshot de l'arbre Git est réalisé et est téléchargeab
|
||||||
Racine
|
Racine
|
||||||
|
|
||||||
doc/
|
doc/
|
||||||
Les fichiers sources de la documentation (docbook).
|
Les fichiers sources de la documentation (Markdown).
|
||||||
lsexample/
|
lsexample/
|
||||||
Les fichiers relatifs à l'annuaire d'exemple.
|
Les fichiers relatifs à l'annuaire d'exemple.
|
||||||
src/
|
src/
|
||||||
|
@ -186,17 +186,11 @@ présente dans les sources du projet dans le dossier lsexample.
|
||||||
Nom du fichier de log des mises à jour.
|
Nom du fichier de log des mises à jour.
|
||||||
THEME
|
THEME
|
||||||
Le nom du theme à installer (facultatif et non traité dans ce tutoriel).
|
Le nom du theme à installer (facultatif et non traité dans ce tutoriel).
|
||||||
BUILD_DOC
|
|
||||||
Variable booléene définissant si la documentation doit être compiler en utilisant le script buildDocExports.sh.
|
|
||||||
Ceci ne sera pas expliqué dans ce tutoriel et nous partirons donc du principe que cette variable est à 0.
|
|
||||||
|
|
||||||
########
|
########
|
||||||
# Note #
|
# Note #
|
||||||
########
|
########
|
||||||
#
|
#
|
||||||
# * D'autres variables sont présentes dans ce fichier et concerne uniquement la compilation de la documentation.
|
|
||||||
# Elle peuvent être ignorée à partir du moment ou la variable BUILD_DOC vaut 0.
|
|
||||||
#
|
|
||||||
# * Il est possible d'utiliser dans ce fichier de configuration la variable bash $ROOT_DIR correspondant au chemin
|
# * Il est possible d'utiliser dans ce fichier de configuration la variable bash $ROOT_DIR correspondant au chemin
|
||||||
# du dossier d'installation, c'est à dire dans notre exemple /var/www/ldapsaisie.
|
# du dossier d'installation, c'est à dire dans notre exemple /var/www/ldapsaisie.
|
||||||
#
|
#
|
||||||
|
|
|
@ -16,39 +16,3 @@ THEME_IMG_REF="default"
|
||||||
|
|
||||||
# Webserver service reload command to run on gettext MO files changed
|
# Webserver service reload command to run on gettext MO files changed
|
||||||
#WEBSERVER_RELOAD_CMD='sudo service apache2 force-reload'
|
#WEBSERVER_RELOAD_CMD='sudo service apache2 force-reload'
|
||||||
|
|
||||||
# Do doc export ?
|
|
||||||
BUILD_DOC=1
|
|
||||||
|
|
||||||
# The export dir
|
|
||||||
# If EXPORT_DIR is a zero length string, will not export doc
|
|
||||||
EXPORT_DOC_DIR=/var/www/ldapsaisie-doc
|
|
||||||
|
|
||||||
# PDF export name file
|
|
||||||
# If PDF is a zero length string, pdf doc export will not build
|
|
||||||
PDF=LdapSaisie.pdf
|
|
||||||
|
|
||||||
# EPUB export name file
|
|
||||||
# If EPUB is a zero length string, epub doc export will not build
|
|
||||||
EPUB=LdapSaisie.epub
|
|
||||||
|
|
||||||
# ALL_IN_ONE export name
|
|
||||||
# If ALL_IN_ONE is a zero length string, all-in-one doc export will not build
|
|
||||||
ALL_IN_ONE=all-in-one
|
|
||||||
|
|
||||||
# On-line export name
|
|
||||||
# If ONLINE is a zero length string, on-line doc export will not build
|
|
||||||
ONLINE=online
|
|
||||||
|
|
||||||
# Docbook export name
|
|
||||||
# If DOCBOOK is a zero length string, docbook doc export will not buil
|
|
||||||
DOCBOOK=docbook
|
|
||||||
|
|
||||||
# The CSS file to use in export
|
|
||||||
CSS=$ROOT_DIR/doc/styles/LS.css
|
|
||||||
|
|
||||||
# The image doc directory
|
|
||||||
IMAGES=$ROOT_DIR/doc/images
|
|
||||||
|
|
||||||
# The name of last update file
|
|
||||||
LAST_UPDATE_FILE=$EXPORT_DOC_DIR/last_update.txt
|
|
||||||
|
|
6
debian/control
vendored
6
debian/control
vendored
|
@ -1,13 +1,13 @@
|
||||||
Source: ldapsaisie
|
Source: ldapsaisie
|
||||||
Section: admin
|
Section: admin
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Build-Depends: debhelper, xsltproc, docbook-xsl, bash-completion
|
Build-Depends: debhelper, bash-completion, python3, python3-venv, python3-pip
|
||||||
Maintainer: Benjamin Renard <brenard@easter-eggs.com>
|
Maintainer: Benjamin Renard <brenard@easter-eggs.com>
|
||||||
|
|
||||||
Package: ldapsaisie
|
Package: ldapsaisie
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: apache2 | httpd, php-ldap | php5-ldap, php-fpm | libapache2-mod-php5 | libapache2-mod-php | php5-cli | php-cli, smarty | smarty3, php-net-ldap2, php-net-ftp, php-mail, php-mail-mime, php-console-table
|
Depends: apache2 | httpd, php-ldap | php5-ldap, php-fpm | libapache2-mod-php5 | libapache2-mod-php | php5-cli | php-cli, smarty | smarty3, php-net-ldap2, php-console-table
|
||||||
Recommends: php-mbstring, php-phpseclib, php-unidecode, php-zxcvbn
|
Recommends: php-mbstring, php-phpseclib, php-unidecode, php-zxcvbn, php-ftp, php-mail, php-mail-mime
|
||||||
Description: web based interface for managing LDAP servers content
|
Description: web based interface for managing LDAP servers content
|
||||||
LdapSaisie is a Web application developed to manage LDAP directory.
|
LdapSaisie is a Web application developed to manage LDAP directory.
|
||||||
It has been written in PHP / JavaScript and is published under the
|
It has been written in PHP / JavaScript and is published under the
|
||||||
|
|
|
@ -36,12 +36,13 @@
|
||||||
[PEAR_Mail_Mime](https://pear.php.net/package/Mail_Mime) (nécessaire pour l'envoi de courriels,
|
[PEAR_Mail_Mime](https://pear.php.net/package/Mail_Mime) (nécessaire pour l'envoi de courriels,
|
||||||
paquets `php-mail` et `php-mail-mime` dans Debian)
|
paquets `php-mail` et `php-mail-mime` dans Debian)
|
||||||
|
|
||||||
- La librairie [Net_FTP](https://pear.php.net/package/Net_FTP) (nécessaire pour le fonctionnement du
|
- L'[extension PHP `ftp`](https://www.php.net/manual/fr/intro.ftp.php) (nécessaire pour le
|
||||||
[LSaddon](../conf/index.md#configuration-des-lsaddons) FTP, paquet `php-console-table` dans Debian)
|
fonctionnement du [LSaddon](../conf/index.md#configuration-des-lsaddons) FTP, paquet `php-ftp`
|
||||||
|
dans Debian)
|
||||||
|
|
||||||
- La librairie [PhpSecLib](https://github.com/phpseclib/phpseclib) (nécessaire pour le
|
- La librairie [PhpSecLib](https://github.com/phpseclib/phpseclib) (nécessaire pour le
|
||||||
fonctionnement du [LSaddon](../conf/index.md#configuration-des-lsaddons) SSH, paquet `php-console-table`
|
fonctionnement du [LSaddon](../conf/index.md#configuration-des-lsaddons) SSH, paquet
|
||||||
dans Debian)
|
`php-phpseclib` dans Debian)
|
||||||
|
|
||||||
!!! warning
|
!!! warning
|
||||||
|
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
<?php
|
|
||||||
/*******************************************************************************
|
|
||||||
* Copyright (C) 2007 Easter-eggs
|
|
||||||
* https://ldapsaisie.org
|
|
||||||
*
|
|
||||||
* Author: See AUTHORS file in top-level directory.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License version 2
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
|
|
||||||
******************************************************************************/
|
|
||||||
|
|
||||||
/*
|
|
||||||
************************************************
|
|
||||||
* Données de configuration pour le support FTP *
|
|
||||||
************************************************
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Pear :: NET_FTP
|
|
||||||
define('NET_FTP','/usr/share/php/Net/FTP.php');
|
|
|
@ -20,37 +20,38 @@
|
||||||
|
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
// Messages d'erreur
|
// Error messages
|
||||||
|
|
||||||
// Support
|
// Support
|
||||||
LSerror :: defineError('FTP_SUPPORT_01',
|
LSerror :: defineError('FTP_SUPPORT_01',
|
||||||
___("FTP Support : Pear::Net_FTP is missing.")
|
___("FTP support: PHP ftp extension is missing.")
|
||||||
);
|
);
|
||||||
|
|
||||||
LSerror :: defineError('FTP_SUPPORT_02',
|
// Other errors
|
||||||
___("FTP Support : The constant %{const} is not defined.")
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
// Autres erreurs
|
|
||||||
LSerror :: defineError('FTP_00',
|
LSerror :: defineError('FTP_00',
|
||||||
___("Net_FTP Error : %{msg}")
|
___("FTP error: %{msg}")
|
||||||
);
|
);
|
||||||
|
|
||||||
LSerror :: defineError('FTP_01',
|
LSerror :: defineError('FTP_01',
|
||||||
___("FTP Support : Unable to connect to FTP Server (Step : %{step}).")
|
___("FTP: Unable to connect to FTP Server (Step : %{step}).")
|
||||||
);
|
);
|
||||||
LSerror :: defineError('FTP_02',
|
LSerror :: defineError('FTP_02',
|
||||||
___("FTP Support : Unable to make directory %{dir} on the remote server.")
|
___("FTP: Unable to make directory %{dir} on the remote server.")
|
||||||
);
|
);
|
||||||
LSerror :: defineError('FTP_03',
|
LSerror :: defineError('FTP_03',
|
||||||
___("FTP Support : Unable to delete directory %{dir} on the remote server.")
|
___("FTP: Unable to list directory %{dir} content on the remote server.")
|
||||||
);
|
);
|
||||||
LSerror :: defineError('FTP_04',
|
LSerror :: defineError('FTP_04',
|
||||||
___("FTP Support : Unable to modify rights on the directory %{dir} on the remote server.")
|
___("FTP: Unable to delete directory %{dir} on the remote server.")
|
||||||
);
|
);
|
||||||
LSerror :: defineError('FTP_05',
|
LSerror :: defineError('FTP_05',
|
||||||
___("FTP Support : Unable to rename folder from %{old} to %{new} on the remote server.")
|
___("FTP: Unable to delete file %{file} on the remote server.")
|
||||||
|
);
|
||||||
|
LSerror :: defineError('FTP_06',
|
||||||
|
___("FTP: Unable to modify rights on the directory %{dir} on the remote server.")
|
||||||
|
);
|
||||||
|
LSerror :: defineError('FTP_07',
|
||||||
|
___("FTP: Unable to rename folder from %{old} to %{new} on the remote server.")
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -63,68 +64,52 @@ LSerror :: defineError('FTP_05',
|
||||||
function LSaddon_ftp_support() {
|
function LSaddon_ftp_support() {
|
||||||
$retval = true;
|
$retval = true;
|
||||||
|
|
||||||
// Net_FTP lib dependency
|
// PHP ftp extension dependency
|
||||||
if (!class_exists('Net_FTP')) {
|
if (!function_exists('ftp_connect')) {
|
||||||
if (!defined('NET_FTP')) {
|
LSerror :: addErrorCode('FTP_SUPPORT_01');
|
||||||
LSerror :: addErrorCode('FTP_SUPPORT_02', 'NET_FTP');
|
$retval = false;
|
||||||
$retval = false;
|
|
||||||
} else if(!LSsession::includeFile(NET_FTP, true)) {
|
|
||||||
LSerror :: addErrorCode('FTP_SUPPORT_01');
|
|
||||||
$retval = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $retval;
|
return $retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connect to FTP server
|
* Log last FTP error
|
||||||
*
|
* @return void
|
||||||
* @author Benjamin Renard <brenard@easter-eggs.com>
|
*/
|
||||||
*
|
function _logLastFtpError() {
|
||||||
* @param string $host FTP server FQDN or IP address
|
$error = error_get_last();
|
||||||
* @param string $port The TCP port of the FTP server
|
if ($error) LSerror :: addErrorCode('FTP_00', $error['message']);
|
||||||
* @param string $user The username
|
|
||||||
* @param string $pwd The password
|
|
||||||
*
|
|
||||||
* @return Net_FTP|false Net_FTP object in case of success, false otherwise
|
|
||||||
*/
|
|
||||||
function connectToFTP($host, $port, $user, $pwd) {
|
|
||||||
$cnx = new Net_FTP();
|
|
||||||
$do = $cnx -> connect($host, $port);
|
|
||||||
if (!$do instanceof PEAR_Error){
|
|
||||||
$do = $cnx -> login($user, $pwd);
|
|
||||||
if (!$do instanceof PEAR_Error) {
|
|
||||||
return $cnx;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
LSerror :: addErrorCode('FTP_01', "2");
|
|
||||||
LSerror :: addErrorCode('FTP_00', $do -> getMessage());
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
LSerror :: addErrorCode('FTP_01', "1");
|
|
||||||
LSerror :: addErrorCode('FTP_00', $do -> getMessage());
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creation d'un ou plusieurs dossiers via FTP
|
* Connect to FTP server
|
||||||
*
|
*
|
||||||
* @author Benjamin Renard <brenard@easter-eggs.com>
|
* @author Benjamin Renard <brenard@easter-eggs.com>
|
||||||
*
|
*
|
||||||
* @param string $host Le nom ou l'IP du serveur FTP
|
* @param string $host FTP server FQDN or IP address
|
||||||
* @param string $port Le port de connexion au serveur ftp
|
* @param string $port The TCP port of the FTP server
|
||||||
* @param string $user Le nom d'utilidateur de connexion
|
* @param string $user The username
|
||||||
* @param string $pwd Le mot de passe de connexion
|
* @param string $pwd The password
|
||||||
* @param array $dirs ou string Le(s) dossier(s) à ajouter
|
*
|
||||||
*
|
* @return FTP\Connection|resource|false FTP\Connection (or resource with PHP <= 8.1.0) in case of
|
||||||
* @return bool True ou false si il y a un problème durant la création du/des dossier(s)
|
* success, false otherwise
|
||||||
|
*/
|
||||||
|
function connectToFTP($host, $port, $user, $pwd) {
|
||||||
|
$cnx = @ftp_connect($host, $port);
|
||||||
|
if ($cnx === false) {
|
||||||
|
_logLastFtpError();
|
||||||
|
LSerror :: addErrorCode('FTP_01', "1");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (@ftp_login($cnx, $user, $pwd))
|
||||||
|
return $cnx;
|
||||||
|
_logLastFtpError();
|
||||||
|
LSerror :: addErrorCode('FTP_01', "2");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
* Create one or more directories throught FTP
|
* Create one or more directories throught FTP
|
||||||
*
|
*
|
||||||
* @author Benjamin Renard <brenard@easter-eggs.com>
|
* @author Benjamin Renard <brenard@easter-eggs.com>
|
||||||
|
@ -135,7 +120,7 @@ function connectToFTP($host, $port, $user, $pwd) {
|
||||||
* @param string $pwd The password
|
* @param string $pwd The password
|
||||||
* @param array|string $dirs The directory/ies to add
|
* @param array|string $dirs The directory/ies to add
|
||||||
* @param int $chmod The directory/ies mode as an octal number (do not forget leading zero,
|
* @param int $chmod The directory/ies mode as an octal number (do not forget leading zero,
|
||||||
* example: 0755 or 02755, default : default umask on the SSH server)
|
* example: 0755 or 02755, default : default umask on the SSH server)
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
|
@ -143,20 +128,68 @@ function createDirsByFTP($host, $port, $user, $pwd, $dirs, $chmod=NULL) {
|
||||||
$cnx = connectToFTP($host, $port, $user, $pwd);
|
$cnx = connectToFTP($host, $port, $user, $pwd);
|
||||||
if (!$cnx) return false;
|
if (!$cnx) return false;
|
||||||
foreach(ensureIsArray($dirs) as $dir) {
|
foreach(ensureIsArray($dirs) as $dir) {
|
||||||
$do = $cnx -> mkdir($dir, true);
|
if (@ftp_mkdir($cnx, $dir) === false) {
|
||||||
if ($do instanceof PEAR_Error) {
|
_logLastFtpError();
|
||||||
LSerror :: addErrorCode('FTP_02', $dir);
|
LSerror :: addErrorCode('FTP_02', $dir);
|
||||||
LSerror :: addErrorCode('FTP_00', $do -> getMessage());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ($chmod) {
|
if ($chmod && !@ftp_chmod($cnx, $chmod, $dir)) {
|
||||||
$do = $cnx -> chmod($dir, $chmod);
|
_logLastFtpError();
|
||||||
if ($do instanceof PEAR_Error) {
|
LSerror :: addErrorCode('FTP_06', $dir);
|
||||||
LSerror :: addErrorCode('FTP_04', $dir);
|
}
|
||||||
LSerror :: addErrorCode('FTP_00', $do -> getMessage());
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal function call recursively to remove a directory and its content
|
||||||
|
* @param FTP\Connection|resource $cnx The FTP\Connection object (or resource with PHP < 8.1.0)
|
||||||
|
* @param string $dir The directory path to remove
|
||||||
|
* @return boolean
|
||||||
|
*/
|
||||||
|
function _removeDirByFTP(&$cnx, $dir) {
|
||||||
|
if ($dir[strlen($dir)-1] == '/')
|
||||||
|
$dir = substr($dir, 0, strlen($dir)-1);
|
||||||
|
$items = @ftp_nlist($cnx, $dir);
|
||||||
|
LSlog :: get_logger('LSaddon_ftp') -> trace(
|
||||||
|
"_removeDirByFTP($dir): directory content: ".varDump($items));
|
||||||
|
if (!is_array($items)) {
|
||||||
|
_logLastFtpError();
|
||||||
|
LSerror :: addErrorCode('FTP_03', $dir);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach($items as $item) {
|
||||||
|
if (@ftp_chdir($cnx, $item)) {
|
||||||
|
LSlog :: get_logger('LSaddon_ftp') -> trace(
|
||||||
|
"_removeDirByFTP($dir): item '$item' is a directory, delete it recursively");
|
||||||
|
if (!_removeDirByFTP($cnx, $item))
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
LSlog :: get_logger('LSaddon_ftp') -> trace(
|
||||||
|
"_removeDirByFTP($dir): item '$item' is a file, delete it");
|
||||||
|
if (!@ftp_delete($cnx, $item)) {
|
||||||
|
_logLastFtpError();
|
||||||
|
LSerror :: addErrorCode('FTP_05', $item);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
LSlog :: get_logger('LSaddon_ftp') -> trace(
|
||||||
|
"_removeDirByFTP($dir): file '$item' removed");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (@!ftp_rmdir($cnx, $dir)) {
|
||||||
|
_logLastFtpError();
|
||||||
|
LSerror :: addErrorCode('FTP_04', $dir);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
LSlog :: get_logger('LSaddon_ftp') -> trace(
|
||||||
|
"_removeDirByFTP($dir): directory '$dir' removed");
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -181,17 +214,9 @@ function createDirsByFTP($host, $port, $user, $pwd, $dirs, $chmod=NULL) {
|
||||||
function removeDirsByFTP($host, $port, $user, $pwd, $dirs) {
|
function removeDirsByFTP($host, $port, $user, $pwd, $dirs) {
|
||||||
$cnx = connectToFTP($host, $port, $user, $pwd);
|
$cnx = connectToFTP($host, $port, $user, $pwd);
|
||||||
if (!$cnx) return false;
|
if (!$cnx) return false;
|
||||||
foreach(ensureIsArray($dirs) as $dir) {
|
foreach(ensureIsArray($dirs) as $dir)
|
||||||
if ($dir[strlen($dir)-1] != '/') {
|
if (!_removeDirByFTP($cnx, $dir))
|
||||||
$dir .= '/';
|
|
||||||
}
|
|
||||||
$do = $cnx -> rm($dir,true);
|
|
||||||
if ($do instanceof PEAR_Error) {
|
|
||||||
LSerror :: addErrorCode('FTP_03', $dir);
|
|
||||||
LSerror :: addErrorCode('FTP_00', $do -> getMessage());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -212,10 +237,9 @@ function removeDirsByFTP($host, $port, $user, $pwd, $dirs) {
|
||||||
function renameDirByFTP($host, $port, $user, $pwd, $old, $new) {
|
function renameDirByFTP($host, $port, $user, $pwd, $old, $new) {
|
||||||
$cnx = connectToFTP($host, $port, $user, $pwd);
|
$cnx = connectToFTP($host, $port, $user, $pwd);
|
||||||
if (!$cnx) return false;
|
if (!$cnx) return false;
|
||||||
$do = $cnx -> rename($old, $new);
|
if (!@ftp_rename($cnx, $old, $new)) {
|
||||||
if ($do instanceof PEAR_Error) {
|
_logLastFtpError();
|
||||||
LSerror :: addErrorCode('FTP_05', array('old' => $old, 'new' => $new));
|
LSerror :: addErrorCode('FTP_07', array('old' => $old, 'new' => $new));
|
||||||
LSerror :: addErrorCode('FTP_00', $do -> getMessage());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -24,16 +24,22 @@
|
||||||
|
|
||||||
// Support
|
// Support
|
||||||
LSerror :: defineError('POSIX_SUPPORT_01',
|
LSerror :: defineError('POSIX_SUPPORT_01',
|
||||||
___("POSIX Support : The constant %{const} is not defined.")
|
___("POSIX Support: The constant %{const} is not defined.")
|
||||||
);
|
);
|
||||||
|
|
||||||
LSerror :: defineError('POSIX_SUPPORT_02',
|
LSerror :: defineError('POSIX_SUPPORT_02',
|
||||||
___("POSIX Support : Unable to load LSaddon::FTP.")
|
___("POSIX support: Unable to load LSaddon::FTP.")
|
||||||
);
|
);
|
||||||
|
|
||||||
// Autres erreurs
|
// Autres erreurs
|
||||||
LSerror :: defineError('POSIX_01',
|
LSerror :: defineError('POSIX_01',
|
||||||
___("POSIX : The attribute %{dependency} is missing. Unable to forge the attribute %{attr}.")
|
___("POSIX: The attribute %{dependency} is missing. Unable to forge the attribute %{attr}.")
|
||||||
|
);
|
||||||
|
LSerror :: defineError('POSIX_02',
|
||||||
|
___("POSIX: Fail to create user home directory.")
|
||||||
|
);
|
||||||
|
LSerror :: defineError('POSIX_03',
|
||||||
|
___("POSIX: Fail to delete user home directory.")
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -189,6 +195,30 @@ function createHomeDirectoryByFTP($ldapObject) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Delete home directory by FTP
|
||||||
|
*
|
||||||
|
* @author Benjamin Renard <brenard@easter-eggs.com>
|
||||||
|
*
|
||||||
|
* @param LSldapObject $ldapObject L'objet ldap
|
||||||
|
*
|
||||||
|
* @return bool True on success, false otherwise
|
||||||
|
*/
|
||||||
|
function deleteHomeDirectoryByFTP($ldapObject) {
|
||||||
|
$dir = getFData(LS_POSIX_HOMEDIRECTORY_FTP_PATH, $ldapObject, 'getValue');
|
||||||
|
if (
|
||||||
|
!removeDirsByFTP(
|
||||||
|
LS_POSIX_HOMEDIRECTORY_FTP_HOST, LS_POSIX_HOMEDIRECTORY_FTP_PORT,
|
||||||
|
LS_POSIX_HOMEDIRECTORY_FTP_USER, LS_POSIX_HOMEDIRECTORY_FTP_PWD,
|
||||||
|
$dir
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
LSerror :: addErrorCode('POSIX_03');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate member attribute value from memberUid
|
* Generate member attribute value from memberUid
|
||||||
*
|
*
|
||||||
|
|
Binary file not shown.
|
@ -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: 2023-08-18 15:45+0200\n"
|
"PO-Revision-Date: 2023-10-13 18:57+0200\n"
|
||||||
"Last-Translator: Benjamin Renard <brenard@easter-eggs.com>\n"
|
"Last-Translator: Benjamin Renard <brenard@easter-eggs.com>\n"
|
||||||
"Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise."
|
"Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise."
|
||||||
"org>\n"
|
"org>\n"
|
||||||
|
@ -332,21 +332,29 @@ msgstr ""
|
||||||
"soient prises en compte sur ces groupes."
|
"soient prises en compte sur ces groupes."
|
||||||
|
|
||||||
#: includes/addons/LSaddons.posix.php:27
|
#: includes/addons/LSaddons.posix.php:27
|
||||||
msgid "POSIX Support : The constant %{const} is not defined."
|
msgid "POSIX Support: The constant %{const} is not defined."
|
||||||
msgstr "Support POSIX : La constante %{const} n'est pas définie."
|
msgstr "Support POSIX : La constante %{const} n'est pas définie."
|
||||||
|
|
||||||
#: includes/addons/LSaddons.posix.php:31
|
#: includes/addons/LSaddons.posix.php:31
|
||||||
msgid "POSIX Support : Unable to load LSaddon::FTP."
|
msgid "POSIX support: Unable to load LSaddon::FTP."
|
||||||
msgstr "Support POSIX : Impossible de charger LSaddon::FTP."
|
msgstr "Support POSIX : Impossible de charger LSaddon::FTP."
|
||||||
|
|
||||||
#: includes/addons/LSaddons.posix.php:36
|
#: includes/addons/LSaddons.posix.php:36
|
||||||
msgid ""
|
msgid ""
|
||||||
"POSIX : The attribute %{dependency} is missing. Unable to forge the "
|
"POSIX: The attribute %{dependency} is missing. Unable to forge the attribute "
|
||||||
"attribute %{attr}."
|
"%{attr}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Support POSIX : L'attribut %{dependency} est manquant. Impossible de générer "
|
"POSIX : L'attribut %{dependency} est manquant. Impossible de générer "
|
||||||
"l'attribut %{attr}."
|
"l'attribut %{attr}."
|
||||||
|
|
||||||
|
#: includes/addons/LSaddons.posix.php:39
|
||||||
|
msgid "POSIX: Fail to create user home directory."
|
||||||
|
msgstr "POSIX : Impossible de créer le dossier personnel de l'utilisateur."
|
||||||
|
|
||||||
|
#: includes/addons/LSaddons.posix.php:42
|
||||||
|
msgid "POSIX: Fail to delete user home directory."
|
||||||
|
msgstr "POSIX : Impossible de supprimer le dossier personnel de l'utilisateur."
|
||||||
|
|
||||||
#: includes/addons/LSaddons.orgchart.php:27
|
#: includes/addons/LSaddons.orgchart.php:27
|
||||||
msgid ""
|
msgid ""
|
||||||
"Organizational Chart Support : The global array %{array} is not defined."
|
"Organizational Chart Support : The global array %{array} is not defined."
|
||||||
|
@ -520,48 +528,50 @@ msgid "The user him-self"
|
||||||
msgstr "L'utilisateur lui-même"
|
msgstr "L'utilisateur lui-même"
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:27
|
#: includes/addons/LSaddons.ftp.php:27
|
||||||
msgid "FTP Support : Pear::Net_FTP is missing."
|
msgid "FTP support: PHP ftp extension is missing."
|
||||||
msgstr "Support FTP : Pear::Net_FTP n'est pas installé."
|
msgstr "Support FTP : L'extension PHP ftp n'est pas installée."
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:31
|
#: includes/addons/LSaddons.ftp.php:32
|
||||||
msgid "FTP Support : The constant %{const} is not defined."
|
msgid "FTP error: %{msg}"
|
||||||
msgstr "Support FTP : La constante %{const} n'est pas définie."
|
msgstr "Erreur FTP : %{msg}"
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:37
|
#: includes/addons/LSaddons.ftp.php:36
|
||||||
msgid "Net_FTP Error : %{msg}"
|
msgid "FTP: Unable to connect to FTP Server (Step : %{step})."
|
||||||
msgstr "Net_FTP Erreur : %{msg}"
|
msgstr "FTP : Impossible de se connecter au serveur FTP (Étape : %{step})"
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:41
|
#: includes/addons/LSaddons.ftp.php:39
|
||||||
msgid "FTP Support : Unable to connect to FTP Server (Step : %{step})."
|
msgid "FTP: Unable to make directory %{dir} on the remote server."
|
||||||
|
msgstr "FTP : Impossible de créer le dossier %{dir} sur le serveur distant."
|
||||||
|
|
||||||
|
#: includes/addons/LSaddons.ftp.php:42
|
||||||
|
msgid "FTP: Unable to list directory %{dir} content on the remote server."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Support FTP : Impossible de se connecter au serveur FTP (Étape : %{step})"
|
"FTP : Impossible de lister le contenu du dossier %{dir} sur le serveur "
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:44
|
|
||||||
msgid "FTP Support : Unable to make directory %{dir} on the remote server."
|
|
||||||
msgstr ""
|
|
||||||
"Support FTP : Impossible de créer le dossier %{dir} sur le serveur distant."
|
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:47
|
|
||||||
msgid "FTP Support : Unable to delete directory %{dir} on the remote server."
|
|
||||||
msgstr ""
|
|
||||||
"Support FTP : Impossible de supprimer le dossier %{dir} sur le serveur "
|
|
||||||
"distant."
|
"distant."
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:50
|
#: includes/addons/LSaddons.ftp.php:45
|
||||||
msgid ""
|
msgid "FTP: Unable to delete directory %{dir} on the remote server."
|
||||||
"FTP Support : Unable to modify rights on the directory %{dir} on the remote "
|
|
||||||
"server."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Support FTP : Impossible de modifier les droits sur le dossier %{dir} sur le "
|
"FTP : Impossible de supprimer le dossier %{dir} sur le serveur distant."
|
||||||
"serveur distant."
|
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:53
|
#: includes/addons/LSaddons.ftp.php:48
|
||||||
msgid ""
|
msgid "FTP: Unable to delete file %{file} on the remote server."
|
||||||
"FTP Support : Unable to rename folder from %{old} to %{new} on the remote "
|
|
||||||
"server."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Support FTP : Impossible de renommer le dossier %{old} en %{new} sur le "
|
"FTP : Impossible de supprimer le fichier %{dir} sur le serveur distant."
|
||||||
"serveur distant."
|
|
||||||
|
#: includes/addons/LSaddons.ftp.php:51
|
||||||
|
msgid ""
|
||||||
|
"FTP: Unable to modify rights on the directory %{dir} on the remote server."
|
||||||
|
msgstr ""
|
||||||
|
"FTP : Impossible de modifier les droits sur le dossier %{dir} sur le serveur "
|
||||||
|
"distant."
|
||||||
|
|
||||||
|
#: includes/addons/LSaddons.ftp.php:54
|
||||||
|
msgid ""
|
||||||
|
"FTP: Unable to rename folder from %{old} to %{new} on the remote server."
|
||||||
|
msgstr ""
|
||||||
|
"FTP : Impossible de renommer le dossier %{old} en %{new} sur le serveur "
|
||||||
|
"distant."
|
||||||
|
|
||||||
#: includes/addons/LSaddons.mailquota.php:27
|
#: includes/addons/LSaddons.mailquota.php:27
|
||||||
msgid "MAILQUOTA Support : The constant %{const} is not defined."
|
msgid "MAILQUOTA Support : The constant %{const} is not defined."
|
||||||
|
@ -635,6 +645,10 @@ msgstr ""
|
||||||
"MAILDIR : Erreur durant la récupération du chemin distant du dossier des "
|
"MAILDIR : Erreur durant la récupération du chemin distant du dossier des "
|
||||||
"mails."
|
"mails."
|
||||||
|
|
||||||
|
#: includes/addons/LSaddons.watermark.php:78
|
||||||
|
msgid "PRE-PRODUCTION"
|
||||||
|
msgstr "PRÉ-PRODUCTION"
|
||||||
|
|
||||||
#: includes/addons/LSaddons.showTechInfo.php:63
|
#: includes/addons/LSaddons.showTechInfo.php:63
|
||||||
#: templates/default/showTechInfo.tpl:16
|
#: templates/default/showTechInfo.tpl:16
|
||||||
msgid "Structural object class"
|
msgid "Structural object class"
|
||||||
|
@ -1460,7 +1474,7 @@ msgstr ""
|
||||||
"LSformRule_differentPassword : Les autres attributs mots de passe doivent "
|
"LSformRule_differentPassword : Les autres attributs mots de passe doivent "
|
||||||
"utiliser LSattr_ldap :: password. Ce n'est pas le cas de l'attribut %{attr}."
|
"utiliser LSattr_ldap :: password. Ce n'est pas le cas de l'attribut %{attr}."
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:829
|
#: includes/class/class.LSattribute.php:823
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : Attribute %{attr} : LDAP or HTML types unknow (LDAP = %{ldap} "
|
"LSattribute : Attribute %{attr} : LDAP or HTML types unknow (LDAP = %{ldap} "
|
||||||
"& HTML = %{html})."
|
"& HTML = %{html})."
|
||||||
|
@ -1468,7 +1482,7 @@ msgstr ""
|
||||||
"LSattribute : Attribut %{attr} : Les types LDAP ou HTML sont inconnus (LDAP "
|
"LSattribute : Attribut %{attr} : Les types LDAP ou HTML sont inconnus (LDAP "
|
||||||
"= %{ldap} & HTML = %{html})."
|
"= %{ldap} & HTML = %{html})."
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:832
|
#: includes/class/class.LSattribute.php:826
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : The function %{func} to display the attribute %{attr} is "
|
"LSattribute : The function %{func} to display the attribute %{attr} is "
|
||||||
"unknow."
|
"unknow."
|
||||||
|
@ -1476,14 +1490,14 @@ msgstr ""
|
||||||
"LSattribute : La fonction %{func} pour afficher l'attribut %{attr} est "
|
"LSattribute : La fonction %{func} pour afficher l'attribut %{attr} est "
|
||||||
"inconnue."
|
"inconnue."
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:835
|
#: includes/class/class.LSattribute.php:829
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : The rule %{rule} to validate the attribute %{attr} is unknow."
|
"LSattribute : The rule %{rule} to validate the attribute %{attr} is unknow."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"LSattribute : La règle %{rule} de validation de l'attribut %{attr} n'existe "
|
"LSattribute : La règle %{rule} de validation de l'attribut %{attr} n'existe "
|
||||||
"pas."
|
"pas."
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:838
|
#: includes/class/class.LSattribute.php:832
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : Configuration data to verify the attribute %{attr} are "
|
"LSattribute : Configuration data to verify the attribute %{attr} are "
|
||||||
"incorrect."
|
"incorrect."
|
||||||
|
@ -1491,22 +1505,22 @@ msgstr ""
|
||||||
"LSattribute : Les données de configuration pour vérifier l'attribut %{attr} "
|
"LSattribute : Les données de configuration pour vérifier l'attribut %{attr} "
|
||||||
"sont incorrecte."
|
"sont incorrecte."
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:841
|
#: includes/class/class.LSattribute.php:835
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : The function %{func} to save the attribute %{attr} is unknow."
|
"LSattribute : The function %{func} to save the attribute %{attr} is unknow."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"LSattribute : La fonction %{func} pour sauvegarder l'attribut %{attr} est "
|
"LSattribute : La fonction %{func} pour sauvegarder l'attribut %{attr} est "
|
||||||
"inconnue."
|
"inconnue."
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:844
|
#: includes/class/class.LSattribute.php:838
|
||||||
msgid "LSattribute : The value of the attribute %{attr} can't be generated."
|
msgid "LSattribute : The value of the attribute %{attr} can't be generated."
|
||||||
msgstr "LSattribute : La valeur de l'attribut %{attr} ne peut être générée."
|
msgstr "LSattribute : La valeur de l'attribut %{attr} ne peut être générée."
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:847
|
#: includes/class/class.LSattribute.php:841
|
||||||
msgid "LSattribute : Generation of the attribute %{attr} failed."
|
msgid "LSattribute : Generation of the attribute %{attr} failed."
|
||||||
msgstr "LSattribute : La génération de l'attribut %{attr} a échouée."
|
msgstr "LSattribute : La génération de l'attribut %{attr} a échouée."
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:850
|
#: includes/class/class.LSattribute.php:844
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : Generation of the attribute %{attr} did not return a correct "
|
"LSattribute : Generation of the attribute %{attr} did not return a correct "
|
||||||
"value."
|
"value."
|
||||||
|
@ -1514,7 +1528,7 @@ msgstr ""
|
||||||
"LSattribute : La génération de l'attribut %{attr} n'a pas retournée de "
|
"LSattribute : La génération de l'attribut %{attr} n'a pas retournée de "
|
||||||
"valeur correcte."
|
"valeur correcte."
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:853
|
#: includes/class/class.LSattribute.php:847
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : The attr_%{type} of the attribute %{name} is not yet defined."
|
"LSattribute : The attr_%{type} of the attribute %{name} is not yet defined."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1758,21 +1772,21 @@ msgstr "Type de fichier invalide (%{type})."
|
||||||
msgid "The attribute %{attr} is not valid."
|
msgid "The attribute %{attr} is not valid."
|
||||||
msgstr "L'attribut %{attr} n'est pas valide."
|
msgstr "L'attribut %{attr} n'est pas valide."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3160
|
#: includes/class/class.LSldapObject.php:3165
|
||||||
msgid "LSldapObject : Object type unknown."
|
msgid "LSldapObject : Object type unknown."
|
||||||
msgstr "LSldapObject : Type d'objet inconnu."
|
msgstr "LSldapObject : Type d'objet inconnu."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3163
|
#: includes/class/class.LSldapObject.php:3168
|
||||||
msgid "LSldapObject : Update form is not defined for the object %{obj}."
|
msgid "LSldapObject : Update form is not defined for the object %{obj}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"LSldapObject : Le formulaire de mise à jour n'est pas défini pour l'objet "
|
"LSldapObject : Le formulaire de mise à jour n'est pas défini pour l'objet "
|
||||||
"%{obj}."
|
"%{obj}."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3166
|
#: includes/class/class.LSldapObject.php:3171
|
||||||
msgid "LSldapObject : No form exists for the object %{obj}."
|
msgid "LSldapObject : No form exists for the object %{obj}."
|
||||||
msgstr "LSldapObject : Aucun formulaire n'existe pour l'objet %{obj}"
|
msgstr "LSldapObject : Aucun formulaire n'existe pour l'objet %{obj}"
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3169
|
#: includes/class/class.LSldapObject.php:3174
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The function %{func} to validate the attribute %{attr} the "
|
"LSldapObject : The function %{func} to validate the attribute %{attr} the "
|
||||||
"object %{obj} is unknow."
|
"object %{obj} is unknow."
|
||||||
|
@ -1780,7 +1794,7 @@ msgstr ""
|
||||||
"LSldapObject : La fonction %{func} pour valider l'attribut %{attr} de "
|
"LSldapObject : La fonction %{func} pour valider l'attribut %{attr} de "
|
||||||
"l'objet %{obj} est inconnue."
|
"l'objet %{obj} est inconnue."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3172
|
#: includes/class/class.LSldapObject.php:3177
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Configuration data are missing to validate the attribute "
|
"LSldapObject : Configuration data are missing to validate the attribute "
|
||||||
"%{attr} of the object %{obj}."
|
"%{attr} of the object %{obj}."
|
||||||
|
@ -1788,7 +1802,7 @@ msgstr ""
|
||||||
"LSldapObject : Des données de configurations sont manquantes pour pouvoir "
|
"LSldapObject : Des données de configurations sont manquantes pour pouvoir "
|
||||||
"valider l'attribut %{attr} de l'objet %{obj}."
|
"valider l'attribut %{attr} de l'objet %{obj}."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3176
|
#: includes/class/class.LSldapObject.php:3181
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The function %{func} to be executed on the object event "
|
"LSldapObject : The function %{func} to be executed on the object event "
|
||||||
"%{event} doesn't exist."
|
"%{event} doesn't exist."
|
||||||
|
@ -1796,14 +1810,14 @@ msgstr ""
|
||||||
"LSldapObject : La fonction %{func} devant être exécutée lors de l'évènement "
|
"LSldapObject : La fonction %{func} devant être exécutée lors de l'évènement "
|
||||||
"%{event} de l'objet n'existe pas."
|
"%{event} de l'objet n'existe pas."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3179
|
#: includes/class/class.LSldapObject.php:3184
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The %{func} execution on the object event %{event} failed."
|
"LSldapObject : The %{func} execution on the object event %{event} failed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"LSldapObject : L'exécution de la fonction %{func} lors de l'évènement "
|
"LSldapObject : L'exécution de la fonction %{func} lors de l'évènement "
|
||||||
"%{event} de l'objet a échouée."
|
"%{event} de l'objet a échouée."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3183
|
#: includes/class/class.LSldapObject.php:3188
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Class %{class}, which method %{meth} to be executed on the "
|
"LSldapObject : Class %{class}, which method %{meth} to be executed on the "
|
||||||
"object event %{event}, doesn't exist."
|
"object event %{event}, doesn't exist."
|
||||||
|
@ -1811,7 +1825,7 @@ msgstr ""
|
||||||
"La classe %{class}, contenant la méthode %{meth} devant être exécutée lors "
|
"La classe %{class}, contenant la méthode %{meth} devant être exécutée lors "
|
||||||
"de l'évènement %{event} de l'objet, n'existe pas."
|
"de l'évènement %{event} de l'objet, n'existe pas."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3186
|
#: includes/class/class.LSldapObject.php:3191
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Method %{meth} within %{class} class to be executed on object "
|
"LSldapObject : Method %{meth} within %{class} class to be executed on object "
|
||||||
"event %{event}, doesn't exist."
|
"event %{event}, doesn't exist."
|
||||||
|
@ -1819,7 +1833,7 @@ msgstr ""
|
||||||
"LSldapObject : La méthode %{meth} de la classe %{class} devant être exécutée "
|
"LSldapObject : La méthode %{meth} de la classe %{class} devant être exécutée "
|
||||||
"lors de l'évènement %{event} de l'objet n'existe pas."
|
"lors de l'évènement %{event} de l'objet n'existe pas."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3189
|
#: includes/class/class.LSldapObject.php:3194
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during execute %{meth} method within %{class} class, to "
|
"LSldapObject : Error during execute %{meth} method within %{class} class, to "
|
||||||
"be executed on object event %{event}."
|
"be executed on object event %{event}."
|
||||||
|
@ -1827,7 +1841,7 @@ msgstr ""
|
||||||
"LSldapObject : Erreur durant l'exécution de la méthode %{meth} de la classe "
|
"LSldapObject : Erreur durant l'exécution de la méthode %{meth} de la classe "
|
||||||
"%{class} devant être exécutée lors de l'évènement %{event} de l'objet."
|
"%{class} devant être exécutée lors de l'évènement %{event} de l'objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3193
|
#: includes/class/class.LSldapObject.php:3198
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Some configuration data of the object type %{obj} are missing "
|
"LSldapObject : Some configuration data of the object type %{obj} are missing "
|
||||||
"to generate the DN of the new object."
|
"to generate the DN of the new object."
|
||||||
|
@ -1835,7 +1849,7 @@ msgstr ""
|
||||||
"LSldapObject : Des informations de configuration du type d'objet %{obj} sont "
|
"LSldapObject : Des informations de configuration du type d'objet %{obj} sont "
|
||||||
"manquantes pour la génération du DN du nouvel objet."
|
"manquantes pour la génération du DN du nouvel objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3196
|
#: includes/class/class.LSldapObject.php:3201
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The attibute %{attr} of the object is not yet defined. Can't "
|
"LSldapObject : The attibute %{attr} of the object is not yet defined. Can't "
|
||||||
"generate DN."
|
"generate DN."
|
||||||
|
@ -1843,11 +1857,11 @@ msgstr ""
|
||||||
"LSldapObject : L'attribut %{attr} de l'objet n'est pas encore défini. "
|
"LSldapObject : L'attribut %{attr} de l'objet n'est pas encore défini. "
|
||||||
"Impossible de générer le DN."
|
"Impossible de générer le DN."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3199
|
#: includes/class/class.LSldapObject.php:3204
|
||||||
msgid "LSldapObject : Without DN, the object could not be changed."
|
msgid "LSldapObject : Without DN, the object could not be changed."
|
||||||
msgstr "LSldapObject : Sans DN, l'objet ne peut pas être modifié."
|
msgstr "LSldapObject : Sans DN, l'objet ne peut pas être modifié."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3202
|
#: includes/class/class.LSldapObject.php:3207
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The attribute %{attr_depend} depending on the attribute "
|
"LSldapObject : The attribute %{attr_depend} depending on the attribute "
|
||||||
"%{attr} doesn't exist."
|
"%{attr} doesn't exist."
|
||||||
|
@ -1855,39 +1869,39 @@ msgstr ""
|
||||||
"LSldapObject : L'attritbut %{attr_depend} dépendant de l'attribut %{attr} "
|
"LSldapObject : L'attritbut %{attr_depend} dépendant de l'attribut %{attr} "
|
||||||
"n'existe pas."
|
"n'existe pas."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3205
|
#: includes/class/class.LSldapObject.php:3210
|
||||||
msgid "LSldapObject : Error during deleting the object %{objectname}."
|
msgid "LSldapObject : Error during deleting the object %{objectname}."
|
||||||
msgstr "LSldapObject : Erreur durant la suppression de l'objet %{objectname}"
|
msgstr "LSldapObject : Erreur durant la suppression de l'objet %{objectname}"
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3209
|
#: includes/class/class.LSldapObject.php:3214
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during actions to be executed before renaming the objet."
|
"LSldapObject : Error during actions to be executed before renaming the objet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"LSldapObject : Erreur durant les actions devant être exécutée avant de "
|
"LSldapObject : Erreur durant les actions devant être exécutée avant de "
|
||||||
"renommer l'objet."
|
"renommer l'objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3212
|
#: includes/class/class.LSldapObject.php:3217
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during actions to be executed after renaming the objet."
|
"LSldapObject : Error during actions to be executed after renaming the objet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"LSldapObject : Erreur durant les actions devant être exécutée après avoir "
|
"LSldapObject : Erreur durant les actions devant être exécutée après avoir "
|
||||||
"renommé l'objet."
|
"renommé l'objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3216
|
#: includes/class/class.LSldapObject.php:3221
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during actions to be executed before deleting the objet."
|
"LSldapObject : Error during actions to be executed before deleting the objet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"LSldapObject : Erreur durant les actions devant être exécutée avant de "
|
"LSldapObject : Erreur durant les actions devant être exécutée avant de "
|
||||||
"supprimer l'objet."
|
"supprimer l'objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3219
|
#: includes/class/class.LSldapObject.php:3224
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during actions to be executed after deleting the objet."
|
"LSldapObject : Error during actions to be executed after deleting the objet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"LSldapObject : Erreur durant les actions devant être exécutée après avoir "
|
"LSldapObject : Erreur durant les actions devant être exécutée après avoir "
|
||||||
"supprimé l'objet."
|
"supprimé l'objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3223
|
#: includes/class/class.LSldapObject.php:3228
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during the actions to be executed before creating the "
|
"LSldapObject : Error during the actions to be executed before creating the "
|
||||||
"object."
|
"object."
|
||||||
|
@ -1895,7 +1909,7 @@ msgstr ""
|
||||||
"LSldapObject : Erreur durant les actions devant être exécutée avant de créer "
|
"LSldapObject : Erreur durant les actions devant être exécutée avant de créer "
|
||||||
"l'objet."
|
"l'objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3226
|
#: includes/class/class.LSldapObject.php:3231
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during the actions to be executed after creating the "
|
"LSldapObject : Error during the actions to be executed after creating the "
|
||||||
"object. It was created anyway."
|
"object. It was created anyway."
|
||||||
|
@ -1903,7 +1917,7 @@ msgstr ""
|
||||||
"LSldapObject : Erreur durant les actions devant être exécutées après la "
|
"LSldapObject : Erreur durant les actions devant être exécutées après la "
|
||||||
"création de l'objet. Il a tout de même été créé."
|
"création de l'objet. Il a tout de même été créé."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3230
|
#: includes/class/class.LSldapObject.php:3235
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The function %{func} to be executed before creating the "
|
"LSldapObject : The function %{func} to be executed before creating the "
|
||||||
"object doesn't exist."
|
"object doesn't exist."
|
||||||
|
@ -1911,7 +1925,7 @@ msgstr ""
|
||||||
"LSldapObject : La fonction %{func} devant être exécutée avant la création de "
|
"LSldapObject : La fonction %{func} devant être exécutée avant la création de "
|
||||||
"l'objet n'existe pas."
|
"l'objet n'existe pas."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3233
|
#: includes/class/class.LSldapObject.php:3238
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error executing the function %{func} to be execute after "
|
"LSldapObject : Error executing the function %{func} to be execute after "
|
||||||
"deleting the object."
|
"deleting the object."
|
||||||
|
@ -1919,7 +1933,7 @@ msgstr ""
|
||||||
"LSldapObject : Erreur durant l'exécution de la fonction %{func} devant être "
|
"LSldapObject : Erreur durant l'exécution de la fonction %{func} devant être "
|
||||||
"exécutée après la suppression de l'objet."
|
"exécutée après la suppression de l'objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3236
|
#: includes/class/class.LSldapObject.php:3241
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The function %{func} to be executed after deleting the object "
|
"LSldapObject : The function %{func} to be executed after deleting the object "
|
||||||
"doesn't exist."
|
"doesn't exist."
|
||||||
|
@ -1927,7 +1941,7 @@ msgstr ""
|
||||||
"LSldapObject : La fonction %{func} devant être exécutée après la suppression "
|
"LSldapObject : La fonction %{func} devant être exécutée après la suppression "
|
||||||
"de l'objet n'existe pas."
|
"de l'objet n'existe pas."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3239
|
#: includes/class/class.LSldapObject.php:3244
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error executing the function %{func} to be execute after "
|
"LSldapObject : Error executing the function %{func} to be execute after "
|
||||||
"creating the object."
|
"creating the object."
|
||||||
|
@ -1935,7 +1949,7 @@ msgstr ""
|
||||||
"LSldapObject : Erreur durant l'exécution de la fonction %{func} devant être "
|
"LSldapObject : Erreur durant l'exécution de la fonction %{func} devant être "
|
||||||
"exécutée après la création de l'objet."
|
"exécutée après la création de l'objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3243
|
#: includes/class/class.LSldapObject.php:3248
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : %{func} function, to be executed on object event %{event}, "
|
"LSldapObject : %{func} function, to be executed on object event %{event}, "
|
||||||
"doesn't exist."
|
"doesn't exist."
|
||||||
|
@ -1943,7 +1957,7 @@ msgstr ""
|
||||||
"LSldapObject : La fonction %{func}, devant être exécutée lors de l'évènement "
|
"LSldapObject : La fonction %{func}, devant être exécutée lors de l'évènement "
|
||||||
"%{event} de l'objet, n'existe pas."
|
"%{event} de l'objet, n'existe pas."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3246
|
#: includes/class/class.LSldapObject.php:3251
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during the execution of %{func} function on object "
|
"LSldapObject : Error during the execution of %{func} function on object "
|
||||||
"event %{event}."
|
"event %{event}."
|
||||||
|
@ -1951,7 +1965,7 @@ msgstr ""
|
||||||
"LSldapObject : Erreur durant l'exécution de la fonction %{func} lors de "
|
"LSldapObject : Erreur durant l'exécution de la fonction %{func} lors de "
|
||||||
"l'évènement %{event} de l'objet."
|
"l'évènement %{event} de l'objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3250
|
#: includes/class/class.LSldapObject.php:3255
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : %{meth} method, to be executed on object event %{event}, "
|
"LSldapObject : %{meth} method, to be executed on object event %{event}, "
|
||||||
"doesn't exist."
|
"doesn't exist."
|
||||||
|
@ -1959,7 +1973,7 @@ msgstr ""
|
||||||
"LSldapObject : La méthode %{meth}, devant être exécutée lors de l'évènement "
|
"LSldapObject : La méthode %{meth}, devant être exécutée lors de l'évènement "
|
||||||
"%{event} de l'objet, n'existe pas."
|
"%{event} de l'objet, n'existe pas."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3253
|
#: includes/class/class.LSldapObject.php:3258
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during execution of %{meth} method on object event "
|
"LSldapObject : Error during execution of %{meth} method on object event "
|
||||||
"%{event}."
|
"%{event}."
|
||||||
|
@ -1967,13 +1981,13 @@ msgstr ""
|
||||||
"LSldapObject : Erreur durant l'exécution de la méthode %{meth} lors de "
|
"LSldapObject : Erreur durant l'exécution de la méthode %{meth} lors de "
|
||||||
"l'évènement %{event} de l'objet."
|
"l'évènement %{event} de l'objet."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3256
|
#: includes/class/class.LSldapObject.php:3261
|
||||||
msgid "LSldapObject : Error during generate LDAP filter for %{LSobject}."
|
msgid "LSldapObject : Error during generate LDAP filter for %{LSobject}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"LSldapObject : Erreur durant la génération du filtre LDAP de l'objet "
|
"LSldapObject : Erreur durant la génération du filtre LDAP de l'objet "
|
||||||
"%{LSobject}."
|
"%{LSobject}."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3260
|
#: includes/class/class.LSldapObject.php:3265
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during execution of the custom action %{customAction} "
|
"LSldapObject : Error during execution of the custom action %{customAction} "
|
||||||
"on %{objectname}."
|
"on %{objectname}."
|
||||||
|
@ -1981,22 +1995,22 @@ msgstr ""
|
||||||
"LSldapObject : Erreur durant l'exécution de l'action personnalisée "
|
"LSldapObject : Erreur durant l'exécution de l'action personnalisée "
|
||||||
"%{customAction} sur l'objet %{objectname}."
|
"%{customAction} sur l'objet %{objectname}."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3264
|
#: includes/class/class.LSldapObject.php:3269
|
||||||
msgid "LSldapObject : Fail to retrieve container DN."
|
msgid "LSldapObject : Fail to retrieve container DN."
|
||||||
msgstr "LSldapObject : Impossible de récupérer le DN parent."
|
msgstr "LSldapObject : Impossible de récupérer le DN parent."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3267
|
#: includes/class/class.LSldapObject.php:3272
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The function %{func} to generate container DN is not callable."
|
"LSldapObject : The function %{func} to generate container DN is not callable."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"LSldapObject : La fonction %{func} pour générer le DN parent n'est pas "
|
"LSldapObject : La fonction %{func} pour générer le DN parent n'est pas "
|
||||||
"exécutable."
|
"exécutable."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3270
|
#: includes/class/class.LSldapObject.php:3275
|
||||||
msgid "LSldapObject : Error during generating container DN : %{error}"
|
msgid "LSldapObject : Error during generating container DN : %{error}"
|
||||||
msgstr "LSldapObject : Erreur durant la génération du DN parent : %{error}."
|
msgstr "LSldapObject : Erreur durant la génération du DN parent : %{error}."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3273
|
#: includes/class/class.LSldapObject.php:3278
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : An LDAP object with the same DN as generated for this new one "
|
"LSldapObject : An LDAP object with the same DN as generated for this new one "
|
||||||
"already exists. Please verify your configuration."
|
"already exists. Please verify your configuration."
|
||||||
|
@ -2004,7 +2018,7 @@ msgstr ""
|
||||||
"LSldapObject : Un objet LDAP avec le même DN que celui généré pour ce nouvel "
|
"LSldapObject : Un objet LDAP avec le même DN que celui généré pour ce nouvel "
|
||||||
"objet existe déjà. Merci de vérifier votre configuration."
|
"objet existe déjà. Merci de vérifier votre configuration."
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3278
|
#: includes/class/class.LSldapObject.php:3283
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSrelation : Some parameters are missing in the call of methods to handle "
|
"LSrelation : Some parameters are missing in the call of methods to handle "
|
||||||
"standard relations (Method : %{meth})."
|
"standard relations (Method : %{meth})."
|
||||||
|
@ -3776,6 +3790,3 @@ msgstr "événement(s) trouvé(s) pour cet objet."
|
||||||
#: templates/default/import.tpl:27 templates/default/import.tpl:33
|
#: templates/default/import.tpl:27 templates/default/import.tpl:33
|
||||||
msgid "no"
|
msgid "no"
|
||||||
msgstr "non"
|
msgstr "non"
|
||||||
|
|
||||||
#~ msgid "PRE-PRODUCTION"
|
|
||||||
#~ msgstr "PRÉ-PRODUCTION"
|
|
||||||
|
|
|
@ -256,17 +256,25 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.posix.php:27
|
#: includes/addons/LSaddons.posix.php:27
|
||||||
msgid "POSIX Support : The constant %{const} is not defined."
|
msgid "POSIX Support: The constant %{const} is not defined."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.posix.php:31
|
#: includes/addons/LSaddons.posix.php:31
|
||||||
msgid "POSIX Support : Unable to load LSaddon::FTP."
|
msgid "POSIX support: Unable to load LSaddon::FTP."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.posix.php:36
|
#: includes/addons/LSaddons.posix.php:36
|
||||||
msgid ""
|
msgid ""
|
||||||
"POSIX : The attribute %{dependency} is missing. Unable to forge the "
|
"POSIX: The attribute %{dependency} is missing. Unable to forge the attribute "
|
||||||
"attribute %{attr}."
|
"%{attr}."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: includes/addons/LSaddons.posix.php:39
|
||||||
|
msgid "POSIX: Fail to create user home directory."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: includes/addons/LSaddons.posix.php:42
|
||||||
|
msgid "POSIX: Fail to delete user home directory."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.orgchart.php:27
|
#: includes/addons/LSaddons.orgchart.php:27
|
||||||
|
@ -434,39 +442,41 @@ msgid "The user him-self"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:27
|
#: includes/addons/LSaddons.ftp.php:27
|
||||||
msgid "FTP Support : Pear::Net_FTP is missing."
|
msgid "FTP support: PHP ftp extension is missing."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:31
|
#: includes/addons/LSaddons.ftp.php:32
|
||||||
msgid "FTP Support : The constant %{const} is not defined."
|
msgid "FTP error: %{msg}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:37
|
#: includes/addons/LSaddons.ftp.php:36
|
||||||
msgid "Net_FTP Error : %{msg}"
|
msgid "FTP: Unable to connect to FTP Server (Step : %{step})."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:41
|
#: includes/addons/LSaddons.ftp.php:39
|
||||||
msgid "FTP Support : Unable to connect to FTP Server (Step : %{step})."
|
msgid "FTP: Unable to make directory %{dir} on the remote server."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:44
|
#: includes/addons/LSaddons.ftp.php:42
|
||||||
msgid "FTP Support : Unable to make directory %{dir} on the remote server."
|
msgid "FTP: Unable to list directory %{dir} content on the remote server."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:47
|
#: includes/addons/LSaddons.ftp.php:45
|
||||||
msgid "FTP Support : Unable to delete directory %{dir} on the remote server."
|
msgid "FTP: Unable to delete directory %{dir} on the remote server."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:50
|
#: includes/addons/LSaddons.ftp.php:48
|
||||||
|
msgid "FTP: Unable to delete file %{file} on the remote server."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: includes/addons/LSaddons.ftp.php:51
|
||||||
msgid ""
|
msgid ""
|
||||||
"FTP Support : Unable to modify rights on the directory %{dir} on the remote "
|
"FTP: Unable to modify rights on the directory %{dir} on the remote server."
|
||||||
"server."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.ftp.php:53
|
#: includes/addons/LSaddons.ftp.php:54
|
||||||
msgid ""
|
msgid ""
|
||||||
"FTP Support : Unable to rename folder from %{old} to %{new} on the remote "
|
"FTP: Unable to rename folder from %{old} to %{new} on the remote server."
|
||||||
"server."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.mailquota.php:27
|
#: includes/addons/LSaddons.mailquota.php:27
|
||||||
|
@ -527,6 +537,10 @@ msgstr ""
|
||||||
msgid "MAILDIR : Error retrieving remote path of the maildir."
|
msgid "MAILDIR : Error retrieving remote path of the maildir."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: includes/addons/LSaddons.watermark.php:78
|
||||||
|
msgid "PRE-PRODUCTION"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: includes/addons/LSaddons.showTechInfo.php:63
|
#: includes/addons/LSaddons.showTechInfo.php:63
|
||||||
#: templates/default/showTechInfo.tpl:16
|
#: templates/default/showTechInfo.tpl:16
|
||||||
msgid "Structural object class"
|
msgid "Structural object class"
|
||||||
|
@ -1244,49 +1258,49 @@ msgid ""
|
||||||
"LSattr_ldap :: password. It's not the case of the attribure %{attr}."
|
"LSattr_ldap :: password. It's not the case of the attribure %{attr}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:829
|
#: includes/class/class.LSattribute.php:823
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : Attribute %{attr} : LDAP or HTML types unknow (LDAP = %{ldap} "
|
"LSattribute : Attribute %{attr} : LDAP or HTML types unknow (LDAP = %{ldap} "
|
||||||
"& HTML = %{html})."
|
"& HTML = %{html})."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:832
|
#: includes/class/class.LSattribute.php:826
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : The function %{func} to display the attribute %{attr} is "
|
"LSattribute : The function %{func} to display the attribute %{attr} is "
|
||||||
"unknow."
|
"unknow."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:835
|
#: includes/class/class.LSattribute.php:829
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : The rule %{rule} to validate the attribute %{attr} is unknow."
|
"LSattribute : The rule %{rule} to validate the attribute %{attr} is unknow."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:838
|
#: includes/class/class.LSattribute.php:832
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : Configuration data to verify the attribute %{attr} are "
|
"LSattribute : Configuration data to verify the attribute %{attr} are "
|
||||||
"incorrect."
|
"incorrect."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:841
|
#: includes/class/class.LSattribute.php:835
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : The function %{func} to save the attribute %{attr} is unknow."
|
"LSattribute : The function %{func} to save the attribute %{attr} is unknow."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:844
|
#: includes/class/class.LSattribute.php:838
|
||||||
msgid "LSattribute : The value of the attribute %{attr} can't be generated."
|
msgid "LSattribute : The value of the attribute %{attr} can't be generated."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:847
|
#: includes/class/class.LSattribute.php:841
|
||||||
msgid "LSattribute : Generation of the attribute %{attr} failed."
|
msgid "LSattribute : Generation of the attribute %{attr} failed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:850
|
#: includes/class/class.LSattribute.php:844
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : Generation of the attribute %{attr} did not return a correct "
|
"LSattribute : Generation of the attribute %{attr} did not return a correct "
|
||||||
"value."
|
"value."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSattribute.php:853
|
#: includes/class/class.LSattribute.php:847
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSattribute : The attr_%{type} of the attribute %{name} is not yet defined."
|
"LSattribute : The attr_%{type} of the attribute %{name} is not yet defined."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1488,195 +1502,195 @@ msgstr ""
|
||||||
msgid "The attribute %{attr} is not valid."
|
msgid "The attribute %{attr} is not valid."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3160
|
#: includes/class/class.LSldapObject.php:3165
|
||||||
msgid "LSldapObject : Object type unknown."
|
msgid "LSldapObject : Object type unknown."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3163
|
#: includes/class/class.LSldapObject.php:3168
|
||||||
msgid "LSldapObject : Update form is not defined for the object %{obj}."
|
msgid "LSldapObject : Update form is not defined for the object %{obj}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3166
|
#: includes/class/class.LSldapObject.php:3171
|
||||||
msgid "LSldapObject : No form exists for the object %{obj}."
|
msgid "LSldapObject : No form exists for the object %{obj}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3169
|
#: includes/class/class.LSldapObject.php:3174
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The function %{func} to validate the attribute %{attr} the "
|
"LSldapObject : The function %{func} to validate the attribute %{attr} the "
|
||||||
"object %{obj} is unknow."
|
"object %{obj} is unknow."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3172
|
#: includes/class/class.LSldapObject.php:3177
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Configuration data are missing to validate the attribute "
|
"LSldapObject : Configuration data are missing to validate the attribute "
|
||||||
"%{attr} of the object %{obj}."
|
"%{attr} of the object %{obj}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3176
|
#: includes/class/class.LSldapObject.php:3181
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The function %{func} to be executed on the object event "
|
"LSldapObject : The function %{func} to be executed on the object event "
|
||||||
"%{event} doesn't exist."
|
"%{event} doesn't exist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3179
|
#: includes/class/class.LSldapObject.php:3184
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The %{func} execution on the object event %{event} failed."
|
"LSldapObject : The %{func} execution on the object event %{event} failed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3183
|
#: includes/class/class.LSldapObject.php:3188
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Class %{class}, which method %{meth} to be executed on the "
|
"LSldapObject : Class %{class}, which method %{meth} to be executed on the "
|
||||||
"object event %{event}, doesn't exist."
|
"object event %{event}, doesn't exist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3186
|
#: includes/class/class.LSldapObject.php:3191
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Method %{meth} within %{class} class to be executed on object "
|
"LSldapObject : Method %{meth} within %{class} class to be executed on object "
|
||||||
"event %{event}, doesn't exist."
|
"event %{event}, doesn't exist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3189
|
#: includes/class/class.LSldapObject.php:3194
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during execute %{meth} method within %{class} class, to "
|
"LSldapObject : Error during execute %{meth} method within %{class} class, to "
|
||||||
"be executed on object event %{event}."
|
"be executed on object event %{event}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3193
|
#: includes/class/class.LSldapObject.php:3198
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Some configuration data of the object type %{obj} are missing "
|
"LSldapObject : Some configuration data of the object type %{obj} are missing "
|
||||||
"to generate the DN of the new object."
|
"to generate the DN of the new object."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3196
|
#: includes/class/class.LSldapObject.php:3201
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The attibute %{attr} of the object is not yet defined. Can't "
|
"LSldapObject : The attibute %{attr} of the object is not yet defined. Can't "
|
||||||
"generate DN."
|
"generate DN."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3199
|
#: includes/class/class.LSldapObject.php:3204
|
||||||
msgid "LSldapObject : Without DN, the object could not be changed."
|
msgid "LSldapObject : Without DN, the object could not be changed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3202
|
#: includes/class/class.LSldapObject.php:3207
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The attribute %{attr_depend} depending on the attribute "
|
"LSldapObject : The attribute %{attr_depend} depending on the attribute "
|
||||||
"%{attr} doesn't exist."
|
"%{attr} doesn't exist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3205
|
#: includes/class/class.LSldapObject.php:3210
|
||||||
msgid "LSldapObject : Error during deleting the object %{objectname}."
|
msgid "LSldapObject : Error during deleting the object %{objectname}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3209
|
#: includes/class/class.LSldapObject.php:3214
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during actions to be executed before renaming the objet."
|
"LSldapObject : Error during actions to be executed before renaming the objet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3212
|
#: includes/class/class.LSldapObject.php:3217
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during actions to be executed after renaming the objet."
|
"LSldapObject : Error during actions to be executed after renaming the objet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3216
|
#: includes/class/class.LSldapObject.php:3221
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during actions to be executed before deleting the objet."
|
"LSldapObject : Error during actions to be executed before deleting the objet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3219
|
#: includes/class/class.LSldapObject.php:3224
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during actions to be executed after deleting the objet."
|
"LSldapObject : Error during actions to be executed after deleting the objet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3223
|
#: includes/class/class.LSldapObject.php:3228
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during the actions to be executed before creating the "
|
"LSldapObject : Error during the actions to be executed before creating the "
|
||||||
"object."
|
"object."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3226
|
#: includes/class/class.LSldapObject.php:3231
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during the actions to be executed after creating the "
|
"LSldapObject : Error during the actions to be executed after creating the "
|
||||||
"object. It was created anyway."
|
"object. It was created anyway."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3230
|
#: includes/class/class.LSldapObject.php:3235
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The function %{func} to be executed before creating the "
|
"LSldapObject : The function %{func} to be executed before creating the "
|
||||||
"object doesn't exist."
|
"object doesn't exist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3233
|
#: includes/class/class.LSldapObject.php:3238
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error executing the function %{func} to be execute after "
|
"LSldapObject : Error executing the function %{func} to be execute after "
|
||||||
"deleting the object."
|
"deleting the object."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3236
|
#: includes/class/class.LSldapObject.php:3241
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The function %{func} to be executed after deleting the object "
|
"LSldapObject : The function %{func} to be executed after deleting the object "
|
||||||
"doesn't exist."
|
"doesn't exist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3239
|
#: includes/class/class.LSldapObject.php:3244
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error executing the function %{func} to be execute after "
|
"LSldapObject : Error executing the function %{func} to be execute after "
|
||||||
"creating the object."
|
"creating the object."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3243
|
#: includes/class/class.LSldapObject.php:3248
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : %{func} function, to be executed on object event %{event}, "
|
"LSldapObject : %{func} function, to be executed on object event %{event}, "
|
||||||
"doesn't exist."
|
"doesn't exist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3246
|
#: includes/class/class.LSldapObject.php:3251
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during the execution of %{func} function on object "
|
"LSldapObject : Error during the execution of %{func} function on object "
|
||||||
"event %{event}."
|
"event %{event}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3250
|
#: includes/class/class.LSldapObject.php:3255
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : %{meth} method, to be executed on object event %{event}, "
|
"LSldapObject : %{meth} method, to be executed on object event %{event}, "
|
||||||
"doesn't exist."
|
"doesn't exist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3253
|
#: includes/class/class.LSldapObject.php:3258
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during execution of %{meth} method on object event "
|
"LSldapObject : Error during execution of %{meth} method on object event "
|
||||||
"%{event}."
|
"%{event}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3256
|
#: includes/class/class.LSldapObject.php:3261
|
||||||
msgid "LSldapObject : Error during generate LDAP filter for %{LSobject}."
|
msgid "LSldapObject : Error during generate LDAP filter for %{LSobject}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3260
|
#: includes/class/class.LSldapObject.php:3265
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : Error during execution of the custom action %{customAction} "
|
"LSldapObject : Error during execution of the custom action %{customAction} "
|
||||||
"on %{objectname}."
|
"on %{objectname}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3264
|
#: includes/class/class.LSldapObject.php:3269
|
||||||
msgid "LSldapObject : Fail to retrieve container DN."
|
msgid "LSldapObject : Fail to retrieve container DN."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3267
|
#: includes/class/class.LSldapObject.php:3272
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : The function %{func} to generate container DN is not callable."
|
"LSldapObject : The function %{func} to generate container DN is not callable."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3270
|
#: includes/class/class.LSldapObject.php:3275
|
||||||
msgid "LSldapObject : Error during generating container DN : %{error}"
|
msgid "LSldapObject : Error during generating container DN : %{error}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3273
|
#: includes/class/class.LSldapObject.php:3278
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSldapObject : An LDAP object with the same DN as generated for this new one "
|
"LSldapObject : An LDAP object with the same DN as generated for this new one "
|
||||||
"already exists. Please verify your configuration."
|
"already exists. Please verify your configuration."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class/class.LSldapObject.php:3278
|
#: includes/class/class.LSldapObject.php:3283
|
||||||
msgid ""
|
msgid ""
|
||||||
"LSrelation : Some parameters are missing in the call of methods to handle "
|
"LSrelation : Some parameters are missing in the call of methods to handle "
|
||||||
"standard relations (Method : %{meth})."
|
"standard relations (Method : %{meth})."
|
||||||
|
|
|
@ -80,19 +80,6 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $BUILD_DOC -eq 1 ]
|
|
||||||
then
|
|
||||||
msg "-> Clean the doc : " -en
|
|
||||||
cd $ROOT_DIR/doc >> $LOG_FILE && make clean >> $LOG_FILE && cd - >> $LOG_FILE
|
|
||||||
if [ $? -gt 0 ]
|
|
||||||
then
|
|
||||||
msg "Error"
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
msg "Ok"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$THEME" != "" ]
|
if [ "$THEME" != "" ]
|
||||||
then
|
then
|
||||||
msg "\t\t-> Remove theme : " -en
|
msg "\t\t-> Remove theme : " -en
|
||||||
|
@ -299,40 +286,3 @@ then
|
||||||
else
|
else
|
||||||
msg "Changed detected :\n\n/!\\ You have to force-reload your webserver to handle it ! /!\\\n\n"
|
msg "Changed detected :\n\n/!\\ You have to force-reload your webserver to handle it ! /!\\\n\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $BUILD_DOC -eq 1 ]
|
|
||||||
then
|
|
||||||
[ -n "$LAST_UPDATE_FILE" ] && [ "`$ROOT_DIR/checkDocExportsNecessity.sh`" == "" ] && echo "Export documentation is not necessary. Pass." && exit
|
|
||||||
msg "-> Do you want build the documentation (y/N) ? " -en
|
|
||||||
read a
|
|
||||||
if [ "$a" == "y" -o "$a" == "Y" ]
|
|
||||||
then
|
|
||||||
msg "-> Build the doc : " -en
|
|
||||||
cd $ROOT_DIR/doc
|
|
||||||
|
|
||||||
make clean >> $LOG_FILE 2>&1
|
|
||||||
make >> $LOG_FILE 2>&1 &
|
|
||||||
|
|
||||||
export P=$!
|
|
||||||
|
|
||||||
trap exitwhell INT
|
|
||||||
|
|
||||||
function exitwhell() {
|
|
||||||
[ -n "$P" ] && kill -9 $P 2> /dev/null
|
|
||||||
echo " -- INT -- "
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
while [ -d /proc/$P ]
|
|
||||||
do
|
|
||||||
echo -n .
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
echo done.
|
|
||||||
|
|
||||||
if [ -n "$EXPORT_DOC_DIR" ]
|
|
||||||
then
|
|
||||||
$ROOT_DIR/buildDocExports.sh
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue