Commit Graph

15 Commits

Author SHA1 Message Date
c7482016ce Implement superadmin login redirection and session handling improvements
This commit introduces a new function, `fxSuperadmRedirectToLoginIfNeeded`, to streamline the login redirection process for superadmin users. It enhances session management by checking for user authentication and allowing legacy account access under specific conditions. Additionally, the login flow is updated to ensure users are redirected appropriately after login, improving the overall security and user experience in the superadmin interface. These changes aim to enhance maintainability and clarity in session handling across various superadmin pages.
2026-07-07 14:15:48 -04:00
7bd586b619 Implement permission inspection features and enhance admin interface
This commit introduces new functions for permission inspection, allowing super admins to toggle and manage access rights more effectively. It adds visual elements for permission badges in the admin interface and updates the sidebar navigation to include a migration section for legacy accounts. Additionally, CSS styles are enhanced for better user experience and clarity. The version code is updated to reflect these changes.
2026-07-01 12:00:22 -04:00
3e3a0f1de7 Add static sync functionality and update UI for development tools
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.
2026-06-22 14:08:16 -04:00
f881b42f7f Update text editing access control and enhance environment checks
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.
2026-06-19 14:37:08 -04:00
48de0b0168 Restore site-wide translation pencils via afficheTexte markers (revert e2ab4e5).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 18:26:15 -04:00
e2ab4e58fe Revert site-wide translation markers; keep bib v4 pencils only.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 18:20:55 -04:00
02bbca628f Add fxAdminTradLinkClass function and update translation button handling
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.
2026-06-16 18:16:09 -04:00
5816a53b11 Refactor translation handling and update CSS styles for admin buttons
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.
2026-06-16 18:10:02 -04:00
4779493fad Add afficheTextePage function for improved translation handling in HTML context
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.
2026-06-16 17:55:57 -04:00
ebe2022164 Enhance translation functionality in bib management interface by introducing new helper functions for admin translation buttons and improving button visibility. Update existing functions to streamline translation handling and ensure consistent UI elements. Adjust HTML structure for better clarity and maintainability. 2026-06-16 17:52:51 -04:00
9faae13e7d Fix HTML structure in fxAdminTextEditSwitchHtml function by removing unnecessary text in the label for the text edit mode switch. This improves clarity and maintains consistency in the user interface. 2026-06-16 17:45:42 -04:00
196367adc1 fin pour aujourdhui pour assignation de dossard 2026-06-16 17:43:13 -04:00
96ffc48f84 Implement text editing mode for superadmin in dev/preprod environments. Introduce new functions for handling text edit requests and rendering environment notices. Update CSS styles for the text edit switch and related elements. Increment version code to 4.72.638 in inc_settings.php. 2026-06-16 17:39:18 -04:00
f987d6e7b6 changement de visul dossard 2026-06-16 14:09:53 -04:00
5842222283 Initial clean V5 repository 2026-05-13 09:43:32 -04:00