forked from extern/egroupware
"only report filename (not full path) in rename success or error in file dialog"
This commit is contained in:
parent
691cc6bb3e
commit
39a5ba82ee
@ -756,13 +756,13 @@ class filemanager_ui
|
||||
}
|
||||
if (egw_vfs::rename($path,$to))
|
||||
{
|
||||
$msg .= lang('Renamed %1 to %2.',$path,$to).' ';
|
||||
$msg .= lang('Renamed %1 to %2.',basename($path),basename($to)).' ';
|
||||
$content['old']['name'] = $content[$name];
|
||||
$path = $to;
|
||||
}
|
||||
else
|
||||
{
|
||||
$msg .= lang('Rename of %1 to %2 failed!',$path,$to).' ';
|
||||
$msg .= lang('Rename of %1 to %2 failed!',basename($path),basename($to)).' ';
|
||||
if (egw_vfs::deny_script($to))
|
||||
{
|
||||
$msg .= lang('You are NOT allowed to upload a script!').' ';
|
||||
|
Loading…
Reference in New Issue
Block a user