Changed labels to work better with ffmpeg monitors.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2720 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2009-01-21 17:45:30 +00:00
parent e39b2fd16e
commit b3b226ebe1
2 changed files with 4 additions and 4 deletions

View File

@ -288,9 +288,7 @@ $SLANG = array(
'FastForward' => 'Fast Forward',
'Feed' => 'Feed',
'Ffmpeg' => 'Ffmpeg',
'FileColours' => 'File Colours',
'File' => 'File',
'FilePath' => 'File Path',
'FilterArchiveEvents' => 'Archive all matches',
'FilterDeleteEvents' => 'Delete all matches',
'FilterEmailEvents' => 'Email details of all matches',
@ -566,6 +564,8 @@ $SLANG = array(
'SortBy' => 'Sort by',
'SortDesc' => 'Desc',
'Source' => 'Source',
'SourceColours' => 'Source Colours',
'SourcePath' => 'Source Path',
'SourceType' => 'Source Type',
'SpeedHigh' => 'High Speed',
'SpeedLow' => 'Low Speed',

View File

@ -508,8 +508,8 @@ switch ( $tab )
elseif ( $newMonitor['Type'] == "File" || $newMonitor['Type'] == "Ffmpeg" )
{
?>
<tr><td><?= $SLANG['FilePath'] ?></td><td><input type="text" name="newMonitor[Path]" value="<?= validHtmlStr($newMonitor['Path']) ?>" size="36"/></td></tr>
<tr><td><?= $SLANG['FileColours'] ?></td><td><select name="newMonitor[Palette]"><?php foreach ( $fileColours as $name => $value ) { ?><option value="<?= $value ?>"<?php if ( $value == $newMonitor['Palette'] ) { ?> selected="selected"<?php } ?>><?= $name ?></option><?php } ?></select></td></tr>
<tr><td><?= $SLANG['SourcePath'] ?></td><td><input type="text" name="newMonitor[Path]" value="<?= validHtmlStr($newMonitor['Path']) ?>" size="36"/></td></tr>
<tr><td><?= $SLANG['SourceColours'] ?></td><td><select name="newMonitor[Palette]"><?php foreach ( $fileColours as $name => $value ) { ?><option value="<?= $value ?>"<?php if ( $value == $newMonitor['Palette'] ) { ?> selected="selected"<?php } ?>><?= $name ?></option><?php } ?></select></td></tr>
<?php
}
?>