# Execute Dev-Editor's commands
#
# Author: Patrick Canterino <patrick@patshaping.de>
-# Last modified: 2005-01-21
+# Last modified: 2005-01-24
#
use strict;
$udtpl->read_file($config->{'templates'}->{'dirlist_up'});
$udtpl->fillin('UPPER_DIR',$upper_path);
- $udtpl->fillin('DATE',encode_entities(strftime($config->{'timeformat'},localtime($stat[9]))));
+ $udtpl->fillin('DATE',encode_entities(strftime($config->{'timeformat'},($config->{'use_gmt'}) ? gmtime($stat[9]) : localtime($stat[9]))));
$dirlist .= $udtpl->get_template;
}
if(file_save($physical,\$content))
{
- # Saving of the file was successful!
+ # The file was successfully saved!
return devedit_reload({command => 'show', file => $dir});
}
# exec_upload()
#
-# Upload a file
+# Process a file upload
#
# Params: 1. Reference to user input hash
# 2. Reference to config hash
$tpl->fillin('PID',$$);
- # Check if the functions getpwuid() and getgrgid() are available
+ # The following information is only available on systems supporting
+ # users and groups
if($users)
{