summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
aaf0e60)
- Synchronized exec_mkfile() and exec_mkdir() in Command.pm
exist_edited = The target file '{FILE}' already exists and is edited by someone else.
exist_no_write = The target file '{FILE}' already exists and you have not enough permissions to replace it.
file_exists = A file or directory called '{FILE}' already exists.
exist_edited = The target file '{FILE}' already exists and is edited by someone else.
exist_no_write = The target file '{FILE}' already exists and you have not enough permissions to replace it.
file_exists = A file or directory called '{FILE}' already exists.
-file_in_use = The file '{FILE}' is currently edited by someone else.
file_too_large = The file you want to view or edit is too large (max. {SIZE} Bytes).
in_use = The file '{FILE}' is currently edited by someone else.
invalid_group = '{GROUP}' seems to be an invalid group name. Please check it and try again.
file_too_large = The file you want to view or edit is too large (max. {SIZE} Bytes).
in_use = The file '{FILE}' is currently edited by someone else.
invalid_group = '{GROUP}' seems to be an invalid group name. Please check it and try again.
# Execute Dev-Editor's commands
#
# Author: Patrick Canterino <patrick@patshaping.de>
# Execute Dev-Editor's commands
#
# Author: Patrick Canterino <patrick@patshaping.de>
-# Last modified: 2005-01-01
+# Last modified: 2005-01-05
my $dir = upper_path($new_virtual);
$new_virtual = encode_entities($new_virtual);
my $dir = upper_path($new_virtual);
$new_virtual = encode_entities($new_virtual);
- return error($config->{'errors'}->{'file_exists'},$dir,{FILE => $new_virtual}) if(-e $new_physical);
-
+ return error($config->{'errors'}->{'file_exists'},$dir,{FILE => $new_virtual}) if(-e $new_physical);
+
mkdir($new_physical,0777) or return error($config->{'errors'}->{'mkdir_failed'},$dir,{DIR => $new_virtual});
return devedit_reload({command => 'show', file => $dir});
}
mkdir($new_physical,0777) or return error($config->{'errors'}->{'mkdir_failed'},$dir,{DIR => $new_virtual});
return devedit_reload({command => 'show', file => $dir});
}