727 |
|
|
728 |
$fileEntries = Array.new |
$fileEntries = Array.new |
729 |
$todoList = Array.new |
$todoList = Array.new |
|
all_files = "" |
|
730 |
|
|
731 |
File.open("#{$logfile}.emailtmp", File::RDWR|File::CREAT|File::TRUNC) do |mail| |
File.open("#{$logfile}.emailtmp", File::RDWR|File::CREAT|File::TRUNC) do |mail| |
732 |
|
|
749 |
# HACK: put all file names at mail subject |
# HACK: put all file names at mail subject |
750 |
$fileEntries.each do |file| |
$fileEntries.each do |file| |
751 |
name = htmlEncode(file.name_after_common_prefix) |
name = htmlEncode(file.name_after_common_prefix) |
752 |
if all_files == "" |
if defined? all_files |
|
all_files = name |
|
|
else |
|
753 |
all_files = all_files + ";" + name |
all_files = all_files + ";" + name |
754 |
|
else |
755 |
|
all_files = name |
756 |
end |
end |
757 |
end |
end |
758 |
|
|