mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
files_reader: add some missing quotes, dllink -> downloadLink in template
This commit is contained in:
parent
ed0d8ae717
commit
0340300ba0
3 changed files with 4 additions and 4 deletions
|
@ -136,9 +136,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;
|
||||||
|
|
||||||
|
|
BIN
files_reader/vendor/pdfjs/.pdf.reader.js.swp
vendored
BIN
files_reader/vendor/pdfjs/.pdf.reader.js.swp
vendored
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue