mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-03 14:59:19 +02:00
files_reader: missing $title parameter in template/reader.php caused warnings in log, fixed.
This commit is contained in:
parent
570ac4a441
commit
c2227acea3
3 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,13 @@
|
||||||
|
## Unreleased
|
||||||
|
### Added
|
||||||
|
- Reader now supports CBR/CBZ ('comics') files
|
||||||
|
- Book position is saved on server and restored on next invocation
|
||||||
|
- Framework to support more file format renderers
|
||||||
|
|
||||||
|
## 0.8.3 - 2017-02-01
|
||||||
|
### Fixed
|
||||||
|
- missing $title parameter in template/reader.php caused warnings in log, fixed
|
||||||
|
|
||||||
## 0.8.2 - 2017-01-10
|
## 0.8.2 - 2017-01-10
|
||||||
### Fixed
|
### Fixed
|
||||||
- Nextcloud-port broke compatibility with Owncloud due to OC not supporting CSPv3, workaround implemented
|
- Nextcloud-port broke compatibility with Owncloud due to OC not supporting CSPv3, workaround implemented
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
Also in Settings you'll find the option to use ignore any internal formatting in the book by forcing a given font style and size.
|
Also in Settings you'll find the option to use ignore any internal formatting in the book by forcing a given font style and size.
|
||||||
</description>
|
</description>
|
||||||
<version>0.8.2</version>
|
<version>0.8.3</version>
|
||||||
<licence>AGPL</licence>
|
<licence>AGPL</licence>
|
||||||
<author>Frank de Lange</author>
|
<author>Frank de Lange</author>
|
||||||
<documentation>
|
<documentation>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
$urlGenerator = $_['urlGenerator'];
|
$urlGenerator = $_['urlGenerator'];
|
||||||
$version = \OCP\App::getAppVersion('files_reader');
|
$version = \OCP\App::getAppVersion('files_reader');
|
||||||
$dllink = isset($_GET['file']) ? $_GET['file'] : '';
|
$dllink = isset($_GET['file']) ? $_GET['file'] : '';
|
||||||
|
$title = htmlentities(basename($dllink));
|
||||||
|
|
||||||
/* Owncloud currently does not implement CSPv3, remove this test when it does */
|
/* Owncloud currently does not implement CSPv3, remove this test when it does */
|
||||||
$nonce = class_exists('\OC\Security\CSP\ContentSecurityPolicyNonceManager')
|
$nonce = class_exists('\OC\Security\CSP\ContentSecurityPolicyNonceManager')
|
||||||
|
@ -18,7 +19,7 @@
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<base href="<?php p($urlGenerator->linkTo('files_reader',''));?>">
|
<base href="<?php p($urlGenerator->linkTo('files_reader',''));?>">
|
||||||
<title>
|
<title>
|
||||||
<?php p($_['title']);?>
|
<?php p($title);?>
|
||||||
</title>
|
</title>
|
||||||
<link rel="shortcut icon" href="img/book.png">
|
<link rel="shortcut icon" href="img/book.png">
|
||||||
<link rel="stylesheet" href="css/normalize.css">
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue