Revision 359506e5
Von Jan Büren vor etwa 8 Jahren hinzugefügt
SL/Controller/Letter.pm | ||
---|---|---|
616 | 616 |
return [ map { |
617 | 617 |
+{ name => $_->filename, |
618 | 618 |
type => t8('File'), |
619 |
link => File::Spec->catdir($webdav_path, $_->filename),
|
|
619 |
link => File::Spec->catfile($_->full_filedescriptor),
|
|
620 | 620 |
} |
621 | 621 |
} @all_objects ]; |
622 | 622 |
} |
SL/Controller/Order.pm | ||
---|---|---|
1081 | 1081 |
my @all_objects = $webdav->get_all_objects; |
1082 | 1082 |
@{ $self->{template_args}->{WEBDAV} } = map { { name => $_->filename, |
1083 | 1083 |
type => t8('File'), |
1084 |
link => File::Spec->catdir($webdav_path, $_->filename),
|
|
1084 |
link => File::Spec->catfile($_->full_filedescriptor),
|
|
1085 | 1085 |
} } @all_objects; |
1086 | 1086 |
} |
1087 | 1087 |
|
bin/mozilla/ap.pl | ||
---|---|---|
137 | 137 |
my @all_objects = $webdav->get_all_objects; |
138 | 138 |
@{ $form->{WEBDAV} } = map { { name => $_->filename, |
139 | 139 |
type => t8('File'), |
140 |
link => File::Spec->catdir($webdav_path, $_->filename),
|
|
140 |
link => File::Spec->catfile($_->full_filedescriptor),
|
|
141 | 141 |
} } @all_objects; |
142 | 142 |
} |
143 | 143 |
&form_header; |
bin/mozilla/gl.pl | ||
---|---|---|
211 | 211 |
my @all_objects = $webdav->get_all_objects; |
212 | 212 |
@{ $form->{WEBDAV} } = map { { name => $_->filename, |
213 | 213 |
type => t8('File'), |
214 |
link => File::Spec->catdir($webdav_path, $_->filename),
|
|
214 |
link => File::Spec->catfile($_->full_filedescriptor),
|
|
215 | 215 |
} } @all_objects; |
216 | 216 |
} |
217 | 217 |
form_header(); |
Auch abrufbar als: Unified diff
Webdav-Datei-Aufruf direkt mit Backend-Funktion
Webdav Pfad und Dateiname muss nicht bei der Parameterübergabe
zusammengebaut werden. Besser direkt die Funktion Webdav->full_filedescriptor
hierfür nutzen