mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-24 08:14:56 -04:00
@@ -74,20 +74,20 @@
|
||||
<script id="feed_config_template" type="text/html">
|
||||
<ul class="dropdown-menu">
|
||||
<li class="dropdown-close"><a href="#close">❌</a></li>
|
||||
<li class="item"><a href="<?php echo _url('index', 'index', 'get', 'f_!!!!!!'); ?>"><?php echo _t('gen.action.filter'); ?></a></li>
|
||||
<li class="item"><a href="<?php echo _url('index', 'index', 'get', 'f_------'); ?>"><?php echo _t('gen.action.filter'); ?></a></li>
|
||||
<?php if (FreshRSS_Auth::hasAccess()) { ?>
|
||||
<li class="item"><a href="<?php echo _url('stats', 'repartition', 'id', '!!!!!!'); ?>"><?php echo _t('index.menu.stats'); ?></a></li>
|
||||
<li class="item"><a href="<?php echo _url('stats', 'repartition', 'id', '------'); ?>"><?php echo _t('index.menu.stats'); ?></a></li>
|
||||
<?php } ?>
|
||||
<li class="item"><a target="_blank" href="http://example.net/"><?php echo _t('gen.action.see_website'); ?></a></li>
|
||||
<?php if (FreshRSS_Auth::hasAccess()) { ?>
|
||||
<li class="separator"></li>
|
||||
<li class="item"><a href="<?php echo _url('subscription', 'index', 'id', '!!!!!!'); ?>"><?php echo _t('gen.action.manage'); ?></a></li>
|
||||
<li class="item"><a href="<?php echo _url('feed', 'actualize', 'id', '!!!!!!'); ?>"><?php echo _t('gen.action.actualize'); ?></a></li>
|
||||
<li class="item"><a href="<?php echo _url('subscription', 'index', 'id', '------'); ?>"><?php echo _t('gen.action.manage'); ?></a></li>
|
||||
<li class="item"><a href="<?php echo _url('feed', 'actualize', 'id', '------'); ?>"><?php echo _t('gen.action.actualize'); ?></a></li>
|
||||
<li class="item">
|
||||
<?php $confirm = FreshRSS_Context::$user_conf->reading_confirm ? 'confirm' : ''; ?>
|
||||
<button class="read_all as-link <?php echo $confirm; ?>"
|
||||
form="mark-read-aside"
|
||||
formaction="<?php echo _url('entry', 'read', 'get', 'f_!!!!!!'); ?>"
|
||||
formaction="<?php echo _url('entry', 'read', 'get', 'f_------'); ?>"
|
||||
type="submit"><?php echo _t('gen.action.mark_read'); ?></button>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
@@ -519,7 +519,7 @@ function init_column_categories() {
|
||||
if ($(this).nextAll('.dropdown-menu').length === 0) {
|
||||
var feed_id = $(this).closest('.item').attr('id').substr(2),
|
||||
feed_web = $(this).data('fweb'),
|
||||
template = $('#feed_config_template').html().replace(/!!!!!!/g, feed_id).replace('http://example.net/', feed_web);
|
||||
template = $('#feed_config_template').html().replace(/------/g, feed_id).replace('http://example.net/', feed_web);
|
||||
$(this).attr('href', '#dropdown-' + feed_id).prev('.dropdown-target').attr('id', 'dropdown-' + feed_id).parent().append(template);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user