Add loading SecondPath in monitor
This commit is contained in:
parent
a01a24ec36
commit
ce4e133c94
|
@ -53,6 +53,7 @@ class Monitor extends ZM_Object {
|
|||
'Port' => '',
|
||||
'SubPath' => '',
|
||||
'Path' => null,
|
||||
'SecondPath' => null,
|
||||
'Options' => null,
|
||||
'User' => null,
|
||||
'Pass' => null,
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
textarea,
|
||||
input[name="newMonitor[Name]"],
|
||||
input[name="newMonitor[Path]"],
|
||||
input[name="newMonitor[SecondPath]"],
|
||||
input[name="newMonitor[LabelFormat]"],
|
||||
input[name="newMonitor[ControlDevice]"],
|
||||
input[name="newMonitor[ControlAddress]"] {
|
||||
|
|
|
@ -823,7 +823,7 @@ include('_monitor_source_nvsocket.php');
|
|||
if ( $monitor->Type() == 'Ffmpeg' ) {
|
||||
?>
|
||||
<tr class="SourceSecondPath">
|
||||
<td><?php echo translate('SourceSecondPath') ?></td>
|
||||
<td class="text-right pr-3"><?php echo translate('SourceSecondPath') ?></td>
|
||||
<td><input type="text" name="newMonitor[SecondPath]" value="<?php echo validHtmlStr($monitor->SecondPath()) ?>" /></td>
|
||||
</tr>
|
||||
<tr class="DecoderHWAccelName">
|
||||
|
|
Loading…
Reference in New Issue