This commit updates the `ajax_promoteur_hub.php` and `inc_fx_promoteur_hub.php` files to improve language handling and text retrieval for the promoteur hub. The language is now determined based on session data, with a fallback to French if the specified language is invalid. New functions are introduced to manage text retrieval from the database, ensuring that legacy entries from `ajax_promoteur_hub.php` are handled correctly. Additionally, the text retrieval logic is streamlined to enhance maintainability and user experience across the promoteur hub.
This commit introduces significant updates to the promoteur hub, including the addition of a new JavaScript file for AJAX handling of event statistics and links. The PHP file `ajax_promoteur_hub.php` is modified to support new actions for fetching event statistics and links, improving the user experience with better error handling and loading indicators. Additionally, a new batch access control function is implemented in `inc_fx_promoteur_hub.php` to streamline permission checks for events. The version code is incremented to reflect these enhancements, aiming to improve functionality and maintainability across the promoteur hub.