]> ###2025.06.15 - Fixed: Unraid 7.1.2+ compatibility ###2023.01.17 - Fix grep warning (Thanks uraid). ###2020.01.16 - Includes 8 more themes by Raz! Select them from the Saved Themes dropdown and hit Load. ###2020.01.13b - Fix: No longer a 2048 character limit when saving custom styling. ###2020.01.13b - Import Zip only extracts *-*.cfg and *-*.css files. ###2020.01.13b - Add option to overwrite existing files when importing zip file. - Import Zip only extracts *.cfg and *.css files. ###2020.01.13 - Includes NordDark by Raz. - Import theme from zip file (usb or url). - Toggle advanced mode. - Advanced: Additional color settings. - Advanced: Custom theme styling. - Advanced: Custom color variables for theme styling. - Advanced: Download theme as zip file. ###2020.01.09 - Enable/disable custom.css (advanced). ###2020.01.09 - Fix Done button. ###2020.01.08 - Initial Release # Remove old 'source' files rm -f $(ls /boot/config/plugins/&name;/&name;*.txz 2>/dev/null | grep -v '&version;') https://raw.github.com/&github;/master/archive/&name;-&version;-x86_64-1.txz &md5; ' > /dev/null; then echo "Looks good... continuing... " else sed -i '/^<\/style>/i ' /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php fi sed -i 's/select,input\[type=text\],input\[type=number\],input\[type=password\],input\[type=checkbox\],input\[type=radio\],input\[type=file\],textarea/select,input\[type=text\],input\[type=color\],input\[type=number\],input\[type=password\],input\[type=checkbox\],input\[type=radio\],input\[type=file\],textarea/' /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php ]]> echo "" echo "----------------------------------------------------" echo " &name; has been installed." echo " Copyright 2019, Justin Nolan" echo " Version: &version;" echo "----------------------------------------------------" echo "" echo "Removing Dark Theme" echo "" removepkg &name;-&version;-x86_64-1 rm -rf &plugdir; rm -rf /boot/config/plugins/&name; /d' /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php sed -i 's/select,input\[type=text\],input\[type=color\],input\[type=number\],input\[type=password\],input\[type=checkbox\],input\[type=radio\],input\[type=file\],textarea/select,input\[type=text\],input\[type=number\],input\[type=password\],input\[type=checkbox\],input\[type=radio\],input\[type=file\],textarea/' /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php ]]> echo "" echo "Theme Engine Removed"