Add ModectDuringPTS checkbox on Control tab

This commit is contained in:
Isaac Connor 2021-04-21 12:19:17 -04:00
parent f3349fb625
commit f59904ea7e
1 changed files with 4 additions and 0 deletions

View File

@ -1120,6 +1120,10 @@ echo htmlSelect('newMonitor[OutputContainer]', $videowriter_containers, $monitor
<td class="text-right pr-3"><?php echo translate('ControlAddress') ?></td> <td class="text-right pr-3"><?php echo translate('ControlAddress') ?></td>
<td><input type="text" name="newMonitor[ControlAddress]" value="<?php echo validHtmlStr($monitor->ControlAddress()) ? : 'user:port@ip' ?>"/></td> <td><input type="text" name="newMonitor[ControlAddress]" value="<?php echo validHtmlStr($monitor->ControlAddress()) ? : 'user:port@ip' ?>"/></td>
</tr> </tr>
<tr>
<td class="text-right pr-3"><?php echo translate('ModectDuringPTZ') ?></td>
<td><input type="checkbox" name="newMonitor[ModectDuringPTZ]" value="1"<?php if ( $monitor->ModectDuringPTZ() ) { ?> checked="checked"<?php } ?>/></td>
</tr>
<tr> <tr>
<td class="text-right pr-3"><?php echo translate('AutoStopTimeout') ?></td> <td class="text-right pr-3"><?php echo translate('AutoStopTimeout') ?></td>
<td><input type="number" name="newMonitor[AutoStopTimeout]" value="<?php echo validHtmlStr($monitor->AutoStopTimeout()) ?>" min="0" step="any"/></td> <td><input type="number" name="newMonitor[AutoStopTimeout]" value="<?php echo validHtmlStr($monitor->AutoStopTimeout()) ?>" min="0" step="any"/></td>