Handle LSaddon views by using LSurl

This commit is contained in:
Benjamin Renard 2020-05-02 18:32:31 +02:00
parent 23d5161bfe
commit 5474cd2315
8 changed files with 172 additions and 172 deletions

View file

@ -1,49 +0,0 @@
<?php
/*******************************************************************************
* Copyright (C) 2007 Easter-eggs
* http://ldapsaisie.labs.libre-entreprise.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.
******************************************************************************/
require_once 'core.php';
if(LSsession :: startLSsession()) {
if ((isset($_GET['LSaddon'])) && (isset($_GET['view']))) {
$LSaddon=urldecode($_GET['LSaddon']);
$view=urldecode($_GET['view']);
if (LSsession ::loadLSaddon($LSaddon)) {
if ( LSsession :: canAccessLSaddonView($LSaddon,$view) ) {
LSsession :: showLSaddonView($LSaddon,$view);
}
else {
LSerror :: addErrorCode('LSsession_11');
}
}
}
else {
LSerror :: addErrorCode('LSsession_12');
}
}
else {
LSsession :: setTemplate('login.tpl');
}
// Print template
LSsession :: displayTemplate();

View file

@ -2546,7 +2546,7 @@ class LSsession {
} }
elseif (array_key_exists(self :: $ldapServer['defaultView'], self :: $LSaddonsViewsAccess)) { elseif (array_key_exists(self :: $ldapServer['defaultView'], self :: $LSaddonsViewsAccess)) {
$addon = self :: $LSaddonsViewsAccess[self :: $ldapServer['defaultView']]; $addon = self :: $LSaddonsViewsAccess[self :: $ldapServer['defaultView']];
self :: redirect('addon_view.php?LSaddon='.urlencode(self :: $LSaddonsViewsAccess[self :: $ldapServer['defaultView']]['LSaddon'])."&view=".urlencode(self :: $LSaddonsViewsAccess[self :: $ldapServer['defaultView']]['id'])); self :: redirect('addon/'.urlencode(self :: $LSaddonsViewsAccess[self :: $ldapServer['defaultView']]['LSaddon'])."/".urlencode(self :: $LSaddonsViewsAccess[self :: $ldapServer['defaultView']]['id']));
} }
} }
if ($force) if ($force)
@ -2654,6 +2654,9 @@ class LSsession {
LSerror :: defineError('LSsession_24', LSerror :: defineError('LSsession_24',
_("LSsession : invalid related object's DN pass in parameter.") _("LSsession : invalid related object's DN pass in parameter.")
); );
LSerror :: defineError('LSsession_25',
_("LSsession : the LSaddon %{addon} keep using old-style addon view URL. Please upgrade it.")
);
} }
/** /**

View file

@ -61,3 +61,40 @@ function handle_image($request) {
LSurl :: error_404($request); LSurl :: error_404($request);
} }
LSurl :: add_handler('#^image/(?P<image>[^/]+)$#', 'handle_image', false); LSurl :: add_handler('#^image/(?P<image>[^/]+)$#', 'handle_image', false);
/*
* Handle LSaddon view request
*
* @param[in] $request LSurlRequest The request
*
* @retval void
**/
function handle_addon_view($request) {
if (LSsession ::loadLSaddon($request -> LSaddon)) {
if ( LSsession :: canAccessLSaddonView($request -> LSaddon, $request -> view) ) {
LSsession :: showLSaddonView($request -> LSaddon, $request -> view);
// Print template
LSsession :: displayTemplate();
}
else {
LSerror :: addErrorCode('LSsession_11');
}
}
}
LSurl :: add_handler('#^addon/(?P<LSaddon>[^/]+)/(?P<view>[^/]+)$#', 'handle_addon_view');
/*
* Handle LSaddon view request old-URL for retro-compatibility
*
* @param[in] $request LSurlRequest The request
*
* @retval void
**/
function handle_old_addon_view($request) {
if ((isset($_GET['LSaddon'])) && (isset($_GET['view']))) {
LSerror :: addErrorCode('LSsession_25', urldecode($_GET['LSaddon']));
LSsession :: redirect('addon/'.$_GET['LSaddon'].'/'.$_GET['view']);
}
LSsession :: redirect();
}
LSurl :: add_handler('#^addon_view.php#', 'handle_old_addon_view');

