Minor corrections to the cURL source type in the web interface
This commit is contained in:
parent
3cee6a133d
commit
1f29aa432a
|
@ -178,7 +178,7 @@ $sourceTypes = array(
|
||||||
'File' => $SLANG['File'],
|
'File' => $SLANG['File'],
|
||||||
'Ffmpeg' => $SLANG['Ffmpeg'],
|
'Ffmpeg' => $SLANG['Ffmpeg'],
|
||||||
'Libvlc' => $SLANG['Libvlc'],
|
'Libvlc' => $SLANG['Libvlc'],
|
||||||
'cURL' => "cURL (HTTP only)"
|
'cURL' => "cURL (HTTP(S) only)"
|
||||||
);
|
);
|
||||||
if ( !ZM_HAS_V4L )
|
if ( !ZM_HAS_V4L )
|
||||||
unset($sourceTypes['Local']);
|
unset($sourceTypes['Local']);
|
||||||
|
@ -731,7 +731,7 @@ switch ( $tab )
|
||||||
elseif ( $newMonitor['Type'] == "cURL" )
|
elseif ( $newMonitor['Type'] == "cURL" )
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<tr><td><?= "Address" ?></td><td><input type="text" name="newMonitor[Path]" value="<?= validHtmlStr($newMonitor['Path']) ?>" size="36"/></td></tr>
|
<tr><td><?= "URL" ?></td><td><input type="text" name="newMonitor[Path]" value="<?= validHtmlStr($newMonitor['Path']) ?>" size="36"/></td></tr>
|
||||||
<tr><td><?= "Username" ?></td><td><input type="text" name="newMonitor[User]" value="<?= validHtmlStr($newMonitor['User']) ?>" size="12"/></td></tr>
|
<tr><td><?= "Username" ?></td><td><input type="text" name="newMonitor[User]" value="<?= validHtmlStr($newMonitor['User']) ?>" size="12"/></td></tr>
|
||||||
<tr><td><?= "Password" ?></td><td><input type="text" name="newMonitor[Pass]" value="<?= validHtmlStr($newMonitor['Pass']) ?>" size="12"/></td></tr>
|
<tr><td><?= "Password" ?></td><td><input type="text" name="newMonitor[Pass]" value="<?= validHtmlStr($newMonitor['Pass']) ?>" size="12"/></td></tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -179,7 +179,7 @@ $sourceTypes = array(
|
||||||
'File' => $SLANG['File'],
|
'File' => $SLANG['File'],
|
||||||
'Ffmpeg' => $SLANG['Ffmpeg'],
|
'Ffmpeg' => $SLANG['Ffmpeg'],
|
||||||
'Libvlc' => $SLANG['Libvlc'],
|
'Libvlc' => $SLANG['Libvlc'],
|
||||||
'cURL' => "cURL (HTTP only)"
|
'cURL' => "cURL (HTTP(S) only)"
|
||||||
);
|
);
|
||||||
if ( !ZM_HAS_V4L )
|
if ( !ZM_HAS_V4L )
|
||||||
unset($sourceTypes['Local']);
|
unset($sourceTypes['Local']);
|
||||||
|
@ -732,7 +732,7 @@ switch ( $tab )
|
||||||
elseif ( $newMonitor['Type'] == "cURL" )
|
elseif ( $newMonitor['Type'] == "cURL" )
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<tr><td><?= "Address" ?></td><td><input type="text" name="newMonitor[Path]" value="<?= validHtmlStr($newMonitor['Path']) ?>" size="36"/></td></tr>
|
<tr><td><?= "URL" ?></td><td><input type="text" name="newMonitor[Path]" value="<?= validHtmlStr($newMonitor['Path']) ?>" size="36"/></td></tr>
|
||||||
<tr><td><?= "Username" ?></td><td><input type="text" name="newMonitor[User]" value="<?= validHtmlStr($newMonitor['User']) ?>" size="12"/></td></tr>
|
<tr><td><?= "Username" ?></td><td><input type="text" name="newMonitor[User]" value="<?= validHtmlStr($newMonitor['User']) ?>" size="12"/></td></tr>
|
||||||
<tr><td><?= "Password" ?></td><td><input type="text" name="newMonitor[Pass]" value="<?= validHtmlStr($newMonitor['Pass']) ?>" size="12"/></td></tr>
|
<tr><td><?= "Password" ?></td><td><input type="text" name="newMonitor[Pass]" value="<?= validHtmlStr($newMonitor['Pass']) ?>" size="12"/></td></tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue