diff --git a/public_html/css/default/LSaccessRightsMatrixView.css b/public_html/css/default/LSaccessRightsMatrixView.css index 81645347..ac136adf 100644 --- a/public_html/css/default/LSaccessRightsMatrixView.css +++ b/public_html/css/default/LSaccessRightsMatrixView.css @@ -2,48 +2,111 @@ * Table */ #LSaccessRightsMatrixView table { - width: 100%; - border-collapse: collapse; - margin-top: 1em; - text-align: center; + border-collapse: collapse; + margin-top: 1em; + text-align: center; } #LSaccessRightsMatrixView table tr, #LSaccessRightsMatrixView table td { - transition: all 0.25s linear 0s; + transition: all 0.25s linear 0s; } -#LSaccessRightsMatrixView table tr:hover { - background-color: #AAA; +#LSaccessRightsMatrixView table tbody tr:hover { + background-color: #AAA; } #LSaccessRightsMatrixView table thead th:first-of-type, #LSaccessRightsMatrixView table tbody th { - text-align: left; + text-align: left; } -#LSaccessRightsMatrixView table tbody td, #LSaccessRightsMatrixView table thead th { - border-left: 1px dotted #ddd; +/* + * Table rotated header + */ +.table-header-rotated th.row-header{ + width: auto; + border-top: 1px dotted #dddddd; } -#LSaccessRightsMatrixView table thead th:first-of-type { - margin: none; +.table-header-rotated td{ + width: 50px; + border-top: 1px dotted #dddddd; + border-left: 1px dotted #dddddd; + border-right: 1px dotted #dddddd; + vertical-align: middle; + text-align: center; } +.table-header-rotated tr:last-of-type td, .table-header-rotated th.row-header:last-of-type { + border-left: 1px dotted #dddddd; + border-bottom: 1px dotted #dddddd; +} + +.table-header-rotated th.rotate-45{ + height: 150px; + width: 50px; + min-width: 50px; + max-width: 50px; + position: relative; + vertical-align: bottom; + padding: 0; + font-size: 11px; + line-height: 0.8; + white-space: nowrap; +} + +.table-header-rotated th.rotate-45 > div{ + position: relative; + top: 0px; + left: 75px; /* 150 * tan(45) / 2 = 50 where 150 is the height on the cell and 45 is the transform angle*/ + height: 100%; + -ms-transform:skew(-45deg,0deg); + -moz-transform:skew(-45deg,0deg); + -webkit-transform:skew(-45deg,0deg); + -o-transform:skew(-45deg,0deg); + transform:skew(-45deg,0deg); + overflow: hidden; + border-left: 1px solid #dddddd; + border-right: 1px solid #dddddd; + border-top: 1px solid #dddddd; +} + +.table-header-rotated th.rotate-45 span { + -ms-transform:skew(45deg,0deg) rotate(315deg); + -moz-transform:skew(45deg,0deg) rotate(315deg); + -webkit-transform:skew(45deg,0deg) rotate(315deg); + -o-transform:skew(45deg,0deg) rotate(315deg); + transform:skew(45deg,0deg) rotate(315deg); + position: absolute; + bottom: 30px; /* 50 cos(45) = 28 with an additional 2px margin*/ + left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/ + display: inline-block; + // width: 100%; + width: 85px; /* 150 / cos(45) - 50 cos (45) = 85 where 150 is the height of the cell, 50 the width of the cell and 45 the transform angle*/ + text-align: left; + // white-space: nowrap; /*whether to display in one line or not*/ +} + +/* + * Readable/Writable tips + */ span.LSaccessRightsMatrixView_readable, span.LSaccessRightsMatrixView_writable { - color: #fff; - border: 1px solid; - border-radius: 0.3em; - display: inline-block; - padding: 0.1em; + color: #fff; + border: 1px solid; + border-radius: 0.3em; + display: inline-block; + padding: 0.1em; + width: 2.2em; + text-align: center; } span.LSaccessRightsMatrixView_readable { - background-color: #17a2b8; - border-color: #17a2b8; + background-color: #17a2b8; + border-color: #17a2b8; } span.LSaccessRightsMatrixView_writable { - background-color: #ffc107; - border-color: #ffc107; + background-color: #ffc107; + border-color: #ffc107; } /* @@ -86,3 +149,12 @@ div.LSaccessRightsMatrixView_tab_content { div.LSaccessRightsMatrixView_tab_content h2 { margin: 0; } + +/* + * Legend + */ +#LSaccessRightsMatrixView_legend { + padding-top: 1em; + font-style: italic; + font-weight: normal; +} diff --git a/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo b/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo index f4440e84..1b65ecc7 100644 Binary files a/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo and b/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo differ diff --git a/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po b/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po index 9f0b65c9..b3594b59 100644 --- a/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po +++ b/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: LdapSaisie\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2019-10-14 12:33+0200\n" +"PO-Revision-Date: 2019-10-24 17:31+0200\n" "Last-Translator: Benjamin Renard \n" "Language-Team: LdapSaisie \n" @@ -88,7 +88,7 @@ msgstr "Réinitialiser" #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1235 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2319 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2323 msgid "Level" msgstr "Niveau" @@ -938,11 +938,11 @@ msgstr "Langue" msgid "Connected as" msgstr "Connecté en tant que" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2466 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2470 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:2469 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2473 msgid "" "LSsession : The %{addon} support is uncertain. Verify system compatibility " "and the add-on configuration." @@ -950,52 +950,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:2472 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2476 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:2475 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2479 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:2478 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2482 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:2481 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2485 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:2484 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2488 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:2487 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2491 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:2490 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2494 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:2493 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2497 msgid "LSsession : Impossible to authenticate you." msgstr "LSsession : Impossible de vous identifier." -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2496 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2500 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:2499 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2503 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:2502 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2506 msgid "" "LSsession : The function of the custom action %{name} does not exists or is " "not configured." @@ -1003,24 +1003,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:2505 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2509 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:2508 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2512 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:2511 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2515 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:2514 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2518 msgid "" "LSsession : Error during creation of list of levels. Contact administrators. " "(Code : %{code})" @@ -1028,13 +1028,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:2517 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2521 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:2520 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2524 msgid "" "LSsession : Some informations are missing to recover your password. Contact " "administrators." @@ -1042,7 +1042,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:2523 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2527 msgid "" "LSsession : Error during password recovery. Contact administrators.(Step : " "%{step})" @@ -1050,22 +1050,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:2526 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2530 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:2529 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2533 msgid "LSsession : problem during initialisation." msgstr "LSsession : Problème durant l'initialisation." -#: /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:2536 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:2535 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2539 msgid "LSsession : invalid related object's DN pass in parameter." msgstr "LSsession : DN d'objet en relation incorrect dans les paramètres." @@ -2068,7 +2068,7 @@ msgstr "" "Une erreur irrécupérable est survenue. Si le problème persiste, merci de " "contacter le support." -#: templates/default/LSaccessRightsMatrixView.tpl:15 +#: templates/default/LSaccessRightsMatrixView.tpl:17 msgid "Attributes / Profiles" msgstr "Attributs / Profils" @@ -2093,6 +2093,11 @@ msgstr "Recherche globale" msgid "Imported objects" msgstr "Objets importés" +#: templates/default/LSaccessRightsMatrixView.tpl:19 +#: templates/default/LSaccessRightsMatrixView.tpl:55 +msgid "Legend:" +msgstr "Légende :" + #: templates/default/viewSearch.tpl:120 msgid "Nb / page :" msgstr "Nb / page :" @@ -2109,13 +2114,25 @@ msgstr "Aucune valeur" msgid "Only validate data" msgstr "Validation des données uniquement" -#: templates/default/LSaccessRightsMatrixView.tpl:27 -#: templates/default/LSaccessRightsMatrixView.tpl:54 +#: templates/default/LSaccessRightsMatrixView.tpl:20 +#: templates/default/LSaccessRightsMatrixView.tpl:37 +#: templates/default/LSaccessRightsMatrixView.tpl:72 +msgid "R" +msgstr "L" + +#: templates/default/LSaccessRightsMatrixView.tpl:22 +#: templates/default/LSaccessRightsMatrixView.tpl:39 +#: templates/default/LSaccessRightsMatrixView.tpl:74 +msgid "R/W" +msgstr "L/É" + +#: templates/default/LSaccessRightsMatrixView.tpl:20 +#: templates/default/LSaccessRightsMatrixView.tpl:56 msgid "Readable" msgstr "Lecture" -#: templates/default/LSaccessRightsMatrixView.tpl:29 -#: templates/default/LSaccessRightsMatrixView.tpl:56 +#: templates/default/LSaccessRightsMatrixView.tpl:22 +#: templates/default/LSaccessRightsMatrixView.tpl:58 msgid "Readable / Writable" msgstr "Lecture / Écriture" @@ -2123,7 +2140,7 @@ msgstr "Lecture / Écriture" msgid "Refresh my access rights" msgstr "Rafraîchir mes droits d'accès" -#: templates/default/LSaccessRightsMatrixView.tpl:42 +#: templates/default/LSaccessRightsMatrixView.tpl:53 msgid "Relations / Profiles" msgstr "Relations / Profils" @@ -2131,11 +2148,11 @@ msgstr "Relations / Profils" msgid "Result" msgstr "Résultat" -#: templates/default/LSaccessRightsMatrixView.tpl:38 +#: templates/default/LSaccessRightsMatrixView.tpl:48 msgid "Their relations with other objects" msgstr "Leurs relations avec les autres objets" -#: templates/default/LSaccessRightsMatrixView.tpl:65 +#: templates/default/LSaccessRightsMatrixView.tpl:83 msgid "This object type has no configured relation." msgstr "Ce type d'objet n'a aucune relation de configurée." diff --git a/public_html/lang/ldapsaisie.pot b/public_html/lang/ldapsaisie.pot index 690dde13..2a8d308f 100644 --- a/public_html/lang/ldapsaisie.pot +++ b/public_html/lang/ldapsaisie.pot @@ -66,7 +66,7 @@ msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1235 -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2319 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2323 msgid "Level" msgstr "" @@ -801,112 +801,112 @@ msgstr "" msgid "Connected as" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2466 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2470 msgid "LSsession : The constant %{const} is not defined." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2469 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2473 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:2472 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2476 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:2475 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2479 msgid "LSsession : Failed to load LSobject type %{type} : unknon type." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2478 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2482 msgid "LSsession : Failed to load LSclass %{class}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2481 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2485 msgid "LSsession : Login or password incorrect." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2484 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2488 msgid "LSsession : Impossible to identify you : Duplication of identities." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2487 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2491 msgid "LSsession : Can't load class of authentification (%{class})." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2490 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2494 msgid "LSsession : Can't connect to LDAP server." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2493 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2497 msgid "LSsession : Impossible to authenticate you." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2496 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2500 msgid "LSsession : Your are not authorized to do this action." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2499 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2503 msgid "LSsession : Some informations are missing to display this page." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2502 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2506 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:2505 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2509 msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2508 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2512 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:2511 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2515 msgid "LSsession : No import/export format define for this object type." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2514 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2518 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:2517 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2521 msgid "LSsession : The password recovery is disabled for this LDAP server." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2520 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2524 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:2523 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2527 msgid "" "LSsession : Error during password recovery. Contact administrators.(Step : " "%{step})" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2526 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2530 msgid "" "LSsession : call function %{func} do not provided from LSaddon %{addon}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2529 +#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2533 msgid "LSsession : problem during initialisation." 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:2536 msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist." 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:2539 msgid "LSsession : invalid related object's DN pass in parameter." msgstr "" @@ -1765,7 +1765,7 @@ msgstr "" msgid "A fatal error occured. If problem persist, please contact support." msgstr "" -#: templates/default/LSaccessRightsMatrixView.tpl:15 +#: templates/default/LSaccessRightsMatrixView.tpl:17 msgid "Attributes / Profiles" msgstr "" @@ -1790,6 +1790,11 @@ msgstr "" msgid "Imported objects" msgstr "" +#: templates/default/LSaccessRightsMatrixView.tpl:19 +#: templates/default/LSaccessRightsMatrixView.tpl:55 +msgid "Legend:" +msgstr "" + #: templates/default/viewSearch.tpl:120 msgid "Nb / page :" msgstr "" @@ -1806,13 +1811,25 @@ msgstr "" msgid "Only validate data" msgstr "" -#: templates/default/LSaccessRightsMatrixView.tpl:27 -#: templates/default/LSaccessRightsMatrixView.tpl:54 +#: templates/default/LSaccessRightsMatrixView.tpl:20 +#: templates/default/LSaccessRightsMatrixView.tpl:37 +#: templates/default/LSaccessRightsMatrixView.tpl:72 +msgid "R" +msgstr "" + +#: templates/default/LSaccessRightsMatrixView.tpl:22 +#: templates/default/LSaccessRightsMatrixView.tpl:39 +#: templates/default/LSaccessRightsMatrixView.tpl:74 +msgid "R/W" +msgstr "" + +#: templates/default/LSaccessRightsMatrixView.tpl:20 +#: templates/default/LSaccessRightsMatrixView.tpl:56 msgid "Readable" msgstr "" -#: templates/default/LSaccessRightsMatrixView.tpl:29 -#: templates/default/LSaccessRightsMatrixView.tpl:56 +#: templates/default/LSaccessRightsMatrixView.tpl:22 +#: templates/default/LSaccessRightsMatrixView.tpl:58 msgid "Readable / Writable" msgstr "" @@ -1820,7 +1837,7 @@ msgstr "" msgid "Refresh my access rights" msgstr "" -#: templates/default/LSaccessRightsMatrixView.tpl:42 +#: templates/default/LSaccessRightsMatrixView.tpl:53 msgid "Relations / Profiles" msgstr "" @@ -1828,11 +1845,11 @@ msgstr "" msgid "Result" msgstr "" -#: templates/default/LSaccessRightsMatrixView.tpl:38 +#: templates/default/LSaccessRightsMatrixView.tpl:48 msgid "Their relations with other objects" msgstr "" -#: templates/default/LSaccessRightsMatrixView.tpl:65 +#: templates/default/LSaccessRightsMatrixView.tpl:83 msgid "This object type has no configured relation." msgstr "" diff --git a/public_html/templates/default/LSaccessRightsMatrixView.tpl b/public_html/templates/default/LSaccessRightsMatrixView.tpl index 9ab96cdc..e0f018f1 100644 --- a/public_html/templates/default/LSaccessRightsMatrixView.tpl +++ b/public_html/templates/default/LSaccessRightsMatrixView.tpl @@ -10,23 +10,33 @@

