- Removed the clone_list function from Disk.page, Flash.page, and Share.page.
- Added the clone_list function to Helpers.php for better organization and reusability.
- Deleted the NotificationsArchive.page, NotificationsArchive.php, and associated CSS file as they are no longer needed.
- This change helps streamline the codebase and remove obsolete components.
- Notifications replaced via unraid-api inclusion
- Refactored the showStatus function for better readability and structure.
- Changed the way parameters are passed to the jQuery post method.
- This change continues the effort to enhance code clarity and maintainability across the plugin.
- Wrapped elements in spans within PageBuilder.php to improve layout structure.
- Added a span for layout consistency in MainContentTabless.php.
- This change continues the effort to enhance visual consistency across the plugin.
- Updated color mappings in the FGCOLORS array to ensure proper theme color representation.
- Changed THEME_AZURE to map to COLOR_BLACK and THEME_BLACK to map to COLOR_WHITE, enhancing visual clarity across themes.
- Encapsulated the existing capabilities table within a <div> with class "TableContainer" to enhance responsiveness and layout consistency.
- This change aligns with previous updates for better structure across similar components.
- Introduced a new function `processTitle` to safely handle page titles by replacing PHP variables with their values without using eval.
- Updated title handling in MainContent, MainContentTabbed, and MainContentTabless to utilize the new `processTitle` function, enhancing security and maintainability.
- Changed the class attribute from "content" to "tab-content content" for better semantic clarity and improved styling consistency in the tabbed layout.
- Replaced direct htmlspecialchars usage with eval to ensure variables in .page titles are correctly processed.
- This change enhances the flexibility of title rendering across multiple layout files.
- Introduced a new file, MainContentTabless.php, which provides a non-tabbed content template for the Unraid web interface, rendering all pages in sequence without tabs.
- Removed unused cookie helper functions from MainContentTabbed.php to streamline the code.
- Updated the tab management logic to ensure cookies are cleared when no cookie exists, aligning with the behavior of the initab function.
- Corrected the filename reference in MainContent.php from 'MainContentNotab.php' to 'MainContentNoTab.php' for consistency.
- Added `generatePanel` and `generatePanels` functions to encapsulate panel creation logic for menu items.
- Updated `MainContentNotab.php` and `MainContentTabbed.php` to utilize the new functions, improving code reusability and readability.
- Introduced `generateContent` function to handle content generation based on Markdown flag.
- Modified the calculation of the 'top' variable to remove the offset adjustment, simplifying the logic.
- Ensured that the scroll position is set correctly based on the cookie value.
This change improves the handling of scroll position based on user preferences.
- Restructured footer HTML to use flexbox for better alignment and spacing.
- Adjusted CSS styles for #footer, including padding and box-sizing.
- Removed unnecessary float properties and improved layout consistency.