dolibarr/htdocs/admin/tools
William Mead 3c87423364
Qual cleaner code for InterfaceLogevents (#26347)
* Renamed text variable to label

* Added label variable

* Fixed typos

* Fixed PHPDoc

* Added runTrigger method return type

* Refactored to use super class constructor

* Added contributor details. Cleaned indentation.

* Added user login failed string

* Added label & description localized strings

* Converted event label, description & date variables to class properties. Added class method to initialize event data. Refactored & cleaned code.

* Added user string parameter

* Cleaned code

* Moved langs loading

* Added code comment

* Cleaned code

* Added code comment

* Fixed PHPDoc comments

* Refactored event label & description assignment

* Deleted unneeded empty lines

* Added event action text dictionary. Refactored event data initialization. Added static class method for dynamic localization to check if event text has an event action key n.

* Updated string parameter placement

* Added condition to check if event description has an event action key in order to do dynamic frontend translation

* Updated code comments. Renamed event action array.

* Added user status key

* Cleaned code

* Update interface_20_all_Logevents.class.php

---------

Co-authored-by: William Mead <william.mead@manchenumerique.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-30 04:12:43 +01:00
..
dolibarr_export.php QUAL Move conf->global into getDolGlobal... 2023-10-24 17:00:13 +02:00
dolibarr_import.php add comment 2022-09-07 20:08:59 +02:00
export_files.php add comment 2022-09-07 20:08:59 +02:00
export.php Better error message 2023-09-26 00:56:52 +02:00
index.php add comment 2022-09-07 20:08:59 +02:00
listevents.php Qual cleaner code for InterfaceLogevents (#26347) 2023-10-30 04:12:43 +01:00
listsessions.php QUAL Move conf->global into getDolGlobal... 2023-10-24 17:00:13 +02:00
purge.php Clean code 2023-02-21 12:57:36 +01:00
update.php add comment 2022-09-07 20:08:59 +02:00