While those files cannot be removed or renamed, this allows easy
downloading of them, and a new version can after all be uploaded.
my @ret;
foreach my $f (values %pagesources) {
if (! defined pagetype($f) &&
- $f=~m/^\Q$loc\E[^\/]+$/ &&
- -e "$config{srcdir}/$f") {
+ $f=~m/^\Q$loc\E[^\/]+$/) {
push @ret, {
"field-select" => '<input type="checkbox" name="attachment_select" value="'.$f.'" />',
link => htmllink($page, $page, $f, noimageinline => 1),
* openid: Add openid_realm and openid_cgiurl configuration options,
useful in a few edge case setups.
+ * attachment: Show files from underlay in attachments list.
-- Joey Hess <joeyh@debian.org> Fri, 11 Jun 2010 13:39:15 -0400