Fix search customActions JS validation

This commit is contained in:
Benjamin Renard 2020-05-04 14:25:11 +02:00
parent 2766237481
commit 07e7c3031f
7 changed files with 188 additions and 157 deletions

View file

@ -186,18 +186,24 @@ class LSform {
* *
* @retval void * @retval void
*/ */
public static function loadDependenciesDisplayView($ldapObject=false) { public static function loadDependenciesDisplayView($ldapObject=false, $search_view=false) {
LSsession :: addCssFile('LSform.css'); LSsession :: addCssFile('LSform.css');
LSsession :: addJSscript('LSform.js'); LSsession :: addJSscript('LSform.js');
$customActionLabels = array (); $customActionLabels = array ();
if (is_a($ldapObject,'LSldapObject')) { if (is_a($ldapObject,'LSldapObject')) {
$objectname=$ldapObject -> getDisplayName(); $objectname=($search_view?$ldapObject -> getLabel():$ldapObject -> getDisplayName());
$customActionsConfig = LSconfig :: get('LSobjects.'.$ldapObject->type_name.'.customActions'); $customActionsConfig = LSconfig :: get('LSobjects.'.$ldapObject->type_name.($search_view?'.LSsearch':'').'.customActions');
if (is_array($customActionsConfig)) { if (is_array($customActionsConfig)) {
foreach($customActionsConfig as $name => $config) { foreach($customActionsConfig as $name => $config) {
if (isset($config['question_format'])) { if (isset($config['question_format'])) {
$customActionLabels['custom_action_'.$name.'_confirm_text'] = getFData(__($config['question_format']), $objectname); $customActionLabels['custom_action_'.$name.'_confirm_text'] = getFData(__($config['question_format']), $objectname);
} }
elseif ($search_view) {
$customActionLabels['custom_action_'.$name.'_confirm_text'] = getFData(
_('Do you really want to execute custom action %{title} on this search ?'),
$name
);
}
else { else {
$customActionLabels['custom_action_'.$name.'_confirm_text'] = getFData( $customActionLabels['custom_action_'.$name.'_confirm_text'] = getFData(
_('Do you really want to execute custom action %{customAction} on %{objectname} ?'), _('Do you really want to execute custom action %{customAction} on %{objectname} ?'),

View file

@ -205,7 +205,6 @@ function handle_LSobject_search($request) {
} }
} }
// Run search // Run search
$LSsearch -> run(); $LSsearch -> run();
$LSsearch -> redirectWhenOnlyOneResult(); $LSsearch -> redirectWhenOnlyOneResult();
@ -240,7 +239,7 @@ function handle_LSobject_search($request) {
if (LSsession :: loadLSclass('LSform')) { if (LSsession :: loadLSclass('LSform')) {
LSform :: loadDependenciesDisplayView(); LSform :: loadDependenciesDisplayView($object, true);
} }
// Set & display template // Set & display template

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-04 11:12+0200\n" "PO-Revision-Date: 2020-05-04 14:21+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"
@ -21,18 +21,18 @@ msgstr ""
"X-Generator: Poedit 2.2.1\n" "X-Generator: Poedit 2.2.1\n"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:67 #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:67
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:222 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:224
#: templates/default/global_search.tpl:7 #: templates/default/global_search.tpl:7
msgid "Search" msgid "Search"
msgstr "Rechercher" msgstr "Rechercher"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:68 #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:68
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:223 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:225
msgid "Approximative search" msgid "Approximative search"
msgstr "Recherche approximative" msgstr "Recherche approximative"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:69 #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:69
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:224 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:226
msgid "Recursive search" msgid "Recursive search"
msgstr "Recherche récursive" msgstr "Recherche récursive"
@ -42,35 +42,6 @@ msgstr "Recherche récursive"
msgid "Level" msgid "Level"
msgstr "Niveau" msgstr "Niveau"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/import.php:59
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:171
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:281
msgid "Import"
msgstr "Importer"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_search_action.php:53
msgid ""
"The custom action %{title} have been successfully execute on this search."
msgstr ""
"L'action personnalisée %{title} a été correctement exécutée sur cette "
"recherche."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_search_action.php:68
msgid "Do you really want to execute custom action %{title} on this search ?"
msgstr ""
"Êtes-vous vraiment sûre de vouloir exécuter l'action personnalisée %{title} "
"sur cette recherche ?"
#: /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:1359
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:68
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:669
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_action.php:83
msgid "Validate"
msgstr "Valider"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.samba.php:27 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.samba.php:27
msgid "SAMBA Support : Unable to load smbHash class." msgid "SAMBA Support : Unable to load smbHash class."
msgstr "Support SAMBA : Impossible de charger la classe smbHash." msgstr "Support SAMBA : Impossible de charger la classe smbHash."
@ -507,6 +478,16 @@ msgstr "Confirmation"
msgid "You confirm your choice ?" msgid "You confirm your choice ?"
msgstr "Confirmez-vous votre choix ?" msgstr "Confirmez-vous votre choix ?"
#: /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:1359
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:68
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:326
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:773
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:877
msgid "Validate"
msgstr "Valider"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSconfirmBox.php:38 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSconfirmBox.php:38
msgid "Cancel" msgid "Cancel"
msgstr "Annuler" msgstr "Annuler"
@ -566,8 +547,8 @@ msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:68 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:68
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_supannLabeledValue.php:62 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_supannLabeledValue.php:62
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:167 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:167
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:450 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:554
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:608 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:712
msgid "Modify" msgid "Modify"
msgstr "Modifier" msgstr "Modifier"
@ -881,7 +862,7 @@ 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:1522 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1522
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:178 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:181
#: /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"
@ -1364,7 +1345,7 @@ msgid "updating relations"
msgstr "mise à jour des relations" msgstr "mise à jour des relations"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:214 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:214
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:214 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:220
msgid "Do you really want to delete" msgid "Do you really want to delete"
msgstr "Voulez-vous vraiment supprimer" msgstr "Voulez-vous vraiment supprimer"
@ -1373,12 +1354,12 @@ msgid "Warning"
msgstr "Attention" msgstr "Attention"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:216 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:216
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:216 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:222
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:69 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:69
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:85 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:85
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:183 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:183
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:466 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:570
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:600 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:704
msgid "Delete" msgid "Delete"
msgstr "Supprimer" msgstr "Supprimer"
@ -1388,8 +1369,8 @@ msgid "No object."
msgstr "Aucun objet." msgstr "Aucun objet."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:267 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:267
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:165 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:168
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:405 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:509
msgid "New" msgid "New"
msgstr "Nouveau" msgstr "Nouveau"
@ -1552,12 +1533,19 @@ msgid "Delete this field."
msgstr "Supprimer cette valeur." msgstr "Supprimer cette valeur."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:122 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:122
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:249 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:255
msgid "No field." msgid "No field."
msgstr "Aucun champ." msgstr "Aucun champ."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:203 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:203
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_action.php:73 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:322
msgid "Do you really want to execute custom action %{title} on this search ?"
msgstr ""
"Êtes-vous vraiment sûre de vouloir exécuter l'action personnalisée %{title} "
"sur cette recherche ?"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:209
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:871
msgid "" msgid ""
"Do you really want to execute custom action %{customAction} on " "Do you really want to execute custom action %{customAction} on "
"%{objectname} ?" "%{objectname} ?"
@ -1565,49 +1553,49 @@ msgstr ""
"Êtes-vous vraiment sûre de vouloir exécuter l'action personnalisée " "Êtes-vous vraiment sûre de vouloir exécuter l'action personnalisée "
"%{customAction} sur %{objectname} ?" "%{customAction} sur %{objectname} ?"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:215 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:221
msgid "Caution" msgid "Caution"
msgstr "Attention" msgstr "Attention"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:270 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:276
msgid "%{label} attribute data is not valid." msgid "%{label} attribute data is not valid."
msgstr "Les données de l'attribut %{label} sont incorrectes." msgstr "Les données de l'attribut %{label} sont incorrectes."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:348 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:354
msgid "Mandatory field" msgid "Mandatory field"
msgstr "Champ obligatoire" msgstr "Champ obligatoire"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:780 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:786
msgid "LSform : Error during the recovery of the values of the form." msgid "LSform : Error during the recovery of the values of the form."
msgstr "LSform : Erreur durant la récupération des valeurs du formulaire." msgstr "LSform : Erreur durant la récupération des valeurs du formulaire."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:783 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:789
msgid "" msgid ""
"LSform : Error durring the recovery of the value of the field '%{element}'." "LSform : Error durring the recovery of the value of the field '%{element}'."
msgstr "" msgstr ""
"LSform : Erreur durant la recupération de la valeur du champ %{element}." "LSform : Erreur durant la recupération de la valeur du champ %{element}."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:790 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:796
msgid "LSform : The field %{element} doesn't exist." msgid "LSform : The field %{element} doesn't exist."
msgstr "LSform : Le champ %{element} n'existe pas." msgstr "LSform : Le champ %{element} n'existe pas."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:793 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:799
msgid "LSfom : Field type unknow (%{type})." msgid "LSfom : Field type unknow (%{type})."
msgstr "LSform : Type de champ inconnu (%{type})." msgstr "LSform : Type de champ inconnu (%{type})."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:796 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:802
msgid "LSform : Error during the creation of the element '%{element}'." msgid "LSform : Error during the creation of the element '%{element}'."
msgstr "LSform : Erreur durant la création de l'élément %{element}." msgstr "LSform : Erreur durant la création de l'élément %{element}."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:799 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:805
msgid "LSform : The data entry form %{name} doesn't exist." msgid "LSform : The data entry form %{name} doesn't exist."
msgstr "LSform : Le masque de saisie %{name} n'existe pas." msgstr "LSform : Le masque de saisie %{name} n'existe pas."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:802 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:808
msgid "LSform : The data entry form %{name} is not correctly configured." msgid "LSform : The data entry form %{name} is not correctly configured."
msgstr "LSform : Le masque de saisie %{name} n'est pas correctement configuré." msgstr "LSform : Le masque de saisie %{name} n'est pas correctement configuré."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:805 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:811
msgid "" msgid ""
"LSform : The element %{name}, listed as displayed in data entry form " "LSform : The element %{name}, listed as displayed in data entry form "
"configuration, doesn't exist." "configuration, doesn't exist."
@ -2017,12 +2005,12 @@ msgid "Unknown error : %{error}"
msgstr "Erreur inconnu : %{error}" msgstr "Erreur inconnu : %{error}"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:159 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:159
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:592 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:696
msgid "View" msgid "View"
msgstr "Voir" msgstr "Voir"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:175 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:175
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:458 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:562
msgid "Copy" msgid "Copy"
msgstr "Copier" msgstr "Copier"
@ -2048,42 +2036,62 @@ msgstr ""
msgid "Home" msgid "Home"
msgstr "Accueil" msgstr "Accueil"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:183 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:174
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:385
msgid "Import"
msgstr "Importer"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:186
msgid "Reset" msgid "Reset"
msgstr "Réinitialiser" msgstr "Réinitialiser"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:364 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:303
msgid ""
"The custom action %{title} have been successfully execute on this search."
msgstr ""
"L'action personnalisée %{title} a été correctement exécutée sur cette "
"recherche."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:468
msgid "Data entry form" msgid "Data entry form"
msgstr "Masque de saisie" msgstr "Masque de saisie"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:370 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:474
msgid "Object has been added." msgid "Object has been added."
msgstr "L'objet a été ajouté." msgstr "L'objet a été ajouté."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:497 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:601
msgid "My account" msgid "My account"
msgstr "Mon compte" msgstr "Mon compte"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:550 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:654
msgid "The object has been partially modified." msgid "The object has been partially modified."
msgstr "L'objet a été partiellement modifié." msgstr "L'objet a été partiellement modifié."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:553 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:657
msgid "The object has been modified successfully." msgid "The object has been modified successfully."
msgstr "L'objet a bien été modifié." msgstr "L'objet a bien été modifié."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:657 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:761
msgid "%{objectname} has been successfully deleted." msgid "%{objectname} has been successfully deleted."
msgstr "%{objectname} a bien été supprimé." msgstr "%{objectname} a bien été supprimé."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:666 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:770
msgid "Deleting : %{objectname}" msgid "Deleting : %{objectname}"
msgstr "Suppression : %{objectname}" msgstr "Suppression : %{objectname}"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:667 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:771
msgid "Do you really want to delete <strong>%{displayName}</strong> ?" msgid "Do you really want to delete <strong>%{displayName}</strong> ?"
msgstr "Voulez-vous vraiment supprimer <strong>%{displayName}</strong> ?" msgstr "Voulez-vous vraiment supprimer <strong>%{displayName}</strong> ?"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:845
msgid ""
"The custom action %{customAction} have been successfully execute on "
"%{objectname}."
msgstr ""
"L'action personnalisée %{customAction} a été correctement exécutée sur "
"%{objectname}."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/functions.php:112 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/functions.php:112
msgid "" msgid ""
"Function 'getFData' : The method %{meth} of the object %{obj} doesn't exist." "Function 'getFData' : The method %{meth} of the object %{obj} doesn't exist."
@ -2097,14 +2105,6 @@ msgstr "[pas une chaîne de caractères]"
msgid "Folder not found" msgid "Folder not found"
msgstr "Dossier introuvable" msgstr "Dossier introuvable"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_action.php:53
msgid ""
"The custom action %{customAction} have been successfully execute on "
"%{objectname}."
msgstr ""
"L'action personnalisée %{customAction} a été correctement exécutée sur "
"%{objectname}."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:30 #: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:30
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."
@ -2145,7 +2145,7 @@ msgstr "Objets importés"
msgid "Legend:" msgid "Legend:"
msgstr "Légende :" msgstr "Légende :"
#: templates/default/viewSearch.tpl:120 #: templates/default/viewSearch.tpl:133
msgid "Nb / page :" msgid "Nb / page :"
msgstr "Nb / page :" msgstr "Nb / page :"

View file

@ -1,16 +1,16 @@
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:67 #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:67
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:222 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:224
#: templates/default/global_search.tpl:7 #: templates/default/global_search.tpl:7
msgid "Search" msgid "Search"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:68 #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:68
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:223 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:225
msgid "Approximative search" msgid "Approximative search"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:69 #: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:69
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:224 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:226
msgid "Recursive search" msgid "Recursive search"
msgstr "" msgstr ""
@ -20,31 +20,6 @@ msgstr ""
msgid "Level" msgid "Level"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/import.php:59
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:171
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:281
msgid "Import"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_search_action.php:53
msgid ""
"The custom action %{title} have been successfully execute on this search."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_search_action.php:68
msgid "Do you really want to execute custom action %{title} on this search ?"
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:1359
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:68
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:669
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_action.php:83
msgid "Validate"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.samba.php:27 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/addons/LSaddons.samba.php:27
msgid "SAMBA Support : Unable to load smbHash class." msgid "SAMBA Support : Unable to load smbHash class."
msgstr "" msgstr ""
@ -424,6 +399,16 @@ msgstr ""
msgid "You confirm your choice ?" msgid "You confirm your choice ?"
msgstr "" msgstr ""
#: /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:1359
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:68
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:326
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:773
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:877
msgid "Validate"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSconfirmBox.php:38 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSconfirmBox.php:38
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
@ -475,8 +460,8 @@ msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:68 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:68
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_supannLabeledValue.php:62 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_supannLabeledValue.php:62
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:167 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:167
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:450 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:554
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:608 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:712
msgid "Modify" msgid "Modify"
msgstr "" msgstr ""
@ -744,7 +729,7 @@ msgid "Your new password has been sent to %{mail}."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1522 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1522
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:178 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:181
#: /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 ""
@ -1141,7 +1126,7 @@ msgid "updating relations"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:214 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:214
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:214 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:220
msgid "Do you really want to delete" msgid "Do you really want to delete"
msgstr "" msgstr ""
@ -1150,12 +1135,12 @@ msgid "Warning"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:216 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:216
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:216 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:222
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:69 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:69
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:85 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_select_object.php:85
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:183 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:183
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:466 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:570
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:600 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:704
msgid "Delete" msgid "Delete"
msgstr "" msgstr ""
@ -1165,8 +1150,8 @@ msgid "No object."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:267 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSrelation.php:267
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:165 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:168
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:405 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:509
msgid "New" msgid "New"
msgstr "" msgstr ""
@ -1299,59 +1284,64 @@ msgid "Delete this field."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:122 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:122
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:249 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:255
msgid "No field." msgid "No field."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:203 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:203
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_action.php:73 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:322
msgid "Do you really want to execute custom action %{title} on this search ?"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:209
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:871
msgid "" msgid ""
"Do you really want to execute custom action %{customAction} on " "Do you really want to execute custom action %{customAction} on "
"%{objectname} ?" "%{objectname} ?"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:215 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:221
msgid "Caution" msgid "Caution"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:270 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:276
msgid "%{label} attribute data is not valid." msgid "%{label} attribute data is not valid."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:348 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:354
msgid "Mandatory field" msgid "Mandatory field"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:780 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:786
msgid "LSform : Error during the recovery of the values of the form." msgid "LSform : Error during the recovery of the values of the form."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:783 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:789
msgid "" msgid ""
"LSform : Error durring the recovery of the value of the field '%{element}'." "LSform : Error durring the recovery of the value of the field '%{element}'."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:790 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:796
msgid "LSform : The field %{element} doesn't exist." msgid "LSform : The field %{element} doesn't exist."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:793 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:799
msgid "LSfom : Field type unknow (%{type})." msgid "LSfom : Field type unknow (%{type})."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:796 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:802
msgid "LSform : Error during the creation of the element '%{element}'." msgid "LSform : Error during the creation of the element '%{element}'."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:799 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:805
msgid "LSform : The data entry form %{name} doesn't exist." msgid "LSform : The data entry form %{name} doesn't exist."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:802 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:808
msgid "LSform : The data entry form %{name} is not correctly configured." msgid "LSform : The data entry form %{name} is not correctly configured."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:805 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:811
msgid "" msgid ""
"LSform : The element %{name}, listed as displayed in data entry form " "LSform : The element %{name}, listed as displayed in data entry form "
"configuration, doesn't exist." "configuration, doesn't exist."
@ -1713,12 +1703,12 @@ msgid "Unknown error : %{error}"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:159 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:159
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:592 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:696
msgid "View" msgid "View"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:175 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsearchEntry.php:175
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:458 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:562
msgid "Copy" msgid "Copy"
msgstr "" msgstr ""
@ -1740,42 +1730,58 @@ msgstr ""
msgid "Home" msgid "Home"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:183 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:174
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:385
msgid "Import"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:186
msgid "Reset" msgid "Reset"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:364 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:303
msgid ""
"The custom action %{title} have been successfully execute on this search."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:468
msgid "Data entry form" msgid "Data entry form"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:370 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:474
msgid "Object has been added." msgid "Object has been added."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:497 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:601
msgid "My account" msgid "My account"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:550 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:654
msgid "The object has been partially modified." msgid "The object has been partially modified."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:553 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:657
msgid "The object has been modified successfully." msgid "The object has been modified successfully."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:657 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:761
msgid "%{objectname} has been successfully deleted." msgid "%{objectname} has been successfully deleted."
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:666 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:770
msgid "Deleting : %{objectname}" msgid "Deleting : %{objectname}"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:667 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:771
msgid "Do you really want to delete <strong>%{displayName}</strong> ?" msgid "Do you really want to delete <strong>%{displayName}</strong> ?"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/routes.php:845
msgid ""
"The custom action %{customAction} have been successfully execute on "
"%{objectname}."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/functions.php:112 #: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/functions.php:112
msgid "" msgid ""
"Function 'getFData' : The method %{meth} of the object %{obj} doesn't exist." "Function 'getFData' : The method %{meth} of the object %{obj} doesn't exist."
@ -1789,12 +1795,6 @@ msgstr ""
msgid "Folder not found" msgid "Folder not found"
msgstr "" msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_action.php:53
msgid ""
"The custom action %{customAction} have been successfully execute on "
"%{objectname}."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:30 #: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:30
msgid "You must provide pattern for global search." msgid "You must provide pattern for global search."
msgstr "" msgstr ""
@ -1833,7 +1833,7 @@ msgstr ""
msgid "Legend:" msgid "Legend:"
msgstr "" msgstr ""
#: templates/default/viewSearch.tpl:120 #: templates/default/viewSearch.tpl:133
msgid "Nb / page :" msgid "Nb / page :"
msgstr "" msgstr ""

View file

@ -4,7 +4,20 @@
<ul class='LSview-actions'> <ul class='LSview-actions'>
{foreach from=$LSview_actions item=item} {foreach from=$LSview_actions item=item}
{if is_array($item)} {if is_array($item)}
<li class='LSview-actions'><a href='{$item.url}' class='LSview-actions{if isset($item['class'])} {$item.class|escape:"quotes"}{/if}{if isset($item['helpInfo']) || (isset($item['hideLabel']) && $item.hideLabel && isset($item.label) && $item.label)} LStips{/if}' {if isset($item['helpInfo']) || (isset($item['hideLabel']) && $item.hideLabel && isset($item.label) && $item.label)}title='{if $item.helpInfo}{$item.helpInfo|escape:"htmlall"}{else}{$item.label|escape:"htmlall"}{/if}'{/if}><img src="{img name=$item.action}" alt='{$item.label|escape:"htmlall"}' title='{$item.label|escape:"htmlall"}' />{if !isset($item.hideLabel) || !$item.hideLabel} {$item.label}{/if}</a></li> <li class='LSview-actions'>
<a
href='{$item.url}'
class='
LSview-actions
{if isset($item['class'])}{$item.class|escape:"quotes"}{/if}
{if isset($item['helpInfo']) || (isset($item['hideLabel']) && $item.hideLabel && isset($item.label) && $item.label)} LStips{/if}
'
{if isset($item['helpInfo']) || (isset($item['hideLabel']) && $item.hideLabel && isset($item.label) && $item.label)}title='{if $item.helpInfo}{$item.helpInfo|escape:"htmlall"}{else}{$item.label|escape:"htmlall"}{/if}'{/if}
>
<img src="{img name=$item.action}" alt='{$item.label|escape:"htmlall"}' title='{$item.label|escape:"htmlall"}' />
{if !isset($item.hideLabel) || !$item.hideLabel} {$item.label}{/if}
</a>
</li>
{/if} {/if}
{/foreach} {/foreach}
</ul> </ul>

View file

@ -14,7 +14,7 @@
</p> </p>
</div> </div>
<h1> <h1 id="LSview_title">
{$pagetitle|escape:"htmlall"} {$pagetitle|escape:"htmlall"}
</h1> </h1>
@ -22,7 +22,20 @@
<ul class='LSview-actions'> <ul class='LSview-actions'>
{foreach from=$LSview_actions item=item} {foreach from=$LSview_actions item=item}
{if is_array($item)} {if is_array($item)}
<li class='LSview-actions'><a href='{$item.url}' class='LSview-actions'><img src='{img name=$item.action}' alt='{$item.label|escape:"htmlall"}' title='{$item.label|escape:"htmlall"}' /> {$item.label|escape:"htmlall"}</a></li> <li class='LSview-actions'>
<a
href='{$item.url}'
class='
LSview-actions
{if isset($item['class'])}{$item.class|escape:"quotes"}{/if}
{if isset($item['helpInfo']) || (isset($item['hideLabel']) && $item.hideLabel && isset($item.label) && $item.label)} LStips{/if}
'
{if isset($item['helpInfo']) || (isset($item['hideLabel']) && $item.hideLabel && isset($item.label) && $item.label)}title='{if $item.helpInfo}{$item.helpInfo|escape:"htmlall"}{else}{$item.label|escape:"htmlall"}{/if}'{/if}
>
<img src="{img name=$item.action}" alt='{$item.label|escape:"htmlall"}' title='{$item.label|escape:"htmlall"}' />
{if !isset($item.hideLabel) || !$item.hideLabel} {$item.label}{/if}
</a>
</li>
{/if} {/if}
{/foreach} {/foreach}
</ul> </ul>