This repository has been archived on 2024-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
epubreader/personal.php

26 lines
653 B
PHP
Raw Normal View History

2020-04-21 20:37:42 +00:00
<?php
/**
* ownCloud - Epubreader app
2020-04-21 20:37:42 +00:00
*
* Copyright (c) 2014,2018 Frank de Lange
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCA\Epubreader;
2020-04-21 20:37:42 +00:00
use OCP\Util;
#$l = \OC::$server->getL10N('epubreader');
2020-04-21 20:37:42 +00:00
$tmpl = new \OCP\Template('epubreader', 'settings-personal');
2020-04-21 20:37:42 +00:00
$EpubEnable = Config::get('epub_enable', 'true');
$PdfEnable = Config::get('pdf_enable', 'true');
$CbxEnable = Config::get('cbx_enable', 'true');
$tmpl->assign('EpubEnable', $EpubEnable);
$tmpl->assign('PdfEnable', $PdfEnable);
$tmpl->assign('CbxEnable', $CbxEnable);
return $tmpl->fetchPage();