|
|
|
@ -9,7 +9,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<label class="group-name" for="posts_per_page"><?php echo _t('conf.reading.articles_per_page'); ?></label>
|
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<input type="number" id="posts_per_page" name="posts_per_page" value="<?php echo FreshRSS_Context::$user_conf->posts_per_page; ?>" min="5" max="50" />
|
|
|
|
|
<input type="number" id="posts_per_page" name="posts_per_page" value="<?php echo FreshRSS_Context::$user_conf->posts_per_page; ?>" min="5" max="50" data-leave-validation="<?php echo FreshRSS_Context::$user_conf->posts_per_page; ?>"/>
|
|
|
|
|
<?php echo _i('help'); ?> <?php echo _t('conf.reading.number_divided_when_reader'); ?> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -17,7 +17,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<label class="group-name" for="sort_order"><?php echo _t('conf.reading.sort'); ?></label>
|
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<select name="sort_order" id="sort_order"> |
|
|
|
|
<select name="sort_order" id="sort_order" data-leave-validation="<?php echo FreshRSS_Context::$user_conf->sort_order; ?>">
|
|
|
|
|
<option value="DESC"<?php echo FreshRSS_Context::$user_conf->sort_order === 'DESC' ? ' selected="selected"' : ''; ?>><?php echo _t('conf.reading.sort.newer_first'); ?></option>
|
|
|
|
|
<option value="ASC"<?php echo FreshRSS_Context::$user_conf->sort_order === 'ASC' ? ' selected="selected"' : ''; ?>><?php echo _t('conf.reading.sort.older_first'); ?></option>
|
|
|
|
|
</select> |
|
|
|
@ -27,7 +27,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<label class="group-name" for="view_mode"><?php echo _t('conf.reading.view.default'); ?></label>
|
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<select name="view_mode" id="view_mode"> |
|
|
|
|
<select name="view_mode" id="view_mode" data-leave-validation="<?php echo FreshRSS_Context::$user_conf->view_mode; ?>">
|
|
|
|
|
<option value="normal"<?php echo FreshRSS_Context::$user_conf->view_mode === 'normal' ? ' selected="selected"' : ''; ?>><?php echo _t('conf.reading.view.normal'); ?></option>
|
|
|
|
|
<option value="reader"<?php echo FreshRSS_Context::$user_conf->view_mode === 'reader' ? ' selected="selected"' : ''; ?>><?php echo _t('conf.reading.view.reader'); ?></option>
|
|
|
|
|
<option value="global"<?php echo FreshRSS_Context::$user_conf->view_mode === 'global' ? ' selected="selected"' : ''; ?>><?php echo _t('conf.reading.view.global'); ?></option>
|
|
|
|
@ -38,7 +38,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<label class="group-name" for="view_mode"><?php echo _t('conf.reading.show'); ?></label>
|
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<select name="default_view" id="default_view"> |
|
|
|
|
<select name="default_view" id="default_view" data-leave-validation="<?php echo FreshRSS_Context::$user_conf->default_view; ?>">
|
|
|
|
|
<option value="adaptive"<?php echo FreshRSS_Context::$user_conf->default_view === 'adaptive' ? ' selected="selected"' : ''; ?>><?php echo _t('conf.reading.show.adaptive'); ?></option>
|
|
|
|
|
<option value="all"<?php echo FreshRSS_Context::$user_conf->default_view === 'all' ? ' selected="selected"' : ''; ?>><?php echo _t('conf.reading.show.all_articles'); ?></option>
|
|
|
|
|
<option value="unread"<?php echo FreshRSS_Context::$user_conf->default_view === 'unread' ? ' selected="selected"' : ''; ?>><?php echo _t('conf.reading.show.unread'); ?></option>
|
|
|
|
@ -49,7 +49,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="hide_read_feeds"> |
|
|
|
|
<input type="checkbox" name="hide_read_feeds" id="hide_read_feeds" value="1"<?php echo FreshRSS_Context::$user_conf->hide_read_feeds ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="hide_read_feeds" id="hide_read_feeds" value="1"<?php echo FreshRSS_Context::$user_conf->hide_read_feeds ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->hide_read_feeds; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.hide_read_feeds'); ?> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
@ -58,7 +58,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="display_posts"> |
|
|
|
|
<input type="checkbox" name="display_posts" id="display_posts" value="1"<?php echo FreshRSS_Context::$user_conf->display_posts ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="display_posts" id="display_posts" value="1"<?php echo FreshRSS_Context::$user_conf->display_posts ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->display_posts; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.display_articles_unfolded'); ?> |
|
|
|
|
<noscript> — <strong><?php echo _t('gen.js.should_be_activated'); ?></strong></noscript>
|
|
|
|
|
</label> |
|
|
|
@ -68,7 +68,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="display_categories"> |
|
|
|
|
<input type="checkbox" name="display_categories" id="display_categories" value="1"<?php echo FreshRSS_Context::$user_conf->display_categories ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="display_categories" id="display_categories" value="1"<?php echo FreshRSS_Context::$user_conf->display_categories ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->display_categories; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.display_categories_unfolded'); ?> |
|
|
|
|
<noscript> — <strong><?php echo _t('gen.js.should_be_activated'); ?></strong></noscript>
|
|
|
|
|
</label> |
|
|
|
@ -78,7 +78,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="sticky_post"> |
|
|
|
|
<input type="checkbox" name="sticky_post" id="sticky_post" value="1"<?php echo FreshRSS_Context::$user_conf->sticky_post ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="sticky_post" id="sticky_post" value="1"<?php echo FreshRSS_Context::$user_conf->sticky_post ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->sticky_post; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.sticky_post'); ?> |
|
|
|
|
<noscript> — <strong><?php echo _t('gen.js.should_be_activated'); ?></strong></noscript>
|
|
|
|
|
</label> |
|
|
|
@ -88,7 +88,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="auto_load_more"> |
|
|
|
|
<input type="checkbox" name="auto_load_more" id="auto_load_more" value="1"<?php echo FreshRSS_Context::$user_conf->auto_load_more ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="auto_load_more" id="auto_load_more" value="1"<?php echo FreshRSS_Context::$user_conf->auto_load_more ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->auto_load_more; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.auto_load_more'); ?> |
|
|
|
|
<noscript> — <strong><?php echo _t('gen.js.should_be_activated'); ?></strong></noscript>
|
|
|
|
|
</label> |
|
|
|
@ -98,7 +98,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="lazyload"> |
|
|
|
|
<input type="checkbox" name="lazyload" id="lazyload" value="1"<?php echo FreshRSS_Context::$user_conf->lazyload ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="lazyload" id="lazyload" value="1"<?php echo FreshRSS_Context::$user_conf->lazyload ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->lazyload; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.img_with_lazyload'); ?> |
|
|
|
|
<noscript> — <strong><?php echo _t('gen.js.should_be_activated'); ?></strong></noscript>
|
|
|
|
|
</label> |
|
|
|
@ -108,7 +108,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="reading_confirm"> |
|
|
|
|
<input type="checkbox" name="reading_confirm" id="reading_confirm" value="1"<?php echo FreshRSS_Context::$user_conf->reading_confirm ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="reading_confirm" id="reading_confirm" value="1"<?php echo FreshRSS_Context::$user_conf->reading_confirm ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->reading_confirm; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.confirm_enabled'); ?> |
|
|
|
|
<noscript> — <strong><?php echo _t('gen.js.should_be_activated'); ?></strong></noscript>
|
|
|
|
|
</label> |
|
|
|
@ -118,7 +118,7 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="auto_remove_article"> |
|
|
|
|
<input type="checkbox" name="auto_remove_article" id="auto_remove_article" value="1"<?php echo FreshRSS_Context::$user_conf->auto_remove_article ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="auto_remove_article" id="auto_remove_article" value="1"<?php echo FreshRSS_Context::$user_conf->auto_remove_article ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->auto_remove_article; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.auto_remove_article'); ?> |
|
|
|
|
<noscript> — <strong><?php echo _t('gen.js.should_be_activated'); ?></strong></noscript>
|
|
|
|
|
</label> |
|
|
|
@ -129,19 +129,19 @@ |
|
|
|
|
<label class="group-name"><?php echo _t('conf.reading.read.when'); ?></label>
|
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="check_open_article"> |
|
|
|
|
<input type="checkbox" name="mark_open_article" id="check_open_article" value="1"<?php echo FreshRSS_Context::$user_conf->mark_when['article'] ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="mark_open_article" id="check_open_article" value="1"<?php echo FreshRSS_Context::$user_conf->mark_when['article'] ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->mark_when['article']; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.read.article_viewed'); ?> |
|
|
|
|
</label> |
|
|
|
|
<label class="checkbox" for="check_open_site"> |
|
|
|
|
<input type="checkbox" name="mark_open_site" id="check_open_site" value="1"<?php echo FreshRSS_Context::$user_conf->mark_when['site'] ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="mark_open_site" id="check_open_site" value="1"<?php echo FreshRSS_Context::$user_conf->mark_when['site'] ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->mark_when['site']; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.read.article_open_on_website'); ?> |
|
|
|
|
</label> |
|
|
|
|
<label class="checkbox" for="check_scroll"> |
|
|
|
|
<input type="checkbox" name="mark_scroll" id="check_scroll" value="1"<?php echo FreshRSS_Context::$user_conf->mark_when['scroll'] ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="mark_scroll" id="check_scroll" value="1"<?php echo FreshRSS_Context::$user_conf->mark_when['scroll'] ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->mark_when['scroll']; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.read.scroll'); ?> |
|
|
|
|
</label> |
|
|
|
|
<label class="checkbox" for="check_reception"> |
|
|
|
|
<input type="checkbox" name="mark_upon_reception" id="check_reception" value="1"<?php echo FreshRSS_Context::$user_conf->mark_when['reception'] ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="mark_upon_reception" id="check_reception" value="1"<?php echo FreshRSS_Context::$user_conf->mark_when['reception'] ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->mark_when['reception']; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.read.upon_reception'); ?> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
@ -151,7 +151,7 @@ |
|
|
|
|
<label class="group-name"><?php echo _t('conf.reading.after_onread'); ?></label>
|
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="onread_jump_next"> |
|
|
|
|
<input type="checkbox" name="onread_jump_next" id="onread_jump_next" value="1"<?php echo FreshRSS_Context::$user_conf->onread_jump_next ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<input type="checkbox" name="onread_jump_next" id="onread_jump_next" value="1"<?php echo FreshRSS_Context::$user_conf->onread_jump_next ? ' checked="checked"' : ''; ?> data-leave-validation="<?php echo FreshRSS_Context::$user_conf->onread_jump_next; ?>"/>
|
|
|
|
|
<?php echo _t('conf.reading.jump_next'); ?> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|