Menu="UserPreferences"
Title="Confirmations"
Icon="icon-confirmations"
Tag="check-square"
---
<?PHP
/* Copyright 2005-2023, Lime Technology
 * Copyright 2012-2023, Bergware International.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License version 2,
 * as published by the Free Software Foundation.
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 */
?>

<form markdown="1" name="confirm_settings" method="POST" action="/update.php" target="progressFrame">
<input type="hidden" name="#file" value="dynamix/dynamix.cfg"/>
<input type="hidden" name="#section" value="confirm"/>

_(Confirm reboot & powerdown commands)_:
: <select name="down">
  <?=mk_option($confirm['down'], "0", _('No'))?>
  <?=mk_option($confirm['down'], "1", _('Yes'))?>
  </select>

:confirm_reboot_help:

_(Confirm array stop command)_:
: <select name="stop">
  <?=mk_option($confirm['stop'], "0", _('No'))?>
  <?=mk_option($confirm['stop'], "1", _('Yes'))?>
  </select>

:confirm_array_stop_help:

<?if (isset($confirm['sleep'])):?>
_(Confirm sleep command)_:
: <select name="sleep">
  <?=mk_option($confirm['sleep'], "0", _('No'))?>
  <?=mk_option($confirm['sleep'], "1", _('Yes'))?>
  </select>
<?endif;?>
&nbsp;
: <span class="inline-block">
  <input type="submit" name="#apply" value="_(Apply)_" disabled>
  <input type="button" value="_(Done)_" onclick="done()">
</span>

</form>