View file

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: LdapSaisie\n" "Project-Id-Version: LdapSaisie\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: 2020-05-02 17:14+0200\n" "PO-Revision-Date: 2020-05-02 18:28+0200\n"
"Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n" "Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n"
"Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise." "Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise."
"org>\n" "org>\n"
@ -77,7 +77,7 @@ msgid "Import"
msgstr "Importer" msgstr "Importer"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/view.php:156 #: /home/brenard/dev/ldapsaisie_clean3/public_html/view.php:156
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1515 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1516
#: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:36 #: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:36
msgid "Refresh" msgid "Refresh"
msgstr "Rafraîchir" msgstr "Rafraîchir"
@ -87,8 +87,8 @@ msgid "Reset"
msgstr "Réinitialiser" msgstr "Réinitialiser"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70 #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70
#: /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:1313
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2439 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2440
msgid "Level" msgid "Level"
msgstr "Niveau" 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/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.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.LSsmoothbox.php:39
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1352 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1353
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:68 #: /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/custom_action.php:83
#: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:51 #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:51
@ -693,25 +693,25 @@ msgstr "LStemplate : Impossible de charger le fichier de support de Smarty 3"
msgid "LStemplate : Smarty version not recognized." msgid "LStemplate : Smarty version not recognized."
msgstr "LStemplate : Version de Smarty non reconnue." msgstr "LStemplate : Version de Smarty non reconnue."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:139 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:146
msgid "LStemplate : Can't load Smarty." msgid "LStemplate : Can't load Smarty."
msgstr "" msgstr ""
"LStemplate : Impossible de charger le moteur de gestion de template Smarty." "LStemplate : Impossible de charger le moteur de gestion de template Smarty."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:310 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:317
msgid "Smarty - An exception occured displaying template '%{template}'" msgid "Smarty - An exception occured displaying template '%{template}'"
msgstr "" msgstr ""
"Smarty - Un erreur est survenue en affichant le modèle de page '%{template}'." "Smarty - Un erreur est survenue en affichant le modèle de page '%{template}'."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:330 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:337
msgid "Smarty - An exception occured fetching template '%{template}'" msgid "Smarty - An exception occured fetching template '%{template}'"
msgstr "Smarty - Un erreur est survenue en générant le modèle '%{template}'." msgstr "Smarty - Un erreur est survenue en générant le modèle '%{template}'."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:437 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:444
msgid "LStemplate : Template %{file} not found." msgid "LStemplate : Template %{file} not found."
msgstr "LStemplate : le template %{file} est introuvable." msgstr "LStemplate : le template %{file} est introuvable."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:440 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:447
msgid "" msgid ""
"LStemplate : Fail to execute trigger %{callable} on event %{event} : is not " "LStemplate : Fail to execute trigger %{callable} on event %{event} : is not "
"callable." "callable."
@ -719,7 +719,7 @@ msgstr ""
"LStemplate : Échec d'exécution du déclencheur %{callable} lors de événement " "LStemplate : Échec d'exécution du déclencheur %{callable} lors de événement "
"%{event} : il n'est pas un callable." "%{event} : il n'est pas un callable."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:443 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:450
msgid "" msgid ""
"LStemplate : Error during the execution of the trigger %{callable} on event " "LStemplate : Error during the execution of the trigger %{callable} on event "
"%{event}." "%{event}."
@ -885,69 +885,69 @@ msgstr ""
msgid "Clear" msgid "Clear"
msgstr "Nettoyer" msgstr "Nettoyer"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1292 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1293
msgid "Connection" msgid "Connection"
msgstr "Connexion" msgstr "Connexion"
#: /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:1303
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1341 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1342
msgid "LDAP server" msgid "LDAP server"
msgstr "Serveur LDAP" msgstr "Serveur LDAP"
#: /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:1314
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1351 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1352
msgid "Identifier" msgid "Identifier"
msgstr "Identifiant" msgstr "Identifiant"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1314 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1315
msgid "Password" msgid "Password"
msgstr "Mot de passe" msgstr "Mot de passe"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1315 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1316
msgid "Connect" msgid "Connect"
msgstr "Se connecter" msgstr "Se connecter"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1316 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1317
msgid "Forgot your password ?" msgid "Forgot your password ?"
msgstr "Mot de passe perdu ?" msgstr "Mot de passe perdu ?"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1334 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1335
msgid "Recovery of your credentials" msgid "Recovery of your credentials"
msgstr "Récupération de votre mot de passe" msgstr "Récupération de votre mot de passe"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1353 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1354
msgid "Back" msgid "Back"
msgstr "Retour" msgstr "Retour"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1356 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1357
msgid "Please fill the identifier field to proceed recovery procedure" msgid "Please fill the identifier field to proceed recovery procedure"
msgstr "" msgstr ""
"Merci d'entrer votre identifiant pour poursuivre la procédure de récupération" "Merci d'entrer votre identifiant pour poursuivre la procédure de récupération"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1361 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1362
msgid "" msgid ""
"An email has been sent to %{mail}. Please follow the instructions on it." "An email has been sent to %{mail}. Please follow the instructions on it."
msgstr "" msgstr ""
"Un e-mail vient de vous être envoyé à l'adresse %{mail}. Merci de suivre les " "Un e-mail vient de vous être envoyé à l'adresse %{mail}. Merci de suivre les "
"indications qu'il contient." "indications qu'il contient."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1370 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1371
msgid "Your new password has been sent to %{mail}." msgid "Your new password has been sent to %{mail}."
msgstr "Votre nouveau mot de passe vous a été envoyé à l'adresse %{mail}." msgstr "Votre nouveau mot de passe vous a été envoyé à l'adresse %{mail}."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1531 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1532
msgid "Language" msgid "Language"
msgstr "Langue" msgstr "Langue"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1553 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1554
msgid "Connected as" msgid "Connected as"
msgstr "Connecté en tant que" msgstr "Connecté en tant que"
#: /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:2587
msgid "LSsession : The constant %{const} is not defined." msgid "LSsession : The constant %{const} is not defined."
msgstr "LSsession : La constante %{const} n'est pas définie." msgstr "LSsession : La constante %{const} n'est pas définie."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2589 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2590
msgid "" msgid ""
"LSsession : The %{addon} support is uncertain. Verify system compatibility " "LSsession : The %{addon} support is uncertain. Verify system compatibility "
"and the add-on configuration." "and the add-on configuration."
@ -955,52 +955,52 @@ msgstr ""
"LSsession : Le support %{addon} est incertain. Vérifiez la compatibilité du " "LSsession : Le support %{addon} est incertain. Vérifiez la compatibilité du "
"système et la configuration de l'add-on." "système et la configuration de l'add-on."
#: /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:2593
msgid "" msgid ""
"LSsession : LDAP server's configuration data are invalid. Can't connect." "LSsession : LDAP server's configuration data are invalid. Can't connect."
msgstr "" msgstr ""
"LSsession : Les données de configuration du serveur LDAP sont invalide. " "LSsession : Les données de configuration du serveur LDAP sont invalide. "
"Impossible de s'y connecter." "Impossible de s'y connecter."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2595 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2596
msgid "LSsession : Failed to load LSobject type %{type} : unknon type." msgid "LSsession : Failed to load LSobject type %{type} : unknon type."
msgstr "" msgstr ""
"LSsession : Impossible de charger le type d'LSobject %{type} : type inconnu." "LSsession : Impossible de charger le type d'LSobject %{type} : type inconnu."
#: /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:2599
msgid "LSsession : Failed to load LSclass %{class}." msgid "LSsession : Failed to load LSclass %{class}."
msgstr "LSsession : Impossible de charger la LSclass %{class}." msgstr "LSsession : Impossible de charger la LSclass %{class}."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2601 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2602
msgid "LSsession : Login or password incorrect." msgid "LSsession : Login or password incorrect."
msgstr "LSsession : Identifiant ou mot de passe incorrects." msgstr "LSsession : Identifiant ou mot de passe incorrects."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2604 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2605
msgid "LSsession : Impossible to identify you : Duplication of identities." msgid "LSsession : Impossible to identify you : Duplication of identities."
msgstr "LSsession : Impossible de vous identifier : Duplication d'identité." msgstr "LSsession : Impossible de vous identifier : Duplication d'identité."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2607 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2608
msgid "LSsession : Can't load class of authentification (%{class})." msgid "LSsession : Can't load class of authentification (%{class})."
msgstr "" msgstr ""
"LSsession : Impossible de charger la classe d'authentification (%{class})." "LSsession : Impossible de charger la classe d'authentification (%{class})."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2610 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2611
msgid "LSsession : Can't connect to LDAP server." msgid "LSsession : Can't connect to LDAP server."
msgstr "LSsession : Impossible de se connecter au serveur LDAP." msgstr "LSsession : Impossible de se connecter au serveur LDAP."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2613 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2614
msgid "LSsession : Impossible to authenticate you." msgid "LSsession : Impossible to authenticate you."
msgstr "LSsession : Impossible de vous identifier." msgstr "LSsession : Impossible de vous identifier."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2616 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2617
msgid "LSsession : Your are not authorized to do this action." msgid "LSsession : Your are not authorized to do this action."
msgstr "LSsession : Vous n'êtes pas autorisé à faire cette action." msgstr "LSsession : Vous n'êtes pas autorisé à faire cette action."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2619 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2620
msgid "LSsession : Some informations are missing to display this page." msgid "LSsession : Some informations are missing to display this page."
msgstr "LSsession : Des informations sont manquant pour afficher cette page." msgstr "LSsession : Des informations sont manquant pour afficher cette page."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2622 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2623
msgid "" msgid ""
"LSsession : The function of the custom action %{name} does not exists or is " "LSsession : The function of the custom action %{name} does not exists or is "
"not configured." "not configured."
@ -1008,24 +1008,24 @@ msgstr ""
"LSsearch : La fonction de l'action personnalisée %{name} n'existe pas ou " "LSsearch : La fonction de l'action personnalisée %{name} n'existe pas ou "
"n'est pas configurée." "n'est pas configurée."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2625 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2626
msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth." msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth."
msgstr "" msgstr ""
"LSsession : Erreur en récupérant les identifiants LDAP de l'utilisateur " "LSsession : Erreur en récupérant les identifiants LDAP de l'utilisateur "
"depuis LSauth." "depuis LSauth."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2628 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2629
msgid "" msgid ""
"LSsession : Fail to reconnect to LDAP server with user's LDAP credentials." "LSsession : Fail to reconnect to LDAP server with user's LDAP credentials."
msgstr "" msgstr ""
"LSsession : Impossible de se reconnecter au serveur LDAP avec les " "LSsession : Impossible de se reconnecter au serveur LDAP avec les "
"identifiants de l'utilisateur." "identifiants de l'utilisateur."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2631 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2632
msgid "LSsession : No import/export format define for this object type." msgid "LSsession : No import/export format define for this object type."
msgstr "LSsession : Aucun format d'entrée/sortie définie pour ce type d'objet." msgstr "LSsession : Aucun format d'entrée/sortie définie pour ce type d'objet."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2634 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2635
msgid "" msgid ""
"LSsession : Error during creation of list of levels. Contact administrators. " "LSsession : Error during creation of list of levels. Contact administrators. "
"(Code : %{code})" "(Code : %{code})"
@ -1033,13 +1033,13 @@ msgstr ""
"LSsession : Erreur durant la création de la liste des niveaux. Contacter les " "LSsession : Erreur durant la création de la liste des niveaux. Contacter les "
"administrateurs. (Code : %{type})" "administrateurs. (Code : %{type})"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2637 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2638
msgid "LSsession : The password recovery is disabled for this LDAP server." msgid "LSsession : The password recovery is disabled for this LDAP server."
msgstr "" msgstr ""
"LSsession : La récupération de mot de passe est désactivée pour ce serveur " "LSsession : La récupération de mot de passe est désactivée pour ce serveur "
"LDAP." "LDAP."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2640 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2641
msgid "" msgid ""
"LSsession : Some informations are missing to recover your password. Contact " "LSsession : Some informations are missing to recover your password. Contact "
"administrators." "administrators."
@ -1047,7 +1047,7 @@ msgstr ""
"LSsession : Des informations sont manques pour pouvoir récupérer votre mot " "LSsession : Des informations sont manques pour pouvoir récupérer votre mot "
"de passe. Contacter les administrateurs." "de passe. Contacter les administrateurs."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2643 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2644
msgid "" msgid ""
"LSsession : Error during password recovery. Contact administrators.(Step : " "LSsession : Error during password recovery. Contact administrators.(Step : "
"%{step})" "%{step})"
@ -1055,25 +1055,33 @@ msgstr ""
"LSsession : Erreur durant la récupération de votre mot de passe. Contacter " "LSsession : Erreur durant la récupération de votre mot de passe. Contacter "
"les administrateurs. (Etape : %{step})" "les administrateurs. (Etape : %{step})"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2646 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2647
msgid "" msgid ""
"LSsession : call function %{func} do not provided from LSaddon %{addon}." "LSsession : call function %{func} do not provided from LSaddon %{addon}."
msgstr "" msgstr ""
"LSsession : la fonction %{func} n'est pas fournie par le LSaddon %{addon}." "LSsession : la fonction %{func} n'est pas fournie par le LSaddon %{addon}."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2649 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2650
msgid "LSsession : problem during initialisation." msgid "LSsession : problem during initialisation."
msgstr "LSsession : Problème durant l'initialisation." msgstr "LSsession : Problème durant l'initialisation."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2652 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2653
msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist." msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist."
msgstr "" msgstr ""
"LSsession : la fonction de vue %{func} du LSaddon %{addon} n'existe pas." "LSsession : la fonction de vue %{func} du LSaddon %{addon} n'existe pas."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2655 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2656
msgid "LSsession : invalid related object's DN pass in parameter." msgid "LSsession : invalid related object's DN pass in parameter."
msgstr "LSsession : DN d'objet en relation incorrect dans les paramètres." msgstr "LSsession : DN d'objet en relation incorrect dans les paramètres."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2659
msgid ""
"LSsession : the LSaddon %{addon} keep using old-style addon view URL. Please "
"upgrade it."
msgstr ""
"LSsession : le LSaddon %{addon} utilise toujours l'ancien type d'URL de "
"vues. Merci de le mettre à jour."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:473 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:473
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."
@ -1673,7 +1681,7 @@ msgstr "Afficher la fenêtre de recherche et de sélection étendue."
msgid "Fail to determine the requested URL." msgid "Fail to determine the requested URL."
msgstr "Impossible de déterminer l'URL demandée." msgstr "Impossible de déterminer l'URL demandée."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSurl.php:199 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSurl.php:200
msgid "Fail to determine the requested URL (loop detected)." msgid "Fail to determine the requested URL (loop detected)."
msgstr "Impossible de déterminer l'URL demandée (boucle détectée)." msgstr "Impossible de déterminer l'URL demandée (boucle détectée)."
@ -2076,10 +2084,6 @@ msgstr ""
"L'action personnalisée %{customAction} a été correctement exécutée sur " "L'action personnalisée %{customAction} a été correctement exécutée sur "
"%{objectname}." "%{objectname}."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/image.php:37
msgid "Missing parameter"
msgstr "Paramètre manquant"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:37 #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:37
#: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:48 #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:48
msgid "Deleting" msgid "Deleting"
@ -2097,7 +2101,7 @@ msgstr "Voulez-vous vraiment supprimer <strong>%{displayName}</strong> ?"
msgid "You must provide pattern for global search." msgid "You must provide pattern for global search."
msgstr "Vous devez fournir un mot clé pour les recherches globales." msgstr "Vous devez fournir un mot clé pour les recherches globales."
#: templates/default/fatal_error.tpl:19 #: templates/default/fatal_error.tpl:20
msgid "A fatal error occured. If problem persist, please contact support." msgid "A fatal error occured. If problem persist, please contact support."
msgstr "" msgstr ""
"Une erreur irrécupérable est survenue. Si le problème persiste, merci de " "Une erreur irrécupérable est survenue. Si le problème persiste, merci de "
@ -2107,7 +2111,7 @@ msgstr ""
msgid "Attributes / Profiles" msgid "Attributes / Profiles"
msgstr "Attributs / Profils" msgstr "Attributs / Profils"
#: templates/default/fatal_error.tpl:23 #: templates/default/fatal_error.tpl:24
msgid "Details" msgid "Details"
msgstr "Détails" msgstr "Détails"
@ -2119,7 +2123,7 @@ msgstr "Fichier"
msgid "Format" msgid "Format"
msgstr "Format" msgstr "Format"
#: templates/default/top.tpl:35 templates/default/top.tpl:36 #: templates/default/top.tpl:36 templates/default/top.tpl:37
#: templates/default/global_search.tpl:10 #: templates/default/global_search.tpl:10
msgid "Global search" msgid "Global search"
msgstr "Recherche globale" msgstr "Recherche globale"
@ -2171,7 +2175,7 @@ msgstr "Lecture"
msgid "Readable / Writable" msgid "Readable / Writable"
msgstr "Lecture / Écriture" msgstr "Lecture / Écriture"
#: templates/default/top.tpl:62 #: templates/default/top.tpl:63
msgid "Refresh my access rights" msgid "Refresh my access rights"
msgstr "Rafraîchir mes droits d'accès" msgstr "Rafraîchir mes droits d'accès"
@ -2183,7 +2187,7 @@ msgstr "Relations / Profils"
msgid "Result" msgid "Result"
msgstr "Résultat" msgstr "Résultat"
#: templates/default/error_404.tpl:19 #: templates/default/error_404.tpl:20
msgid "The requested page was not found." msgid "The requested page was not found."
msgstr "La page demandée est introuvable." msgstr "La page demandée est introuvable."
@ -2215,6 +2219,9 @@ msgstr "non"
msgid "yes" msgid "yes"
msgstr "oui" msgstr "oui"
#~ msgid "Missing parameter"
#~ msgstr "Paramètre manquant"
#~ msgid "PHP error : %{error}" #~ msgid "PHP error : %{error}"
#~ msgstr "Erreur PHP : %{error}" #~ msgstr "Erreur PHP : %{error}"

