mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-09-21 02:04:26 -04:00
The panel's messages came from the global translate object that views/js/log.js.php defined, which the footer only loads for the Log view. On any other view Clear Logs threw "translate is not defined" out of deleteLogs() before it sent anything, and a failed table query would have thrown the same way. Carry the five strings on the panel element as data-i18n and read them in initLogPanel(), so a panel is self-contained wherever it is embedded. views/js/log.js.php held nothing else, so it goes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Modern ZoneMinder Skin
This web frontend to ZoneMinder is a complete rewrite of the classic frontend, based on CakePHP.