mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
files_opds: v0.7
- compatible with Nextcloud (up to version 12) - new logo
This commit is contained in:
parent
9cd5aa9427
commit
60628eef38
11 changed files with 127 additions and 42 deletions
|
@ -16,7 +16,7 @@ namespace OCA\Files_Opds;
|
|||
\OCP\JSON::checkLoggedIn();
|
||||
$defaults = new \OC_Defaults();
|
||||
|
||||
$l = new \OC_L10N('files_opds');
|
||||
$l = \OC::$server->getL10N('files_opds');
|
||||
|
||||
if (isset($_POST['opdsCoverX'])) {
|
||||
// set dimensions, using sane defaults just in case
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace OCA\Files_Opds;
|
||||
|
||||
$l = new \OC_L10N('files_opds');
|
||||
$l = \OC::$server->getL10N('files_opds');
|
||||
|
||||
\OCP\JSON::checkLoggedIn();
|
||||
\OCP\JSON::callCheck();
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace OCA\Files_Opds;
|
|||
\OCP\JSON::callCheck();
|
||||
\OCP\JSON::checkLoggedIn();
|
||||
|
||||
$l = new \OC_L10N('files_opds');
|
||||
$l = \OC::$server->getL10N('files_opds');
|
||||
|
||||
$opdsEnable = isset($_POST['opdsEnable']) ? $_POST['opdsEnable'] : 'false';
|
||||
$rootPath = isset($_POST['rootPath']) ? $_POST['rootPath'] : '/Library';
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace OCA\Files_Opds;
|
||||
|
||||
$l = new \OC_L10N('files_opds');
|
||||
$l = \OC::$server->getL10N('files_opds');
|
||||
|
||||
\OCP\JSON::checkLoggedIn();
|
||||
\OCP\JSON::callCheck();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue