From: pcanterino <>
Date: Thu, 24 Aug 2006 19:48:37 +0000 (+0000)
Subject: Trying to simplify some of Dev-Editor's functions:
X-Git-Tag: version_3_1~26
X-Git-Url: https://git.p6c8.net/devedit.git/commitdiff_plain/4b377fd01878a6214ec590368185cc16c2fc466e
Trying to simplify some of Dev-Editor's functions:
If you want to copy or rename/move a file or a directory or save a file using a
different name, the form field for the new filename is prefilled with the old
one. Additionally, the entered path is no more relative to the directory of the
original file.
---
diff --git a/devedit.pl b/devedit.pl
index 39588cf..7ad34c0 100644
--- a/devedit.pl
+++ b/devedit.pl
@@ -6,7 +6,7 @@
# Dev-Editor's main program
#
# Author: Patrick Canterino
-# Last modified: 2005-06-14
+# Last modified: 2006-08-24
#
use strict;
@@ -58,7 +58,6 @@ my $new_virtual = '';
if($newfile ne '' && $newfile !~ /^\s+$/)
{
- $curdir = upper_path($file) if($curdir eq '');
my $path = $curdir.'/'.$newfile;
# Extract file and directory name...
diff --git a/modules/Command.pm b/modules/Command.pm
index d779a6c..28c6777 100644
--- a/modules/Command.pm
+++ b/modules/Command.pm
@@ -966,7 +966,7 @@ sub exec_about($$)
$tpl->parse_if_block('users',1);
- # ID's of user and group
+ # IDs of user and group
$tpl->fillin('UID',$uid);
$tpl->fillin('GID',$gid);
diff --git a/templates/copydir.htm b/templates/copydir.htm
index f98f63b..6cbc65a 100644
--- a/templates/copydir.htm
+++ b/templates/copydir.htm
@@ -21,7 +21,7 @@