View file

@ -55,7 +55,7 @@ msgid "Import"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/view.php:156 #: /home/brenard/dev/ldapsaisie_clean3/public_html/view.php:156
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1515 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1516
#: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:36 #: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:36
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr ""
@ -65,8 +65,8 @@ msgid "Reset"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70 #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70
#: /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:1313
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2439 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2440
msgid "Level" msgid "Level"
msgstr "" 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/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.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.LSsmoothbox.php:39
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1352 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1353
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:68 #: /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/custom_action.php:83
#: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:51 #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:51
@ -600,29 +600,29 @@ msgstr ""
msgid "LStemplate : Smarty version not recognized." msgid "LStemplate : Smarty version not recognized."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:139 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:146
msgid "LStemplate : Can't load Smarty." msgid "LStemplate : Can't load Smarty."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:310 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:317
msgid "Smarty - An exception occured displaying template '%{template}'" msgid "Smarty - An exception occured displaying template '%{template}'"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:330 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:337
msgid "Smarty - An exception occured fetching template '%{template}'" msgid "Smarty - An exception occured fetching template '%{template}'"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:437 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:444
msgid "LStemplate : Template %{file} not found." msgid "LStemplate : Template %{file} not found."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:440 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:447
msgid "" msgid ""
"LStemplate : Fail to execute trigger %{callable} on event %{event} : is not " "LStemplate : Fail to execute trigger %{callable} on event %{event} : is not "
"callable." "callable."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:443 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LStemplate.php:450
msgid "" msgid ""
"LStemplate : Error during the execution of the trigger %{callable} on event " "LStemplate : Error during the execution of the trigger %{callable} on event "
"%{event}." "%{event}."
@ -751,170 +751,176 @@ msgstr ""
msgid "Clear" msgid "Clear"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1292 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1293
msgid "Connection" msgid "Connection"
msgstr "" msgstr ""
#: /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:1303
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1341 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1342
msgid "LDAP server" msgid "LDAP server"
msgstr "" msgstr ""
#: /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:1314
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1351 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1352
msgid "Identifier" msgid "Identifier"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1314 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1315
msgid "Password" msgid "Password"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1315 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1316
msgid "Connect" msgid "Connect"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1316 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1317
msgid "Forgot your password ?" msgid "Forgot your password ?"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1334 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1335
msgid "Recovery of your credentials" msgid "Recovery of your credentials"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1353 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1354
msgid "Back" msgid "Back"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1356 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1357
msgid "Please fill the identifier field to proceed recovery procedure" msgid "Please fill the identifier field to proceed recovery procedure"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1361 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1362
msgid "" msgid ""
"An email has been sent to %{mail}. Please follow the instructions on it." "An email has been sent to %{mail}. Please follow the instructions on it."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1370 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1371
msgid "Your new password has been sent to %{mail}." msgid "Your new password has been sent to %{mail}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1531 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1532
msgid "Language" msgid "Language"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1553 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1554
msgid "Connected as" msgid "Connected as"
msgstr "" 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:2587
msgid "LSsession : The constant %{const} is not defined." msgid "LSsession : The constant %{const} is not defined."
msgstr "" 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:2590
msgid "" msgid ""
"LSsession : The %{addon} support is uncertain. Verify system compatibility " "LSsession : The %{addon} support is uncertain. Verify system compatibility "
"and the add-on configuration." "and the add-on configuration."
msgstr "" 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:2593
msgid "" msgid ""
"LSsession : LDAP server's configuration data are invalid. Can't connect." "LSsession : LDAP server's configuration data are invalid. Can't connect."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2595 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2596
msgid "LSsession : Failed to load LSobject type %{type} : unknon type." msgid "LSsession : Failed to load LSobject type %{type} : unknon type."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2598 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2599
msgid "LSsession : Failed to load LSclass %{class}." msgid "LSsession : Failed to load LSclass %{class}."
msgstr "" 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:2602
msgid "LSsession : Login or password incorrect." msgid "LSsession : Login or password incorrect."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2604 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2605
msgid "LSsession : Impossible to identify you : Duplication of identities." msgid "LSsession : Impossible to identify you : Duplication of identities."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2607 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2608
msgid "LSsession : Can't load class of authentification (%{class})." msgid "LSsession : Can't load class of authentification (%{class})."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2610 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2611
msgid "LSsession : Can't connect to LDAP server." msgid "LSsession : Can't connect to LDAP server."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2613 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2614
msgid "LSsession : Impossible to authenticate you." msgid "LSsession : Impossible to authenticate you."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2616 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2617
msgid "LSsession : Your are not authorized to do this action." msgid "LSsession : Your are not authorized to do this action."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2619 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2620
msgid "LSsession : Some informations are missing to display this page." msgid "LSsession : Some informations are missing to display this page."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2622 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2623
msgid "" msgid ""
"LSsession : The function of the custom action %{name} does not exists or is " "LSsession : The function of the custom action %{name} does not exists or is "
"not configured." "not configured."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2625 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2626
msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth." msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2628 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2629
msgid "" msgid ""
"LSsession : Fail to reconnect to LDAP server with user's LDAP credentials." "LSsession : Fail to reconnect to LDAP server with user's LDAP credentials."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2631 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2632
msgid "LSsession : No import/export format define for this object type." msgid "LSsession : No import/export format define for this object type."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2634 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2635
msgid "" msgid ""
"LSsession : Error during creation of list of levels. Contact administrators. " "LSsession : Error during creation of list of levels. Contact administrators. "
"(Code : %{code})" "(Code : %{code})"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2637 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2638
msgid "LSsession : The password recovery is disabled for this LDAP server." msgid "LSsession : The password recovery is disabled for this LDAP server."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2640 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2641
msgid "" msgid ""
"LSsession : Some informations are missing to recover your password. Contact " "LSsession : Some informations are missing to recover your password. Contact "
"administrators." "administrators."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2643 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2644
msgid "" msgid ""
"LSsession : Error during password recovery. Contact administrators.(Step : " "LSsession : Error during password recovery. Contact administrators.(Step : "
"%{step})" "%{step})"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2646 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2647
msgid "" msgid ""
"LSsession : call function %{func} do not provided from LSaddon %{addon}." "LSsession : call function %{func} do not provided from LSaddon %{addon}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2649 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2650
msgid "LSsession : problem during initialisation." msgid "LSsession : problem during initialisation."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2652 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2653
msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist." msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2655 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2656
msgid "LSsession : invalid related object's DN pass in parameter." msgid "LSsession : invalid related object's DN pass in parameter."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2659
msgid ""
"LSsession : the LSaddon %{addon} keep using old-style addon view URL. Please "
"upgrade it."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:473 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSldapObject.php:473
msgid "The attribute %{attr} is not valid." msgid "The attribute %{attr} is not valid."
msgstr "" msgstr ""
@ -1413,7 +1419,7 @@ msgstr ""
msgid "Fail to determine the requested URL." msgid "Fail to determine the requested URL."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSurl.php:199 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSurl.php:200
msgid "Fail to determine the requested URL (loop detected)." msgid "Fail to determine the requested URL (loop detected)."
msgstr "" msgstr ""
@ -1770,10 +1776,6 @@ msgid ""
"%{objectname}." "%{objectname}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/image.php:37
msgid "Missing parameter"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:37 #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:37
#: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:48 #: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:48
msgid "Deleting" msgid "Deleting"
@ -1791,7 +1793,7 @@ msgstr ""
msgid "You must provide pattern for global search." msgid "You must provide pattern for global search."
msgstr "" msgstr ""
#: templates/default/fatal_error.tpl:19 #: templates/default/fatal_error.tpl:20
msgid "A fatal error occured. If problem persist, please contact support." msgid "A fatal error occured. If problem persist, please contact support."
msgstr "" msgstr ""
@ -1799,7 +1801,7 @@ msgstr ""
msgid "Attributes / Profiles" msgid "Attributes / Profiles"
msgstr "" msgstr ""
#: templates/default/fatal_error.tpl:23 #: templates/default/fatal_error.tpl:24
msgid "Details" msgid "Details"
msgstr "" msgstr ""
@ -1811,7 +1813,7 @@ msgstr ""
msgid "Format" msgid "Format"
msgstr "" msgstr ""
#: templates/default/top.tpl:35 templates/default/top.tpl:36 #: templates/default/top.tpl:36 templates/default/top.tpl:37
#: templates/default/global_search.tpl:10 #: templates/default/global_search.tpl:10
msgid "Global search" msgid "Global search"
msgstr "" msgstr ""
@ -1863,7 +1865,7 @@ msgstr ""
msgid "Readable / Writable" msgid "Readable / Writable"
msgstr "" msgstr ""
#: templates/default/top.tpl:62 #: templates/default/top.tpl:63
msgid "Refresh my access rights" msgid "Refresh my access rights"
msgstr "" msgstr ""
@ -1875,7 +1877,7 @@ msgstr ""
msgid "Result" msgid "Result"
msgstr "" msgstr ""
#: templates/default/error_404.tpl:19 #: templates/default/error_404.tpl:20
msgid "The requested page was not found." msgid "The requested page was not found."
msgstr "" msgstr ""

