diff --git a/doc/conf/globale.docbook b/doc/conf/globale.docbook index dbcc7808..4a6b7aad 100644 --- a/doc/conf/globale.docbook +++ b/doc/conf/globale.docbook @@ -51,6 +51,16 @@ define('CONST2','val2') + + public_root_url + + URL publique de la racine web de l'application. Il peut s'agir d'une URL relative + bien qu'une URL absolue soit préférable, notament pour éviter l'auto-détection de celle-ci + lorsque nécessaire (lien dans un e-mail par exemple. Par défaut : /. + + + + lang diff --git a/public_html/.htaccess b/public_html/.htaccess new file mode 100644 index 00000000..26771e96 --- /dev/null +++ b/public_html/.htaccess @@ -0,0 +1,7 @@ +RewriteEngine On + +# If the request is not for a valid file +RewriteCond %{REQUEST_FILENAME} !-f +# If the request is not for a valid link +RewriteCond %{REQUEST_FILENAME} !-l +RewriteRule ^(.*)$ index.php?REQUESTED_URL=$1 [L,QSA] diff --git a/public_html/conf/config.inc.php b/public_html/conf/config.inc.php index a869c5ae..cd6afd1b 100644 --- a/public_html/conf/config.inc.php +++ b/public_html/conf/config.inc.php @@ -25,6 +25,7 @@ $GLOBALS['LSconfig'] = array( 'NetLDAP2' => '/usr/share/php/Net/LDAP2.php', 'Smarty' => '/usr/share/php/smarty3/Smarty.class.php', 'ConsoleTable' => '/usr/share/php/Console/Table.php', + 'public_root_url' => '/', 'lang' => 'fr_FR', 'encoding' => 'UTF8', 'cacheLSprofiles' => true, diff --git a/public_html/includes/class/class.LSsession.php b/public_html/includes/class/class.LSsession.php index 3b718b99..a5c36b82 100644 --- a/public_html/includes/class/class.LSsession.php +++ b/public_html/includes/class/class.LSsession.php @@ -91,6 +91,9 @@ class LSsession { // User LDAP credentials private static $userLDAPcreds = false; + // Initialized telltale + private static $initialized = false; + /** * Include un fichier PHP * @@ -153,6 +156,20 @@ class LSsession { return False; } + /** + * Lancement de LSurl + * + * @author Benjamin Renard + * + * @retval true si tout c'est bien passé, false sinon + */ + private static function startLSurl() { + if (self :: loadLSclass('LSurl') && self :: includeFile(LS_INCLUDE_DIR . "routes.php")) { + return true; + } + return False; + } + /** * Lancement et initialisation de Smarty * @@ -515,6 +532,8 @@ class LSsession { * @retval boolean True si l'initialisation à réussi, false sinon. */ public static function initialize($lang=null,$encoding=null) { + if (self :: $initialized) + return true; try { if (!self :: startLSconfig()) { return; @@ -524,6 +543,7 @@ class LSsession { self :: startLSlog(); self :: loadLScli(); self :: startLStemplate(); + self :: startLSurl(); if (php_sapi_name() != "cli") session_start(); @@ -536,6 +556,7 @@ class LSsession { catch (Exception $e) { die('LSsession : fail to initialize session. Error : '.$e->getMessage()); } + self :: $initialized = true; return true; } diff --git a/public_html/includes/class/class.LSurl.php b/public_html/includes/class/class.LSurl.php new file mode 100644 index 00000000..aebb9bf0 --- /dev/null +++ b/public_html/includes/class/class.LSurl.php @@ -0,0 +1,325 @@ + + */ +class LSurl { + + /* + * Configured URL patterns : + * + * array ( + * '[URL pattern]' => '[handler]', + * [...] + * ) + * + * Example : + * + * array ( + * '|get/(?P[a-zA-Z0-9]+)$|' => array ( + * 'handler' => 'get', + * 'authenticated' => true, + * ), + * '|get/all$|' => => array ( + * 'handler' => 'get_all', + * 'authenticated' => true, + * ), + * ) + * + */ + private static $patterns = array(); + + // Rewrited request param + const REWRITED_REQUEST_PARAM = 'REQUESTED_URL'; + + /** + * Add an URL pattern + * + * @param[in] $pattern string The URL pattern (required) + * @param[in] $handler callable The URL pattern handler (must be callable, required) + * @param[in] $authenticated boolean Permit to define if this URL is accessible only for authenticated users (optional, default: true) + * @param[in] $override boolean Allow override if a command already exists with the same name (optional, default: false) + **/ + public static function add_handler($pattern, $handler=null, $authenticated=true, $override=true) { + if (is_array($pattern)) { + if (is_null($handler)) + foreach($pattern as $p => $h) + self :: add_handlers($p, $h, $override); + else + foreach($pattern as $p) + self :: add_handlers($p, $handler, $override); + } + else { + if (!isset(self :: $patterns[$pattern])) { + self :: $patterns[$pattern] = array( + 'handler' => $handler, + 'authenticated' => $authenticated, + ); + } + elseif ($override) { + LSlog :: debug("URL : override pattern '$pattern' with handler '$handler' (old handler = '".self :: $patterns[$pattern]."')"); + self :: $patterns[$pattern] = array( + 'handler' => $handler, + 'authenticated' => $authenticated, + ); + } + else { + LSlog :: debug("URL : pattern '$pattern' already defined : do not override."); + } + } + } + + /** + * Interprets the requested URL and return the corresponding LSurlRequest object + * + * @param[in] $default_url string|null The default URL if current one does not + * match with any configured pattern. + * + * @retval LSurlRequest The LSurlRequest object corresponding to the the requested URL. + **/ + private static function get_request($default_url=null) { + $current_url = self :: get_current_url(); + if (is_null($current_url)) { + LSlog :: fatal(_("Fail to determine the requested URL.")); + exit(); + } + if (!is_array(self :: $patterns)) { + LSlog :: fatal('No URL patterns configured !'); + exit(); + } + + LSlog :: debug("URL : current url = '$current_url'"); + LSlog :: debug("URL : check current url with the following URL patterns :\n - ".implode("\n - ", array_keys(self :: $patterns))); + foreach (self :: $patterns as $pattern => $handler_infos) { + $m = self :: url_match($pattern, $current_url); + if (is_array($m)) { + $request = new LSurlRequest($current_url, $handler_infos, $m); + // Reset last redirect + if (isset($_SESSION['last_redirect'])) + unset($_SESSION['last_redirect']); + LSlog :: debug("URL : result :\n".varDump($request, 1)); + return $request; + } + } + if (!is_null($default_url)) { + LSlog :: debug("Current URL match with no pattern. Redirect to default URL ('$default_url')"); + self :: redirect($default_url); + exit(); + } + LSlog :: debug("Current URL match with no pattern. Use error 404 handler."); + return new LSurlRequest( + $current_url, + array( + 'handler' => array('LSurl', 'error_404'), + 'authenticated' => false, + ) + ); + } + + /** + * Check if the current requested URL match with a specific pattern + * + * @param[in] $pattern string The URL pattern + * @param[in] $current_url string|false The current URL (optional) + * + * @retval array|false The URL info if pattern matched, false otherwise. + **/ + private static function url_match($pattern, $current_url=false) { + if ($current_url === false) { + $current_url = self :: get_current_url(); + if (!$current_url) return False; + } + if (preg_match($pattern, $current_url, $m)) { + LSlog :: debug("URL : Match found with pattern '$pattern' :\n\t".str_replace("\n", "\n\t", print_r($m, 1))); + return $m; + } + return False; + } + + /** + * Get the current requested URL + * + * @retval string The current requested URL + **/ + public static function get_current_url() { + if (array_key_exists(self :: REWRITED_REQUEST_PARAM, $_REQUEST)) + return $_REQUEST[self :: REWRITED_REQUEST_PARAM]; + LSlog :: warning('LSurl : Rewrite request param not present, try to detect current URL.'); + return self :: detect_current_url(); + } + + /** + * Trigger redirect to specified URL (or homepage if omited) + * + * @param[in] $go string|false The destination URL + * + * @retval void + **/ + public static function redirect($go=false) { + $public_root_url = LSconfig :: get('public_root_url', '/', 'string'); + if ($go===false) + $go = ""; + + if (preg_match('#^https?://#',$go)) { + $url = $go; + } + else { + // Check $public_root_url end + if (substr($public_root_url, -1)=='/') { + $public_root_url=substr($public_root_url, 0, -1); + } + $url="$public_root_url/$go"; + } + + // Prevent loop + if (isset($_SESSION['last_redirect']) && $_SESSION['last_redirect'] == $url) + LSlog :: fatal(_("Fail to determine the requested URL (loop detected).")); + else + $_SESSION['last_redirect'] = $url; + + logging('DEBUG',"redirect($go) => Redirect to : <$url>"); + header("Location: $url"); + exit(); + } + + /** + * Error 404 handler + * + * @param[in] $request LSurlRequest|null The request (optional, default: null) + * + * @retval void + **/ + public static function error_404($request=null) { + LSsession :: setTemplate('error_404.tpl'); + LSsession :: displayTemplate(); + } + + /** + * Handle the current requested URL + * + * @param[in] $default_url string|null The default URL if current one does not + * match with any configured pattern. + * + * @retval void + **/ + public static function handle_request($default_url=null) { + $request = self :: get_request($default_url); + + if (!is_callable($request -> handler)) { + LSlog :: error("URL handler function ".$request -> handler."() does not exists !"); + LSlog :: fatal("This request could not be handled."); + } + + if (class_exists('LStemplate')) + LStemplate :: assign('request', $request); + + // Check authentication (if need) + if($request -> authenticated && ! LSsession :: startLSsession()) { + LSsession :: setTemplate('login.tpl'); + LSsession :: displayTemplate(); + return true; + } + + try { + return call_user_func($request -> handler, $request); + } + catch (Exception $e) { + LSlog :: exception($e, "An exception occured running URL handler function ".$request -> handler."()"); + LSlog :: fatal("This request could not be processed correctly."); + } + } + + /** + * Helpers to detect current requested URL + */ + + /* + * Try to detect current requested URL + * + * @retval string|false The current request URL or false if detection fail + **/ + private static function detect_current_url() { + LSlog :: debug("URL : request URI = '".$_SERVER['REQUEST_URI']."'"); + + $base = self :: get_rewrite_base(); + LSlog :: debug("URL : rewrite base = '$base'"); + + if ($_SERVER['REQUEST_URI'] == $base) + return ''; + + if (substr($_SERVER['REQUEST_URI'], 0, strlen($base)) != $base) { + LSlog :: error("URL : request URI (".$_SERVER['REQUEST_URI'].") does not start with rewrite base ($base)"); + return False; + } + + $current_url = substr($_SERVER['REQUEST_URI'], strlen($base)); + + // URL contain params ? + $params_start = strpos($current_url, '?'); + if ($params_start !== false) { + // Params detected, remove it + + // No url / currrent url start by '?' ? + if ($params_start == 0) + return ''; + else + return substr($current_url, 0, $params_start); + } + + return $current_url; + } + + /** + * Try to detect rewrite base from public root URL + * + * @retval string The detected rewrite base + **/ + private static function get_rewrite_base() { + $public_root_url = LSconfig :: get('public_root_url', '/', 'string'); + if (preg_match('|^https?://[^/]+/(.*)$|', $public_root_url, $m)) + return '/'.self :: remove_trailing_slash($m[1]).'/'; + elseif (preg_match('|^/(.+)$|', $public_root_url, $m)) + return '/'.self :: remove_trailing_slash($m[1]).'/'; + return '/'; + } + + /** + * Remove trailing slash in specified URL + * + * @param[in] $url string The URL + * + * @retval string The specified URL without trailing slash + **/ + private static function remove_trailing_slash($url) { + if ($url == '/') + return $url; + elseif (substr($url, -1) == '/') + return substr($url, 0, -1); + return $url; + } + +} diff --git a/public_html/includes/class/class.LSurlRequest.php b/public_html/includes/class/class.LSurlRequest.php new file mode 100644 index 00000000..53605f14 --- /dev/null +++ b/public_html/includes/class/class.LSurlRequest.php @@ -0,0 +1,68 @@ + + */ +class LSurlRequest { + + // The URL requested handler + private $current_url = null; + + // The URL requested handler + private $handler = null; + + // Request need authentication ? + private $authenticated = true; + + // Parameters detected on requested URL + private $url_params = array(); + + public function __construct($current_url, $handler_infos, $url_params=array()) { + $this -> current_url = $current_url; + $this -> handler = $handler_infos['handler']; + $this -> authenticated = (isset($handler_infos['authenticated'])?boolval($handler_infos['authenticated']):true); + $this -> url_params = $url_params; + } + + /** + * Get request info + * + * @param[in] $key string The name of the info + * + * @retval mixed The value + **/ + public function __get($key) { + if ($key == 'current_url') + return $this -> current_url; + if ($key == 'handler') + return $this -> handler; + if ($key == 'authenticated') + return $this -> authenticated; + if (array_key_exists($key, $this->url_params)) { + return urldecode($this->url_params[$key]); + } + } + +} diff --git a/public_html/includes/routes.php b/public_html/includes/routes.php new file mode 100644 index 00000000..e3001dd5 --- /dev/null +++ b/public_html/includes/routes.php @@ -0,0 +1,47 @@ +\n" "Language-Team: LdapSaisie \n" @@ -77,7 +77,7 @@ msgid "Import" msgstr "Importer" #: /home/brenard/dev/ldapsaisie_clean3/public_html/view.php:156 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1481 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1515 #: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:36 msgid "Refresh" msgstr "Rafraîchir" @@ -87,8 +87,8 @@ msgid "Reset" msgstr "Réinitialiser" #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1278 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2385 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1312 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2439 msgid "Level" msgstr "Niveau" @@ -129,7 +129,7 @@ msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_search_action.php:73 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSconfirmBox.php:37 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsmoothbox.php:39 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1318 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1352 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:68 #: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_action.php:83 #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:51 @@ -885,69 +885,69 @@ msgstr "" msgid "Clear" msgstr "Nettoyer" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1258 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1292 msgid "Connection" msgstr "Connexion" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1268 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1307 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1302 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1341 msgid "LDAP server" msgstr "Serveur LDAP" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1279 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1317 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1313 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1351 msgid "Identifier" msgstr "Identifiant" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1280 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1314 msgid "Password" msgstr "Mot de passe" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1281 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1315 msgid "Connect" msgstr "Se connecter" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1282 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1316 msgid "Forgot your password ?" msgstr "Mot de passe perdu ?" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1300 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1334 msgid "Recovery of your credentials" msgstr "Récupération de votre mot de passe" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1319 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1353 msgid "Back" msgstr "Retour" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1322 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1356 msgid "Please fill the identifier field to proceed recovery procedure" msgstr "" "Merci d'entrer votre identifiant pour poursuivre la procédure de récupération" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1327 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1361 msgid "" "An email has been sent to %{mail}. Please follow the instructions on it." msgstr "" "Un e-mail vient de vous être envoyé à l'adresse %{mail}. Merci de suivre les " "indications qu'il contient." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1336 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1370 msgid "Your new password has been sent to %{mail}." msgstr "Votre nouveau mot de passe vous a été envoyé à l'adresse %{mail}." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1497 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1531 msgid "Language" msgstr "Langue" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1519 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1553 msgid "Connected as" msgstr "Connecté en tant que" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2532 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2586 msgid "LSsession : The constant %{const} is not defined." msgstr "LSsession : La constante %{const} n'est pas définie." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2535 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2589 msgid "" "LSsession : The %{addon} support is uncertain. Verify system compatibility " "and the add-on configuration." @@ -955,52 +955,52 @@ msgstr "" "LSsession : Le support %{addon} est incertain. Vérifiez la compatibilité du " "système et la configuration de l'add-on." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2538 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2592 msgid "" "LSsession : LDAP server's configuration data are invalid. Can't connect." msgstr "" "LSsession : Les données de configuration du serveur LDAP sont invalide. " "Impossible de s'y connecter." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2541 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2595 msgid "LSsession : Failed to load LSobject type %{type} : unknon type." msgstr "" "LSsession : Impossible de charger le type d'LSobject %{type} : type inconnu." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2544 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2598 msgid "LSsession : Failed to load LSclass %{class}." msgstr "LSsession : Impossible de charger la LSclass %{class}." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2547 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2601 msgid "LSsession : Login or password incorrect." msgstr "LSsession : Identifiant ou mot de passe incorrects." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2550 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2604 msgid "LSsession : Impossible to identify you : Duplication of identities." msgstr "LSsession : Impossible de vous identifier : Duplication d'identité." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2553 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2607 msgid "LSsession : Can't load class of authentification (%{class})." msgstr "" "LSsession : Impossible de charger la classe d'authentification (%{class})." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2556 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2610 msgid "LSsession : Can't connect to LDAP server." msgstr "LSsession : Impossible de se connecter au serveur LDAP." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2559 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2613 msgid "LSsession : Impossible to authenticate you." msgstr "LSsession : Impossible de vous identifier." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2562 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2616 msgid "LSsession : Your are not authorized to do this action." msgstr "LSsession : Vous n'êtes pas autorisé à faire cette action." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2565 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2619 msgid "LSsession : Some informations are missing to display this page." msgstr "LSsession : Des informations sont manquant pour afficher cette page." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2568 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2622 msgid "" "LSsession : The function of the custom action %{name} does not exists or is " "not configured." @@ -1008,24 +1008,24 @@ msgstr "" "LSsearch : La fonction de l'action personnalisée %{name} n'existe pas ou " "n'est pas configurée." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2571 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2625 msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth." msgstr "" "LSsession : Erreur en récupérant les identifiants LDAP de l'utilisateur " "depuis LSauth." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2574 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2628 msgid "" "LSsession : Fail to reconnect to LDAP server with user's LDAP credentials." msgstr "" "LSsession : Impossible de se reconnecter au serveur LDAP avec les " "identifiants de l'utilisateur." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2577 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2631 msgid "LSsession : No import/export format define for this object type." msgstr "LSsession : Aucun format d'entrée/sortie définie pour ce type d'objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2580 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2634 msgid "" "LSsession : Error during creation of list of levels. Contact administrators. " "(Code : %{code})" @@ -1033,13 +1033,13 @@ msgstr "" "LSsession : Erreur durant la création de la liste des niveaux. Contacter les " "administrateurs. (Code : %{type})" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2583 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2637 msgid "LSsession : The password recovery is disabled for this LDAP server." msgstr "" "LSsession : La récupération de mot de passe est désactivée pour ce serveur " "LDAP." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2586 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2640 msgid "" "LSsession : Some informations are missing to recover your password. Contact " "administrators." @@ -1047,7 +1047,7 @@ msgstr "" "LSsession : Des informations sont manques pour pouvoir récupérer votre mot " "de passe. Contacter les administrateurs." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2589 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2643 msgid "" "LSsession : Error during password recovery. Contact administrators.(Step : " "%{step})" @@ -1055,22 +1055,22 @@ msgstr "" "LSsession : Erreur durant la récupération de votre mot de passe. Contacter " "les administrateurs. (Etape : %{step})" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2592 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2646 msgid "" "LSsession : call function %{func} do not provided from LSaddon %{addon}." msgstr "" "LSsession : la fonction %{func} n'est pas fournie par le LSaddon %{addon}." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2595 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2649 msgid "LSsession : problem during initialisation." msgstr "LSsession : Problème durant l'initialisation." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2598 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2652 msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist." msgstr "" "LSsession : la fonction de vue %{func} du LSaddon %{addon} n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2601 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2655 msgid "LSsession : invalid related object's DN pass in parameter." msgstr "LSsession : DN d'objet en relation incorrect dans les paramètres." @@ -1078,21 +1078,21 @@ msgstr "LSsession : DN d'objet en relation incorrect dans les paramètres." msgid "The attribute %{attr} is not valid." msgstr "L'attribut %{attr} n'est pas valide." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1881 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2200 msgid "LSldapObject : Object type unknown." msgstr "LSldapObject : Type d'objet inconnu." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1884 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2203 msgid "LSldapObject : Update form is not defined for the object %{obj}." msgstr "" "LSldapObject : Le formulaire de mise à jour n'est pas défini pour l'objet " "%{obj}." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1887 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2206 msgid "LSldapObject : No form exists for the object %{obj}." msgstr "LSldapObject : Aucun formulaire n'existe pour l'objet %{obj}" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1890 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2209 msgid "" "LSldapObject : The function %{func} to validate the attribute %{attr} the " "object %{obj} is unknow." @@ -1100,7 +1100,7 @@ msgstr "" "LSldapObject : La fonction %{func} pour valider l'attribut %{attr} de " "l'objet %{obj} est inconnu." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1893 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2212 msgid "" "LSldapObject : Configuration data are missing to validate the attribute " "%{attr} of the object %{obj}." @@ -1108,7 +1108,7 @@ msgstr "" "LSldapObject : Des données de configurations sont manquant pour pouvoir " "valider l'attribut %{attr} de l'objet %{obj}." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1897 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2216 msgid "" "LSldapObject : The function %{func} to be executed on the object event " "%{event} doesn't exist." @@ -1116,14 +1116,14 @@ msgstr "" "LSldapObject : La fonction %{func} devant être exécutée lors de l'évènement " "%{event} de l'objet n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1900 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2219 msgid "" "LSldapObject : The %{func} execution on the object event %{event} failed." msgstr "" "LSldapObject : L'exécution de la fonction %{func} lors de l'évènement " "%{event} de l'objet a échouée." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1904 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2223 msgid "" "LSldapObject : Class %{class}, which method %{meth} to be executed on the " "object event %{event}, doesn't exist." @@ -1131,7 +1131,7 @@ msgstr "" "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." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1907 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2226 msgid "" "LSldapObject : Method %{meth} within %{class} class to be executed on object " "event %{event}, doesn't exist." @@ -1139,7 +1139,7 @@ msgstr "" "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." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1910 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2229 msgid "" "LSldapObject : Error during execute %{meth} method within %{class} class, to " "be executed on object event %{event}." @@ -1147,7 +1147,7 @@ msgstr "" "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." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1914 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2233 msgid "" "LSldapObject : Some configuration data of the object type %{obj} are missing " "to generate the DN of the new object." @@ -1155,7 +1155,7 @@ msgstr "" "LSldapObject : Des informations de configuration du type d'objet %{obj} sont " "manquantes pour la génération du DN du nouvel objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1917 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2236 msgid "" "LSldapObject : The attibute %{attr} of the object is not yet defined. Can't " "generate DN." @@ -1163,11 +1163,11 @@ msgstr "" "LSldapObjet : L'attribut %{attr} de l'objet n'est pas encore défini. " "Impossible de générer le DN." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1920 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2239 msgid "LSldapObject : Without DN, the object could not be changed." msgstr "LSldapObject : Sans DN, l'objet ne peut pas être modifié." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1923 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2242 msgid "" "LSldapObject : The attribute %{attr_depend} depending on the attribute " "%{attr} doesn't exist." @@ -1175,39 +1175,39 @@ msgstr "" "LSldapObject : L'attritbut %{attr_depend} dépendant de l'attribut %{attr} " "n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1926 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2245 msgid "LSldapObject : Error during deleting the object %{objectname}." msgstr "LSldapObject : Erreur durant la suppression de l'objet %{objectname}" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1930 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2249 msgid "" "LSldapObject : Error during actions to be executed before renaming the objet." msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée avant de " "renommer l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1933 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2252 msgid "" "LSldapObject : Error during actions to be executed after renaming the objet." msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée après avoir " "renommé l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1937 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2256 msgid "" "LSldapObject : Error during actions to be executed before deleting the objet." msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée avant de " "supprimer l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1940 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2259 msgid "" "LSldapObject : Error during actions to be executed after deleting the objet." msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée après avoir " "supprimé l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1944 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2263 msgid "" "LSldapObject : Error during the actions to be executed before creating the " "object." @@ -1215,7 +1215,7 @@ msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée avant de créer " "l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1947 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2266 msgid "" "LSldapObject : Error during the actions to be executed after creating the " "object. It was created anyway." @@ -1223,7 +1223,7 @@ msgstr "" "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éé." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1951 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2270 msgid "" "LSldapObject : The function %{func} to be executed before creating the " "object doesn't exist." @@ -1231,7 +1231,7 @@ msgstr "" "LSldapObject : La fonction %{func} devant être exécutée avant la création de " "l'objet n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1954 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2273 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "deleting the object." @@ -1239,7 +1239,7 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la fonction %{func} devant être " "exécutée après la suppression de l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1957 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2276 msgid "" "LSldapObject : The function %{func} to be executed after deleting the object " "doesn't exist." @@ -1247,7 +1247,7 @@ msgstr "" "LSldapObject : La fonction %{func} devant être exécutée après la suppression " "de l'objet n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1960 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2279 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "creating the object." @@ -1255,7 +1255,7 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la fonction %{func} devant être " "exécutée après la création de l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1964 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2283 msgid "" "LSldapObject : %{func} function, to be executed on object event %{event}, " "doesn't exist." @@ -1263,7 +1263,7 @@ msgstr "" "LSldapObject : La fonction %{func}, devant être exécutée lors de l'évènement " "%{event} de l'objet, n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1967 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2286 msgid "" "LSldapObject : Error during the execution of %{func} function on object " "event %{event}." @@ -1271,7 +1271,7 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la fonction %{func} lors de " "l'évènement %{event} de l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1971 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2290 msgid "" "LSldapObject : %{meth} method, to be executed on object event %{event}, " "doesn't exist." @@ -1279,7 +1279,7 @@ msgstr "" "LSldapObject : La méthode %{meth}, devant être exécutée lors de l'évènement " "%{event} de l'objet, n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1974 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2293 msgid "" "LSldapObject : Error during execution of %{meth} method on object event " "%{event}." @@ -1287,13 +1287,13 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la méthode %{meth} lors de " "l'évènement %{event} de l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1977 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2296 msgid "LSldapObject : Error during generate LDAP filter for %{LSobject}." msgstr "" "LSldapObject : Erreur durant la génération du filtre LDAP de l'objet " "%{LSobject}." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1981 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2300 msgid "" "LSldapObject : Error during execution of the custom action %{customAction} " "on %{objectname}." @@ -1301,22 +1301,22 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de l'action personnalisée " "%{customAction} sur l'objet %{objectname}." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1985 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2304 msgid "LSldapObject : Fail to retrieve container DN." msgstr "LSldapObject : Impossible de récupérer le DN parent." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1988 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2307 msgid "" "LSldapObject : The function %{func} to generate container DN is not callable." msgstr "" "LSldapObject : La fonction %{func} pour générer le DN parent n'est pas " "exécutable." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1991 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2310 msgid "LSldapObject : Error during generating container DN : %{error}" msgstr "LSldapObject : Erreur durant la génération du DN parent : %{error}." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1996 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2315 msgid "" "LSrelation : Some parameters are missing in the call of methods to handle " "standard relations (Method : %{meth})." @@ -1669,6 +1669,14 @@ msgstr "Ajout rapide" msgid "Display advanced search and selection panel." msgstr "Afficher la fenêtre de recherche et de sélection étendue." +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSurl.php:107 +msgid "Fail to determine the requested URL." +msgstr "Impossible de déterminer l'URL demandée." + +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSurl.php:199 +msgid "Fail to determine the requested URL (loop detected)." +msgstr "Impossible de déterminer l'URL demandée (boucle détectée)." + #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_html_date.php:43 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_html_select_list.php:63 msgid "Invalid value" @@ -1797,30 +1805,30 @@ msgstr "Actions" msgid "This search didn't get any result." msgstr "Cette recherche n'a retournée aucun résultat." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1338 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1526 msgid "LSsearch : Invalid filter : %{filter}." msgstr "LSsearch : Filtre invalide : %{filter}." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1341 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1529 msgid "LSsearch : Invalid basedn : %{basedn}." msgstr "LSsearch : Base DN invalide." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1344 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1532 msgid "LSsearch : Invalid value for %{param} parameter." msgstr "LSsearch : La valeur du paramètre %{param} est incorrecte." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1347 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1535 msgid "" "LSsearch : Invalid size limit. Must be an integer greater or equal to 0." msgstr "" "LSsearch : Limite de taille de recherche invalide. Elle doit être un entier " "supérieur ou égal à 0." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1350 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1538 msgid "LSsearch : Invalid parameter %{attr}. Must be an boolean." msgstr "LSsearch : Paramètre %{param} invalide. Il doit être un booléen." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1353 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1541 msgid "" "LSsearch : Invalid parameter attributes. Must be an string or an array of " "strings." @@ -1828,13 +1836,13 @@ msgstr "" "LSsearch : Paramètre 'attributes' invalide. Il doit être une chaîne de " "caractères ou un tableau de chaînes de caractères." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1356 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1544 msgid "LSsearch : Can't build attributes list for make filter." msgstr "" "LSsearch : Impossible de construire la liste des attributs pour faire le " "filtre." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1359 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1547 msgid "" "LSsearch : Error building filter with attribute '%{attr}' and pattern " "'%{pattern}'" @@ -1842,34 +1850,34 @@ msgstr "" "LSsearch : Problème en construisant le filtre avec l'attribut '%{attr}' et " "le mot clé '%{pattern}'" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1362 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1550 msgid "LSsearch : Error combining filters." msgstr "LSsearch : Problème en combinant les filtres." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1365 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1553 msgid "LSsearch : Invalid pattern." msgstr "LSsearch : Mot clé invalide." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1368 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1556 msgid "LSsearch : Invalid attribute %{attr} in parameters." msgstr "LSsearch : Attribut %{attr} incorrect dans les paramètres." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1371 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1559 msgid "LSsearch : Error during the search." msgstr "LSsearch : Erreur pendant la recherche." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1374 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1562 msgid "LSsearch : Error sorting the search." msgstr "LSsearch : Erreur pendant le trie de la recherche." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1377 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1565 msgid "" "LSsearch : The function of the custum information %{name} is not callable." msgstr "" "LSsearch : La fonction de l'information personnalisée %{name} n'est pas " "exécutable." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1380 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1568 msgid "" "LSsearch : Invalid predefinedFilter for LSobject type %{type} : %{label} " "(filter : %{filter})." @@ -1877,13 +1885,13 @@ msgstr "" "LSsearch : PredefinedFilter invalide pour le type d'LSobject %{type} : " "%{label} (filtre : %{filter})." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1383 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1571 msgid "LSsearch : Error during execution of the custom action %{customAction}." msgstr "" "LSldapObject : Erreur durant l'exécution de l'action personnalisée " "%{customAction}." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1386 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1574 msgid "LSsearch : Invalid search pattern." msgstr "LSsearch : Mot clé de recherche invalide." @@ -1985,11 +1993,11 @@ msgstr "Rôle" msgid "Entity type" msgstr "Type d'entité" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:116 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:122 msgid "Only one command could be executed !" msgstr "Une seule commande peut-être exécutée !" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:141 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:168 msgid "" "Invalid parameter \"%{parameter}\".\n" "Note: Command's parameter/argument must be place after the command." @@ -1998,11 +2006,11 @@ msgstr "" "Note: Les paramètres/arguments de la commande doivent être placés après " "celle-ci." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:174 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:207 msgid "LScli : The CLI command '%{command}' already exists." msgstr "LScli : La commande CLI '%{command}' existe déjà." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:177 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:210 msgid "LScli : The CLI command '%{command}' handler is not callable." msgstr "" "LScli : La fonction de prise en charge de la commande CLI '%{command}' n'est " @@ -2043,6 +2051,10 @@ msgstr "" "LSioFormat : Le pilote d'IOformat %{driver} est invalide ou n'est pas " "disponible." +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:39 +msgid "Home" +msgstr "Accueil" + #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/functions.php:112 msgid "" "Function 'getFData' : The method %{meth} of the object %{obj} doesn't exist." @@ -2068,10 +2080,6 @@ msgstr "" msgid "Missing parameter" msgstr "Paramètre manquant" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/index.php:31 -msgid "Home" -msgstr "Accueil" - #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:37 #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:48 msgid "Deleting" @@ -2175,6 +2183,10 @@ msgstr "Relations / Profils" msgid "Result" msgstr "Résultat" +#: templates/default/error_404.tpl:19 +msgid "The requested page was not found." +msgstr "La page demandée est introuvable." + #: templates/default/LSaccessRightsMatrixView.tpl:48 msgid "Their relations with other objects" msgstr "Leurs relations avec les autres objets" diff --git a/public_html/lang/ldapsaisie.pot b/public_html/lang/ldapsaisie.pot index ef25492a..0f6f5048 100644 --- a/public_html/lang/ldapsaisie.pot +++ b/public_html/lang/ldapsaisie.pot @@ -55,7 +55,7 @@ msgid "Import" msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/public_html/view.php:156 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1481 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1515 #: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:36 msgid "Refresh" msgstr "" @@ -65,8 +65,8 @@ msgid "Reset" msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1278 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2385 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1312 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2439 msgid "Level" msgstr "" @@ -103,7 +103,7 @@ msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_search_action.php:73 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSconfirmBox.php:37 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsmoothbox.php:39 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1318 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1352 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:68 #: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_action.php:83 #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:51 @@ -751,167 +751,167 @@ msgstr "" msgid "Clear" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1258 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1292 msgid "Connection" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1268 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1307 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1302 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1341 msgid "LDAP server" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1279 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1317 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1313 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1351 msgid "Identifier" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1280 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1314 msgid "Password" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1281 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1315 msgid "Connect" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1282 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1316 msgid "Forgot your password ?" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1300 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1334 msgid "Recovery of your credentials" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1319 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1353 msgid "Back" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1322 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1356 msgid "Please fill the identifier field to proceed recovery procedure" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1327 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1361 msgid "" "An email has been sent to %{mail}. Please follow the instructions on it." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1336 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1370 msgid "Your new password has been sent to %{mail}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1497 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1531 msgid "Language" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1519 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1553 msgid "Connected as" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2532 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2586 msgid "LSsession : The constant %{const} is not defined." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2535 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2589 msgid "" "LSsession : The %{addon} support is uncertain. Verify system compatibility " "and the add-on configuration." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2538 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2592 msgid "" "LSsession : LDAP server's configuration data are invalid. Can't connect." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2541 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2595 msgid "LSsession : Failed to load LSobject type %{type} : unknon type." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2544 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2598 msgid "LSsession : Failed to load LSclass %{class}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2547 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2601 msgid "LSsession : Login or password incorrect." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2550 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2604 msgid "LSsession : Impossible to identify you : Duplication of identities." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2553 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2607 msgid "LSsession : Can't load class of authentification (%{class})." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2556 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2610 msgid "LSsession : Can't connect to LDAP server." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2559 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2613 msgid "LSsession : Impossible to authenticate you." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2562 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2616 msgid "LSsession : Your are not authorized to do this action." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2565 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2619 msgid "LSsession : Some informations are missing to display this page." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2568 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2622 msgid "" "LSsession : The function of the custom action %{name} does not exists or is " "not configured." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2571 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2625 msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2574 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2628 msgid "" "LSsession : Fail to reconnect to LDAP server with user's LDAP credentials." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2577 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2631 msgid "LSsession : No import/export format define for this object type." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2580 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2634 msgid "" "LSsession : Error during creation of list of levels. Contact administrators. " "(Code : %{code})" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2583 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2637 msgid "LSsession : The password recovery is disabled for this LDAP server." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2586 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2640 msgid "" "LSsession : Some informations are missing to recover your password. Contact " "administrators." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2589 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2643 msgid "" "LSsession : Error during password recovery. Contact administrators.(Step : " "%{step})" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2592 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2646 msgid "" "LSsession : call function %{func} do not provided from LSaddon %{addon}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2595 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2649 msgid "LSsession : problem during initialisation." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2598 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2652 msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2601 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2655 msgid "LSsession : invalid related object's DN pass in parameter." msgstr "" @@ -919,189 +919,189 @@ msgstr "" msgid "The attribute %{attr} is not valid." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1881 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2200 msgid "LSldapObject : Object type unknown." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1884 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2203 msgid "LSldapObject : Update form is not defined for the object %{obj}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1887 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2206 msgid "LSldapObject : No form exists for the object %{obj}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1890 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2209 msgid "" "LSldapObject : The function %{func} to validate the attribute %{attr} the " "object %{obj} is unknow." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1893 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2212 msgid "" "LSldapObject : Configuration data are missing to validate the attribute " "%{attr} of the object %{obj}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1897 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2216 msgid "" "LSldapObject : The function %{func} to be executed on the object event " "%{event} doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1900 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2219 msgid "" "LSldapObject : The %{func} execution on the object event %{event} failed." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1904 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2223 msgid "" "LSldapObject : Class %{class}, which method %{meth} to be executed on the " "object event %{event}, doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1907 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2226 msgid "" "LSldapObject : Method %{meth} within %{class} class to be executed on object " "event %{event}, doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1910 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2229 msgid "" "LSldapObject : Error during execute %{meth} method within %{class} class, to " "be executed on object event %{event}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1914 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2233 msgid "" "LSldapObject : Some configuration data of the object type %{obj} are missing " "to generate the DN of the new object." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1917 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2236 msgid "" "LSldapObject : The attibute %{attr} of the object is not yet defined. Can't " "generate DN." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1920 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2239 msgid "LSldapObject : Without DN, the object could not be changed." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1923 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2242 msgid "" "LSldapObject : The attribute %{attr_depend} depending on the attribute " "%{attr} doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1926 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2245 msgid "LSldapObject : Error during deleting the object %{objectname}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1930 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2249 msgid "" "LSldapObject : Error during actions to be executed before renaming the objet." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1933 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2252 msgid "" "LSldapObject : Error during actions to be executed after renaming the objet." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1937 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2256 msgid "" "LSldapObject : Error during actions to be executed before deleting the objet." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1940 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2259 msgid "" "LSldapObject : Error during actions to be executed after deleting the objet." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1944 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2263 msgid "" "LSldapObject : Error during the actions to be executed before creating the " "object." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1947 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2266 msgid "" "LSldapObject : Error during the actions to be executed after creating the " "object. It was created anyway." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1951 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2270 msgid "" "LSldapObject : The function %{func} to be executed before creating the " "object doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1954 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2273 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "deleting the object." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1957 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2276 msgid "" "LSldapObject : The function %{func} to be executed after deleting the object " "doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1960 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2279 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "creating the object." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1964 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2283 msgid "" "LSldapObject : %{func} function, to be executed on object event %{event}, " "doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1967 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2286 msgid "" "LSldapObject : Error during the execution of %{func} function on object " "event %{event}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1971 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2290 msgid "" "LSldapObject : %{meth} method, to be executed on object event %{event}, " "doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1974 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2293 msgid "" "LSldapObject : Error during execution of %{meth} method on object event " "%{event}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1977 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2296 msgid "LSldapObject : Error during generate LDAP filter for %{LSobject}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1981 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2300 msgid "" "LSldapObject : Error during execution of the custom action %{customAction} " "on %{objectname}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1985 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2304 msgid "LSldapObject : Fail to retrieve container DN." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1988 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2307 msgid "" "LSldapObject : The function %{func} to generate container DN is not callable." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1991 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2310 msgid "LSldapObject : Error during generating container DN : %{error}" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:1996 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:2315 msgid "" "LSrelation : Some parameters are missing in the call of methods to handle " "standard relations (Method : %{meth})." @@ -1409,6 +1409,14 @@ msgstr "" msgid "Display advanced search and selection panel." msgstr "" +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSurl.php:107 +msgid "Fail to determine the requested URL." +msgstr "" + +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSurl.php:199 +msgid "Fail to determine the requested URL (loop detected)." +msgstr "" + #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_html_date.php:43 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_html_select_list.php:63 msgid "Invalid value" @@ -1528,79 +1536,79 @@ msgstr "" msgid "This search didn't get any result." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1338 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1526 msgid "LSsearch : Invalid filter : %{filter}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1341 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1529 msgid "LSsearch : Invalid basedn : %{basedn}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1344 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1532 msgid "LSsearch : Invalid value for %{param} parameter." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1347 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1535 msgid "" "LSsearch : Invalid size limit. Must be an integer greater or equal to 0." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1350 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1538 msgid "LSsearch : Invalid parameter %{attr}. Must be an boolean." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1353 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1541 msgid "" "LSsearch : Invalid parameter attributes. Must be an string or an array of " "strings." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1356 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1544 msgid "LSsearch : Can't build attributes list for make filter." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1359 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1547 msgid "" "LSsearch : Error building filter with attribute '%{attr}' and pattern " "'%{pattern}'" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1362 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1550 msgid "LSsearch : Error combining filters." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1365 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1553 msgid "LSsearch : Invalid pattern." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1368 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1556 msgid "LSsearch : Invalid attribute %{attr} in parameters." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1371 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1559 msgid "LSsearch : Error during the search." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1374 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1562 msgid "LSsearch : Error sorting the search." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1377 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1565 msgid "" "LSsearch : The function of the custum information %{name} is not callable." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1380 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1568 msgid "" "LSsearch : Invalid predefinedFilter for LSobject type %{type} : %{label} " "(filter : %{filter})." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1383 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1571 msgid "LSsearch : Error during execution of the custom action %{customAction}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1386 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearch.php:1574 msgid "LSsearch : Invalid search pattern." msgstr "" @@ -1690,21 +1698,21 @@ msgstr "" msgid "Entity type" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:116 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:122 msgid "Only one command could be executed !" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:141 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:168 msgid "" "Invalid parameter \"%{parameter}\".\n" "Note: Command's parameter/argument must be place after the command." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:174 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:207 msgid "LScli : The CLI command '%{command}' already exists." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:177 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LScli.php:210 msgid "LScli : The CLI command '%{command}' handler is not callable." msgstr "" @@ -1739,6 +1747,10 @@ msgstr "" msgid "LSioFormat : IOformat driver %{driver} invalid or unavailable." msgstr "" +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:39 +msgid "Home" +msgstr "" + #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/functions.php:112 msgid "" "Function 'getFData' : The method %{meth} of the object %{obj} doesn't exist." @@ -1762,10 +1774,6 @@ msgstr "" msgid "Missing parameter" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/index.php:31 -msgid "Home" -msgstr "" - #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:37 #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:48 msgid "Deleting" @@ -1867,6 +1875,10 @@ msgstr "" msgid "Result" msgstr "" +#: templates/default/error_404.tpl:19 +msgid "The requested page was not found." +msgstr "" + #: templates/default/LSaccessRightsMatrixView.tpl:48 msgid "Their relations with other objects" msgstr "" diff --git a/public_html/templates/default/error_404.tpl b/public_html/templates/default/error_404.tpl new file mode 100644 index 00000000..488a1df6 --- /dev/null +++ b/public_html/templates/default/error_404.tpl @@ -0,0 +1,23 @@ + + + + + LdapSaisie{if $pagetitle != ''} - {$pagetitle|escape:"htmlall"}{/if} + + + + {$LSsession_css} + + + +{include file='ls:LSdefault.tpl'} + +{$LSsession_js} + +
+

{tr msg="The requested page was not found."}

+
+ + +