diff --git a/encoder/firmware.php b/encoder/firmware.php index 62c5614..27fccc7 100755 --- a/encoder/firmware.php +++ b/encoder/firmware.php @@ -23,12 +23,18 @@ switch ($_POST['action']) { function confirmReboot() { return confirm("Are you sure you want to reboot?"); } + function confirmReset() { return confirm("All settings will be gone . Are you sure you want to reset ?"); } + function confirmUpdate() { return confirm("Newer version will be downloaded and installed Do not turn off power , this is irreversible are you sure to continue ? "); } + + function confirmbackup() { + return confirm("Newer version will be downloaded and installed Do not turn off power , this is irreversible are you sure to continue ? "); + } @@ -37,6 +43,26 @@ switch ($_POST['action']) {