16 lines
824 B
PHP
16 lines
824 B
PHP
<div role="tabpanel" class="form-horizontal tab-pane" id="source">
|
|
|
|
<?php
|
|
if ( $newMonitor['Type'] == "Local" )
|
|
{
|
|
?>
|
|
<tr><td><?= "Deinterlacing" ?></td><td><select name="newMonitor[Deinterlacing]"><?php foreach ( $deinterlaceopts_v4l2 as $name => $value ) { ?><option value="<?= $value ?>"<?php if ( $value == $newMonitor['Deinterlacing'] ) { ?> selected="selected"<?php } ?>><?= $name ?></option><?php } ?></select></td></tr>
|
|
<?php
|
|
} else {
|
|
?>
|
|
<tr><td><?= "Deinterlacing" ?></td><td><select name="newMonitor[Deinterlacing]"><?php foreach ( $deinterlaceopts as $name => $value ) { ?><option value="<?= $value ?>"<?php if ( $value == $newMonitor['Deinterlacing'] ) { ?> selected="selected"<?php } ?>><?= $name ?></option><?php } ?></select></td></tr>
|
|
<?php
|
|
}
|
|
?>
|
|
</div>
|