This commit introduces the `fxAdminStaticSyncAllowed` function to control access to static database synchronization tools, ensuring only authorized users in development and pre-production environments can access them. The UI is updated to display a new section for these tools in the admin interface, enhancing the overall user experience and access management for development tasks. Additionally, the `.gitignore` file is updated to exclude the `/output/` directory from version control.
This commit modifies the `fxAdminIsDevPreprod` function to improve environment validation for text editing tools, ensuring access is restricted to the appropriate development and pre-production environments. Additionally, it introduces a 403 Forbidden response in `traduction.php` for unauthorized access attempts, enhancing security and user feedback.
This commit introduces the fxAdminTradLinkClass function to centralize CSS class management for translation links. The fxAdminTradButton function has been updated to utilize this new function, ensuring consistent styling. Additionally, a new JavaScript function is added to handle translation link clicks, opening a popup for editing translations. This enhances the user experience and maintains code clarity.
This commit enhances the translation functionality by introducing a new invisible marker for translation links and updating the existing button structure to use anchor tags instead of buttons. The afficheTexte function has been modified to include the new marker, improving the integration of translation links in the HTML context. Additionally, CSS styles for the translation button have been updated for better alignment and display. The version code has been incremented to 4.72.638.
This commit introduces the afficheTextePage function, which enhances the translation functionality by allowing the display of translation buttons in HTML context. The existing afficheTexte function has been updated to remove the translation button display option, ensuring clearer usage. This change aims to streamline translation handling and improve maintainability of the codebase.