mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-03 14:59:19 +02:00
files_reader: fix missing quotes, dllink->downloadLink in template
This commit is contained in:
parent
d6026ad0a0
commit
675252897f
2 changed files with 4 additions and 4 deletions
|
@ -135,9 +135,9 @@ class PageController extends Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
fileName => pathInfo($filePath, PATHINFO_FILENAME),
|
'fileName' => pathInfo($filePath, PATHINFO_FILENAME),
|
||||||
fileType => strtolower(pathInfo($filePath, PATHINFO_EXTENSION)),
|
'fileType' => strtolower(pathInfo($filePath, PATHINFO_EXTENSION)),
|
||||||
fileId => $fileId
|
'fileId' => $fileId
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
$preferences = $_['preferences'];
|
$preferences = $_['preferences'];
|
||||||
$metadata = $_['metadata'];
|
$metadata = $_['metadata'];
|
||||||
$annotations = $_['annotations'];
|
$annotations = $_['annotations'];
|
||||||
$title = htmlentities(basename($dllink));
|
$title = htmlentities(basename($downloadLink));
|
||||||
$revision = '0071';
|
$revision = '0071';
|
||||||
$version = \OCP\App::getAppVersion('files_reader') . '.' . $revision;
|
$version = \OCP\App::getAppVersion('files_reader') . '.' . $revision;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue