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

48 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2020-04-21 20:37:42 +00:00
<?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');
2020-04-21 20:37:42 +00:00
?>
<div id="reader-personal" class="section">
2023-08-02 20:04:03 +00:00
<table><tr><td><h2><?php p($l->t('Reader')); ?></h2></td><td>&nbsp;<span class="msg"></span></td></tr></table>
2020-04-21 20:37:42 +00:00
<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"
2023-08-02 20:04:03 +00:00
value="1" <?php if ('true' === $_['EpubEnable']) {
2023-06-16 14:58:23 +00:00
print_unescaped('checked="checked"');
} ?> />
2020-04-21 20:37:42 +00:00
<label for="EpubEnable">
2023-08-02 20:04:03 +00:00
<?php p($l->t('Epub')); ?>
2020-04-21 20:37:42 +00:00
</label>
</p>
<p>
<input type="checkbox" name="PdfEnable" id="PdfEnable" class="checkbox"
2023-08-02 20:04:03 +00:00
value="1" <?php if ('true' === $_['PdfEnable']) {
2023-06-16 14:58:23 +00:00
print_unescaped('checked="checked"');
} ?> />
2020-04-21 20:37:42 +00:00
<label for="PdfEnable">
2023-08-02 20:04:03 +00:00
<?php p($l->t('PDF')); ?>
2020-04-21 20:37:42 +00:00
</label><br/>
</p>
<p>
<input type="checkbox" name="CbxEnable" id="CbxEnable" class="checkbox"
2023-08-02 20:04:03 +00:00
value="1" <?php if ('true' === $_['CbxEnable']) {
2023-06-16 14:58:23 +00:00
print_unescaped('checked="checked"');
} ?> />
2020-04-21 20:37:42 +00:00
<label for="CbxEnable">
2023-08-02 20:04:03 +00:00
<?php p($l->t('CBR/CBZ')); ?>
2020-04-21 20:37:42 +00:00
</label><br/>
</p>
</div>