Bug 207 - Minor typos and event directory renaming fix.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1629 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-11-29 16:32:06 +00:00
parent c3142f7131
commit 63d3598335
2 changed files with 10 additions and 2 deletions

View File

@ -1091,7 +1091,15 @@ if ( isset($action) )
simpleQuery( "update Monitors set ".implode( ", ", $changes )." where Id = '$mid'" );
if ( $changes['Name'] )
{
exec( escapeshellcmd( "mv ".ZM_DIR_EVENTS."/".$monitor['Name']." ".ZM_DIR_EVENTS."/".$new_monitor['Name'] ) );
chdir( ZM_DIR_EVENTS );
if ( file_exists( $monitor['Name'] ) )
{
exec( escapeshellcmd( "mv ".$monitor['Name']." ".$new_monitor['Name'] ) );
}
else
{
symlink( $mid, $new_monitor['Name'] );
}
}
}
elseif ( !$user['MonitorIds'] )

View File

@ -481,7 +481,7 @@ $zmSlangSave = 'Save';
$zmSlangScale = 'Scale';
$zmSlangScore = 'Score';
$zmSlangSecs = 'Secs';
$zmSlangSectionlength = 'Section length';
$zmSlangSectionlength = 'Section Length';
$zmSlangSelect = 'Select';
$zmSlangSetLearnPrefs = 'Set Learn Prefs'; // This can be ignored for now
$zmSlangSetNewBandwidth = 'Set New Bandwidth';