mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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);
|
if ($link[0] == '/') $link = Api\Framework::getUrl($link);
|
||||||
|
|
||||||
$file['link'] = Api\Html::a_href(Api\Html::htmlspecialchars($file['name']), $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;
|
$file['url'] = $link;
|
||||||
|
|
||||||
// Add markers
|
// Add markers
|
||||||
@ -239,6 +240,7 @@ class filemanager_merge extends Api\Storage\Merge
|
|||||||
'folder' => 'Containing folder',
|
'folder' => 'Containing folder',
|
||||||
'folder_file' => 'Containing folder and file name',
|
'folder_file' => 'Containing folder and file name',
|
||||||
'url' => 'url',
|
'url' => 'url',
|
||||||
|
'webdav_url' => 'External path using webdav',
|
||||||
'link' => 'Clickable link to file',
|
'link' => 'Clickable link to file',
|
||||||
'comment' => 'comment',
|
'comment' => 'comment',
|
||||||
'mtime' => 'modified',
|
'mtime' => 'modified',
|
||||||
|
Loading…
Reference in New Issue
Block a user