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/templates/settings-personal.php
Michel Roux 7da83b2595
All checks were successful
epubreader / nextcloud-22 (push) Successful in 1m4s
epubreader / nextcloud-27 (push) Successful in 56s
cleanup (again)
2023-08-02 22:04:03 +02:00

48 lines
1.3 KiB
PHP

<?php
/**
* @author Frank de Lange
* @copyright 2018 Frank de Lange
*
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
script('epubreader', 'settings');
style('epubreader', 'settings');
?>
<div id="reader-personal" class="section">
<table><tr><td><h2><?php p($l->t('Reader')); ?></h2></td><td>&nbsp;<span class="msg"></span></td></tr></table>
<p class="settings-hint"><?php p($l->t('Select file types for which Reader should be the default viewer.')); ?></p>
<p>
<input type="checkbox" name="EpubEnable" id="EpubEnable" class="checkbox"
value="1" <?php if ('true' === $_['EpubEnable']) {
print_unescaped('checked="checked"');
} ?> />
<label for="EpubEnable">
<?php p($l->t('Epub')); ?>
</label>
</p>
<p>
<input type="checkbox" name="PdfEnable" id="PdfEnable" class="checkbox"
value="1" <?php if ('true' === $_['PdfEnable']) {
print_unescaped('checked="checked"');
} ?> />
<label for="PdfEnable">
<?php p($l->t('PDF')); ?>
</label><br/>
</p>
<p>
<input type="checkbox" name="CbxEnable" id="CbxEnable" class="checkbox"
value="1" <?php if ('true' === $_['CbxEnable']) {
print_unescaped('checked="checked"');
} ?> />
<label for="CbxEnable">
<?php p($l->t('CBR/CBZ')); ?>
</label><br/>
</p>
</div>