version 1.212, 2006/07/18 17:44:43
|
version 1.213, 2006/07/27 15:48:56
|
Line 713 END
|
Line 713 END
|
if ($discussiononly) { |
if ($discussiononly) { |
my $now = time; |
my $now = time; |
my $attachnum = 0; |
my $attachnum = 0; |
my $currnewattach; |
my $currnewattach = []; |
my $currdelold; |
my $currdelold = []; |
my $comment = ''; |
my $comment = ''; |
my $subject = ''; |
my $subject = ''; |
if ($env{'form.origpage'}) { |
if ($env{'form.origpage'}) { |
Line 1683 END
|
Line 1683 END
|
} |
} |
} |
} |
if ($attachmsg) { |
if ($attachmsg) { |
$r->print("<b>Retained attachments</b>:$attachmsg<br />\n"); |
$r->print("<br /><b>Retained attachments</b>:$attachmsg<br />\n"); |
} |
} |
if ($newattachmsg) { |
if ($newattachmsg) { |
$r->print("$newattachmsg<br />"); |
$r->print("$newattachmsg<br />"); |
Line 2920 END
|
Line 2920 END
|
} |
} |
} |
} |
} |
} |
if (@{$currnewattach} > 0) { |
if ((ref($currnewattach) eq 'ARRAY') && (@{$currnewattach} > 0)) { |
$r->print("The following attachments have been uploaded for inclusion with this posting.<br />Check the checkboxes for any you wish to remove<br />\n"); |
$r->print("The following attachments have been uploaded for inclusion with this posting.<br />Check the checkboxes for any you wish to remove<br />\n"); |
foreach (@{$currnewattach}) { |
foreach (@{$currnewattach}) { |
$_ =~ m#/([^/]+)$#; |
$_ =~ m#/([^/]+)$#; |