mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
* Filemanager - add {{webdav_url}} placeholder for external path using webdav
This commit is contained in:
parent
fbea34819a
commit
85d592c5ee
@ -203,6 +203,7 @@ class filemanager_merge extends Api\Storage\Merge
|
||||
if ($link[0] == '/') $link = Api\Framework::getUrl($link);
|
||||
|
||||
$file['link'] = Api\Html::a_href(Api\Html::htmlspecialchars($file['name']), $link);
|
||||
$file['webdav_url'] = Api\Session::link(Vfs::download_url($file['url']));
|
||||
$file['url'] = $link;
|
||||
|
||||
// Add markers
|
||||
@ -239,6 +240,7 @@ class filemanager_merge extends Api\Storage\Merge
|
||||
'folder' => 'Containing folder',
|
||||
'folder_file' => 'Containing folder and file name',
|
||||
'url' => 'url',
|
||||
'webdav_url' => 'External path using webdav',
|
||||
'link' => 'Clickable link to file',
|
||||
'comment' => 'comment',
|
||||
'mtime' => 'modified',
|
||||
|
Loading…
Reference in New Issue
Block a user