{$LSobjects[$LSobject]['label']}

- +
- - {foreach $LSprofiles as $name => $label} - - {/foreach} + + + {foreach $LSprofiles as $name => $label} + + {/foreach} + {foreach $LSobjects[$LSobject]['attrs'] as $name => $conf} - + {foreach $LSprofiles as $profil => $profil_label} {/foreach} @@ -37,23 +47,31 @@

{tr msg="Their relations with other objects"}

{if !empty($LSobjects[$LSobject]['relations'])} -
{tr msg="Attributes / Profiles"}{$label} {if $name != $label}?{/if}
+ {tr msg="Attributes / Profiles"} +
+ + {tr msg="R"} = {tr msg="Readable"} + | + {tr msg="R/W"} = {tr msg="Readable / Writable"} +
+
{if $name != $label}?{/if} {$label}
{$conf.label} ?{$conf.label} ? {if $conf.rights[$profil] == 'r'} - {tr msg="Readable"} + {tr msg="R"} {elseif $conf.rights[$profil] == 'w'} - {tr msg="Readable / Writable"} + {tr msg="R/W"} {/if}
+
- + {foreach $LSprofiles as $name => $label} - + {/foreach} {foreach $LSobjects[$LSobject]['relations'] as $name => $conf} - + {foreach $LSprofiles as $profil => $profil_label} {/foreach}
{tr msg="Relations / Profiles"} + {tr msg="Relations / Profiles"} +
+ + R = {tr msg="Readable"} + | + R/W = {tr msg="Readable / Writable"} +
+
{$label} {if $name != $label}?{/if}
{if $name != $label}?{/if} {$label}
{$conf.label} ?{$conf.label} ? {if $conf.rights[$profil] == 'r'} - {tr msg="Readable"} + {tr msg="R"} {elseif $conf.rights[$profil] == 'w'} - {tr msg="Readable / Writable"} + {tr msg="R/W"} {/if}