View file

@ -3,13 +3,13 @@
<h1>{$pagetitle}</h1> <h1>{$pagetitle}</h1>
<ul class="LSaccessRightsMatrixView_tabs"> <ul class="LSaccessRightsMatrixView_tabs">
{foreach $LSobjects as $obj => $obj_conf} {foreach $LSobjects as $obj => $obj_conf}
<li{if $LSobject==$obj} class="LSaccessRightsMatrixView_active_tab"{/if}><a href="addon_view.php?LSaddon=LSaccessRightsMatrixView&view=accessRightsMatrix&LSobject={$obj}">{$obj_conf.label}</a></li> <li{if $LSobject==$obj} class="LSaccessRightsMatrixView_active_tab"{/if}><a href="addon/LSaccessRightsMatrixView/accessRightsMatrix&LSobject={$obj}">{$obj_conf.label}</a></li>
{/foreach} {/foreach}
</ul> </ul>
<div class='LSaccessRightsMatrixView_tab_content'> <div class='LSaccessRightsMatrixView_tab_content'>
<h2>{$LSobjects[$LSobject]['label']}</h2> <h2>{$LSobjects[$LSobject]['label']}</h2>
<table class="table-header-rotated"> <table class="table-header-rotated">
<thead> <thead>
<tr> <tr>

View file

@ -44,7 +44,7 @@
{/foreach} {/foreach}
{foreach from=$LSaddonsViewsAccess item=access} {foreach from=$LSaddonsViewsAccess item=access}
{if $access.showInMenu} {if $access.showInMenu}
<li class='menu'><a href='addon_view.php?LSaddon={$access.LSaddon|escape:"url"}&view={$access.id|escape:"url"}' class='menu'>{tr msg=$access.label}</a></li> <li class='menu'><a href='addon/{$access.LSaddon|escape:"url"}/{$access.id|escape:"url"}' class='menu'>{tr msg=$access.label}</a></li>
{/if} {/if}
{/foreach} {/foreach}
</ul> </ul>