diff --git a/web/zm_actions.php b/web/zm_actions.php index b316af12b..9e732ae38 100644 --- a/web/zm_actions.php +++ b/web/zm_actions.php @@ -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'] ) diff --git a/web/zm_lang_en_gb.php b/web/zm_lang_en_gb.php index f6413710e..5c7f2c48e 100644 --- a/web/zm_lang_en_gb.php +++ b/web/zm_lang_en_gb.php @@ -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';